diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2023-07-29 17:33:12 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2023-07-29 17:33:12 +0700 |
commit | 8261eed6f8c2aeb2488a481f1d89ab9c8ff3a119 (patch) | |
tree | 4dd87c1ca0f2ebc2a459395ee10a3547db3be106 /i18n | |
parent | 5f84f18c24b3bf64768befad82823a59c26e65d5 (diff) | |
download | victor-8261eed6f8c2aeb2488a481f1d89ab9c8ff3a119.tar.gz |
Support multilingual
Diffstat (limited to 'i18n')
-rw-r--r-- | i18n/en.toml | 13 | ||||
-rw-r--r-- | i18n/fr.toml | 13 | ||||
-rw-r--r-- | i18n/vi.toml | 11 |
3 files changed, 37 insertions, 0 deletions
diff --git a/i18n/en.toml b/i18n/en.toml new file mode 100644 index 0000000..1cf0f8a --- /dev/null +++ b/i18n/en.toml @@ -0,0 +1,13 @@ +["choose language"] +other = "Choose another language:" + +[current] +other = "current" + +["word count"] +one = "{{ .WordCount }} word" +other = "{{ .WordCount }} words" + +["reading time"] +one = "approximately {{ .Count }} minute reading" +other = "approximately {{ .Count }} minutes reading" diff --git a/i18n/fr.toml b/i18n/fr.toml new file mode 100644 index 0000000..563b24a --- /dev/null +++ b/i18n/fr.toml @@ -0,0 +1,13 @@ +["choose language"] +other = "Choisir une autre langue:" + +[current] +other = "actuelle" + +["word count"] +one = "{{ .WordCount }} mot" +other = "{{ .WordCount }} mots" + +["reading time"] +one = "environ {{ .Count }} minute de lecture" +other = "environ {{ .Count }} minutes de lecture" diff --git a/i18n/vi.toml b/i18n/vi.toml new file mode 100644 index 0000000..c327799 --- /dev/null +++ b/i18n/vi.toml @@ -0,0 +1,11 @@ +["choose language"] +other = "Chọn ngôn ngữ khác:" + +[current] +other = "hiện tại" + +["word count"] +other = "{{ .WordCount }} từ" + +["reading time"] +other = "đọc hết khoảng {{ .Count }} phút" |