Migrate translations to yaml

This commit is contained in:
BBaoVanC 2021-10-29 21:09:25 -05:00
parent 203f1eb53f
commit d6876a17b9
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
4 changed files with 68 additions and 68 deletions

View File

@ -1,34 +0,0 @@
[credit_comment]
other = "<!-- bobatheme is available under the MIT license at https://github.com/BBaoVanC/bobatheme. -->"
[long_date]
other = "{{ .Date.Format `January 2, 2006` }}"
[wordcount]
one = "{{ . }} word"
other = "{{ . }} words"
[readingtime]
one = "{{ . }} min"
other = "{{ . }} mins"
[read_more]
other = "Read more"
[browser_no_video_support]
other = "Your browser does not support video."
[filtering_for]
other = "Filtering for \"{{ . }}\""
[no_posts]
other = "No posts here!"
[table_of_contents]
other = "Table of Contents"
[see_also]
other = "See also"

34
i18n/en.yaml Normal file
View File

@ -0,0 +1,34 @@
credit_comment:
other: "<!-- bobatheme is available under the MIT license at https://github.com/BBaoVanC/bobatheme. -->"
long_date:
other: "{{ .Date.Format `January 2, 2006` }}"
wordcount:
one: "{{ . }} word"
other: "{{ . }} words"
readingtime:
one: "{{ . }} min"
other: "{{ . }} mins"
read_more:
other: "Read more"
browser_no_video_support:
other: "Your browser does not support video."
filtering_for:
other: "Filtering for \"{{ . }}\""
no_posts:
other: "No posts here!"
table_of_contents:
other: "Table of Contents"
see_also:
other: "See also"

View File

@ -1,34 +0,0 @@
[credit_comment]
other = "<!-- bobatheme está disponible en GitHub basado en la licensia MIT: https://github.com/BBaoVanC/bobatheme. -->"
[long_date]
other = "{{ .Date.Day }} de {{ index .Data.meses (printf `%d` .Date.Month) }} de {{ .Date.Year }}"
[wordcount]
one = "{{ . }} palabra"
other = "{{ . }} palabras"
[readingtime]
one = "{{ . }} min"
other = "{{ . }} mins"
[read_more]
other = "Leer más"
[browser_no_video_support]
other = "Tu navegador de internet no admite video."
[filtering_for]
other = "Filtrando por \"{{ . }}\""
[no_posts]
other = "¡No hay contenido para mostrar!"
[table_of_contents]
other = "Índice"
[see_also]
other = "Véase también"

34
i18n/es.yaml Normal file
View File

@ -0,0 +1,34 @@
credit_comment:
other: "<!-- bobatheme está disponible en GitHub basado en la licensia MIT: https://github.com/BBaoVanC/bobatheme. -->"
long_date:
other: "{{ .Date.Day }} de {{ index .Data.meses (printf `%d` .Date.Month) }} de {{ .Date.Year }}"
wordcount:
one: "{{ . }} palabra"
other: "{{ . }} palabras"
readingtime:
one: "{{ . }} min"
other: "{{ . }} mins"
read_more:
other: "Leer más"
browser_no_video_support:
other: "Tu navegador de internet no admite video."
filtering_for:
other: "Filtrando por \"{{ . }}\""
no_posts:
other: "¡No hay contenido para mostrar!"
table_of_contents:
other: "Índice"
see_also:
other: "Véase también"