fix(store): localized category labels, 'Studio & Designs' tab in German
Some checks are pending
Security / Security check (push) Waiting to run
Some checks are pending
Security / Security check (push) Waiting to run
'document' rendered as a raw lowercase English token next to localized neighbours; unknown categories at least capitalize. Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
parent
12b2e8327a
commit
5578c32710
6 changed files with 24 additions and 5 deletions
|
|
@ -334,17 +334,18 @@
|
||||||
"storeCategoryChannel": "Kanäle",
|
"storeCategoryChannel": "Kanäle",
|
||||||
"storeCategoryWeb": "Web",
|
"storeCategoryWeb": "Web",
|
||||||
"storeCategoryOrchestrator": "Orchestrierung",
|
"storeCategoryOrchestrator": "Orchestrierung",
|
||||||
|
"storeCategoryDocument": "Dokument",
|
||||||
"storeCatDocuments": "Dokumente",
|
"storeCatDocuments": "Dokumente",
|
||||||
"storeCatTextLanguage": "Text & Sprache",
|
"storeCatTextLanguage": "Text & Sprache",
|
||||||
"storeCatData": "Daten & Formate",
|
"storeCatData": "Daten & Formate",
|
||||||
"storeCatAiLlm": "KI & LLM",
|
"storeCatAiLlm": "KI & LLM",
|
||||||
"storeCatWebApi": "Web & APIs",
|
"storeCatWebApi": "Web & APIs",
|
||||||
"storeCatAnalysisDomain": "Analyse & Domäne",
|
"storeCatAnalysisDomain": "Analyse & Domäne",
|
||||||
"storeCatStudioThemes": "Studio & Themes",
|
"storeCatStudioThemes": "Studio & Designs",
|
||||||
"storeCatExamplesDev": "Beispiele & Dev",
|
"storeCatExamplesDev": "Beispiele & Dev",
|
||||||
"storeCatOther": "Sonstiges",
|
"storeCatOther": "Sonstiges",
|
||||||
"storeSegmentModules": "Module",
|
"storeSegmentModules": "Module",
|
||||||
"storeSegmentStudio": "Studio & Themes",
|
"storeSegmentStudio": "Studio & Designs",
|
||||||
"storeNResults": "{n} Treffer",
|
"storeNResults": "{n} Treffer",
|
||||||
"@storeNResults": {
|
"@storeNResults": {
|
||||||
"placeholders": {
|
"placeholders": {
|
||||||
|
|
|
||||||
|
|
@ -342,6 +342,7 @@
|
||||||
"storeCategoryChannel": "Channels",
|
"storeCategoryChannel": "Channels",
|
||||||
"storeCategoryWeb": "Web",
|
"storeCategoryWeb": "Web",
|
||||||
"storeCategoryOrchestrator": "Orchestration",
|
"storeCategoryOrchestrator": "Orchestration",
|
||||||
|
"storeCategoryDocument": "Document",
|
||||||
"storeCatDocuments": "Documents",
|
"storeCatDocuments": "Documents",
|
||||||
"storeCatTextLanguage": "Text & Language",
|
"storeCatTextLanguage": "Text & Language",
|
||||||
"storeCatData": "Data & Formats",
|
"storeCatData": "Data & Formats",
|
||||||
|
|
|
||||||
|
|
@ -1568,6 +1568,12 @@ abstract class AppLocalizations {
|
||||||
/// **'Orchestration'**
|
/// **'Orchestration'**
|
||||||
String get storeCategoryOrchestrator;
|
String get storeCategoryOrchestrator;
|
||||||
|
|
||||||
|
/// No description provided for @storeCategoryDocument.
|
||||||
|
///
|
||||||
|
/// In en, this message translates to:
|
||||||
|
/// **'Document'**
|
||||||
|
String get storeCategoryDocument;
|
||||||
|
|
||||||
/// No description provided for @storeCatDocuments.
|
/// No description provided for @storeCatDocuments.
|
||||||
///
|
///
|
||||||
/// In en, this message translates to:
|
/// In en, this message translates to:
|
||||||
|
|
|
||||||
|
|
@ -847,6 +847,9 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||||
@override
|
@override
|
||||||
String get storeCategoryOrchestrator => 'Orchestrierung';
|
String get storeCategoryOrchestrator => 'Orchestrierung';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get storeCategoryDocument => 'Dokument';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get storeCatDocuments => 'Dokumente';
|
String get storeCatDocuments => 'Dokumente';
|
||||||
|
|
||||||
|
|
@ -866,7 +869,7 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||||
String get storeCatAnalysisDomain => 'Analyse & Domäne';
|
String get storeCatAnalysisDomain => 'Analyse & Domäne';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get storeCatStudioThemes => 'Studio & Themes';
|
String get storeCatStudioThemes => 'Studio & Designs';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get storeCatExamplesDev => 'Beispiele & Dev';
|
String get storeCatExamplesDev => 'Beispiele & Dev';
|
||||||
|
|
@ -878,7 +881,7 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||||
String get storeSegmentModules => 'Module';
|
String get storeSegmentModules => 'Module';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get storeSegmentStudio => 'Studio & Themes';
|
String get storeSegmentStudio => 'Studio & Designs';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String storeNResults(int n) {
|
String storeNResults(int n) {
|
||||||
|
|
|
||||||
|
|
@ -859,6 +859,9 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||||
@override
|
@override
|
||||||
String get storeCategoryOrchestrator => 'Orchestration';
|
String get storeCategoryOrchestrator => 'Orchestration';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get storeCategoryDocument => 'Document';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get storeCatDocuments => 'Documents';
|
String get storeCatDocuments => 'Documents';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -860,8 +860,13 @@ String _categoryDisplayName(BuildContext ctx, String wire) {
|
||||||
return l.storeCategoryWeb;
|
return l.storeCategoryWeb;
|
||||||
case 'orchestrator':
|
case 'orchestrator':
|
||||||
return l.storeCategoryOrchestrator;
|
return l.storeCategoryOrchestrator;
|
||||||
|
case 'document':
|
||||||
|
case 'doc':
|
||||||
|
return l.storeCategoryDocument;
|
||||||
default:
|
default:
|
||||||
return wire;
|
// Unknown wire categories still render presentably —
|
||||||
|
// capitalized, never a raw lowercase token.
|
||||||
|
return wire[0].toUpperCase() + wire.substring(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue