From 6d8af3cfcf53e879c5c807b38fc4e0bdb7913348 Mon Sep 17 00:00:00 2001 From: Calcitem Date: Wed, 9 Jun 2021 00:49:41 +0800 Subject: [PATCH] flutter: Change menu text from 'Start new game' to 'New game' --- src/ui/flutter_app/lib/l10n/intl_de.arb | 4 ++-- src/ui/flutter_app/lib/l10n/intl_en.arb | 4 ++-- src/ui/flutter_app/lib/l10n/intl_fa.arb | 4 ++-- src/ui/flutter_app/lib/l10n/intl_zh.arb | 2 +- src/ui/flutter_app/lib/widgets/game_page.dart | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/ui/flutter_app/lib/l10n/intl_de.arb b/src/ui/flutter_app/lib/l10n/intl_de.arb index 3d16e40b..8ad7f9a4 100644 --- a/src/ui/flutter_app/lib/l10n/intl_de.arb +++ b/src/ui/flutter_app/lib/l10n/intl_de.arb @@ -200,9 +200,9 @@ "@thinking": { "description": "Thinking..." }, - "newGame": "Los", + "newGame": "Neues Spiel", "@newGame": { - "description": "Start" + "description": "New game" }, "startNewGame": "Beginne ein neues Spiel", "@startNewGame": { diff --git a/src/ui/flutter_app/lib/l10n/intl_en.arb b/src/ui/flutter_app/lib/l10n/intl_en.arb index 67b473ca..a2d8bf19 100644 --- a/src/ui/flutter_app/lib/l10n/intl_en.arb +++ b/src/ui/flutter_app/lib/l10n/intl_en.arb @@ -200,9 +200,9 @@ "@thinking": { "description": "Thinking..." }, - "newGame": "Start", + "newGame": "New game", "@newGame": { - "description": "Start" + "description": "New game" }, "startNewGame": "Start new game", "@startNewGame": { diff --git a/src/ui/flutter_app/lib/l10n/intl_fa.arb b/src/ui/flutter_app/lib/l10n/intl_fa.arb index 3f9556f8..47042f0d 100644 --- a/src/ui/flutter_app/lib/l10n/intl_fa.arb +++ b/src/ui/flutter_app/lib/l10n/intl_fa.arb @@ -200,9 +200,9 @@ "@thinking": { "description": "Thinking..." }, - "newGame": "شروع کنید", + "newGame": "بازی جدید", "@newGame": { - "description": "Start" + "description": "New game" }, "startNewGame": "شروع بازی جدید", "@startNewGame": { diff --git a/src/ui/flutter_app/lib/l10n/intl_zh.arb b/src/ui/flutter_app/lib/l10n/intl_zh.arb index 0ef6754d..9231c4e9 100644 --- a/src/ui/flutter_app/lib/l10n/intl_zh.arb +++ b/src/ui/flutter_app/lib/l10n/intl_zh.arb @@ -50,7 +50,7 @@ "aborted": "中断", "draw": "和棋", "thinking": "对方思考中...", - "newGame": "新局", + "newGame": "开始新局", "startNewGame": "开始新局", "importGame": "导入棋谱", "gameImported": "棋谱已从剪贴板导入", diff --git a/src/ui/flutter_app/lib/widgets/game_page.dart b/src/ui/flutter_app/lib/widgets/game_page.dart index 871ef963..8f6b2461 100644 --- a/src/ui/flutter_app/lib/widgets/game_page.dart +++ b/src/ui/flutter_app/lib/widgets/game_page.dart @@ -671,7 +671,7 @@ class _GamePageState extends State children: [ SimpleDialogOption( child: Text( - S.of(context).startNewGame, + S.of(context).newGame, style: AppTheme.simpleDialogOptionTextStyle, textAlign: TextAlign.center, ),