From f0729407d7c35c9b985e6f22c290bfa55431798e Mon Sep 17 00:00:00 2001 From: rkuklik Date: Wed, 20 Nov 2024 22:55:04 +0100 Subject: [PATCH] feat(fol): add apology --- Justfile | 5 ++- .../templates/Default/default.latte | 39 +++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/Justfile b/Justfile index 15331296..3b912419 100644 --- a/Justfile +++ b/Justfile @@ -101,11 +101,14 @@ login: echo "$1" >> "$file" } i "parameters:" - i " # FKSDB API endpoint" i " fksdbDownloader:" i " login: '$fksdblogin'" i " password: '$fksdbpassword'" i " url: 'https://db.fykos.cz/api/'" + i " gameApi:" + i " url: 'https://game.online.fyziklani.cz/public/api/results'" + i " login: ''" + i " password: ''" i " problemManagerDownloader:" i " login: ''" i " password: ''" diff --git a/app/Modules/Fol/DefaultModule/templates/Default/default.latte b/app/Modules/Fol/DefaultModule/templates/Default/default.latte index 4d878d0d..350030b5 100644 --- a/app/Modules/Fol/DefaultModule/templates/Default/default.latte +++ b/app/Modules/Fol/DefaultModule/templates/Default/default.latte @@ -74,6 +74,45 @@ {/if} +
+ {switch $language->value} + {case 'cs'} +

+ Omluva za chybu v překladu +

+
+ Úloha 14 +
+

+ Je nám líto, ale objevila se chyba v překladu úlohy 14. Omlouváme se za způsobené komplikace. +

+

+ Pro zachování férovosti soutěže proto rušíme veškeré bodové + penalizace za chybné odpovědi odevzdané před 18:11 CET. +

+

+ Děkujeme za pochopení a vaši účast v soutěži! +

+ {default} +

+ Apology for Translation Error +

+
+ Problem 14 +
+

+ We regret to inform you that there was a mistake in the translation of + Problem 14. We sincerely apologize for any inconvenience this may have caused. +

+

+ To address this issue fairly, we will cancel any penalties for incorrect + answers to this problem until 18:11 CET. +

+

+ Thank you for your understanding and for competing! +

+ {/switch} +
{* {if $newestEvent->getRegistrationPeriod()->is(Fykosak\Utils\DateTime\Phase::before)} {control upperHomeBeforeRegistration}