Skip to content

Commit

Permalink
fix early draw explanation in swiss FAQ
Browse files Browse the repository at this point in the history
close lichess-org#13534

Rename the translation key to erase the wrong translations.
  • Loading branch information
kraktus committed Sep 4, 2023
1 parent 6d71083 commit 8d769b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/swiss/home.scala
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ object home:
),
faqEntry(
trans.swiss.earlyDrawsQ(),
trans.swiss.earlyDrawsA()
trans.swiss.earlyDrawsAnswer()
),
faqEntry(
trans.swiss.whatIfOneDoesntPlayQ(),
Expand Down
2 changes: 1 addition & 1 deletion modules/i18n/src/main/I18nKeys.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2034,7 +2034,7 @@ object I18nKeys:
val `numberOfByesQ` = I18nKey("swiss:numberOfByesQ")
val `numberOfByesA` = I18nKey("swiss:numberOfByesA")
val `earlyDrawsQ` = I18nKey("swiss:earlyDrawsQ")
val `earlyDrawsA` = I18nKey("swiss:earlyDrawsA")
val `earlyDrawsAnswer` = I18nKey("swiss:earlyDrawsAnswer")
val `whatIfOneDoesntPlayQ` = I18nKey("swiss:whatIfOneDoesntPlayQ")
val `whatIfOneDoesntPlayA` = I18nKey("swiss:whatIfOneDoesntPlayA")
val `protectionAgainstNoShowQ` = I18nKey("swiss:protectionAgainstNoShowQ")
Expand Down
3 changes: 1 addition & 2 deletions translation/source/swiss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ We think these conditions are more likely to be met within a team than in global
<string name="numberOfByesA">A player gets a bye of one point every time the pairing system can't find a pairing for them.
Additionally, a single bye of half a point is attributed when a player late-joins a tournament.</string>
<string name="earlyDrawsQ">What happens with early draws?</string>
<string name="earlyDrawsA">A player gets a bye of one point every time the pairing system can't find a pairing for them.
Additionally, a single bye of half a point is attributed when a player late-joins a tournament.</string>
<string name="earlyDrawsAnswer">In swiss games, players cannot draw before 30 moves are played. While this measure cannot prevent pre-arranged draws, it at least makes it harder to agree to a draw on the fly.</string>
<string name="whatIfOneDoesntPlayQ">What happens if a player doesn't play a game?</string>
<string name="whatIfOneDoesntPlayA">Their clock will tick, they will flag, and lose the game.
Then the system will withdraw the player from the tournament, so they don't lose more games.
Expand Down

0 comments on commit 8d769b2

Please sign in to comment.