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