끝난 이클립스 합류 문구 · HOME 헤더 POP · 다국어 HOME 레이아웃 · 캠페인 표시 수정

This commit is contained in:
Sn-Kinos
2026-10-08 19:00:24 +09:00
parent a74edaef6b
commit 40b2c0e6f6
40 changed files with 1649 additions and 845 deletions
+63 -25
View File
@@ -65,7 +65,8 @@ 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;
@@ -73,7 +74,8 @@ 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.
@@ -85,12 +87,13 @@ 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>[
@@ -98,7 +101,7 @@ abstract class AppLocalizations {
Locale('es'),
Locale('ja'),
Locale('ko'),
Locale('zh')
Locale('zh'),
];
/// No description provided for @commonConfirm.
@@ -1733,11 +1736,11 @@ abstract class AppLocalizations {
/// **'같은 기여 다시 확인'**
String get zapRetrySame;
/// No description provided for @heroOwnerSuffix.
/// No description provided for @heroOwner.
///
/// In ko, this message translates to:
/// **'님의'**
String get heroOwnerSuffix;
/// **'{name} 님의'**
String heroOwner(String name);
/// No description provided for @heroStartPrompt.
///
@@ -2801,6 +2804,24 @@ abstract class AppLocalizations {
/// **'행성 진화'**
String get notifKindEvolution;
/// No description provided for @notifKindCampaignRefund.
///
/// In ko, this message translates to:
/// **'캠페인 환불'**
String get notifKindCampaignRefund;
/// No description provided for @notifKindCampaignCancel.
///
/// In ko, this message translates to:
/// **'캠페인 취소'**
String get notifKindCampaignCancel;
/// No description provided for @notifKindCampaignReport.
///
/// In ko, this message translates to:
/// **'결과 보고'**
String get notifKindCampaignReport;
/// No description provided for @notifTargetPost.
///
/// In ko, this message translates to:
@@ -4353,7 +4374,12 @@ 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.
///
@@ -4815,7 +4841,14 @@ 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.
///
@@ -5066,7 +5099,7 @@ abstract class AppLocalizations {
/// No description provided for @homeArtistNews.
///
/// In ko, this message translates to:
/// **'아티스트 소식'**
/// **'AI Daily Briefing'**
String get homeArtistNews;
/// No description provided for @growthConditionsTitle.
@@ -5538,7 +5571,8 @@ abstract class AppLocalizations {
String questReflected(String fandom);
}
class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations> {
class _AppLocalizationsDelegate
extends LocalizationsDelegate<AppLocalizations> {
const _AppLocalizationsDelegate();
@override
@@ -5547,28 +5581,32 @@ class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations>
}
@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.',
);
}