flutter: rule_settings: Add more strings

This commit is contained in:
Calcitem 2021-03-14 21:37:37 +08:00
parent 55f7118152
commit 67996abfc7
3 changed files with 23 additions and 7 deletions

View File

@ -420,10 +420,18 @@
"@isBlackLoseButNotDrawWhenBoardFull": {
"description": "Black Lose But Not Draw When Board Full"
},
"isBlackLoseButNotDrawWhenBoardFull_Detail": "At the end of the placing phase, when the board is full, the side that places first loses the game, otherwise, the game is a draw.",
"@isBlackLoseButNotDrawWhenBoardFull_Detail": {
"description": "At the end of the placing phase, when the board is full, the side that places first loses the game, otherwise, the game is a draw."
},
"isLoseButNotChangeSideWhenNoWay": "Lose But Not Change Side When No Way",
"@isLoseButNotChangeSideWhenNoWay": {
"description": "Lose But Not Change Side When No Way"
},
"isLoseButNotChangeSideWhenNoWay_Detail": "The player will lose if his opponent blocks them so that they cannot be moved. Change side to move if this option is disabled.",
"@isLoseButNotChangeSideWhenNoWay_Detail": {
"description": "The player will lose if his opponent blocks them so that they cannot be moved. Change side to move if this option is disabled."
},
"mayFly": "Flying",
"@mayFly": {
"description": "Flying"

View File

@ -97,17 +97,19 @@
"hasDiagonalLines": "斜线",
"hasDiagonalLines_Detail": "在棋盘上增加四条斜线。",
"hasBannedLocations": "禁点",
"hasBannedLocations_Detail": "在摆子阶段,被吃掉的棋子的位置将不能再落子,除非进入走子阶段。",
"hasBannedLocations_Detail": "摆子阶段,被吃的子的位置将不能再摆子,除非进入走子阶段。",
"isDefenderMoveFirst": "后摆子的先走子",
"isDefenderMoveFirst_Detail": "在摆棋阶段先摆棋的一方,在走棋阶段先走棋。",
"isDefenderMoveFirst_Detail": "在摆子阶段先摆子的一方,在走子阶段先走子。",
"mayRemoveMultiple": "吃多子",
"mayRemoveMultiple_Detail": "若一方落子后同时形成多个三连,则形成几个三连就吃对方几个子。",
"mayRemoveFromMillsAlways": "允许吃三中的子",
"mayRemoveMultiple_Detail": "若同时形成多个三连,则形成几个三连就吃对方几个子。",
"mayRemoveFromMillsAlways": "允许吃三中的子",
"mayRemoveFromMillsAlways_Detail": "默认情况下,不能吃三连中的子,除非对方所有子都在三连中。打开此选项可解除此限制。",
"isBlackLoseButNotDrawWhenBoardFull": "当棋盘摆满时先摆子的输棋",
"isBlackLoseButNotDrawWhenBoardFull_Detail": "对于十二子棋,在摆子阶段的最后,若棋盘摆满而双方均未吃子,则先手方输棋,而非和棋。",
"isLoseButNotChangeSideWhenNoWay": "当无路可走时输棋",
"mayFly": "飞棋",
"mayFly_Detail": "当一方还剩余3颗棋子时可以将棋子移动到棋盘任意一个空位上。",
"isLoseButNotChangeSideWhenNoWay_Detail": "走子阶段,当无路可走时输棋,而非转为由对方继续走子。",
"mayFly": "飞子",
"mayFly_Detail": "当一方剩余三枚棋子时,此方可将棋子移动到棋盘任意空位上。",
"maxStepsLedToDraw": "连续多少步无吃子则和棋",
"copy": "复制",
"moveHistoryCopied": "棋谱已复制到剪贴板",
@ -164,7 +166,7 @@
"fast": "快速",
"none": "无",
"theme": "主题",
"helpContent": "游戏目标为让对手被吃得仅剩不到三枚棋子。\n\n三次重复局面或连续五十步内无吃子则和棋。 \n\n游戏分三阶段\n\n1. 在空位上摆子;\n2. 将棋子移动到相邻空位;\n3. 当只剩三枚棋子时,可“飞棋”(可选)。\n\n摆棋阶段\n\n棋盘上有二十四个空点。玩家交替在空位上落子直至手中无子。若一方将自己的三枚棋子排成一排则称为形成一个“三连”便可吃掉对方的棋子然后继续行棋。\n\n某些规则变体规定只能吃掉对方不在“三连”中的子除非对方所有的子都在“三连”之中。\n\n还有些规则变体规定在摆阶段,被吃掉的子所在的空位,双方都不能再在上面摆子。 \n\n当双方手中的棋子都摆完后则进入走棋阶段。\n\n走棋阶段\n\n玩家将自己的棋子移动到相邻的点上。若无子可走则判负。和摆棋阶段类似,形成“三连”时便可吃掉对方的棋子。当一方的棋子仅剩两枚,则败局已定,判负。若棋盘上多于三枚棋子,但无子可走,也会被判负。\n\n飞阶段\n\n某些规则变体中一旦一方剩三枚棋子时便可“飞”到任意空位上无论该空位是否邻接。\n\n",
"helpContent": "游戏目标为让对手被吃得仅剩不到三枚棋子。\n\n三次重复局面或连续五十步内无吃子则和棋。 \n\n游戏分三阶段\n\n1. 在空位上摆子;\n2. 将棋子移动到相邻空位;\n3. 当只剩三枚棋子时,可“飞子”(可选)。\n\n摆子阶段\n\n棋盘上有二十四个空点。玩家交替在空位上落子直至手中无子。若一方将自己的三枚棋子排成一排则称为形成一个“三连”便可吃掉对方的棋子然后继续行棋。\n\n某些规则变体规定只能吃掉对方不在“三连”中的子除非对方所有的子都在“三连”之中。\n\n还有些规则变体规定在摆阶段,被吃掉的子所在的空位,双方都不能再在上面摆子。 \n\n当双方手中的棋子都摆完后则进入走子阶段。\n\n走子阶段\n\n玩家将自己的棋子移动到相邻的点上。若无子可走则判负。和摆子阶段类似,形成“三连”时便可吃掉对方的棋子。当一方的棋子仅剩两枚,则败局已定,判负。若棋盘上多于三枚棋子,但无子可走,也会被判负。\n\n飞阶段\n\n某些规则变体中一旦一方剩三枚棋子时便可“飞”到任意空位上无论该空位是否邻接。\n\n",
"viewInGooglePlayStore": "在 Google Play 商店中查看",
"versionInfo": "版本信息",
"license": "许可证",

View File

@ -319,6 +319,9 @@ class _RuleSettingsPageState extends State<RuleSettingsPage> {
value: Config.isLoseButNotChangeSideWhenNoWay,
title: Text(S.of(context).isLoseButNotChangeSideWhenNoWay,
style: itemStyle),
subtitle: Text(
S.of(context).isLoseButNotChangeSideWhenNoWay_Detail,
style: TextStyle(color: UIColors.secondaryColor)),
onChanged: setIsLoseButNotChangeSideWhenNoWay,
),
_buildDivider(),
@ -327,6 +330,9 @@ class _RuleSettingsPageState extends State<RuleSettingsPage> {
value: Config.isBlackLoseButNotDrawWhenBoardFull,
title: Text(S.of(context).isBlackLoseButNotDrawWhenBoardFull,
style: itemStyle),
subtitle: Text(
S.of(context).isBlackLoseButNotDrawWhenBoardFull_Detail,
style: TextStyle(color: UIColors.secondaryColor)),
onChanged: setIsBlackLoseButNotDrawWhenBoardFull,
),
_buildDivider(),