mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
fix: cloud sync (#769)
This commit is contained in:
@@ -73,7 +73,7 @@ import 'l10n_zh.dart';
|
||||
/// property.
|
||||
abstract class AppLocalizations {
|
||||
AppLocalizations(String locale)
|
||||
: localeName = intl.Intl.canonicalizedLocale(locale.toString());
|
||||
: localeName = intl.Intl.canonicalizedLocale(locale.toString());
|
||||
|
||||
final String localeName;
|
||||
|
||||
@@ -96,11 +96,11 @@ abstract class AppLocalizations {
|
||||
/// of delegates is preferred or required.
|
||||
static const List<LocalizationsDelegate<dynamic>> localizationsDelegates =
|
||||
<LocalizationsDelegate<dynamic>>[
|
||||
delegate,
|
||||
GlobalMaterialLocalizations.delegate,
|
||||
GlobalCupertinoLocalizations.delegate,
|
||||
GlobalWidgetsLocalizations.delegate,
|
||||
];
|
||||
delegate,
|
||||
GlobalMaterialLocalizations.delegate,
|
||||
GlobalCupertinoLocalizations.delegate,
|
||||
GlobalWidgetsLocalizations.delegate,
|
||||
];
|
||||
|
||||
/// A list of this localizations delegate's supported locales.
|
||||
static const List<Locale> supportedLocales = <Locale>[
|
||||
@@ -116,7 +116,7 @@ abstract class AppLocalizations {
|
||||
Locale('tr'),
|
||||
Locale('uk'),
|
||||
Locale('zh'),
|
||||
Locale('zh', 'TW')
|
||||
Locale('zh', 'TW'),
|
||||
];
|
||||
|
||||
/// No description provided for @aboutThanks.
|
||||
@@ -370,7 +370,9 @@ abstract class AppLocalizations {
|
||||
/// In en, this message translates to:
|
||||
/// **'{runningCount} running, {stoppedCount} container stopped.'**
|
||||
String dockerStatusRunningAndStoppedFmt(
|
||||
Object runningCount, Object stoppedCount);
|
||||
Object runningCount,
|
||||
Object stoppedCount,
|
||||
);
|
||||
|
||||
/// No description provided for @dockerStatusRunningFmt.
|
||||
///
|
||||
@@ -1488,19 +1490,19 @@ class _AppLocalizationsDelegate
|
||||
|
||||
@override
|
||||
bool isSupported(Locale locale) => <String>[
|
||||
'de',
|
||||
'en',
|
||||
'es',
|
||||
'fr',
|
||||
'id',
|
||||
'ja',
|
||||
'nl',
|
||||
'pt',
|
||||
'ru',
|
||||
'tr',
|
||||
'uk',
|
||||
'zh'
|
||||
].contains(locale.languageCode);
|
||||
'de',
|
||||
'en',
|
||||
'es',
|
||||
'fr',
|
||||
'id',
|
||||
'ja',
|
||||
'nl',
|
||||
'pt',
|
||||
'ru',
|
||||
'tr',
|
||||
'uk',
|
||||
'zh',
|
||||
].contains(locale.languageCode);
|
||||
|
||||
@override
|
||||
bool shouldReload(_AppLocalizationsDelegate old) => false;
|
||||
@@ -1548,8 +1550,9 @@ AppLocalizations lookupAppLocalizations(Locale locale) {
|
||||
}
|
||||
|
||||
throw FlutterError(
|
||||
'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely '
|
||||
'an issue with the localizations generation tool. Please file an issue '
|
||||
'on GitHub with a reproducible sample app and the gen-l10n configuration '
|
||||
'that was used.');
|
||||
'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely '
|
||||
'an issue with the localizations generation tool. Please file an issue '
|
||||
'on GitHub with a reproducible sample app and the gen-l10n configuration '
|
||||
'that was used.',
|
||||
);
|
||||
}
|
||||
|
||||
@@ -149,7 +149,9 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String dockerStatusRunningAndStoppedFmt(
|
||||
Object runningCount, Object stoppedCount) {
|
||||
Object runningCount,
|
||||
Object stoppedCount,
|
||||
) {
|
||||
return '$runningCount aktiv, $stoppedCount container gestoppt.';
|
||||
}
|
||||
|
||||
|
||||
@@ -148,7 +148,9 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String dockerStatusRunningAndStoppedFmt(
|
||||
Object runningCount, Object stoppedCount) {
|
||||
Object runningCount,
|
||||
Object stoppedCount,
|
||||
) {
|
||||
return '$runningCount running, $stoppedCount container stopped.';
|
||||
}
|
||||
|
||||
|
||||
@@ -149,7 +149,9 @@ class AppLocalizationsEs extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String dockerStatusRunningAndStoppedFmt(
|
||||
Object runningCount, Object stoppedCount) {
|
||||
Object runningCount,
|
||||
Object stoppedCount,
|
||||
) {
|
||||
return '$runningCount en ejecución, $stoppedCount detenidos';
|
||||
}
|
||||
|
||||
|
||||
@@ -149,7 +149,9 @@ class AppLocalizationsFr extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String dockerStatusRunningAndStoppedFmt(
|
||||
Object runningCount, Object stoppedCount) {
|
||||
Object runningCount,
|
||||
Object stoppedCount,
|
||||
) {
|
||||
return '$runningCount en cours d\'exécution, $stoppedCount conteneur arrêté.';
|
||||
}
|
||||
|
||||
|
||||
@@ -148,7 +148,9 @@ class AppLocalizationsId extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String dockerStatusRunningAndStoppedFmt(
|
||||
Object runningCount, Object stoppedCount) {
|
||||
Object runningCount,
|
||||
Object stoppedCount,
|
||||
) {
|
||||
return '$runningCount running, $stoppedCount container stopped.';
|
||||
}
|
||||
|
||||
|
||||
@@ -142,7 +142,9 @@ class AppLocalizationsJa extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String dockerStatusRunningAndStoppedFmt(
|
||||
Object runningCount, Object stoppedCount) {
|
||||
Object runningCount,
|
||||
Object stoppedCount,
|
||||
) {
|
||||
return '$runningCount個が実行中、$stoppedCount個が停止中';
|
||||
}
|
||||
|
||||
|
||||
@@ -148,7 +148,9 @@ class AppLocalizationsNl extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String dockerStatusRunningAndStoppedFmt(
|
||||
Object runningCount, Object stoppedCount) {
|
||||
Object runningCount,
|
||||
Object stoppedCount,
|
||||
) {
|
||||
return '$runningCount actief, $stoppedCount container gestopt.';
|
||||
}
|
||||
|
||||
|
||||
@@ -148,7 +148,9 @@ class AppLocalizationsPt extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String dockerStatusRunningAndStoppedFmt(
|
||||
Object runningCount, Object stoppedCount) {
|
||||
Object runningCount,
|
||||
Object stoppedCount,
|
||||
) {
|
||||
return '$runningCount em execução, $stoppedCount parados';
|
||||
}
|
||||
|
||||
|
||||
@@ -148,7 +148,9 @@ class AppLocalizationsRu extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String dockerStatusRunningAndStoppedFmt(
|
||||
Object runningCount, Object stoppedCount) {
|
||||
Object runningCount,
|
||||
Object stoppedCount,
|
||||
) {
|
||||
return '$runningCount запущено, $stoppedCount остановлено';
|
||||
}
|
||||
|
||||
|
||||
@@ -147,7 +147,9 @@ class AppLocalizationsTr extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String dockerStatusRunningAndStoppedFmt(
|
||||
Object runningCount, Object stoppedCount) {
|
||||
Object runningCount,
|
||||
Object stoppedCount,
|
||||
) {
|
||||
return '$runningCount çalışıyor, $stoppedCount konteyner durdurulmuş.';
|
||||
}
|
||||
|
||||
|
||||
@@ -149,7 +149,9 @@ class AppLocalizationsUk extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String dockerStatusRunningAndStoppedFmt(
|
||||
Object runningCount, Object stoppedCount) {
|
||||
Object runningCount,
|
||||
Object stoppedCount,
|
||||
) {
|
||||
return '$runningCount запущено, $stoppedCount контейнерів зупинено.';
|
||||
}
|
||||
|
||||
|
||||
@@ -141,7 +141,9 @@ class AppLocalizationsZh extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String dockerStatusRunningAndStoppedFmt(
|
||||
Object runningCount, Object stoppedCount) {
|
||||
Object runningCount,
|
||||
Object stoppedCount,
|
||||
) {
|
||||
return '$runningCount 个正在运行, $stoppedCount 个已停止';
|
||||
}
|
||||
|
||||
@@ -858,7 +860,9 @@ class AppLocalizationsZhTw extends AppLocalizationsZh {
|
||||
|
||||
@override
|
||||
String dockerStatusRunningAndStoppedFmt(
|
||||
Object runningCount, Object stoppedCount) {
|
||||
Object runningCount,
|
||||
Object stoppedCount,
|
||||
) {
|
||||
return '$runningCount 個正在運行, $stoppedCount 個已停止';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user