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 AppLocalizationsEn extends AppLocalizations {
AppLocalizationsEn([String locale = 'en']) : super(locale);
@override
String get errModuleDownload => 'Module download failed';
@override
String get errModuleDownloadHint =>
'The module\'s bundle URL is unreachable (status code below). The hub is running fine — fix the URL/host or choose another store.';
@override
String get guidedSetupTitle => 'Setup assistant';