Skip to content

Commit

Permalink
Merge pull request #13 from TheRealGabHas/main
Browse files Browse the repository at this point in the history
fix: Fixed translation not working for FR, ES, JP and RU
  • Loading branch information
tomowang authored Jan 22, 2024
2 parents f8e7dd5 + df8297d commit e3bfe4c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions i18n/es.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ open_main_menu = "Abrir menú principal"
open_lang_switcher = "Abrir cambiador de idioma"
[reading_time]
one = "Un minuto de lectura"
other = "{ .Count } minutos de lectura"
other = "{{ .Count }} minutos de lectura"

[header]
darkmode_toggle = "Cambiar a modo oscuro"
Expand All @@ -14,9 +14,9 @@ sorry = "Lo siento, no pudimos encontrar la página que estás buscando."
page_not_found = "Página no encontrada"

[footer]
powered_by = "Con tecnología de { .Generator } { .Heart } { .Theme }"
copyright_with_since ="{ .CopyrightSign } { .SinceYear } - { .CurrentYear} { .Copyright }"
copyright_wo_since ="{ .CopyrightSign } { .CurrentYear} { .Copyright }"
powered_by = "Con tecnología de {{ .Generator }} {{ .Heart }} {{ .Theme }}"
copyright_with_since ="{{ .CopyrightSign }} {{ .SinceYear }} - {{ .CurrentYear }} {{ .Copyright }}"
copyright_wo_since ="{{ .CopyrightSign }} {{ .CurrentYear }} {{ .Copyright }}"

[paginator]
newer_posts = "Entradas más recientes"
Expand Down
8 changes: 4 additions & 4 deletions i18n/fr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ open_main_menu = "Ouvrir le menu principal"
open_lang_switcher = "Ouvrir le sélecteur de langue"
[reading_time]
one = "Une minute de lecture"
other = "{ .Count } minutes de lecture"
other = "{{ .Count }} minutes de lecture"

[header]
darkmode_toggle = "Activer le mode sombre"
Expand All @@ -14,9 +14,9 @@ sorry = "Désolé, nous n'avons pas pu trouver la page que vous recherchez."
page_not_found = "Page non trouvée"

[footer]
powered_by = "Propulsé par { .Generator } { .Heart } { .Theme }"
copyright_with_since ="{ .CopyrightSign } { .SinceYear } - { .CurrentYear} { .Copyright }"
copyright_wo_since ="{ .CopyrightSign } { .CurrentYear} { .Copyright }"
powered_by = "Propulsé par {{ .Generator }} {{ .Heart }} {{ .Theme }}"
copyright_with_since ="{{ .CopyrightSign }} {{ .SinceYear }} - {{ .CurrentYear }} {{ .Copyright }}"
copyright_wo_since ="{{ .CopyrightSign }} {{ .CurrentYear }} {{ .Copyright }}"

[paginator]
newer_posts = "Articles plus récents"
Expand Down
8 changes: 4 additions & 4 deletions i18n/jp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ open_main_menu = "メインメニューを開く"
open_lang_switcher = "言語スイッチャーを開く"
[reading_time]
one = "1分読む"
other = "{ .Count }分読む"
other = "{{ .Count }}分読む"

[header]
darkmode_toggle = "ダークモードを切り替える"
Expand All @@ -14,9 +14,9 @@ sorry = "申し訳ありませんが、ご希望のページが見つかりま
page_not_found = "ページが見つかりません"

[footer]
powered_by = "Powered by { .Generator } { .Heart } { .Theme }"
copyright_with_since ="{ .CopyrightSign } { .SinceYear } - { .CurrentYear} { .Copyright }"
copyright_wo_since ="{ .CopyrightSign } { .CurrentYear} { .Copyright }"
powered_by = "Powered by {{ .Generator }} {{ .Heart }} {{ .Theme }}"
copyright_with_since ="{{ .CopyrightSign }} {{ .SinceYear }} - {{ .CurrentYear }} {{ .Copyright }}"
copyright_wo_since ="{{ .CopyrightSign }} {{ .CurrentYear }} {{ .Copyright }}"

[paginator]
newer_posts = "新しい投稿"
Expand Down
8 changes: 4 additions & 4 deletions i18n/ru.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ open_main_menu = "Открыть главное меню"
open_lang_switcher = "Открыть переключатель языка"
[reading_time]
one = "Одну минуту для чтения"
other = "{ .Count } минут для чтения"
other = "{{ .Count }} минут для чтения"

[header]
darkmode_toggle = "Включить темный режим"
Expand All @@ -14,9 +14,9 @@ sorry = "Извините, мы не смогли найти страницу,
page_not_found = "Страница не найдена"

[footer]
powered_by = "Работает на { .Generator } { .Heart } { .Theme }"
copyright_with_since ="{ .CopyrightSign } { .SinceYear } - { .CurrentYear} { .Copyright }"
copyright_wo_since ="{ .CopyrightSign } { .CurrentYear} { .Copyright }"
powered_by = "Работает на {{ .Generator }} {{ .Heart }} {{ .Theme }}"
copyright_with_since ="{{ .CopyrightSign }} {{ .SinceYear }} - {{ .CurrentYear }} {{ .Copyright }}"
copyright_wo_since ="{{ .CopyrightSign }} {{ .CurrentYear }} {{ .Copyright }}"

[paginator]
newer_posts = "Более новые сообщения"
Expand Down

0 comments on commit e3bfe4c

Please sign in to comment.