fix(studio): show real download error, not 'hub not reachable'

friendlyError now pattern-matches module-download failures ('download
failed: ...') and renders a clear, copyable headline + the URL/status
detail, instead of letting the gRPC-Unavailable default show the generic
'hub not reachable' banner. EN+DE l10n.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-06-22 00:50:21 +02:00
parent c9fa068991
commit 657e68efee
6 changed files with 43 additions and 0 deletions

View file

@ -8,6 +8,13 @@ import 'app_localizations.dart';
class AppLocalizationsDe extends AppLocalizations {
AppLocalizationsDe([String locale = 'de']) : super(locale);
@override
String get errModuleDownload => 'Modul-Download fehlgeschlagen';
@override
String get errModuleDownloadHint =>
'Die Bundle-URL des Moduls ist nicht erreichbar (Statuscode unten). Der Hub läuft — URL/Host korrigieren oder anderen Store wählen.';
@override
String get guidedSetupTitle => 'Setup-Assistent';