feat(InfoByOrder): added user info to InfoByOrderScreen author card

This commit is contained in:
misha
2025-10-29 04:38:04 +03:00
parent 06cafb4257
commit 563d84ca12
10 changed files with 108 additions and 107 deletions

View File

@@ -28,10 +28,9 @@ class S {
static const AppLocalizationDelegate delegate = AppLocalizationDelegate();
static Future<S> load(Locale locale) {
final name =
(locale.countryCode?.isEmpty ?? false)
? locale.languageCode
: locale.toString();
final name = (locale.countryCode?.isEmpty ?? false)
? locale.languageCode
: locale.toString();
final localeName = Intl.canonicalizedLocale(name);
return initializeMessages(localeName).then((_) {
Intl.defaultLocale = localeName;
@@ -3499,6 +3498,11 @@ class S {
args: [],
);
}
/// `Покупатель`
String get customer {
return Intl.message('Покупатель', name: 'customer', desc: '', args: []);
}
}
class AppLocalizationDelegate extends LocalizationsDelegate<S> {