Skip to content

Commit

Permalink
Update summon l10n
Browse files Browse the repository at this point in the history
  • Loading branch information
narumi147 committed May 28, 2024
1 parent 3211b29 commit 133c91a
Show file tree
Hide file tree
Showing 27 changed files with 44 additions and 24 deletions.
2 changes: 1 addition & 1 deletion lib/app/modules/craft_essence/craft.dart
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ class CraftDetailBasePage extends StatelessWidget {
),
],
if (showExtra && summons.isNotEmpty) ...[
CustomTableRow(children: [TableCellData(text: S.current.summon, isHeader: true)]),
CustomTableRow(children: [TableCellData(text: S.current.summon_banner, isHeader: true)]),
CustomTableRow(children: [
TableCellData(
child: Column(
Expand Down
2 changes: 1 addition & 1 deletion lib/app/modules/event/event_detail_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ class _EventItemsOverviewState extends State<EventItemsOverview> {
}

if (event.extra.relatedSummons.isNotEmpty) {
children.add(ListTile(title: Text(S.current.summon)));
children.add(ListTile(title: Text(S.current.summon_banner)));
final summons = event.extra.relatedSummons;
summons.sort2((key) => db.gameData.wiki.summons[key]?.startTime.l ?? 0);
children.add(TileGroup(
Expand Down
2 changes: 1 addition & 1 deletion lib/app/modules/home/elements/gallery_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ class GalleryItem {
);
static GalleryItem summons = GalleryItem(
name: 'summons',
titleBuilder: () => S.current.summon,
titleBuilder: () => S.current.summon_banner,
icon: FontAwesomeIcons.dice,
url: Routes.summons,
page: SummonListPage(),
Expand Down
2 changes: 1 addition & 1 deletion lib/app/modules/home/elements/news_carousel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ class _AppNewsCarouselState extends State<AppNewsCarousel> {
),
for (final summonId in item.summonIds)
_tile(
db.gameData.wiki.summons[summonId]?.lName.l.setMaxLines(1) ?? '${S.current.summon} $summonId',
db.gameData.wiki.summons[summonId]?.lName.l.setMaxLines(1) ?? '${S.current.summon_banner} $summonId',
() => router.push(url: Routes.summonI(summonId)),
),
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class _SvtTabsSortingSettingState extends State<SvtTabsSortingSetting> {
case SvtTab.relatedCards:
return S.current.svt_related_ce;
case SvtTab.summon:
return S.current.summon;
return S.current.summon_banner;
case SvtTab.voice:
return S.current.voice;
case SvtTab.quest:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class _SniffGachaHistoryState extends State<SniffGachaHistory> {
Text.rich(
TextSpan(
text:
'${S.current.obtain} $countAll${countAllNoLucky == null ? "" : "($countAllNoLucky)"}\n',
'${S.current.summon} $countAll${countAllNoLucky == null ? "" : "($countAllNoLucky)"}\n',
children: [
TextSpan(
text:
Expand Down
2 changes: 1 addition & 1 deletion lib/app/modules/mc/mc_home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class MooncellToolsPage extends StatelessWidget {
],
),
TileGroup(
header: S.current.summon,
header: S.current.summon_banner,
children: [
ListTile(
title: buildMardkown("""### 前言
Expand Down
2 changes: 1 addition & 1 deletion lib/app/modules/misc/app_route_entrance.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class _AppRouteEntrancePageState extends State<AppRouteEntrancePage> {
_int(S.current.war, Routes.war),
_int(S.current.enemy, Routes.enemy),
_int(S.current.item, Routes.item),
_int(S.current.summon, Routes.summon),
_int(S.current.summon_banner, Routes.summon),
_int(S.current.costume, Routes.costume),
_int(S.current.bgm, Routes.bgm),
_int(S.current.trait, Routes.trait),
Expand Down
2 changes: 1 addition & 1 deletion lib/app/modules/servant/servant.dart
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ class ServantDetailPageState extends State<ServantDetailPage> with SingleTickerP
}
return _SubTabInfo(
tab: tab,
tabBuilder: () => S.current.summon,
tabBuilder: () => S.current.summon_banner,
viewBuilder: (ctx) => SvtSummonTab(svt: svt),
);
case SvtTab.voice:
Expand Down
2 changes: 1 addition & 1 deletion lib/app/modules/summon/summon_detail_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class _SummonDetailPageState extends State<SummonDetailPage> {
if (_summon == null) {
return NotFoundPage(
url: Routes.summonI(widget.id ?? '0'),
title: S.current.summon,
title: S.current.summon_banner,
);
}
return Scaffold(
Expand Down
2 changes: 1 addition & 1 deletion lib/app/modules/summon/summon_list_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class _SummonListPageState extends State<SummonListPage>
return scrollListener(
useGrid: false,
appBar: AppBar(
title: Text(S.current.summon),
title: Text(S.current.summon_banner),
leading: const MasterBackButton(),
titleSpacing: 0,
bottom: showSearchBar
Expand Down
2 changes: 1 addition & 1 deletion lib/app/modules/timer/timer_home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class _TimerHomePageState extends State<TimerHomePage>
tabs: [
S.current.general_all,
S.current.event,
S.current.summon,
S.current.summon_banner,
S.current.master_mission,
S.current.shop,
"Time",
Expand Down
2 changes: 1 addition & 1 deletion lib/generated/intl/messages_ar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ class MessageLookup extends MessageLookupByLibrary {
"statistics_title": MessageLookupByLibrary.simpleMessage("احصائيات"),
"still_send": MessageLookupByLibrary.simpleMessage("أرسل على اي حال"),
"success": MessageLookupByLibrary.simpleMessage("نجاح"),
"summon": MessageLookupByLibrary.simpleMessage("استدعاء"),
"summon_banner": MessageLookupByLibrary.simpleMessage("استدعاء"),
"summon_daily": MessageLookupByLibrary.simpleMessage("استدعاء"),
"summon_expectation_btn": MessageLookupByLibrary.simpleMessage("يومي"),
"summon_gacha_result": MessageLookupByLibrary.simpleMessage("النتائج"),
Expand Down
1 change: 1 addition & 0 deletions lib/generated/intl/messages_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,7 @@ class MessageLookup extends MessageLookupByLibrary {
"sub_attribute_advantage": MessageLookupByLibrary.simpleMessage("Sub Attribute Advantage"),
"success": MessageLookupByLibrary.simpleMessage("Success"),
"summon": MessageLookupByLibrary.simpleMessage("Summon"),
"summon_banner": MessageLookupByLibrary.simpleMessage("Summon"),
"summon_daily": MessageLookupByLibrary.simpleMessage("Daily"),
"summon_expectation_btn": MessageLookupByLibrary.simpleMessage("Expectation"),
"summon_gacha_footer": MessageLookupByLibrary.simpleMessage("Just for entertainment"),
Expand Down
2 changes: 1 addition & 1 deletion lib/generated/intl/messages_es.dart
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ class MessageLookup extends MessageLookupByLibrary {
"statistics_title": MessageLookupByLibrary.simpleMessage("Estadísticas"),
"still_send": MessageLookupByLibrary.simpleMessage("Enviar de todas formas"),
"success": MessageLookupByLibrary.simpleMessage("Éxito"),
"summon": MessageLookupByLibrary.simpleMessage("Summon"),
"summon_banner": MessageLookupByLibrary.simpleMessage("Summon"),
"summon_daily": MessageLookupByLibrary.simpleMessage("Diario"),
"summon_expectation_btn": MessageLookupByLibrary.simpleMessage("Expectativa"),
"summon_gacha_footer": MessageLookupByLibrary.simpleMessage("Solo para entretenimiento"),
Expand Down
3 changes: 2 additions & 1 deletion lib/generated/intl/messages_ja.dart
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,8 @@ class MessageLookup extends MessageLookupByLibrary {
"statistics_title": MessageLookupByLibrary.simpleMessage("統計"),
"still_send": MessageLookupByLibrary.simpleMessage("送信し続けます"),
"success": MessageLookupByLibrary.simpleMessage("成功"),
"summon": MessageLookupByLibrary.simpleMessage("ガチャ"),
"summon": MessageLookupByLibrary.simpleMessage("召喚"),
"summon_banner": MessageLookupByLibrary.simpleMessage("ガチャ"),
"summon_daily": MessageLookupByLibrary.simpleMessage("日替"),
"summon_expectation_btn": MessageLookupByLibrary.simpleMessage("期待値計算"),
"summon_gacha_footer": MessageLookupByLibrary.simpleMessage("娯楽のみ"),
Expand Down
2 changes: 1 addition & 1 deletion lib/generated/intl/messages_ko.dart
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ class MessageLookup extends MessageLookupByLibrary {
"still_send": MessageLookupByLibrary.simpleMessage("계속 보내기"),
"story_ce": MessageLookupByLibrary.simpleMessage("스토리 예장"),
"success": MessageLookupByLibrary.simpleMessage("성공"),
"summon": MessageLookupByLibrary.simpleMessage("가챠"),
"summon_banner": MessageLookupByLibrary.simpleMessage("가챠"),
"summon_daily": MessageLookupByLibrary.simpleMessage("매일"),
"summon_expectation_btn": MessageLookupByLibrary.simpleMessage("기대치 계산"),
"summon_gacha_footer": MessageLookupByLibrary.simpleMessage("엔터테인먼트만"),
Expand Down
3 changes: 2 additions & 1 deletion lib/generated/intl/messages_zh.dart
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,8 @@ class MessageLookup extends MessageLookupByLibrary {
"strength_status": MessageLookupByLibrary.simpleMessage("强化状态"),
"sub_attribute_advantage": MessageLookupByLibrary.simpleMessage("副属性克制"),
"success": MessageLookupByLibrary.simpleMessage("成功"),
"summon": MessageLookupByLibrary.simpleMessage("卡池"),
"summon": MessageLookupByLibrary.simpleMessage("召唤"),
"summon_banner": MessageLookupByLibrary.simpleMessage("卡池"),
"summon_daily": MessageLookupByLibrary.simpleMessage("日替"),
"summon_expectation_btn": MessageLookupByLibrary.simpleMessage("期望计算"),
"summon_gacha_footer": MessageLookupByLibrary.simpleMessage("仅供娱乐, 如有雷同, 纯属巧合"),
Expand Down
3 changes: 2 additions & 1 deletion lib/generated/intl/messages_zh_Hant.dart
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,8 @@ class MessageLookup extends MessageLookupByLibrary {
"strength_status": MessageLookupByLibrary.simpleMessage("強化狀態"),
"sub_attribute_advantage": MessageLookupByLibrary.simpleMessage("副屬性剋制"),
"success": MessageLookupByLibrary.simpleMessage("成功"),
"summon": MessageLookupByLibrary.simpleMessage("卡池"),
"summon": MessageLookupByLibrary.simpleMessage("召唤"),
"summon_banner": MessageLookupByLibrary.simpleMessage("卡池"),
"summon_daily": MessageLookupByLibrary.simpleMessage("日替"),
"summon_expectation_btn": MessageLookupByLibrary.simpleMessage("期待計算"),
"summon_gacha_footer": MessageLookupByLibrary.simpleMessage("僅供娛樂, 如有雷同, 純屬巧合"),
Expand Down
11 changes: 11 additions & 0 deletions lib/generated/l10n.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/l10n/intl_ar.arb
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@
"strength_status": null,
"sub_attribute_advantage": null,
"success": "نجاح",
"summon": "استدعاء",
"summon_banner": "استدعاء",
"summon_daily": "استدعاء",
"summon_expectation_btn": "يومي",
"summon_gacha_footer": null,
Expand Down
1 change: 1 addition & 0 deletions lib/l10n/intl_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,7 @@
"sub_attribute_advantage": "Sub Attribute Advantage",
"success": "Success",
"summon": "Summon",
"summon_banner": "Summon",
"summon_daily": "Daily",
"summon_expectation_btn": "Expectation",
"summon_gacha_footer": "Just for entertainment",
Expand Down
2 changes: 1 addition & 1 deletion lib/l10n/intl_es.arb
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@
"strength_status": null,
"sub_attribute_advantage": null,
"success": "Éxito",
"summon": "Summon",
"summon_banner": "Summon",
"summon_daily": "Diario",
"summon_expectation_btn": "Expectativa",
"summon_gacha_footer": "Solo para entretenimiento",
Expand Down
3 changes: 2 additions & 1 deletion lib/l10n/intl_ja.arb
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,8 @@
"strength_status": null,
"sub_attribute_advantage": null,
"success": "成功",
"summon": "ガチャ",
"summon": "召喚",
"summon_banner": "ガチャ",
"summon_daily": "日替",
"summon_expectation_btn": "期待値計算",
"summon_gacha_footer": "娯楽のみ",
Expand Down
3 changes: 2 additions & 1 deletion lib/l10n/intl_ko.arb
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,8 @@
"strength_status": null,
"sub_attribute_advantage": null,
"success": "성공",
"summon": "가챠",
"summon": null,
"summon_banner": "가챠",
"summon_daily": "매일",
"summon_expectation_btn": "기대치 계산",
"summon_gacha_footer": "엔터테인먼트만",
Expand Down
3 changes: 2 additions & 1 deletion lib/l10n/intl_zh.arb
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,8 @@
"strength_status": "强化状态",
"sub_attribute_advantage": "副属性克制",
"success": "成功",
"summon": "卡池",
"summon": "召唤",
"summon_banner": "卡池",
"summon_daily": "日替",
"summon_expectation_btn": "期望计算",
"summon_gacha_footer": "仅供娱乐, 如有雷同, 纯属巧合",
Expand Down
3 changes: 2 additions & 1 deletion lib/l10n/intl_zh_Hant.arb
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,8 @@
"strength_status": "強化狀態",
"sub_attribute_advantage": "副屬性剋制",
"success": "成功",
"summon": "卡池",
"summon": null,
"summon_banner": "卡池",
"summon_daily": "日替",
"summon_expectation_btn": "期待計算",
"summon_gacha_footer": "僅供娛樂, 如有雷同, 純屬巧合",
Expand Down

0 comments on commit 133c91a

Please sign in to comment.