flutter: Fix typo
This commit is contained in:
parent
e02762955d
commit
360173eefa
|
@ -260,9 +260,9 @@
|
|||
"@drawReasonBoardIsFull": {
|
||||
"description": "It is a Draw, because the board is full"
|
||||
},
|
||||
"drawReasonThreefoldRepetition": "It is a Draw, because three fold repetition.",
|
||||
"drawReasonThreefoldRepetition": "It is a Draw, because threefold repetition.",
|
||||
"@drawReasonThreefoldRepetition": {
|
||||
"description": "It is a Draw, because three fold repetition."
|
||||
"description": "It is a Draw, because threefold repetition."
|
||||
},
|
||||
"gameOverUnknownReason": "Game Over! Unknown reason.",
|
||||
"@gameOverUnknownReason": {
|
||||
|
@ -336,9 +336,9 @@
|
|||
"@options": {
|
||||
"description": "Options"
|
||||
},
|
||||
"perferences": "Perferences",
|
||||
"@perferences": {
|
||||
"description": "Perferences"
|
||||
"preferences": "Preferences",
|
||||
"@preferences": {
|
||||
"description": "Preferences"
|
||||
},
|
||||
"skillLevel": "Difficulty level",
|
||||
"@skillLevel": {
|
||||
|
@ -508,13 +508,13 @@
|
|||
"@mayFly": {
|
||||
"description": "Flying"
|
||||
},
|
||||
"mayFly_Detail": "If a player has only three pieces left, she is allowed to move the piece to any free point.",
|
||||
"mayFly_Detail": "If a player has only three pieces left, she can move the piece to any free point.",
|
||||
"@mayFly_Detail": {
|
||||
"description": "If a player has only three pieces left, she is allowed to move the piece to any free point."
|
||||
"description": "If a player has only three pieces left, she can move the piece to any free point."
|
||||
},
|
||||
"maxStepsLedToDraw": "Max Steps Led To Draw",
|
||||
"maxStepsLedToDraw": "Max Steps Led to Draw",
|
||||
"@maxStepsLedToDraw": {
|
||||
"description": "Max Steps Led To Draw"
|
||||
"description": "Max Steps Led to Draw"
|
||||
},
|
||||
"copy": "Copy",
|
||||
"@copy": {
|
||||
|
@ -536,9 +536,9 @@
|
|||
"@inviteFriend": {
|
||||
"description": "Invite Friend"
|
||||
},
|
||||
"rateTheApp": "Rate The App",
|
||||
"rateTheApp": "Rate the App",
|
||||
"@rateTheApp": {
|
||||
"description": "Rate The App"
|
||||
"description": "Rate the App"
|
||||
},
|
||||
"exit": "Exit",
|
||||
"@exit": {
|
||||
|
@ -652,9 +652,9 @@
|
|||
"@toRemovePiece": {
|
||||
"description": "Tap on opponent's one piece to remove."
|
||||
},
|
||||
"needToCreateMillFirst": "You need to create a mill first, before you are allowed to remove a piece.",
|
||||
"needToCreateMillFirst": "You need to create a mill first, before you can remove a piece.",
|
||||
"@needToCreateMillFirst": {
|
||||
"description": "You need to create a mill first, before you are allowed to remove a piece."
|
||||
"description": "You need to create a mill first, before you can remove a piece."
|
||||
},
|
||||
"needToPlayWithOwnPieces": "You need to play with your own pieces.",
|
||||
"@needToPlayWithOwnPieces": {
|
||||
|
@ -680,9 +680,9 @@
|
|||
"@difficult": {
|
||||
"description": "Difficult"
|
||||
},
|
||||
"cannotRemoveFromMill": "Can not remove from mill.",
|
||||
"cannotRemoveFromMill": "Cannot remove from mill.",
|
||||
"@cannotRemoveFromMill": {
|
||||
"description": "Can not remove from mill."
|
||||
"description": "Cannot remove from mill."
|
||||
},
|
||||
"left": "left",
|
||||
"@left": {
|
||||
|
@ -760,9 +760,9 @@
|
|||
"@sourceCode": {
|
||||
"description": "Source code"
|
||||
},
|
||||
"openSourceLicenses": "Open source licenses",
|
||||
"openSourceLicenses": "Open-source licenses",
|
||||
"@openSourceLicenses": {
|
||||
"description": "Open source licenses"
|
||||
"description": "Open-source licenses"
|
||||
},
|
||||
"thirdPartyNotices": "Third-party notices",
|
||||
"@thirdPartyNotices": {
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
"thankWho": "参考借鉴的主要开源库如下,同时也感谢其他默默无闻为开源事业做出贡献的人们:",
|
||||
"settings": "设置",
|
||||
"options": "选项",
|
||||
"perferences": "游戏设置",
|
||||
"preferences": "游戏设置",
|
||||
"difficulty": "游戏难度",
|
||||
"skillLevel": "难度等级",
|
||||
"moveTime": "机器思考时间",
|
||||
|
|
|
@ -213,7 +213,7 @@ class _GameSettingsPageState extends State<GameSettingsPage> {
|
|||
backgroundColor: AppTheme.lightBackgroundColor,
|
||||
appBar: AppBar(
|
||||
centerTitle: true,
|
||||
title: Text(S.of(context).perferences),
|
||||
title: Text(S.of(context).preferences),
|
||||
),
|
||||
body: SingleChildScrollView(
|
||||
padding: const EdgeInsets.all(16),
|
||||
|
|
|
@ -28,7 +28,7 @@ enum DrawerIndex {
|
|||
humanVsAi,
|
||||
humanVsHuman,
|
||||
aiVsAi,
|
||||
perferences,
|
||||
preferences,
|
||||
ruleSettings,
|
||||
personalization,
|
||||
Help,
|
||||
|
@ -86,8 +86,8 @@ class _HomeDrawerState extends State<HomeDrawer> {
|
|||
icon: Icon(Icons.computer),
|
||||
),
|
||||
DrawerListItem(
|
||||
index: DrawerIndex.perferences,
|
||||
title: S.of(context).perferences,
|
||||
index: DrawerIndex.preferences,
|
||||
title: S.of(context).preferences,
|
||||
icon: Icon(Icons.settings),
|
||||
),
|
||||
DrawerListItem(
|
||||
|
|
|
@ -93,7 +93,7 @@ class _NavigationHomeScreenState extends State<NavigationHomeScreen> {
|
|||
Game.instance.setWhoIsAi(engineType);
|
||||
screenView = GamePage(engineType);
|
||||
});
|
||||
} else if (drawerIndex == DrawerIndex.perferences) {
|
||||
} else if (drawerIndex == DrawerIndex.preferences) {
|
||||
setState(() {
|
||||
screenView = GameSettingsPage();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue