-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Localize short names for black and white #714
Changes from all commits
d0b221d
e66593a
2ae1bc4
848ae72
52b9705
b72e030
40d201b
04709d4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -499,7 +499,7 @@ | |
StatsLabel: | ||
id: pointloss_label | ||
label: i18n._('stats:pointslost') if root.points_lost is None or root.points_lost > 0 else i18n._('stats:pointsgained') | ||
text: '{}: {:.1f}'.format(root.player,abs(root.points_lost)) if root.points_lost is not None else '...' | ||
text: '{}: {:.1f}'.format(i18n._(f'short color {root.player}'), abs(root.points_lost)) if root.points_lost is not None else '...' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's more logic than most of the UI elements have. I considered extracting this into Python and passing points_delta_label & points_delta but decided to keep the scope more focused. |
||
color: Theme.POINTLOSS_COLOR | ||
|
||
<ScrollableLabel>: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -280,6 +280,12 @@ msgstr "Score Graph" | |
msgid "Jigo" | ||
msgstr "Jigo" | ||
|
||
msgid "short color B" | ||
msgstr "B" | ||
|
||
msgid "short color W" | ||
msgstr "W" | ||
|
||
msgid "closedlabel:movestats" | ||
msgstr "Move Stats" | ||
|
||
|
@@ -765,8 +771,8 @@ msgstr "KataGo" | |
|
||
msgid "aihelp:default" | ||
msgstr "" | ||
"Full strength KataGo AI. Strength is affected by 'max visits' and 'model' " | ||
"in the general settings 'engine' section and engine configuration file. No " | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The i18n.py reformatted it. |
||
"Full strength KataGo AI. Strength is affected by 'max visits' and 'model' in" | ||
" the general settings 'engine' section and engine configuration file. No " | ||
"options are available here." | ||
|
||
#. ai which handles handicap games better | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I missed the list of localizations in the previous PR. Added it in the same order as in the UI.