From 77a34b179e77712c74db7492205918238f168b11 Mon Sep 17 00:00:00 2001 From: Boryana Goncharenko <3010723+boryanagoncharenko@users.noreply.github.com> Date: Thu, 9 Jan 2025 18:24:08 +0200 Subject: [PATCH] Remove default level of new adventures #5922 --- messages.pot | 3 +++ templates/customize-adventure.html | 8 ++++---- translations/ar/LC_MESSAGES/messages.po | 6 ++++++ translations/bg/LC_MESSAGES/messages.po | 6 ++++++ translations/bn/LC_MESSAGES/messages.po | 6 ++++++ translations/ca/LC_MESSAGES/messages.po | 6 ++++++ translations/cs/LC_MESSAGES/messages.po | 6 ++++++ translations/cy/LC_MESSAGES/messages.po | 6 ++++++ translations/da/LC_MESSAGES/messages.po | 6 ++++++ translations/de/LC_MESSAGES/messages.po | 6 ++++++ translations/el/LC_MESSAGES/messages.po | 6 ++++++ translations/en/LC_MESSAGES/messages.po | 3 +++ translations/eo/LC_MESSAGES/messages.po | 6 ++++++ translations/es/LC_MESSAGES/messages.po | 6 ++++++ translations/et/LC_MESSAGES/messages.po | 6 ++++++ translations/fa/LC_MESSAGES/messages.po | 6 ++++++ translations/fi/LC_MESSAGES/messages.po | 6 ++++++ translations/fr/LC_MESSAGES/messages.po | 6 ++++++ translations/fr_CA/LC_MESSAGES/messages.po | 6 ++++++ translations/fy/LC_MESSAGES/messages.po | 6 ++++++ translations/he/LC_MESSAGES/messages.po | 6 ++++++ translations/hi/LC_MESSAGES/messages.po | 6 ++++++ translations/hr/LC_MESSAGES/messages.po | 6 ++++++ translations/hu/LC_MESSAGES/messages.po | 6 ++++++ translations/ia/LC_MESSAGES/messages.po | 6 ++++++ translations/iba/LC_MESSAGES/messages.po | 6 ++++++ translations/id/LC_MESSAGES/messages.po | 6 ++++++ translations/it/LC_MESSAGES/messages.po | 6 ++++++ translations/ja/LC_MESSAGES/messages.po | 6 ++++++ translations/kab/LC_MESSAGES/messages.po | 6 ++++++ translations/kmr/LC_MESSAGES/messages.po | 6 ++++++ translations/ko/LC_MESSAGES/messages.po | 6 ++++++ translations/mi/LC_MESSAGES/messages.po | 6 ++++++ translations/ms/LC_MESSAGES/messages.po | 6 ++++++ translations/nb_NO/LC_MESSAGES/messages.po | 6 ++++++ translations/ne/LC_MESSAGES/messages.po | 6 ++++++ translations/nl/LC_MESSAGES/messages.po | 3 +++ translations/pa_PK/LC_MESSAGES/messages.po | 6 ++++++ translations/pap/LC_MESSAGES/messages.po | 6 ++++++ translations/peo/LC_MESSAGES/messages.po | 6 ++++++ translations/pl/LC_MESSAGES/messages.po | 6 ++++++ translations/pt_BR/LC_MESSAGES/messages.po | 6 ++++++ translations/pt_PT/LC_MESSAGES/messages.po | 6 ++++++ translations/ro/LC_MESSAGES/messages.po | 6 ++++++ translations/ru/LC_MESSAGES/messages.po | 6 ++++++ translations/sl/LC_MESSAGES/messages.po | 6 ++++++ translations/sq/LC_MESSAGES/messages.po | 6 ++++++ translations/sr/LC_MESSAGES/messages.po | 6 ++++++ translations/sv/LC_MESSAGES/messages.po | 6 ++++++ translations/sw/LC_MESSAGES/messages.po | 6 ++++++ translations/ta/LC_MESSAGES/messages.po | 6 ++++++ translations/te/LC_MESSAGES/messages.po | 6 ++++++ translations/th/LC_MESSAGES/messages.po | 6 ++++++ translations/tl/LC_MESSAGES/messages.po | 6 ++++++ translations/tn/LC_MESSAGES/messages.po | 6 ++++++ translations/tr/LC_MESSAGES/messages.po | 6 ++++++ translations/uk/LC_MESSAGES/messages.po | 6 ++++++ translations/ur/LC_MESSAGES/messages.po | 6 ++++++ translations/uz/LC_MESSAGES/messages.po | 6 ++++++ translations/vi/LC_MESSAGES/messages.po | 6 ++++++ translations/zh_Hans/LC_MESSAGES/messages.po | 6 ++++++ translations/zh_Hant/LC_MESSAGES/messages.po | 6 ++++++ website/for_teachers.py | 7 +++---- 63 files changed, 364 insertions(+), 8 deletions(-) diff --git a/messages.pot b/messages.pot index 7621081a014..a3420355f48 100644 --- a/messages.pot +++ b/messages.pot @@ -1469,6 +1469,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + msgid "select_lang" msgstr "" diff --git a/templates/customize-adventure.html b/templates/customize-adventure.html index 975edc68c23..617d51e5e01 100644 --- a/templates/customize-adventure.html +++ b/templates/customize-adventure.html @@ -92,7 +92,8 @@

{{_('customize_adventure')}}: {{adventure.name}}

- + {% for class in all_classes %} {% endfor %} @@ -104,8 +105,7 @@

{{_('customize_adventure')}}: {{adventure.name}}

{% for i in range(1, (max_level + 1)) %} - {% set adv_levels = adventure.levels if adventure.get("levels") else [adventure.level|string] %} - + {% endfor %}
@@ -298,4 +298,4 @@

{{_('adventure_exp_classes')}}

-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/translations/ar/LC_MESSAGES/messages.po b/translations/ar/LC_MESSAGES/messages.po index 433c6641229..27064d0d076 100644 --- a/translations/ar/LC_MESSAGES/messages.po +++ b/translations/ar/LC_MESSAGES/messages.po @@ -1715,6 +1715,9 @@ msgstr "اختيار المغامرات" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + msgid "select_lang" msgstr "اختر اللغة" @@ -2682,3 +2685,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/bg/LC_MESSAGES/messages.po b/translations/bg/LC_MESSAGES/messages.po index b79b165d648..0f25a505da5 100644 --- a/translations/bg/LC_MESSAGES/messages.po +++ b/translations/bg/LC_MESSAGES/messages.po @@ -1873,6 +1873,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2894,3 +2897,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/bn/LC_MESSAGES/messages.po b/translations/bn/LC_MESSAGES/messages.po index 2a1881a670d..fc2aa7e19aa 100644 --- a/translations/bn/LC_MESSAGES/messages.po +++ b/translations/bn/LC_MESSAGES/messages.po @@ -1955,6 +1955,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -3012,3 +3015,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/ca/LC_MESSAGES/messages.po b/translations/ca/LC_MESSAGES/messages.po index 06b27ff0712..b90de9c1665 100644 --- a/translations/ca/LC_MESSAGES/messages.po +++ b/translations/ca/LC_MESSAGES/messages.po @@ -1623,6 +1623,9 @@ msgstr "Selecciona i ordena aventures" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2541,3 +2544,6 @@ msgstr "El teu programa" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/cs/LC_MESSAGES/messages.po b/translations/cs/LC_MESSAGES/messages.po index cd0032eff9d..b883c976db5 100644 --- a/translations/cs/LC_MESSAGES/messages.po +++ b/translations/cs/LC_MESSAGES/messages.po @@ -1877,6 +1877,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2906,3 +2909,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/cy/LC_MESSAGES/messages.po b/translations/cy/LC_MESSAGES/messages.po index 8535bb18da5..15607627054 100644 --- a/translations/cy/LC_MESSAGES/messages.po +++ b/translations/cy/LC_MESSAGES/messages.po @@ -1943,6 +1943,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2994,3 +2997,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/da/LC_MESSAGES/messages.po b/translations/da/LC_MESSAGES/messages.po index d301872a039..c6582018482 100644 --- a/translations/da/LC_MESSAGES/messages.po +++ b/translations/da/LC_MESSAGES/messages.po @@ -1935,6 +1935,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2977,3 +2980,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/de/LC_MESSAGES/messages.po b/translations/de/LC_MESSAGES/messages.po index fd77288b430..c9d6ee352ea 100644 --- a/translations/de/LC_MESSAGES/messages.po +++ b/translations/de/LC_MESSAGES/messages.po @@ -1629,6 +1629,9 @@ msgstr "Wähle und ordne Abenteuer" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2566,3 +2569,6 @@ msgstr "Dein Programm" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/el/LC_MESSAGES/messages.po b/translations/el/LC_MESSAGES/messages.po index 2c32c2462e7..2a4cc9f7b96 100644 --- a/translations/el/LC_MESSAGES/messages.po +++ b/translations/el/LC_MESSAGES/messages.po @@ -1750,6 +1750,9 @@ msgstr "Επίλεξε περιπέτειες" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2765,3 +2768,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/en/LC_MESSAGES/messages.po b/translations/en/LC_MESSAGES/messages.po index 88bba197cae..e98f5e91a83 100644 --- a/translations/en/LC_MESSAGES/messages.po +++ b/translations/en/LC_MESSAGES/messages.po @@ -1498,6 +1498,9 @@ msgstr "Select and order adventures" msgid "select_all" msgstr "Select all" +msgid "select_classes" +msgstr "Select classes" + msgid "select_lang" msgstr "Select language" diff --git a/translations/eo/LC_MESSAGES/messages.po b/translations/eo/LC_MESSAGES/messages.po index ad51717a491..f4c2357bc94 100644 --- a/translations/eo/LC_MESSAGES/messages.po +++ b/translations/eo/LC_MESSAGES/messages.po @@ -1773,6 +1773,9 @@ msgstr "Elekti aventurojn" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + msgid "select_lang" msgstr "Elektu lingvon" @@ -2755,3 +2758,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/es/LC_MESSAGES/messages.po b/translations/es/LC_MESSAGES/messages.po index f136994b5e1..5a0483c6f6a 100644 --- a/translations/es/LC_MESSAGES/messages.po +++ b/translations/es/LC_MESSAGES/messages.po @@ -1500,6 +1500,9 @@ msgstr "Seleccionar y encargar aventuras" msgid "select_all" msgstr "Seleccionar todo" +msgid "select_classes" +msgstr "" + msgid "select_lang" msgstr "Selecciona el idioma" @@ -2376,3 +2379,6 @@ msgstr "Tu programa" #~ msgid "classes" #~ msgstr "Clases" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/et/LC_MESSAGES/messages.po b/translations/et/LC_MESSAGES/messages.po index f9c45bce2ff..b3c4a2fa17f 100644 --- a/translations/et/LC_MESSAGES/messages.po +++ b/translations/et/LC_MESSAGES/messages.po @@ -1930,6 +1930,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2971,3 +2974,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/fa/LC_MESSAGES/messages.po b/translations/fa/LC_MESSAGES/messages.po index f1441d21459..47b9c7822d5 100644 --- a/translations/fa/LC_MESSAGES/messages.po +++ b/translations/fa/LC_MESSAGES/messages.po @@ -1950,6 +1950,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -3005,3 +3008,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/fi/LC_MESSAGES/messages.po b/translations/fi/LC_MESSAGES/messages.po index 472d5e3feda..a00d49a1ec5 100644 --- a/translations/fi/LC_MESSAGES/messages.po +++ b/translations/fi/LC_MESSAGES/messages.po @@ -1942,6 +1942,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2993,3 +2996,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/fr/LC_MESSAGES/messages.po b/translations/fr/LC_MESSAGES/messages.po index 5634b631992..00ba5b197fb 100644 --- a/translations/fr/LC_MESSAGES/messages.po +++ b/translations/fr/LC_MESSAGES/messages.po @@ -1658,6 +1658,9 @@ msgstr "Choisissez les aventures" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2610,3 +2613,6 @@ msgstr "Ton programme" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/fr_CA/LC_MESSAGES/messages.po b/translations/fr_CA/LC_MESSAGES/messages.po index 0a931628371..ea6ee1be584 100644 --- a/translations/fr_CA/LC_MESSAGES/messages.po +++ b/translations/fr_CA/LC_MESSAGES/messages.po @@ -1951,6 +1951,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2825,3 +2828,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/fy/LC_MESSAGES/messages.po b/translations/fy/LC_MESSAGES/messages.po index e2984d8b734..7d8510a311d 100644 --- a/translations/fy/LC_MESSAGES/messages.po +++ b/translations/fy/LC_MESSAGES/messages.po @@ -1858,6 +1858,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2896,3 +2899,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/he/LC_MESSAGES/messages.po b/translations/he/LC_MESSAGES/messages.po index b194484f225..5c828193856 100644 --- a/translations/he/LC_MESSAGES/messages.po +++ b/translations/he/LC_MESSAGES/messages.po @@ -1926,6 +1926,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2962,3 +2965,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/hi/LC_MESSAGES/messages.po b/translations/hi/LC_MESSAGES/messages.po index d0f196fbf44..867fdb5b537 100644 --- a/translations/hi/LC_MESSAGES/messages.po +++ b/translations/hi/LC_MESSAGES/messages.po @@ -1777,6 +1777,9 @@ msgstr "adventures का चयन करें" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2784,3 +2787,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/hr/LC_MESSAGES/messages.po b/translations/hr/LC_MESSAGES/messages.po index 2cbe946c4c7..97398163432 100644 --- a/translations/hr/LC_MESSAGES/messages.po +++ b/translations/hr/LC_MESSAGES/messages.po @@ -1952,6 +1952,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2796,3 +2799,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/hu/LC_MESSAGES/messages.po b/translations/hu/LC_MESSAGES/messages.po index 36e9e14f182..7763ad5ee33 100644 --- a/translations/hu/LC_MESSAGES/messages.po +++ b/translations/hu/LC_MESSAGES/messages.po @@ -1868,6 +1868,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2907,3 +2910,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/ia/LC_MESSAGES/messages.po b/translations/ia/LC_MESSAGES/messages.po index 52a618d7b66..1eb25a0004a 100644 --- a/translations/ia/LC_MESSAGES/messages.po +++ b/translations/ia/LC_MESSAGES/messages.po @@ -1946,6 +1946,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2871,3 +2874,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/iba/LC_MESSAGES/messages.po b/translations/iba/LC_MESSAGES/messages.po index a59374f56fc..08d6a92e96c 100644 --- a/translations/iba/LC_MESSAGES/messages.po +++ b/translations/iba/LC_MESSAGES/messages.po @@ -1951,6 +1951,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2828,3 +2831,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/id/LC_MESSAGES/messages.po b/translations/id/LC_MESSAGES/messages.po index a320a64ac46..1cb46c508cc 100644 --- a/translations/id/LC_MESSAGES/messages.po +++ b/translations/id/LC_MESSAGES/messages.po @@ -1644,6 +1644,9 @@ msgstr "Pilih dan pesan petualangan" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2576,3 +2579,6 @@ msgstr "Program Anda" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/it/LC_MESSAGES/messages.po b/translations/it/LC_MESSAGES/messages.po index b641fd0a996..1a4f3f31081 100644 --- a/translations/it/LC_MESSAGES/messages.po +++ b/translations/it/LC_MESSAGES/messages.po @@ -1886,6 +1886,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2928,3 +2931,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/ja/LC_MESSAGES/messages.po b/translations/ja/LC_MESSAGES/messages.po index c910f1587b8..38c4e07c2e0 100644 --- a/translations/ja/LC_MESSAGES/messages.po +++ b/translations/ja/LC_MESSAGES/messages.po @@ -1946,6 +1946,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2989,3 +2992,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/kab/LC_MESSAGES/messages.po b/translations/kab/LC_MESSAGES/messages.po index 542aaf12eb8..84ccb3fedd3 100644 --- a/translations/kab/LC_MESSAGES/messages.po +++ b/translations/kab/LC_MESSAGES/messages.po @@ -1605,6 +1605,9 @@ msgstr "" msgid "select_all" msgstr "Fren kullec" +msgid "select_classes" +msgstr "" + msgid "select_lang" msgstr "Fren tutlayt" @@ -2181,3 +2184,6 @@ msgstr "Ahil-ik·im" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/kmr/LC_MESSAGES/messages.po b/translations/kmr/LC_MESSAGES/messages.po index c29763c7866..027a22a569f 100644 --- a/translations/kmr/LC_MESSAGES/messages.po +++ b/translations/kmr/LC_MESSAGES/messages.po @@ -1943,6 +1943,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2904,3 +2907,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/ko/LC_MESSAGES/messages.po b/translations/ko/LC_MESSAGES/messages.po index a1d1e7bf72f..76f5cb60089 100644 --- a/translations/ko/LC_MESSAGES/messages.po +++ b/translations/ko/LC_MESSAGES/messages.po @@ -1973,6 +1973,9 @@ msgstr "모험 선택 및 주문" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2847,3 +2850,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/mi/LC_MESSAGES/messages.po b/translations/mi/LC_MESSAGES/messages.po index 56b87d7ac2b..3092fbd8f55 100644 --- a/translations/mi/LC_MESSAGES/messages.po +++ b/translations/mi/LC_MESSAGES/messages.po @@ -1946,6 +1946,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2802,3 +2805,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/ms/LC_MESSAGES/messages.po b/translations/ms/LC_MESSAGES/messages.po index db78f5c4742..0913bca7de6 100644 --- a/translations/ms/LC_MESSAGES/messages.po +++ b/translations/ms/LC_MESSAGES/messages.po @@ -1951,6 +1951,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2753,3 +2756,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/nb_NO/LC_MESSAGES/messages.po b/translations/nb_NO/LC_MESSAGES/messages.po index 4d80c95b079..0436e81858c 100644 --- a/translations/nb_NO/LC_MESSAGES/messages.po +++ b/translations/nb_NO/LC_MESSAGES/messages.po @@ -1746,6 +1746,9 @@ msgstr "Velg eventyr" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2735,3 +2738,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/ne/LC_MESSAGES/messages.po b/translations/ne/LC_MESSAGES/messages.po index e777c4798b7..e7dd08e4df8 100644 --- a/translations/ne/LC_MESSAGES/messages.po +++ b/translations/ne/LC_MESSAGES/messages.po @@ -1952,6 +1952,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2637,3 +2640,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/nl/LC_MESSAGES/messages.po b/translations/nl/LC_MESSAGES/messages.po index 3eb490cd98c..a953550336d 100644 --- a/translations/nl/LC_MESSAGES/messages.po +++ b/translations/nl/LC_MESSAGES/messages.po @@ -1584,6 +1584,9 @@ msgstr "Avonturen selecteren" msgid "select_all" msgstr "Selecteer alles" +msgid "select_classes" +msgstr "Selecteer klassen" + msgid "select_lang" msgstr "Selecteer taal" diff --git a/translations/pa_PK/LC_MESSAGES/messages.po b/translations/pa_PK/LC_MESSAGES/messages.po index b5479f7c746..08de3b439a8 100644 --- a/translations/pa_PK/LC_MESSAGES/messages.po +++ b/translations/pa_PK/LC_MESSAGES/messages.po @@ -1940,6 +1940,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2918,3 +2921,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/pap/LC_MESSAGES/messages.po b/translations/pap/LC_MESSAGES/messages.po index a90fbb63512..2db4656fff3 100644 --- a/translations/pap/LC_MESSAGES/messages.po +++ b/translations/pap/LC_MESSAGES/messages.po @@ -1946,6 +1946,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2814,3 +2817,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/peo/LC_MESSAGES/messages.po b/translations/peo/LC_MESSAGES/messages.po index ca1a0a49ff5..dc8490fac88 100644 --- a/translations/peo/LC_MESSAGES/messages.po +++ b/translations/peo/LC_MESSAGES/messages.po @@ -1951,6 +1951,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2750,3 +2753,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/pl/LC_MESSAGES/messages.po b/translations/pl/LC_MESSAGES/messages.po index 6a625096e62..9892bc2fbb9 100644 --- a/translations/pl/LC_MESSAGES/messages.po +++ b/translations/pl/LC_MESSAGES/messages.po @@ -1520,6 +1520,9 @@ msgstr "Wybierz przygody" msgid "select_all" msgstr "Wybierz wszystko" +msgid "select_classes" +msgstr "" + msgid "select_lang" msgstr "Wybierz język" @@ -2429,3 +2432,6 @@ msgstr "Twój program" #~ msgid "classes" #~ msgstr "Klasy" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/pt_BR/LC_MESSAGES/messages.po b/translations/pt_BR/LC_MESSAGES/messages.po index df79e61b5a3..7f30b04546f 100644 --- a/translations/pt_BR/LC_MESSAGES/messages.po +++ b/translations/pt_BR/LC_MESSAGES/messages.po @@ -1656,6 +1656,9 @@ msgstr "" msgid "select_all" msgstr "Selecionar tudo" +msgid "select_classes" +msgstr "" + msgid "select_lang" msgstr "Selecionar idioma" @@ -2626,3 +2629,6 @@ msgstr "Seu programa" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/pt_PT/LC_MESSAGES/messages.po b/translations/pt_PT/LC_MESSAGES/messages.po index 998552fea9e..57cbcd95554 100644 --- a/translations/pt_PT/LC_MESSAGES/messages.po +++ b/translations/pt_PT/LC_MESSAGES/messages.po @@ -1656,6 +1656,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + msgid "select_lang" msgstr "Selecionar idioma" @@ -2565,3 +2568,6 @@ msgstr "O seu programa" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/ro/LC_MESSAGES/messages.po b/translations/ro/LC_MESSAGES/messages.po index e80b9a41c06..02ceda08615 100644 --- a/translations/ro/LC_MESSAGES/messages.po +++ b/translations/ro/LC_MESSAGES/messages.po @@ -1938,6 +1938,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2904,3 +2907,6 @@ msgstr "Programul tău" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/ru/LC_MESSAGES/messages.po b/translations/ru/LC_MESSAGES/messages.po index a5c4dbd06ea..3d3928364c1 100644 --- a/translations/ru/LC_MESSAGES/messages.po +++ b/translations/ru/LC_MESSAGES/messages.po @@ -1666,6 +1666,9 @@ msgstr "Выберите приключения" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2622,3 +2625,6 @@ msgstr "Ваша программа" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/sl/LC_MESSAGES/messages.po b/translations/sl/LC_MESSAGES/messages.po index a791b455a7b..ddd8e006bb4 100644 --- a/translations/sl/LC_MESSAGES/messages.po +++ b/translations/sl/LC_MESSAGES/messages.po @@ -1934,6 +1934,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2741,3 +2744,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/sq/LC_MESSAGES/messages.po b/translations/sq/LC_MESSAGES/messages.po index 523dcc0c0c6..bc40f30ca4b 100644 --- a/translations/sq/LC_MESSAGES/messages.po +++ b/translations/sq/LC_MESSAGES/messages.po @@ -1941,6 +1941,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2920,3 +2923,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/sr/LC_MESSAGES/messages.po b/translations/sr/LC_MESSAGES/messages.po index 71f41f2ba3d..40df91a57c8 100644 --- a/translations/sr/LC_MESSAGES/messages.po +++ b/translations/sr/LC_MESSAGES/messages.po @@ -1500,6 +1500,9 @@ msgstr "Изаберите и наручите авантуре" msgid "select_all" msgstr "Изабери све" +msgid "select_classes" +msgstr "" + msgid "select_lang" msgstr "Изаберите језик" @@ -2310,3 +2313,6 @@ msgstr "Ваш програм" #~ msgid "classes" #~ msgstr "Часови" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/sv/LC_MESSAGES/messages.po b/translations/sv/LC_MESSAGES/messages.po index d4193283ebb..c81404805de 100644 --- a/translations/sv/LC_MESSAGES/messages.po +++ b/translations/sv/LC_MESSAGES/messages.po @@ -1654,6 +1654,9 @@ msgstr "Välj och beställ äventyr" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2600,3 +2603,6 @@ msgstr "Ditt program" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/sw/LC_MESSAGES/messages.po b/translations/sw/LC_MESSAGES/messages.po index 4328e06a5f8..0cd472d3355 100644 --- a/translations/sw/LC_MESSAGES/messages.po +++ b/translations/sw/LC_MESSAGES/messages.po @@ -1893,6 +1893,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2861,3 +2864,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/ta/LC_MESSAGES/messages.po b/translations/ta/LC_MESSAGES/messages.po index b25c37164c4..df37adbeb9c 100644 --- a/translations/ta/LC_MESSAGES/messages.po +++ b/translations/ta/LC_MESSAGES/messages.po @@ -1946,6 +1946,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2607,3 +2610,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/te/LC_MESSAGES/messages.po b/translations/te/LC_MESSAGES/messages.po index 56791bee7ad..5f93697cd66 100644 --- a/translations/te/LC_MESSAGES/messages.po +++ b/translations/te/LC_MESSAGES/messages.po @@ -1941,6 +1941,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2917,3 +2920,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/th/LC_MESSAGES/messages.po b/translations/th/LC_MESSAGES/messages.po index 8e2533be476..c5d80af46a4 100644 --- a/translations/th/LC_MESSAGES/messages.po +++ b/translations/th/LC_MESSAGES/messages.po @@ -1916,6 +1916,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2894,3 +2897,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/tl/LC_MESSAGES/messages.po b/translations/tl/LC_MESSAGES/messages.po index d0eac0e9202..923bd7fa406 100644 --- a/translations/tl/LC_MESSAGES/messages.po +++ b/translations/tl/LC_MESSAGES/messages.po @@ -1943,6 +1943,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2919,3 +2922,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/tn/LC_MESSAGES/messages.po b/translations/tn/LC_MESSAGES/messages.po index e5da44bc907..b7b9923bd51 100644 --- a/translations/tn/LC_MESSAGES/messages.po +++ b/translations/tn/LC_MESSAGES/messages.po @@ -1956,6 +1956,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2938,3 +2941,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/tr/LC_MESSAGES/messages.po b/translations/tr/LC_MESSAGES/messages.po index 9dfdfe3d8b1..564bb4498b8 100644 --- a/translations/tr/LC_MESSAGES/messages.po +++ b/translations/tr/LC_MESSAGES/messages.po @@ -1620,6 +1620,9 @@ msgstr "Maceraları seçin ve sıralayın" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2550,3 +2553,6 @@ msgstr "Programınız" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/uk/LC_MESSAGES/messages.po b/translations/uk/LC_MESSAGES/messages.po index 8b944c0c5dc..33f4b5305e6 100644 --- a/translations/uk/LC_MESSAGES/messages.po +++ b/translations/uk/LC_MESSAGES/messages.po @@ -1500,6 +1500,9 @@ msgstr "Виберіть і замовте пригоди" msgid "select_all" msgstr "Вибрати все" +msgid "select_classes" +msgstr "" + msgid "select_lang" msgstr "Виберіть мову" @@ -2394,3 +2397,6 @@ msgstr "Ваша програма" #~ msgid "classes" #~ msgstr "Класи" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/ur/LC_MESSAGES/messages.po b/translations/ur/LC_MESSAGES/messages.po index a67a0f77c1e..b77ccc6036e 100644 --- a/translations/ur/LC_MESSAGES/messages.po +++ b/translations/ur/LC_MESSAGES/messages.po @@ -1941,6 +1941,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2923,3 +2926,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/uz/LC_MESSAGES/messages.po b/translations/uz/LC_MESSAGES/messages.po index 628660e0760..7d6a03696db 100644 --- a/translations/uz/LC_MESSAGES/messages.po +++ b/translations/uz/LC_MESSAGES/messages.po @@ -1952,6 +1952,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2697,3 +2700,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/vi/LC_MESSAGES/messages.po b/translations/vi/LC_MESSAGES/messages.po index 70c4d0d16b8..28b1b76a91b 100644 --- a/translations/vi/LC_MESSAGES/messages.po +++ b/translations/vi/LC_MESSAGES/messages.po @@ -1932,6 +1932,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2905,3 +2908,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/zh_Hans/LC_MESSAGES/messages.po b/translations/zh_Hans/LC_MESSAGES/messages.po index 345754f2674..f0faa7b6bee 100644 --- a/translations/zh_Hans/LC_MESSAGES/messages.po +++ b/translations/zh_Hans/LC_MESSAGES/messages.po @@ -1500,6 +1500,9 @@ msgstr "选择并订购探险" msgid "select_all" msgstr "全选" +msgid "select_classes" +msgstr "" + msgid "select_lang" msgstr "选择语言" @@ -2381,3 +2384,6 @@ msgstr "你的程序" #~ msgid "classes" #~ msgstr "课程" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/translations/zh_Hant/LC_MESSAGES/messages.po b/translations/zh_Hant/LC_MESSAGES/messages.po index f0bb3697e55..104b92ba1cb 100644 --- a/translations/zh_Hant/LC_MESSAGES/messages.po +++ b/translations/zh_Hant/LC_MESSAGES/messages.po @@ -1940,6 +1940,9 @@ msgstr "" msgid "select_all" msgstr "" +msgid "select_classes" +msgstr "" + #, fuzzy msgid "select_lang" msgstr "" @@ -2907,3 +2910,6 @@ msgstr "" #~ msgid "classes" #~ msgstr "" +#~ msgid "select_class" +#~ msgstr "" + diff --git a/website/for_teachers.py b/website/for_teachers.py index 9af774b9c87..0b64028b6d3 100644 --- a/website/for_teachers.py +++ b/website/for_teachers.py @@ -1520,8 +1520,7 @@ def create_basic_adventure(user, adventure_id=None): "creator": user["username"], "name": "", "classes": [], - "level": 1, - "levels": ["1"], + "levels": [], "content": "", "public": 0, "language": g.lang, @@ -1531,7 +1530,7 @@ def create_basic_adventure(user, adventure_id=None): @requires_teacher def get_new_adventure(self, user): class_id = request.args.get("class_id") - level = request.args.get("level", "1") + level = request.args.get("level") adventure_id = uuid.uuid4().hex adventure = self.create_basic_adventure(user, adventure_id) @@ -1655,7 +1654,7 @@ def update_adventure(self, user): if body.get("classes"): current_classes = current_adventure.get('classes', []) current_levels = [] - if current_adventure["level"] != 1: + if not current_adventure.get('level'): current_levels = current_adventure.get('levels', []) adventures = self.db.get_teacher_adventures(user["username"])