이클립스 사전 경고 연출 · 브리핑 출처·게시시각 · PASSPORT 역사적 사건 Stamp
This commit is contained in:
@@ -65,8 +65,7 @@ import 'app_localizations_zh.dart';
|
||||
/// be consistent with the languages listed in the AppLocalizations.supportedLocales
|
||||
/// property.
|
||||
abstract class AppLocalizations {
|
||||
AppLocalizations(String locale)
|
||||
: localeName = intl.Intl.canonicalizedLocale(locale.toString());
|
||||
AppLocalizations(String locale) : localeName = intl.Intl.canonicalizedLocale(locale.toString());
|
||||
|
||||
final String localeName;
|
||||
|
||||
@@ -74,8 +73,7 @@ abstract class AppLocalizations {
|
||||
return Localizations.of<AppLocalizations>(context, AppLocalizations);
|
||||
}
|
||||
|
||||
static const LocalizationsDelegate<AppLocalizations> delegate =
|
||||
_AppLocalizationsDelegate();
|
||||
static const LocalizationsDelegate<AppLocalizations> delegate = _AppLocalizationsDelegate();
|
||||
|
||||
/// A list of this localizations delegate along with the default localizations
|
||||
/// delegates.
|
||||
@@ -87,13 +85,12 @@ abstract class AppLocalizations {
|
||||
/// Additional delegates can be added by appending to this list in
|
||||
/// MaterialApp. This list does not have to be used at all if a custom list
|
||||
/// of delegates is preferred or required.
|
||||
static const List<LocalizationsDelegate<dynamic>> localizationsDelegates =
|
||||
<LocalizationsDelegate<dynamic>>[
|
||||
delegate,
|
||||
GlobalMaterialLocalizations.delegate,
|
||||
GlobalCupertinoLocalizations.delegate,
|
||||
GlobalWidgetsLocalizations.delegate,
|
||||
];
|
||||
static const List<LocalizationsDelegate<dynamic>> localizationsDelegates = <LocalizationsDelegate<dynamic>>[
|
||||
delegate,
|
||||
GlobalMaterialLocalizations.delegate,
|
||||
GlobalCupertinoLocalizations.delegate,
|
||||
GlobalWidgetsLocalizations.delegate,
|
||||
];
|
||||
|
||||
/// A list of this localizations delegate's supported locales.
|
||||
static const List<Locale> supportedLocales = <Locale>[
|
||||
@@ -101,7 +98,7 @@ abstract class AppLocalizations {
|
||||
Locale('es'),
|
||||
Locale('ja'),
|
||||
Locale('ko'),
|
||||
Locale('zh'),
|
||||
Locale('zh')
|
||||
];
|
||||
|
||||
/// No description provided for @commonConfirm.
|
||||
@@ -3368,6 +3365,12 @@ abstract class AppLocalizations {
|
||||
/// **'최초 100명 기념 Badge'**
|
||||
String get historyFounderBadge;
|
||||
|
||||
/// No description provided for @historyHistoric.
|
||||
///
|
||||
/// In ko, this message translates to:
|
||||
/// **'역사적 사건'**
|
||||
String get historyHistoric;
|
||||
|
||||
/// No description provided for @historyGrowthPop.
|
||||
///
|
||||
/// In ko, this message translates to:
|
||||
@@ -4350,12 +4353,7 @@ abstract class AppLocalizations {
|
||||
///
|
||||
/// In ko, this message translates to:
|
||||
/// **'{startMonth}월 {startDay}일 ~ {endMonth}월 {endDay}일'**
|
||||
String campaignPeriodRange(
|
||||
String startMonth,
|
||||
String startDay,
|
||||
String endMonth,
|
||||
String endDay,
|
||||
);
|
||||
String campaignPeriodRange(String startMonth, String startDay, String endMonth, String endDay);
|
||||
|
||||
/// No description provided for @campaignPeriodSelect.
|
||||
///
|
||||
@@ -4817,14 +4815,7 @@ abstract class AppLocalizations {
|
||||
///
|
||||
/// In ko, this message translates to:
|
||||
/// **'{title}\n보상 {reward} POP × {count}명 = {pool} POP\n수수료 {fee} POP (공개 시 소멸)\n총 {total} POP 이 차감됩니다.'**
|
||||
String questCreateCost(
|
||||
String title,
|
||||
String reward,
|
||||
String count,
|
||||
String pool,
|
||||
String fee,
|
||||
String total,
|
||||
);
|
||||
String questCreateCost(String title, String reward, String count, String pool, String fee, String total);
|
||||
|
||||
/// No description provided for @questNoReward.
|
||||
///
|
||||
@@ -5541,8 +5532,7 @@ abstract class AppLocalizations {
|
||||
String liveHeroTimeBy(String fandom, String name);
|
||||
}
|
||||
|
||||
class _AppLocalizationsDelegate
|
||||
extends LocalizationsDelegate<AppLocalizations> {
|
||||
class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations> {
|
||||
const _AppLocalizationsDelegate();
|
||||
|
||||
@override
|
||||
@@ -5551,32 +5541,28 @@ class _AppLocalizationsDelegate
|
||||
}
|
||||
|
||||
@override
|
||||
bool isSupported(Locale locale) =>
|
||||
<String>['en', 'es', 'ja', 'ko', 'zh'].contains(locale.languageCode);
|
||||
bool isSupported(Locale locale) => <String>['en', 'es', 'ja', 'ko', 'zh'].contains(locale.languageCode);
|
||||
|
||||
@override
|
||||
bool shouldReload(_AppLocalizationsDelegate old) => false;
|
||||
}
|
||||
|
||||
AppLocalizations lookupAppLocalizations(Locale locale) {
|
||||
|
||||
|
||||
// Lookup logic when only language code is specified.
|
||||
switch (locale.languageCode) {
|
||||
case 'en':
|
||||
return AppLocalizationsEn();
|
||||
case 'es':
|
||||
return AppLocalizationsEs();
|
||||
case 'ja':
|
||||
return AppLocalizationsJa();
|
||||
case 'ko':
|
||||
return AppLocalizationsKo();
|
||||
case 'zh':
|
||||
return AppLocalizationsZh();
|
||||
case 'en': return AppLocalizationsEn();
|
||||
case 'es': return AppLocalizationsEs();
|
||||
case 'ja': return AppLocalizationsJa();
|
||||
case 'ko': return AppLocalizationsKo();
|
||||
case 'zh': return AppLocalizationsZh();
|
||||
}
|
||||
|
||||
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.',
|
||||
'that was used.'
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user