🌐 Add better i18n support for article metadata

This commit is contained in:
James Panther
2022-01-24 13:58:19 +11:00
parent 61d80cf13d
commit b59137e458
13 changed files with 22 additions and 14 deletions
+2 -1
View File
@@ -1,5 +1,7 @@
article:
anchor_label: "Anker"
date: "{{ .Date }}"
# date_updated: "Updated: {{ .Date }}"
draft: "Entwurf"
edit_title: "Inhalt bearbeiten"
reading_time:
@@ -7,7 +9,6 @@ article:
other: "{{ .Count }} min"
reading_time_title: "Lesezeit"
# table_of_contents: "Table of Contents"
# updated: "Updated"
# word_count:
# one: "{{ .Count }} word"
# other: "{{ .Count }} words"
+2 -1
View File
@@ -1,5 +1,7 @@
article:
anchor_label: "Anchor"
date: "{{ .Date }}"
date_updated: "Updated: {{ .Date }}"
draft: "Draft"
edit_title: "Edit content"
reading_time:
@@ -7,7 +9,6 @@ article:
other: "{{ .Count }} mins"
reading_time_title: "Reading time"
table_of_contents: "Table of Contents"
updated: "Updated"
word_count:
one: "{{ .Count }} word"
other: "{{ .Count }} words"
+2 -1
View File
@@ -1,5 +1,7 @@
article:
anchor_label: "Ancla"
date: "{{ .Date }}"
date_updated: "Actualizado: {{ .Date }}"
draft: "Borrador"
edit_title: "Editar contenido"
reading_time:
@@ -7,7 +9,6 @@ article:
other: "{{ .Count }} mins"
reading_time_title: "Tiempo de lectura"
# table_of_contents: "Table of Contents"
updated: "Actualizado"
word_count:
one: "{{ .Count }} palabra"
other: "{{ .Count }} palabras"
+2 -1
View File
@@ -1,5 +1,7 @@
article:
anchor_label: "Ancre"
date: "{{ .Date }}"
# date_updated: "Updated: {{ .Date }}"
draft: "Brouillon"
edit_title: "Editer"
reading_time:
@@ -7,7 +9,6 @@ article:
other: "{{ .Count }} mins"
reading_time_title: "Temps de lecture"
# table_of_contents: "Table of Contents"
# updated: "Updated"
# word_count:
# one: "{{ .Count }} word"
# other: "{{ .Count }} words"
+2 -1
View File
@@ -1,5 +1,7 @@
article:
anchor_label: "Anchor"
date: "{{ .Date }}"
# date_updated: "Updated: {{ .Date }}"
draft: "Draft"
edit_title: "Editar Conteúdo"
reading_time:
@@ -7,7 +9,6 @@ article:
other: "{{ .Count }} minutos"
reading_time_title: "Tempo de leitura"
# table_of_contents: "Table of Contents"
# updated: "Updated"
# word_count:
# one: "{{ .Count }} word"
# other: "{{ .Count }} words"
+2 -1
View File
@@ -1,12 +1,13 @@
article:
anchor_label: "Anchor"
date: "{{ .Date }}"
# date_updated: "Updated: {{ .Date }}"
draft: "Taslak"
edit_title: "İçeriği düzenle"
reading_time:
one: "{{ .Count }} dk"
other: "{{ .Count }} dk"
reading_time_title: "Okuma süresi"
# updated: "Updated"
word_count:
one: "{{ .Count }} kelime"
other: "{{ .Count }} kelime"
+2 -1
View File
@@ -1,12 +1,13 @@
article:
anchor_label: "锚点"
date: "{{ .Date }}"
# date_updated: "Updated: {{ .Date }}"
draft: "草稿"
edit_title: "编辑内容"
reading_time:
other: "{{ .Count }} 分钟"
reading_time_title: "预计阅读"
# table_of_contents: "Table of Contents"
# updated: "Updated"
word_count:
one: "{{ .Count }} 字"
other: "{{ .Count }} 字"