Fix typo backgroundColor
This commit is contained in:
parent
c59ae7fe62
commit
91bb1218c3
|
@ -572,8 +572,8 @@
|
||||||
"@pieceColor": {
|
"@pieceColor": {
|
||||||
"description": "Piece color"
|
"description": "Piece color"
|
||||||
},
|
},
|
||||||
"backgroudColor": "Hintergrundfarbe",
|
"backgroundColor": "Hintergrundfarbe",
|
||||||
"@backgroudColor": {
|
"@backgroundColor": {
|
||||||
"description": "Background color"
|
"description": "Background color"
|
||||||
},
|
},
|
||||||
"lineColor": "Linienfarbe",
|
"lineColor": "Linienfarbe",
|
||||||
|
|
|
@ -572,8 +572,8 @@
|
||||||
"@pieceColor": {
|
"@pieceColor": {
|
||||||
"description": "Piece color"
|
"description": "Piece color"
|
||||||
},
|
},
|
||||||
"backgroudColor": "Background color",
|
"backgroundColor": "Background color",
|
||||||
"@backgroudColor": {
|
"@backgroundColor": {
|
||||||
"description": "Background color"
|
"description": "Background color"
|
||||||
},
|
},
|
||||||
"lineColor": "Board line color",
|
"lineColor": "Board line color",
|
||||||
|
|
|
@ -572,8 +572,8 @@
|
||||||
"@pieceColor": {
|
"@pieceColor": {
|
||||||
"description": "Piece color"
|
"description": "Piece color"
|
||||||
},
|
},
|
||||||
"backgroudColor": "رنگ پس زمینه",
|
"backgroundColor": "رنگ پس زمینه",
|
||||||
"@backgroudColor": {
|
"@backgroundColor": {
|
||||||
"description": "Background color"
|
"description": "Background color"
|
||||||
},
|
},
|
||||||
"lineColor": "رنگ خط تخته",
|
"lineColor": "رنگ خط تخته",
|
||||||
|
|
|
@ -572,8 +572,8 @@
|
||||||
"@pieceColor": {
|
"@pieceColor": {
|
||||||
"description": "Piece color"
|
"description": "Piece color"
|
||||||
},
|
},
|
||||||
"backgroudColor": "Háttérszín",
|
"backgroundColor": "Háttérszín",
|
||||||
"@backgroudColor": {
|
"@backgroundColor": {
|
||||||
"description": "Background color"
|
"description": "Background color"
|
||||||
},
|
},
|
||||||
"lineColor": "Tábla vonalszíne",
|
"lineColor": "Tábla vonalszíne",
|
||||||
|
|
|
@ -143,7 +143,7 @@
|
||||||
"color": "颜色",
|
"color": "颜色",
|
||||||
"boardColor": "棋盘颜色",
|
"boardColor": "棋盘颜色",
|
||||||
"pieceColor": "棋子颜色",
|
"pieceColor": "棋子颜色",
|
||||||
"backgroudColor": "背景颜色",
|
"backgroundColor": "背景颜色",
|
||||||
"lineColor": "线条颜色",
|
"lineColor": "线条颜色",
|
||||||
"whitePieceColor": "先手方棋子颜色",
|
"whitePieceColor": "先手方棋子颜色",
|
||||||
"blackPieceColor": "后手方棋子颜色",
|
"blackPieceColor": "后手方棋子颜色",
|
||||||
|
@ -192,7 +192,7 @@
|
||||||
"takingBack": "回退中",
|
"takingBack": "回退中",
|
||||||
"waiting": "请稍等",
|
"waiting": "请稍等",
|
||||||
"stepForward": "前进一步",
|
"stepForward": "前进一步",
|
||||||
"takeBackAll": "回退到底",
|
"takeBackAll": "回退到底",
|
||||||
"stepForwardAll": "前进到底",
|
"stepForwardAll": "前进到底",
|
||||||
"moveNow": "立即行棋",
|
"moveNow": "立即行棋",
|
||||||
"done": "完成",
|
"done": "完成",
|
||||||
|
|
|
@ -52,7 +52,7 @@ class _PersonalizationSettingsPageState
|
||||||
showColorDialog(String colorString) async {
|
showColorDialog(String colorString) async {
|
||||||
Map<String, int> colorStrToVal = {
|
Map<String, int> colorStrToVal = {
|
||||||
S.of(context).boardColor: Config.boardBackgroundColor,
|
S.of(context).boardColor: Config.boardBackgroundColor,
|
||||||
S.of(context).backgroudColor: Config.darkBackgroundColor,
|
S.of(context).backgroundColor: Config.darkBackgroundColor,
|
||||||
S.of(context).lineColor: Config.boardLineColor,
|
S.of(context).lineColor: Config.boardLineColor,
|
||||||
S.of(context).whitePieceColor: Config.whitePieceColor,
|
S.of(context).whitePieceColor: Config.whitePieceColor,
|
||||||
S.of(context).blackPieceColor: Config.blackPieceColor,
|
S.of(context).blackPieceColor: Config.blackPieceColor,
|
||||||
|
@ -88,7 +88,7 @@ class _PersonalizationSettingsPageState
|
||||||
|
|
||||||
if (colorString == S.of(context).boardColor) {
|
if (colorString == S.of(context).boardColor) {
|
||||||
Config.boardBackgroundColor = pickerColor.value;
|
Config.boardBackgroundColor = pickerColor.value;
|
||||||
} else if (colorString == S.of(context).backgroudColor) {
|
} else if (colorString == S.of(context).backgroundColor) {
|
||||||
Config.darkBackgroundColor = pickerColor.value;
|
Config.darkBackgroundColor = pickerColor.value;
|
||||||
} else if (colorString == S.of(context).lineColor) {
|
} else if (colorString == S.of(context).lineColor) {
|
||||||
Config.boardLineColor = pickerColor.value;
|
Config.boardLineColor = pickerColor.value;
|
||||||
|
@ -415,9 +415,9 @@ class _PersonalizationSettingsPageState
|
||||||
ListItemDivider(),
|
ListItemDivider(),
|
||||||
SettingsListTile(
|
SettingsListTile(
|
||||||
context: context,
|
context: context,
|
||||||
titleString: S.of(context).backgroudColor,
|
titleString: S.of(context).backgroundColor,
|
||||||
trailingColor: Config.darkBackgroundColor,
|
trailingColor: Config.darkBackgroundColor,
|
||||||
onTap: () => showColorDialog(S.of(context).backgroudColor),
|
onTap: () => showColorDialog(S.of(context).backgroundColor),
|
||||||
),
|
),
|
||||||
ListItemDivider(),
|
ListItemDivider(),
|
||||||
SettingsListTile(
|
SettingsListTile(
|
||||||
|
|
Loading…
Reference in New Issue