mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 16:30:28 +00:00
Add new Chinese translation
This commit is contained in:
@@ -13,7 +13,7 @@ import 'app_localizations_fr.dart';
|
|||||||
import 'app_localizations_hr.dart';
|
import 'app_localizations_hr.dart';
|
||||||
import 'app_localizations_it.dart';
|
import 'app_localizations_it.dart';
|
||||||
import 'app_localizations_sl.dart';
|
import 'app_localizations_sl.dart';
|
||||||
|
import 'app_localizations_zh.dart';
|
||||||
// ignore_for_file: type=lint
|
// ignore_for_file: type=lint
|
||||||
|
|
||||||
/// Callers can lookup localized strings with an instance of AppLocalizations
|
/// Callers can lookup localized strings with an instance of AppLocalizations
|
||||||
@@ -108,6 +108,7 @@ abstract class AppLocalizations {
|
|||||||
Locale('hr'),
|
Locale('hr'),
|
||||||
Locale('it'),
|
Locale('it'),
|
||||||
Locale('sl'),
|
Locale('sl'),
|
||||||
|
Locale('zh'),
|
||||||
];
|
];
|
||||||
|
|
||||||
/// The application title
|
/// The application title
|
||||||
@@ -4225,6 +4226,7 @@ class _AppLocalizationsDelegate
|
|||||||
'hr',
|
'hr',
|
||||||
'it',
|
'it',
|
||||||
'sl',
|
'sl',
|
||||||
|
'zh',
|
||||||
].contains(locale.languageCode);
|
].contains(locale.languageCode);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
@@ -4250,6 +4252,8 @@ AppLocalizations lookupAppLocalizations(Locale locale) {
|
|||||||
return AppLocalizationsIt();
|
return AppLocalizationsIt();
|
||||||
case 'sl':
|
case 'sl':
|
||||||
return AppLocalizationsSl();
|
return AppLocalizationsSl();
|
||||||
|
case 'zh':
|
||||||
|
return AppLocalizationsZh();
|
||||||
}
|
}
|
||||||
|
|
||||||
throw FlutterError(
|
throw FlutterError(
|
||||||
|
|||||||
2262
lib/l10n/app_localizations_zh.dart
Normal file
2262
lib/l10n/app_localizations_zh.dart
Normal file
File diff suppressed because it is too large
Load Diff
3848
lib/l10n/app_zh.arb
Normal file
3848
lib/l10n/app_zh.arb
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user