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_it.dart';
|
||||
import 'app_localizations_sl.dart';
|
||||
|
||||
import 'app_localizations_zh.dart';
|
||||
// ignore_for_file: type=lint
|
||||
|
||||
/// Callers can lookup localized strings with an instance of AppLocalizations
|
||||
@@ -108,6 +108,7 @@ abstract class AppLocalizations {
|
||||
Locale('hr'),
|
||||
Locale('it'),
|
||||
Locale('sl'),
|
||||
Locale('zh'),
|
||||
];
|
||||
|
||||
/// The application title
|
||||
@@ -4225,6 +4226,7 @@ class _AppLocalizationsDelegate
|
||||
'hr',
|
||||
'it',
|
||||
'sl',
|
||||
'zh',
|
||||
].contains(locale.languageCode);
|
||||
|
||||
@override
|
||||
@@ -4250,6 +4252,8 @@ AppLocalizations lookupAppLocalizations(Locale locale) {
|
||||
return AppLocalizationsIt();
|
||||
case 'sl':
|
||||
return AppLocalizationsSl();
|
||||
case 'zh':
|
||||
return AppLocalizationsZh();
|
||||
}
|
||||
|
||||
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