Skip to content

Commit

Permalink
Adds extra placeholder for advance button to support Hindi language (h…
Browse files Browse the repository at this point in the history
…edyorg#2072)

* Added extra placeholder so text on Hindi advance button looks more natural

Co-authored-by: Felienne <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 23, 2022
1 parent b014f89 commit 947a75e
Show file tree
Hide file tree
Showing 18 changed files with 36 additions and 36 deletions.
4 changes: 2 additions & 2 deletions coursedata/texts/bg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ui:
save_code_button: "Запиши"
edit_code_button: "Промени кода"
share_code_button: "Запиши и сподели кода"
regress_button: "Върни се назад"
advance_button: "Продължи към ниво"
regress_button: "Върни се назад {level}"
advance_button: "Продължи към ниво {level}"
developers_mode: "Developers mode"
try_button: "Пробвай"
enter_text: "Въведи отговора си тук..."
Expand Down
4 changes: 2 additions & 2 deletions coursedata/texts/cs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ui:
save_code_button: Uložit kód
edit_code_button: Upravit kód
share_code_button: Uložit a sdílet kód
regress_button: Vrátit se na úroveň
advance_button: Jít na úroveň
regress_button: Vrátit se na úroveň {level}
advance_button: Jít na úroveň {level}
developers_mode: "Developers mode"
try_button: Vyzkoušet
enter_text: Zde napiš svou odpověď...
Expand Down
4 changes: 2 additions & 2 deletions coursedata/texts/de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ui:
save_code_button: "Programm speichern"
edit_code_button: "Programm ändern"
share_code_button: "Speichern und weitergeben"
regress_button: "Gehe zurück zu Level"
advance_button: "Gehe zu Level"
regress_button: "Gehe zurück zu Level {level}"
advance_button: "Gehe zu Level {level}"
developers_mode: "Developers mode"
try_button: "Ausprobieren"
enter_text: "Gib deine Antwort hier ein..."
Expand Down
4 changes: 2 additions & 2 deletions coursedata/texts/el.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ui:
save_code_button: 'Αποθήκευσε κώδικα'
edit_code_button: "Edit code"
share_code_button: "Save & share code"
regress_button: 'Επιστροφή στο επίπεδο'
advance_button: 'Πήγαινε στο επίπεδο'
regress_button: 'Επιστροφή στο επίπεδο {level}'
advance_button: 'Πήγαινε στο επίπεδο {level}'
developers_mode: "Developers mode"
try_button: 'Δοκίμασε το'
enter_text: 'Γράψε την απάντηση εδώ...'
Expand Down
4 changes: 2 additions & 2 deletions coursedata/texts/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ui:
save_code_button: "Save code"
edit_code_button: "Edit code"
share_code_button: "Save & share code"
regress_button: "Go back to level"
advance_button: "Go to level"
regress_button: "Go back to level {level}"
advance_button: "Go to level {level}"
developers_mode: "Programmer's mode"
try_button: "Try"
enter_text: "Enter your answer here..."
Expand Down
4 changes: 2 additions & 2 deletions coursedata/texts/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ui:
save_code_button: "Guardar código"
edit_code_button: "Editar código"
share_code_button: "Guardar y compartir código"
regress_button: "Regresar al nivel"
advance_button: "Ir al nivel"
regress_button: "Regresar al nivel {level}"
advance_button: "Ir al nivel {level}"
developers_mode: "Modo desarollador"
try_button: "Probar"
enter_text: "Ingresar tu respuesta aquí..."
Expand Down
4 changes: 2 additions & 2 deletions coursedata/texts/fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ui:
save_code_button: "Enregistrer le code"
edit_code_button: "Modifier le code"
share_code_button: "Enregistrer et partager le code"
regress_button: "Retourner au niveau"
advance_button: "Aller au niveau"
regress_button: "Retourner au niveau {level}"
advance_button: "Aller au niveau {level}"
developers_mode: "Mode développeur"
try_button: "Essayer"
enter_text: "Tapes ta réponse ici..."
Expand Down
4 changes: 2 additions & 2 deletions coursedata/texts/fy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ ui:
save_code_button: "Koade bewarje"
edit_code_button: "Koade oanpasse"
share_code_button: "Koade bewarje & diele"
regress_button: "Werom nei level"
advance_button: "Nei level"
regress_button: "Werom nei level {level}"
advance_button: "Nei level {level}"
developers_mode: "Developers mode"
enter_text: "Folje hjir dyn antwurd..."
enter: "Ynfolje"
Expand Down
4 changes: 2 additions & 2 deletions coursedata/texts/hi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ui:
save_code_button: कोड को सहेजें
edit_code_button: कोड को संपादित करें
share_code_button: कोड को सहेजें और साझा करें
regress_button: स्तर पर वापस जाएँ
advance_button: स्तर पर जाएँ
regress_button: स्तर {level} पर वापस जाएँ
advance_button: स्तर {level} पर जाएँ
developers_mode: प्रोग्रामर की तरह
try_button: कोशिश करें
enter_text: 'अपना उत्तर यहाँ दर्ज करें '
Expand Down
4 changes: 2 additions & 2 deletions coursedata/texts/hu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ui:
save_code_button: "Kód mentése"
edit_code_button: "Kód szerkesztése"
share_code_button: "Mentés és kód megosztása"
regress_button: "Menj vissza: szint"
advance_button: "Menj tovább: szint"
regress_button: "Menj vissza: szint {level}"
advance_button: "Menj tovább: szint {level}"
developers_mode: "Developers mode"
try_button: "Próbáld ki"
enter_text: "Írd be a válaszodat ide..."
Expand Down
4 changes: 2 additions & 2 deletions coursedata/texts/id.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ui:
save_code_button: Simpan kode
edit_code_button: Ubah kode
share_code_button: Simpan dan bagikan kode
regress_button: Kembali ke level
advance_button: Lanjut ke level
regress_button: Kembali ke level {level}
advance_button: Lanjut ke level {level}
developers_mode: "Developers mode"
try_button: Coba
enter_text: Tuliskan jawaban kamu disini...
Expand Down
4 changes: 2 additions & 2 deletions coursedata/texts/it.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ui:
save_code_button: "Salva codice"
edit_code_button: "Edit code"
share_code_button: "Save & share code"
regress_button: "Torna a livello"
advance_button: "Vai a livello"
regress_button: "Torna a livello {level}"
advance_button: "Vai a livello {level}"
developers_mode: "Developers mode"
try_button: "Provar"
enter_text: "Inserisci la risposta qui..."
Expand Down
4 changes: 2 additions & 2 deletions coursedata/texts/nl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ ui:
save_code_button: "Code opslaan"
edit_code_button: "Pas de code aan"
share_code_button: "Code opslaan & delen"
regress_button: "Ga terug naar level"
advance_button: "Ga naar level"
regress_button: "Ga terug naar level {level}"
advance_button: "Ga naar level {level}"
developers_mode: "Programmeursmodus"
enter_text: "Vul hier je antwoord in..."
enter: "Invullen"
Expand Down
4 changes: 2 additions & 2 deletions coursedata/texts/pt_br.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ui:
save_code_button: "Salvar código"
edit_code_button: "Editar código"
share_code_button: "Salvar & compartilhar código"
regress_button: "Voltar para o nível"
advance_button: "Ir para o nível"
regress_button: "Voltar para o nível {level}"
advance_button: "Ir para o nível {level}"
developers_mode: "Developers mode"
try_button: "Tentar"
enter_text: "Entre com a sua resposta aqui..."
Expand Down
4 changes: 2 additions & 2 deletions coursedata/texts/pt_pt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ui:
save_code_button: "Guarda o código"
edit_code_button: "Edita o código"
share_code_button: "Guarda & partilha o código"
regress_button: "Volta ao nível"
advance_button: "Vai para o nível"
regress_button: "Volta ao nível {level}"
advance_button: "Vai para o nível {level}"
developers_mode: "Developers mode"
try_button: "Experimenta"
enter_text: "Introduz a tua resposta aqui..."
Expand Down
4 changes: 2 additions & 2 deletions coursedata/texts/sw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ui:
save_code_button: "Hifadhi programu"
edit_code_button: "Edit code"
share_code_button: "Save & share code"
regress_button: "Rudi kiwango cha"
advance_button: "Enda kiwango cha"
regress_button: "Rudi kiwango cha {level}"
advance_button: "Enda kiwango cha {level}"
developers_mode: "Developers mode"
try_button: "Jaribu"
enter_text: "Ingiza jibu lako hapa..."
Expand Down
4 changes: 2 additions & 2 deletions coursedata/texts/zh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ui:
save_code_button: "保存代码"
edit_code_button: "Edit code"
share_code_button: "Save & share code"
regress_button: "返回级别"
advance_button: "前往级别"
regress_button: "返回级别 {level}"
advance_button: "前往级别 {level}"
developers_mode: "Developers mode"
try_button: "试一试"
enter_text: "在这里输入你的答案..."
Expand Down
4 changes: 2 additions & 2 deletions templates/incl-editor-and-output.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@
<div class="order-5">
<div class="flex {% if prev_level %}justify-between{% else %}justify-end{%endif%}">
{% if prev_level and (customizations['levels']|length == 0 or prev_level in customizations['levels']) %}
<button class="green-btn" onclick="hedyApp.prompt_unsaved (function () {window.location = '{{ hedy_link(prev_level, 1) }}'})">{{ui.regress_button}} {{ prev_level }}</button>
<button class="green-btn" onclick="hedyApp.prompt_unsaved (function () {window.location = '{{ hedy_link(prev_level, 1) }}'})">{{ui.regress_button|replace("{level}", prev_level)}}</button>
{% endif %}
{% if next_level and (customizations['levels']|length == 0 or next_level in customizations['levels']) %}
<button class="green-btn ltr:ml-1 rtl:mr-1" onclick="hedyApp.prompt_unsaved (function () {window.location = '{{ hedy_link(next_level, 1) }}'})">{{ ui.advance_button }} {{ next_level }}</button>
<button class="green-btn ltr:ml-1 rtl:mr-1" onclick="hedyApp.prompt_unsaved (function () {window.location = '{{ hedy_link(next_level, 1) }}'})">{{ui.advance_button|replace("{level}", next_level)}}</button>
{% endif %}
</div>
</div>
Expand Down

0 comments on commit 947a75e

Please sign in to comment.