feat(studio): show module origin store ('from <store>')

StoreItem gains source (mapped from StoreEntry.source); the store grid
shows a 'from <store>' label for operator-added stores (bundled seed
unlabelled). Foundation for grouping by store. EN+DE l10n.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-06-22 00:59:51 +02:00
parent 255348c062
commit 27cf7e8382
7 changed files with 44 additions and 0 deletions

View file

@ -2,6 +2,7 @@
"@@locale": "de",
"errModuleDownload": "Modul-Download fehlgeschlagen",
"errModuleDownloadHint": "Die Bundle-URL des Moduls ist nicht erreichbar (Statuscode unten). Der Hub läuft — URL/Host korrigieren oder anderen Store wählen.",
"storeFromSource": "aus {store}",
"guidedSetupTitle": "Setup-Assistent",
"guidedSetupIntro": "Beantworte drei Fragen — Ch∆In stellt passende Konfiguration, Modul-Set und Start-Flow zusammen.",
"guidedSetupScenario": "Szenario",

View file

@ -2,6 +2,12 @@
"@@locale": "en",
"errModuleDownload": "Module download failed",
"errModuleDownloadHint": "The module's bundle URL is unreachable (status code below). The hub is running fine — fix the URL/host or choose another store.",
"storeFromSource": "from {store}",
"@storeFromSource": {
"placeholders": {
"store": { "type": "String" }
}
},
"guidedSetupTitle": "Setup assistant",
"guidedSetupIntro": "Answer three questions and Ch∆In assembles a tailored config, module set and starter flow.",
"guidedSetupScenario": "Scenario",

View file

@ -110,6 +110,12 @@ abstract class AppLocalizations {
/// **'The module\'s bundle URL is unreachable (status code below). The hub is running fine — fix the URL/host or choose another store.'**
String get errModuleDownloadHint;
/// No description provided for @storeFromSource.
///
/// In en, this message translates to:
/// **'from {store}'**
String storeFromSource(String store);
/// No description provided for @guidedSetupTitle.
///
/// In en, this message translates to:

View file

@ -15,6 +15,11 @@ class AppLocalizationsDe extends AppLocalizations {
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 storeFromSource(String store) {
return 'aus $store';
}
@override
String get guidedSetupTitle => 'Setup-Assistent';

View file

@ -15,6 +15,11 @@ class AppLocalizationsEn extends AppLocalizations {
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 storeFromSource(String store) {
return 'from $store';
}
@override
String get guidedSetupTitle => 'Setup assistant';