From 77e789f1a5ac64a31c9b36403252508e4e6bc7ca Mon Sep 17 00:00:00 2001 From: Andrii Serbovets Date: Thu, 23 May 2024 01:36:56 +0300 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=8C=90=20Add=20Ukrainian=20translatio?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ported from jpanther/congo#703. --- i18n/uk.yaml | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 i18n/uk.yaml diff --git a/i18n/uk.yaml b/i18n/uk.yaml new file mode 100644 index 00000000..fe41f20b --- /dev/null +++ b/i18n/uk.yaml @@ -0,0 +1,62 @@ +global: + language: "UK" + +article: + anchor_label: "Закладка" + date: "{{ .Date }}" + date_updated: "Оновлено {{ .Date }}" + draft: "Чернетка" + edit_title: "Редагувати" + reading_time: + one: "{{ .Count }} хвилину" + few: "{{ .Count }} хвилини" + many: "{{ .Count }} хвилин" + other: "{{ .Count }} хвилини" + reading_time_title: "Прочитаєте за" + table_of_contents: "Зміст" + word_count: + one: "{{ .Count }} слово" + few: "{{ .Count }} слова" + many: "{{ .Count }} слів" + other: "{{ .Count }} слова" + +author: + byline_title: "Автор" + +code: + copy: "Копіювати" + copied: "Скопійовано" + +error: + 404_title: "Немає такої сторінки :confused:" + 404_error: "Помилка 404" + 404_description: "Здається, сторінки, яка вам потрібна, не існує." + +footer: + dark_appearance: "Увімкнути темний режим" + light_appearance: "Увімкнути світлий режим" + powered_by: "Сайт працює на рушії {{ .Hugo }} зі стилем {{ .Theme }}" + +list: + externalurl_title: "Зовнішнє посилання" + no_articles: "Дописів поки що немає" + +nav: + scroll_to_top_title: "Повернутися на початок сторінки" + skip_to_main: "До тексту" + +search: + open_button_title: "Шукати (/)" + close_button_title: "Закрити (Esc)" + input_placeholder: "Введіть запит тут" + +sharing: + email: "Надіслати електронною поштою" + facebook: "Поширити на Facebook" + linkedin: "Поширити на LinkedIn" + pinterest: "Зберегти на Pinterest" + reddit: "Опублікувати на Reddit" + twitter: "Поширити на Twitter" + +shortcode: + recent_articles: "Недавні дописи" From 86c0d8d471612ce98f4de1c129195a192264f905 Mon Sep 17 00:00:00 2001 From: Bytes Mess Date: Thu, 23 May 2024 01:37:33 +0300 Subject: [PATCH 2/2] Update Ukrainian translation - Added missing fields - Mention new translation in docs --- .../content/docs/configuration/index.it.md | 1 + exampleSite/content/docs/welcome/index.md | 2 +- i18n/uk.yaml | 16 ++++++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/exampleSite/content/docs/configuration/index.it.md b/exampleSite/content/docs/configuration/index.it.md index 9ab5fc66..accb49c3 100644 --- a/exampleSite/content/docs/configuration/index.it.md +++ b/exampleSite/content/docs/configuration/index.it.md @@ -88,6 +88,7 @@ The theme currently supports the following languages by default: | Russian | `ru` | | Turkish | `tr` | | Vietnamese | `vi` | +| Ukrainian | `uk` | | Simplified Chinese (China) | `zh-cn` | | Traditional Chinese (Taiwan) | `zh-tw` | diff --git a/exampleSite/content/docs/welcome/index.md b/exampleSite/content/docs/welcome/index.md index e3795834..733600b5 100644 --- a/exampleSite/content/docs/welcome/index.md +++ b/exampleSite/content/docs/welcome/index.md @@ -26,7 +26,7 @@ A highly requested feature, Blowfish is now multilingual! If you publish your co
:gb: :de: :fr: :es: :cn: :brazil: :tr: :bangladesh:
-Thanks to submissions from the community, Blowfish has already been translated into [twenty-seven languages](https://github.com/nunocoracao/blowfish/tree/main/i18n) with more to be added over time. By the way, [pull requests](https://github.com/nunocoracao/blowfish/pulls) for new languages are always welcome! +Thanks to submissions from the community, Blowfish has already been translated into [twenty-eight languages](https://github.com/nunocoracao/blowfish/tree/main/i18n) with more to be added over time. By the way, [pull requests](https://github.com/nunocoracao/blowfish/pulls) for new languages are always welcome! ## RTL language support diff --git a/i18n/uk.yaml b/i18n/uk.yaml index fe41f20b..74655910 100644 --- a/i18n/uk.yaml +++ b/i18n/uk.yaml @@ -19,6 +19,19 @@ article: few: "{{ .Count }} слова" many: "{{ .Count }} слів" other: "{{ .Count }} слова" + views: + one: "{{ .Count }} view" + other: "{{ .Count }} views" + likes: + one: "{{ .Count }} like" + other: "{{ .Count }} likes" + part_of_series: "This article is part of a series." + part: "Part" + this_article: "This Article" + related_articles: "Related" + zen_mode_title: + enable: "Enable zen mode" + disable: "Disable zen mode" author: byline_title: "Автор" @@ -60,3 +73,6 @@ sharing: shortcode: recent_articles: "Недавні дописи" + +recent: + show_more: "Show More"