🌐 feat(i18n): overhaul translation system & add languages (#145)

Revamp the existing translation system, simplifying
management and adding several new languages. The new system reads from
TOML files in the `/i18n` directory and improves template structures.
It also enhances customisation options and robustness by providing
fallbacks and modularity.

- Implement a new, streamlined translation macro.
- Load translations from `/i18n` TOML files.
- Remove redundant configuration requirements.
- Refactor templates to align with new i18n system.
- Add support for Hindi, Japanese, Russian, Portuguese, Chinese,
  Italian, German, Ukranian, Korean, and French languages.
- Credit Thomas Weitzel (@thomasweitzel) for inspiration.
This commit is contained in:
Óscar
2023-09-12 18:58:58 +02:00
committed by GitHub
parent 327545f2d5
commit 32a2d5094b
46 changed files with 1534 additions and 483 deletions

57
i18n/ca.toml Normal file
View File

@@ -0,0 +1,57 @@
language_name = "Català" # Shown in language picker for multi-language sites.
date_locale = "ca_ES"
full_stop ="." # Used at the end of a sentence.
# Menu items.
# Should match the names in config.extra.menu
blog = "blog"
archive = "arxiu"
tags = "etiquetes"
projects = "projectes"
# Navigation.
read_more = "Llegir més"
post = "entrada"
posts = "entrades" # Plural of "post".
prev = "Anterior" # As in "Previous" page.
next = "Següent" # As in "Next" page.
of = "de" # E.g. Page 1 "of" 3
all_posts = "Totes les entrades"
all_tags = "Totes les etiquetes"
# Post metadata.
draft = "ESBORRANY"
min_read = "min de lectura"
words = "paraules"
last_updated_on = "Última actualizació el"
see_changes = "Veure canvis"
# Post body.
table_of_contents = "Taula de contingut"
load_comments = "Carregar comentaris"
# Footer: Powered by Zola and tabi.
powered_by = "Propulsat per"
and = "i"
site_source = "Codi del lloc"
# 404 error.
# https://welpo.github.io/tabi/404.html
page_missing = "La pàgina que has sol·licitat sembla que no existeix"
translation_missing = "o encara no s'ha traduït al teu idioma"
check_url = "Comprova l'URL per detectar errors o"
go_home = "torna a la pàgina d'inici"
# For multilingual quote shortcode.
# https://welpo.github.io/tabi/blog/shortcodes/#multilingual-quotes
show_original_quote = "Mostra la cita original"
show_translation = "Mostra la traducció"
open_quotation_mark = "«"
close_quotation_mark = "»"
# Translations for stylised Atom feed.
# https://welpo.github.io/tabi/atom.xml
# Must contain "About Feeds"; it will become a link.
about_feeds = "Aquest és un canal web, també conegut com a canal Atom. Subscriu-te copiant l'URL de la barra d'adreces al teu lector de notícies. Visita About Feeds per aprendre més i començar. És gratuït."
visit_the_site = "Visita la web"
recent_posts = "Publicacions recents"

61
i18n/de.toml Normal file
View File

@@ -0,0 +1,61 @@
# This has been machine translated.
# If you would like to help correct errors or improve the translation,
# please open an issue or submit a pull request.
# https://github.com/welpo/tabi
language_name = "Deutsch" # Shown in language picker for multi-language sites.
date_locale = "de_DE"
full_stop = "." # Used at the end of a sentence.
# Menu items.
# Should match the names in config.extra.menu
blog = "blog"
archive = "archiv"
tags = "tags"
projects = "projekte"
# Navigation.
read_more = "Weiterlesen"
post = "beitrag"
posts = "beiträge" # Plural of "post".
prev = "Vorherig" # As in "Previous" page.
next = "Nächst" # As in "Next" page.
of = "von" # E.g. Page 1 "of" 3
all_posts = "Alle Beiträge"
all_tags = "Alle Tags"
# Post metadata.
draft = "ENTWURF"
min_read = "min. lesedauer"
words = "wörter"
last_updated_on = "Zuletzt aktualisiert am"
see_changes = "Änderungen anzeigen"
# Post body.
table_of_contents = "Inhaltsverzeichnis"
load_comments = "Kommentare laden"
# Footer.
powered_by = "Angetrieben von"
and = "und"
site_source = "Quellcode der Seite"
# 404 error.
# https://welpo.github.io/tabi/404.html
page_missing = "Die Seite, die du angefordert hast, scheint nicht zu existieren"
translation_missing = "oder wurde noch nicht in deine Sprache übersetzt"
check_url = "Überprüfe die URL auf Fehler oder"
go_home = "zurück zur Startseite gehen"
# For multilingual quote shortcode.
# https://welpo.github.io/tabi/blog/shortcodes/#multilingual-quotes
show_original_quote = "Originalzitat anzeigen"
show_translation = "Übersetzung anzeigen"
open_quotation_mark = "„"
close_quotation_mark = "“"
# Translations for stylised Atom feed.
# https://welpo.github.io/tabi/atom.xml
# Must contain "About Feeds"; it will become a link.
about_feeds = "Dies ist ein Web-Feed, auch bekannt als Atom-Feed. Abonnieren Sie, indem Sie die URL aus der Adressleiste in Ihren Nachrichtenleser kopieren. Besuchen Sie About Feeds, um mehr zu erfahren und loszulegen. Es ist kostenlos."
visit_the_site = "Besuchen Sie die Webseite"
recent_posts = "Aktuelle Beiträge"

57
i18n/en.toml Normal file
View File

@@ -0,0 +1,57 @@
language_name = "English" # Shown in language picker for multi-language sites.
date_locale = "en_GB"
full_stop = "." # Used at the end of a sentence.
# Menu items.
# Should match the names in config.extra.menu
blog = "blog"
archive = "archive"
tags = "tags"
projects = "projects"
# Navigation.
read_more = "Read more"
post = "post"
posts = "posts" # Plural of "post".
prev = "Prev" # As in "Previous" page.
next = "Next" # As in "Next" page.
of = "of" # E.g. Page 1 "of" 3
all_posts = "All posts"
all_tags = "All tags"
# Post metadata.
draft = "DRAFT"
min_read = "min read"
words = "words"
last_updated_on = "Last updated on"
see_changes = "See changes"
# Post body.
table_of_contents = "Table of Contents"
load_comments = "Load comments"
# Footer: Powered by Zola and tabi.
powered_by = "Powered by"
and = "&"
site_source = "Site source"
# 404 error.
# https://welpo.github.io/tabi/404.html
page_missing = "The page you've requested seems to be missing"
translation_missing = "or hasn't been translated into your language yet"
check_url = "Check the URL for errors or"
go_home = "go back to the homepage"
# For multilingual quote shortcode.
# https://welpo.github.io/tabi/blog/shortcodes/#multilingual-quotes
show_original_quote = "Show original quote"
show_translation = "Show translation"
open_quotation_mark = "“"
close_quotation_mark = "”"
# Translations for stylised Atom feed.
# https://welpo.github.io/tabi/atom.xml
# Must contain "About Feeds"; it will become a link.
about_feeds = "This is a web feed, also known as an Atom feed. Subscribe by copying the URL from the address bar into your newsreader. Visit About Feeds to learn more and get started. It's free."
visit_the_site = "Visit website"
recent_posts = "Recent posts"

57
i18n/es.toml Normal file
View File

@@ -0,0 +1,57 @@
language_name = "Español" # Shown in language picker for multi-language sites.
date_locale = "es_ES"
full_stop = "." # Used at the end of a sentence.
# Menu items.
# Should match the names in config.extra.menu
blog = "blog"
archive = "archivo"
tags = "etiquetas"
projects = "proyectos"
# Navigation.
read_more = "Leer más"
post = "entrada"
posts = "entradas" # Plural of "post".
prev = "Anterior" # As in "Previous" page.
next = "Siguiente" # As in "Next" page.
of = "sur" # E.g. Page 1 "of" 3
all_posts = "Todas las entradas"
all_tags = "Todas las etiquetas"
# Post metadata.
draft = "BORRADOR"
min_read = "min de lectura"
words = "palabras"
last_updated_on = "Última actualización el"
see_changes = "Ver cambios"
# Post body.
table_of_contents = "Tabla de contenido"
load_comments = "Cargar comentarios"
# Footer: Powered by Zola and tabi.
powered_by = "Impulsado por"
and = "y"
site_source = "Código del sitio"
# 404 error.
# https://welpo.github.io/tabi/404.html
page_missing = "La página que has solicitado parece no existir"
translation_missing = "o aún no se ha traducido a tu idioma"
check_url = "Revisa la URL en busca de errores o"
go_home = "regresa a la página de inicio"
# For multilingual quote shortcode.
# https://welpo.github.io/tabi/blog/shortcodes/#multilingual-quotes
show_original_quote = "Mostrar cita original"
show_translation = "Mostrar traducción"
open_quotation_mark = "«"
close_quotation_mark = "»"
# Translations for stylised Atom feed.
# https://welpo.github.io/tabi/atom.xml
# Must contain "About Feeds"; it will become a link.
about_feeds = "Esta es una fuente web, también conocida como fuente Atom. Suscríbete copiando la URL de la barra de direcciones en tu lector de noticias. Visita About Feeds para aprender más y empezar. Es gratis. "
visit_the_site = "Visita la web"
recent_posts = "Publicaciones recientes"

61
i18n/fr.toml Normal file
View File

@@ -0,0 +1,61 @@
# This has been machine translated.
# If you would like to help correct errors or improve the translation,
# please open an issue or submit a pull request.
# https://github.com/welpo/tabi
language_name = "Français" # Shown in language picker for multi-language sites.
date_locale = "fr_FR"
full_stop = "." # Used at the end of a sentence.
# Menu items.
# Should match the names in config.extra.menu
blog = "blog"
archive = "archives"
tags = "étiquettes"
projects = "projets"
# Navigation.
read_more = "Lire plus"
post = "article"
posts = "articles" # Plural of "post".
prev = "Précédent" # As in "Previous" page.
next = "Suivant" # As in "Next" page.
of = "de" # E.g. Page 1 "of" 3
all_posts = "Tous les articles"
all_tags = "Toutes les étiquettes"
# Post metadata.
draft = "BROUILLON"
min_read = "min de lecture"
words = "mots"
last_updated_on = "Dernière mise à jour le"
see_changes = "Voir les modifications"
# Post body.
table_of_contents = "Table des matières"
load_comments = "Afficher les commentaires"
# Footer: Powered by Zola and tabi.
powered_by = "Propulsé par"
and = "et"
site_source = "Code du site"
# 404 error.
# https://welpo.github.io/tabi/404.html
page_missing = "La page que vous avez demandée semble ne pas exister"
translation_missing = "ou n'a pas encore été traduite dans votre langue"
check_url = "Vérifiez l'URL pour des erreurs ou"
go_home = "retournez à la page d'accueil"
# For multilingual quote shortcode.
# https://welpo.github.io/tabi/blog/shortcodes/#multilingual-quotes
show_original_quote = "Afficher la citation originale"
show_translation = "Afficher la traduction"
open_quotation_mark = "«"
close_quotation_mark = "»"
# Translations for stylised Atom feed.
# https://welpo.github.io/tabi/atom.xml
# Must contain "About Feeds"; it will become a link.
about_feeds = "Ceci est un flux web, également connu sous le nom de flux Atom. Abonnez-vous en copiant l'URL de la barre d'adresse dans votre lecteur de nouvelles. Visitez About Feeds pour en savoir plus et commencer. C'est gratuit."
visit_the_site = "Visitez le site web"
recent_posts = "Articles récents"

59
i18n/hi.toml Normal file
View File

@@ -0,0 +1,59 @@
# This has been machine translated.
# If you would like to help correct errors or improve the translation, please open an issue or submit a pull request.
language_name = "हिंदी" # Shown in language picker for multi-language sites.
date_locale = "hi_IN"
full_stop ="।" # Used at the end of a sentence.
# Menu items.
# Should match the names in config.extra.menu
blog = "ब्लॉग"
archive = "संग्रह"
tags = "टैग"
projects = "परियोजनाएं"
# Navigation.
read_more = "और पढ़ें"
post = "पोस्ट"
posts = "पोस्ट्स" # Plural of "post".
prev = "पिछला" # As in "Previous" page.
next = "अगला" # As in "Next" page.
of = "का" # E.g. Page 1 "of" 3
all_posts = "सभी पोस्ट्स"
all_tags = "सभी टैग्स"
# Post metadata.
draft = "मसौदा"
min_read = "मिनट पठन समय"
words = "शब्द"
last_updated_on = "आखिरी अपडेट"
see_changes = "बदलाव देखें"
# Post body.
table_of_contents = "विषय सूची"
load_comments = "कमेंट्स लोड करें"
# Footer: Powered by Zola and tabi.
powered_by = "चालित द्वारा"
and = "और"
site_source = "साइट का स्रोत"
# 404 error.
# https://welpo.github.io/tabi/404.html
page_missing = "आपके द्वारा अनुरोधित पृष्ठ मौजूद नहीं है"
translation_missing = "या फिर आपकी भाषा में अनुवाद नहीं किया गया है"
check_url = "URL में त्रुटियों की जांच करें या"
go_home = "मुख्य पृष्ठ पर वापस जाएं"
# For multilingual quote shortcode.
# https://welpo.github.io/tabi/blog/shortcodes/#multilingual-quotes
show_original_quote = "मौलिक उद्धरण दिखाएं"
show_translation = "अनुवाद दिखाएं"
open_quotation_mark = "“"
close_quotation_mark = "”"
# Translations for stylised Atom feed.
# https://welpo.github.io/tabi/atom.xml
# Must contain "About Feeds"; it will become a link.
about_feeds = "यह एक वेब फ़ीड है, जिसे एटम फ़ीड भी कहा जाता है। अपने न्यूज़रीडर में एड्रेस बार से URL कॉपी करके सब्सक्राइब करें। About Feeds पर जाकर और अधिक जानकारी प्राप्त करें और शुरू करें। यह सेवा मुफ़्त है।"
visit_the_site = "वेबसाइट पर जाएं"
recent_posts = "हाल की पोस्ट्स"

56
i18n/it.toml Normal file
View File

@@ -0,0 +1,56 @@
language_name = "Italiano" # Shown in language picker for multi-language sites.
date_locale = "it_IT"
full_stop = "." # Used at the end of a sentence.
# Menu items.
# Should match the names in config.extra.menu.
blog = "blog"
archive = "archivio"
tags = "tag"
projects = "progetti"
# Navigation.
read_more = "Leggi di più"
post = "post"
posts = "post" # Plural of "post".
prev = "Precedente" # As in "Previous" page.
next = "Successivo" # As in "Next" page.
of = "di" # E.g. Page 1 "of" 3
all_posts = "Tutti i post"
all_tags = "Tutti i tag"
# Post metadata.
draft = "BOZZA"
min_read = "min di lettura"
words = "parole"
last_updated_on = "Ultimo aggiornamento il"
see_changes = "Vedi modifiche"
# Post body.
table_of_contents = "Indice"
load_comments = "Carica commenti"
# Footer: Powered by Zola and tabi.
powered_by = "Alimentato da"
and = "e"
site_source = "Codice del sito"
# 404 error.
page_missing = "La pagina che hai richiesto sembra non esistere"
translation_missing = "o non è ancora stata tradotta nella tua lingua"
check_url = "Controlla l'URL per errori o"
go_home = "torna alla homepage"
# For multilingual quote shortcode.
# https://welpo.github.io/tabi/blog/shortcodes/#multilingual-quotes
show_original_quote = "Mostra citazione originale"
show_translation = "Mostra traduzione"
open_quotation_mark = "«"
close_quotation_mark = "»"
# Translations for stylised Atom feed.
# https://welpo.github.io/tabi/atom.xml
# Must contain "About Feeds"; it will become a link.
about_feeds = "Questo è un feed web, noto anche come feed Atom. Iscriviti copiando l'URL dalla barra degli indirizzi nel tuo lettore di notizie. Visita About Feeds per saperne di più e iniziare. È gratuito."
visit_the_site = "Visita il sito web"
recent_posts = "Post recenti"

61
i18n/ja.toml Normal file
View File

@@ -0,0 +1,61 @@
# This has been machine translated.
# If you would like to help correct errors or improve the translation,
# please open an issue or submit a pull request.
# https://github.com/welpo/tabi
language_name = "日本語" # Shown in language picker for multi-language sites.
date_locale = "ja_JP"
full_stop = "。" # Used at the end of a sentence.
# Menu items.
# Should match the names in config.extra.menu
blog = "ブログ"
archive = "アーカイブ"
tags = "タグ"
projects = "プロジェクト"
# Navigation.
read_more = "続きを読む"
post = "投稿"
posts = "投稿一覧" # Plural of "post".
prev = "前" # As in "Previous" page.
next = "次" # As in "Next" page.
of = "中" # E.g. Page 1 "of" 3
all_posts = "すべての投稿"
all_tags = "すべてのタグ"
# Post metadata.
draft = "ドラフト"
min_read = "読了時間(分)"
words = "単語数"
last_updated_on = "最終更新日"
see_changes = "変更を見る"
# Post body.
table_of_contents = "目次"
load_comments = "コメントを読む"
# Footer: Powered by Zola and tabi.
powered_by = "Powered by"
and = "と"
site_source = "サイトのソースコード"
# 404 error.
# https://welpo.github.io/tabi/404.html
page_missing = "お探しのページは存在しません"
translation_missing = "または、まだあなたの言語に翻訳されていません"
check_url = "URLが正しいか確認してください、または"
go_home = "ホームページに戻る"
# For multilingual quote shortcode.
# https://welpo.github.io/tabi/blog/shortcodes/#multilingual-quotes
show_original_quote = "オリジナルの引用を見る"
show_translation = "翻訳を見る"
open_quotation_mark = "「"
close_quotation_mark = "」"
# Translations for stylised Atom feed.
# https://welpo.github.io/tabi/atom.xml
# Must contain "About Feeds"; it will become a link.
about_feeds = "これはウェブフィードです、また、Atomフィードとしても知られています。URLをアドレスバーからニュースリーダーにコピーして登録してください。About Feedsを訪れて、詳細を知り、始めてください。無料です。"
visit_the_site = "ウェブサイトを訪れる"
recent_posts = "最近の投稿"

61
i18n/ko.toml Normal file
View File

@@ -0,0 +1,61 @@
# This has been machine translated.
# If you would like to help correct errors or improve the translation,
# please open an issue or submit a pull request.
# https://github.com/welpo/tabi
language_name = "한국어" # Shown in language picker for multi-language sites.
date_locale = "ko_KR"
full_stop = "." # Used at the end of a sentence.
# Menu items.
# Should match the names in config.extra.menu
blog = "블로그"
archive = "아카이브"
tags = "태그"
projects = "프로젝트"
# Navigation.
read_more = "더 읽기"
post = "게시물"
posts = "게시물" # Plural of "post".
prev = "이전" # As in "Previous" page.
next = "다음" # As in "Next" page.
of = "중" # E.g. Page 1 "of" 3
all_posts = "모든 게시물"
all_tags = "모든 태그"
# Post metadata.
draft = "임시 저장"
min_read = "분 읽기"
words = "단어"
last_updated_on = "최근 업데이트"
see_changes = "변경사항 보기"
# Post body.
table_of_contents = "목차"
load_comments = "댓글 불러오기"
# Footer: Powered by Zola and tabi.
powered_by = "제공됨"
and = "&"
site_source = "사이트 소스"
# 404 error.
# https://welpo.github.io/tabi/404.html
page_missing = "요청하신 페이지가 없습니다"
translation_missing = "또는 아직 해당 언어로 번역되지 않았습니다"
check_url = "URL을 확인하거나"
go_home = "홈페이지로 돌아가기"
# For multilingual quote shortcode.
# https://welpo.github.io/tabi/blog/shortcodes/#multilingual-quotes
show_original_quote = "원문 인용 보기"
show_translation = "번역 보기"
open_quotation_mark = "“"
close_quotation_mark = "”"
# Translations for stylised Atom feed.
# https://welpo.github.io/tabi/atom.xml
# Must contain "About Feeds"; it will become a link.
about_feeds = "이것은 웹 피드이며, Atom 피드로도 알려져 있습니다. 주소 표시 줄의 URL을 뉴스 리더로 복사하여 구독하세요. About Feeds를 방문하여 자세히 알아보고 시작하세요. 무료입니다."
visit_the_site = "웹사이트 방문하기"
recent_posts = "최근 게시물"

57
i18n/pt.toml Normal file
View File

@@ -0,0 +1,57 @@
language_name = "Português" # Shown in language picker for multi-language sites.
date_locale = "pt_PT"
full_stop = "." # Used at the end of a sentence.
# Menu items.
# Should match the names in config.extra.menu
blog = "blog"
archive = "arquivo"
tags = "etiquetas"
projects = "projetos"
# Navigation.
read_more = "Ler mais"
post = "publicação"
posts = "publicações" # Plural of "post".
prev = "Anterior" # As in "Previous" page.
next = "Seguinte" # As in "Next" page.
of = "de" # E.g. Page 1 "of" 3
all_posts = "Todas as publicações"
all_tags = "Todas as etiquetas"
# Post metadata.
draft = "RASCUNHO"
min_read = "min de leitura"
words = "palavras"
last_updated_on = "Última atualização em"
see_changes = "Ver alterações"
# Post body.
table_of_contents = "Índice de conteúdo"
load_comments = "Carregar comentários"
# Footer: Powered by Zola and tabi.
powered_by = "Impulsionado por"
and = "e"
site_source = "Código do site"
# 404 error.
# https://welpo.github.io/tabi/404.html
page_missing = "A página que solicitou não existe"
translation_missing = "ou ainda não foi traduzida para o seu idioma"
check_url = "Verifique se o URL está correto ou"
go_home = "volte à página inicial"
# For multilingual quote shortcode.
# https://welpo.github.io/tabi/blog/shortcodes/#multilingual-quotes
show_original_quote = "Mostrar citação original"
show_translation = "Mostrar tradução"
open_quotation_mark = "«"
close_quotation_mark = "»"
# Translations for stylised Atom feed.
# https://welpo.github.io/tabi/atom.xml
# Must contain "About Feeds"; it will become a link.
about_feeds = "Isto é um feed web, também conhecido como feed Atom. Subscreva copiando o URL da barra de endereços para o seu leitor de notícias. Visite About Feeds para aprender mais e começar. É grátis."
visit_the_site = "Visite o website"
recent_posts = "Publicações recentes"

57
i18n/ru.toml Normal file
View File

@@ -0,0 +1,57 @@
language_name = "Русский" # Shown in language picker for multi-language sites.
date_locale = "ru_RU"
full-stop = "." # Used at the end of a sentence.
# Menu items.
# Should match the names in config.extra.menu.
blog = "блог"
archive = "архив"
tags = "теги"
projects = "проекты"
# Navigation.
read_more = "Читать далее"
post = "пост"
posts = "посты" # Plural of "post".
prev = "Пред." # As in "Previous" page.
next = "След." # As in "Next" page.
of = "из" # E.g. Page 1 "of" 3
all_posts = "Все посты"
all_tags = "Все теги"
# Post metadata.
draft = "ЧЕРНОВИК"
min_read = "мин чтения"
words = "слова"
last_updated_on = "Последнее обновление"
see_changes = "Смотреть изменения"
# Post body.
table_of_contents = "Содержание"
load_comments = "Загрузить комментарии"
# Footer: Powered by Zola and tabi.
powered_by = "Под управлением"
and = "&"
site_source = "Исходный код сайта"
# 404 error.
# https://welpo.github.io/tabi/404.html
page_missing = "Запрашиваемая вами страница отсутствует"
translation_missing = "или еще не переведена на ваш язык"
check_url = "Проверьте URL на ошибки или"
go_home = "вернитесь на главную страницу"
# For multilingual quote shortcode.
# https://welpo.github.io/tabi/blog/shortcodes/#multilingual-quotes
show_original_quote = "Показать оригинальную цитату"
show_translation = "Показать перевод"
open_quotation_mark = "«"
close_quotation_mark = "»"
# Translations for stylised Atom feed.
# https://welpo.github.io/tabi/atom.xml
# Must contain "About Feeds"; it will become a link.
about_feeds = "Это веб-фид, известный также как Atom-фид. Чтобы подписаться, скопируйте URL из адресной строки в ваш RSS-ридер. Посетите About Feeds для дополнительной информации и начала использования."
visit_the_site = "Посетить веб-сайт"
recent_posts = "Последние посты"

61
i18n/uk.toml Normal file
View File

@@ -0,0 +1,61 @@
# This has been machine translated.
# If you would like to help correct errors or improve the translation,
# please open an issue or submit a pull request.
# https://github.com/welpo/tabi
language_name = "Українська" # Shown in language picker for multi-language sites.
date_locale = "uk_UA"
full-stop = "." # Used at the end of a sentence.
# Menu items.
# Should match the names in config.extra.menu
blog = "блог"
archive = "архів"
tags = "теги"
projects = "проєкти"
# Navigation.
read_more = "Читати далі"
post = "пост"
posts = "пости" # Plural of "post".
prev = "Попер." # As in "Previous" page.
next = "Наст." # As in "Next" page.
of = "з" # E.g. Page 1 "of" 3
all_posts = "Всі пости"
all_tags = "Всі теги"
# Post metadata.
draft = "ЧЕРНЕТКА"
min_read = "хв. читання"
words = "слова"
last_updated_on = "Останнє оновлення"
see_changes = "Переглянути зміни"
# Post body.
table_of_contents = "Зміст"
load_comments = "Завантажити коментарі"
# Footer: Powered by Zola and tabi.
powered_by = "Під управлінням"
and = "та"
site_source = "Вихідний код сайту"
# 404 error.
# https://welpo.github.io/tabi/404.html
page_missing = "Сторінка, яку ви запитуєте, відсутня"
translation_missing = "або ще не перекладена на вашу мову"
check_url = "Перевірте URL на помилки або"
go_home = "поверніться на головну сторінку"
# For multilingual quote shortcode.
# https://welpo.github.io/tabi/blog/shortcodes/#multilingual-quotes
show_original_quote = "Показати оригінальну цитату"
show_translation = "Показати переклад"
open_quotation_mark = "«"
close_quotation_mark = "»"
# Translations for stylised Atom feed.
# https://welpo.github.io/tabi/atom.xml
# Must contain "About Feeds"; it will become a link.
about_feeds = "Це веб-канал, також відомий як Atom-канал. Щоб підписатися, скопіюйте URL з адресного рядка у ваш RSS-читач. Відвідайте About Feeds для додаткової інформації та початку використання."
visit_the_site = "Відвідати веб-сайт"
recent_posts = "Останні пости"

61
i18n/zh.toml Normal file
View File

@@ -0,0 +1,61 @@
# This has been machine translated.
# If you would like to help correct errors or improve the translation,
# please open an issue or submit a pull request.
# https://github.com/welpo/tabi
language_name = "简体中文" # Shown in language picker for multi-language sites.
date_locale = "zh_CN"
full_stop = "。" # Used at the end of a sentence.
# Menu items.
# Should match the names in config.extra.menu.
blog = "博客"
archive = "归档"
tags = "标签"
projects = "项目"
# Navigation.
read_more = "阅读更多"
post = "文章"
posts = "文章" # Plural of "post".
prev = "上一页" # As in "Previous" page.
next = "下一页" # As in "Next" page.
of = "/" # E.g. Page 1 "of" 3
all_posts = "所有文章"
all_tags = "所有标签"
# Post metadata.
draft = "草稿"
min_read = "分钟阅读"
words = "单词"
last_updated_on = "最后更新于"
see_changes = "查看更改"
# Post body.
table_of_contents = "目录"
load_comments = "加载评论"
# Footer: Powered by Zola and tabi.
powered_by = "由"
and = "和"
site_source = "网站源代码"
# 404 error.
# https://welpo.github.io/tabi/404.html
page_missing = "您请求的页面似乎不存在"
translation_missing = "或尚未翻译成您的语言"
check_url = "请检查URL是否有误或"
go_home = "返回首页"
# For multilingual quote shortcode.
# https://welpo.github.io/tabi/blog/shortcodes/#multilingual-quotes
show_original_quote = "显示原文引用"
show_translation = "显示译文"
open_quotation_mark = "“"
close_quotation_mark = "”"
# Translations for stylised Atom feed.
# https://welpo.github.io/tabi/atom.xml
# Must contain "About Feeds"; it will become a link.
about_feeds = "这是一个网页订阅源也称为Atom订阅源。通过复制地址栏中的URL到您的新闻阅读器订阅。访问 About Feeds 了解更多并开始使用。免费。"
visit_the_site = "访问网站"
recent_posts = "近期文章"