Skip to content

Commit

Permalink
flutter: Change some strings of move menu
Browse files Browse the repository at this point in the history
  • Loading branch information
calcitem committed May 21, 2021
1 parent e5aefd4 commit 4ff1106
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/ui/flutter_app/lib/l10n/intl_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
"@move": {
"description": "Move"
},
"showMoveList": "Move list",
"@showMoveList": {
"description": "Move list"
},
"moveList": "Move list",
"@moveList": {
"description": "Move list"
Expand Down
5 changes: 3 additions & 2 deletions src/ui/flutter_app/lib/l10n/intl_zh.arb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"humanVsLAN": "联网对战",
"testViaLAN": "联网测试",
"move": "着法",
"showMoveList": "显示棋谱",
"moveList": "棋谱",
"noGameRecord": "暂无招法",
"ok": "好的",
Expand Down Expand Up @@ -178,10 +179,10 @@
"undo": "悔棋",
"undoOption": "悔棋",
"undoOption_Detail": "允许悔棋",
"takeBack": "回退",
"takeBack": "回退一步",
"takingBack": "回退中",
"waiting": "请稍等",
"stepForward": "前进",
"stepForward": "前进一步",
"takeBackAll": "回退到底",
"stepForwardAll": "前进到底",
"moveNow": "立即行棋",
Expand Down
2 changes: 1 addition & 1 deletion src/ui/flutter_app/lib/widgets/game_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ class _GamePageState extends State<GamePage> with RouteAware {
SizedBox(height: AppTheme.sizedBoxHeight),
SimpleDialogOption(
child: Text(
S.of(context).moveList,
S.of(context).showMoveList,
style: AppTheme.simpleDialogOptionTextStyle,
textAlign: TextAlign.center,
),
Expand Down

0 comments on commit 4ff1106

Please sign in to comment.