From 8d769b28e1fd6e82ddffdf01eb06a739b58e358c Mon Sep 17 00:00:00 2001 From: kraktus Date: Mon, 4 Sep 2023 10:07:04 +0200 Subject: [PATCH] fix early draw explanation in swiss FAQ close https://github.com/lichess-org/lila/issues/13534 Rename the translation key to erase the wrong translations. --- app/views/swiss/home.scala | 2 +- modules/i18n/src/main/I18nKeys.scala | 2 +- translation/source/swiss.xml | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/views/swiss/home.scala b/app/views/swiss/home.scala index bf75f472c067e..16b9c5245d658 100644 --- a/app/views/swiss/home.scala +++ b/app/views/swiss/home.scala @@ -188,7 +188,7 @@ object home: ), faqEntry( trans.swiss.earlyDrawsQ(), - trans.swiss.earlyDrawsA() + trans.swiss.earlyDrawsAnswer() ), faqEntry( trans.swiss.whatIfOneDoesntPlayQ(), diff --git a/modules/i18n/src/main/I18nKeys.scala b/modules/i18n/src/main/I18nKeys.scala index f23d1739f8f66..e039cc685d676 100644 --- a/modules/i18n/src/main/I18nKeys.scala +++ b/modules/i18n/src/main/I18nKeys.scala @@ -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") diff --git a/translation/source/swiss.xml b/translation/source/swiss.xml index f427d54b3eaba..2e17cde5bf7f5 100644 --- a/translation/source/swiss.xml +++ b/translation/source/swiss.xml @@ -62,8 +62,7 @@ We think these conditions are more likely to be met within a team than in global 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. What happens with early draws? - 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. + 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. What happens if a player doesn't play a game? 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.