From d6876a17b97d4e58ca9e94bec5aa4a3d050a0485 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Fri, 29 Oct 2021 21:09:25 -0500 Subject: [PATCH] Migrate translations to yaml --- i18n/en.toml | 34 ---------------------------------- i18n/en.yaml | 34 ++++++++++++++++++++++++++++++++++ i18n/es.toml | 34 ---------------------------------- i18n/es.yaml | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 68 insertions(+), 68 deletions(-) delete mode 100644 i18n/en.toml create mode 100644 i18n/en.yaml delete mode 100644 i18n/es.toml create mode 100644 i18n/es.yaml diff --git a/i18n/en.toml b/i18n/en.toml deleted file mode 100644 index 363cd7c..0000000 --- a/i18n/en.toml +++ /dev/null @@ -1,34 +0,0 @@ -[credit_comment] - other = "" - -[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" diff --git a/i18n/en.yaml b/i18n/en.yaml new file mode 100644 index 0000000..bd906bf --- /dev/null +++ b/i18n/en.yaml @@ -0,0 +1,34 @@ +credit_comment: + other: "" + +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" diff --git a/i18n/es.toml b/i18n/es.toml deleted file mode 100644 index e019388..0000000 --- a/i18n/es.toml +++ /dev/null @@ -1,34 +0,0 @@ -[credit_comment] - other = "" - -[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" diff --git a/i18n/es.yaml b/i18n/es.yaml new file mode 100644 index 0000000..027014f --- /dev/null +++ b/i18n/es.yaml @@ -0,0 +1,34 @@ +credit_comment: + other: "" + +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"