diff --git a/CHANGELOG.md b/CHANGELOG.md index 087d3934..e017bba5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +## [2.5.4] - 2023-03-20 + +### Added + +- Polish translation ([#497](https://github.com/jpanther/congo/pull/497)) + +### Changed + +- Updated Russian translation ([#502](https://github.com/jpanther/congo/pull/502)) + +### Fixed + +- Bengali translation prevents site building in certain configurations ([#503](https://github.com/jpanther/congo/issues/503)) + ## [2.5.3] - 2023-03-05 ### Added @@ -645,7 +659,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Advanced customisation using simple Tailwind colour definitions and styles - Fully documented -[Unreleased]: https://github.com/jpanther/congo/compare/v2.5.3...HEAD +[Unreleased]: https://github.com/jpanther/congo/compare/v2.5.4...HEAD +[2.5.4]: https://github.com/jpanther/congo/compare/v2.5.3...v2.5.4 [2.5.3]: https://github.com/jpanther/congo/compare/v2.5.2...v2.5.3 [2.5.2]: https://github.com/jpanther/congo/compare/v2.5.1...v2.5.2 [2.5.1]: https://github.com/jpanther/congo/compare/v2.5.0...v2.5.1 diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index bc8034d6..e3cafd2f 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1,4 +1,4 @@ -/*! Congo v2.5.3 | MIT License | https://github.com/jpanther/congo */ +/*! Congo v2.5.4 | MIT License | https://github.com/jpanther/congo */ /*! tailwindcss v3.2.7 | MIT License | https://tailwindcss.com */ diff --git a/assets/css/main.css b/assets/css/main.css index 801ca203..19300e52 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,4 +1,4 @@ -/*! Congo v2.5.3 | MIT License | https://github.com/jpanther/congo */ +/*! Congo v2.5.4 | MIT License | https://github.com/jpanther/congo */ @tailwind base; @tailwind components; diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index 0721543e..7d439b55 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -63,6 +63,7 @@ The theme currently supports the following languages out of the box: | :indonesia: Indonesian | `id` | | :it: Italian | `it` | | :jp: Japanese | `ja` | +| :poland: Polish | `pl` | | :brazil: Portuguese (Brazil) | `pt-br` | | :portugal: Portuguese (Portugal) | `pt-pt` | | :romania: Romanian | `ro` | diff --git a/i18n/bn.yaml b/i18n/bn.yaml index 847395a0..acd7602e 100644 --- a/i18n/bn.yaml +++ b/i18n/bn.yaml @@ -1,56 +1,56 @@ -article: - anchor_label: "Anchor" - date: "{{ .Date }}" - date_updated: "সর্বশেষ সম্পাদনার তারিখ: {{ .Date }}" - draft: "খসড়া" - edit_title: "সম্পাদনা করুন" - reading_time: - one: "{{ .Count }} মিনিট" - other: "{{ .Count }} মিনিট" - reading_time_title: "পড়ার সময়" - table_of_contents: "বিষয়সূচী" - word_count: - one: "{{ .Count }} টি শব্দ" - other: "{{ .Count }} টি শব্দ" - -author: - byline_title: "লেখক" - -code: - copy: "কপি করুন" - copied: "কপি হয়ে গেছে" - -error: - 404_title: "পেজটি খুঁজে পাওয়া যায়নি :confused:" - 404_error: "Error 404" - 404_description: "মনে হচ্ছে, আপনার অনুরোধ করা পেজটি খুঁজে পাওয়া যায়নি।" - -footer: - dark_appearance: "ডার্ক মোডে স্যুইচ করুন" - light_appearance: "লাইট মোডে স্যুইচ করুন" - powered_by: "{{ .Hugo }} এবং {{ .Congo }} দ্বারা চালিত" - -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: "ফেসবুকে শেয়ার করুন" - linkedin: "লিংকডইনে শেয়ার করুন" - # mastodon: "Toot on Mastodon" - pinterest: "পিন্টারেস্টে পিন করুন" - reddit: "রেড্ডিটে জমা দিন" - twitter: "ট্যুইট করুন" - -shortcode: - recent_articles: "সাম্প্রতিক" +article: + anchor_label: "Anchor" + date: "{{ .Date }}" + date_updated: "সর্বশেষ সম্পাদনার তারিখ: {{ .Date }}" + draft: "খসড়া" + edit_title: "সম্পাদনা করুন" + reading_time: + one: "{{ .Count }} মিনিট" + other: "{{ .Count }} মিনিট" + reading_time_title: "পড়ার সময়" + table_of_contents: "বিষয়সূচী" + word_count: + one: "{{ .Count }} টি শব্দ" + other: "{{ .Count }} টি শব্দ" + +author: + byline_title: "লেখক" + +code: + copy: "কপি করুন" + copied: "কপি হয়ে গেছে" + +error: + 404_title: "পেজটি খুঁজে পাওয়া যায়নি :confused:" + 404_error: "Error 404" + 404_description: "মনে হচ্ছে, আপনার অনুরোধ করা পেজটি খুঁজে পাওয়া যায়নি।" + +footer: + dark_appearance: "ডার্ক মোডে স্যুইচ করুন" + light_appearance: "লাইট মোডে স্যুইচ করুন" + powered_by: "{{ .Hugo }} এবং {{ .Congo }} দ্বারা চালিত" + +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: "ফেসবুকে শেয়ার করুন" + linkedin: "লিংকডইনে শেয়ার করুন" + # mastodon: "Toot on Mastodon" + pinterest: "পিন্টারেস্টে পিন করুন" + reddit: "রেড্ডিটে জমা দিন" + twitter: "ট্যুইট করুন" + +shortcode: + recent_articles: "সাম্প্রতিক" diff --git a/i18n/pl.yaml b/i18n/pl.yaml new file mode 100644 index 00000000..7871ab2b --- /dev/null +++ b/i18n/pl.yaml @@ -0,0 +1,56 @@ +article: + anchor_label: "Kotwica" + date: "{{ .Date }}" + date_updated: "Zaktualizowano: {{ .Date }}" + draft: "Szkic" + edit_title: "Edytuj treść" + reading_time: + one: "{{ .Count }} minuta" + other: "{{ .Count }} minut" + reading_time_title: "Przeczytasz w" + table_of_contents: "Spis treści" + word_count: + one: "{{ .Count }} słowo" + other: "{{ .Count }} słów" + +author: + byline_title: "Autor" + +code: + copy: "Kopiuj" + copied: "Skopiowano" + +error: + 404_title: "Strona nie została znaleziona :confused:" + 404_error: "Błąd 404" + 404_description: "Wygląda na to, że strona, której zażądałeś nie istnieje." + +footer: + dark_appearance: "Przełącz się na ciemny motyw" + light_appearance: "Przełączenie na jasny motyw" + powered_by: "Napędzany przez {{ .Hugo }} & {{ .Congo }}" + +list: + externalurl_title: "Link do strony zewnętrznej" + no_articles: "Nie ma jeszcze artykułów, które można by tu wyświetlić." + +nav: + scroll_to_top_title: "Przewiń do góry" + skip_to_main: "Przejdź do głównej treści" + +search: + open_button_title: "Szukaj (/)" + close_button_title: "Zamknij (Esc)" + input_placeholder: "Szukaj" + +sharing: + email: "Wyślij przez e-mail" + facebook: "Udostępnij na Facebook" + linkedin: "Udostępnij na LinkedIn" + mastodon: "Udostępnij na Mastodon" + pinterest: "Udostępnij na Pinterest" + reddit: "Udostępnij na Reddit" + twitter: "Udostępnij na Twitter" + +shortcode: + recent_articles: "Ostatnie" diff --git a/i18n/ru.yaml b/i18n/ru.yaml index 92432255..c66146ce 100644 --- a/i18n/ru.yaml +++ b/i18n/ru.yaml @@ -5,13 +5,17 @@ article: draft: "Черновик" edit_title: "Редактировать" reading_time: - one: "{ .Count }} минута" + one: "{{ .Count }} минута" + few: "{{ .Count }} минуты" + many: "{{ .Count }} минут" other: "{{ .Count }} минут" reading_time_title: "Время чтения" table_of_contents: "Содержание" word_count: - one: "{ .Count }} слово" - other: "{ .Count }} слов" + one: "{{ .Count }} слово" + few: "{{ .Count }} слова" + many: "{{ .Count }} слов" + other: "{{ .Count }} слов" author: byline_title: "Автор" @@ -21,17 +25,17 @@ code: copied: "Скопировано" error: - 404_title: "Страница не найдена: бывает:" + 404_title: "Страница не найдена :confused:" 404_error: "Ошибка 404" 404_description: "Похоже, что запрошенная вами страница не существует." footer: dark_appearance: "Переключиться на темную тему" - light_appearance: "Переключитесь на светлый тему" - powered_by: "Создано {{ .Hugo }} & {{ .Congo }}" + light_appearance: "Переключиться на светлую тему" + powered_by: "Работает на {{ .Hugo }} & {{ .Congo }}" list: - externalurl_title: "Ссылка на вшений сайт" + externalurl_title: "Ссылка на внешний сайт" no_articles: "Здесь пока нет статей" nav: diff --git a/package-lock.json b/package-lock.json index 79504adf..77beb578 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hugo-congo-theme", - "version": "2.5.2", + "version": "2.5.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "hugo-congo-theme", - "version": "2.5.2", + "version": "2.5.3", "hasInstallScript": true, "license": "MIT", "devDependencies": { @@ -17,8 +17,8 @@ "mermaid": "^9.4.0", "prettier": "^2.8.4", "prettier-plugin-go-template": "^0.0.13", - "prettier-plugin-tailwindcss": "^0.2.4", - "rimraf": "^4.3.0", + "prettier-plugin-tailwindcss": "^0.2.5", + "rimraf": "^4.4.0", "tailwindcss": "^3.2.7", "vendor-copy": "^3.0.1" }, @@ -1412,9 +1412,9 @@ } }, "node_modules/prettier-plugin-tailwindcss": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.2.4.tgz", - "integrity": "sha512-wMyugRI2yD8gqmMpZSS8kTA0gGeKozX/R+w8iWE+yiCZL09zY0SvfiHfHabNhjGhzxlQ2S2VuTxPE3T72vppCQ==", + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.2.5.tgz", + "integrity": "sha512-vZ/iKieyCx0WTxHbkf5E1rBlv/ybFk8WTT4hL5W2jlVxum2Zbe0jMUpuQdDrpa4z2vnPiJ5KIWCqL/kd16fKYg==", "dev": true, "engines": { "node": ">=12.17.0" @@ -1566,9 +1566,9 @@ } }, "node_modules/rimraf": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-4.3.0.tgz", - "integrity": "sha512-5qVDXPbByA1qSJEWMv1qAwKsoS22vVpsL2QyxCKBw4gf6XiFo1K3uRLY6uSOOBFDwnqAZtnbILqWKKlzh8bkGg==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-4.4.0.tgz", + "integrity": "sha512-X36S+qpCUR0HjXlkDe4NAOhS//aHH0Z+h8Ckf2auGJk3PTnx5rLmrHkwNdbVQuCSUhOyFrlRvFEllZOYE+yZGQ==", "dev": true, "dependencies": { "glob": "^9.2.0" @@ -2812,9 +2812,9 @@ } }, "prettier-plugin-tailwindcss": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.2.4.tgz", - "integrity": "sha512-wMyugRI2yD8gqmMpZSS8kTA0gGeKozX/R+w8iWE+yiCZL09zY0SvfiHfHabNhjGhzxlQ2S2VuTxPE3T72vppCQ==", + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.2.5.tgz", + "integrity": "sha512-vZ/iKieyCx0WTxHbkf5E1rBlv/ybFk8WTT4hL5W2jlVxum2Zbe0jMUpuQdDrpa4z2vnPiJ5KIWCqL/kd16fKYg==", "dev": true, "requires": {} }, @@ -2866,9 +2866,9 @@ "dev": true }, "rimraf": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-4.3.0.tgz", - "integrity": "sha512-5qVDXPbByA1qSJEWMv1qAwKsoS22vVpsL2QyxCKBw4gf6XiFo1K3uRLY6uSOOBFDwnqAZtnbILqWKKlzh8bkGg==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-4.4.0.tgz", + "integrity": "sha512-X36S+qpCUR0HjXlkDe4NAOhS//aHH0Z+h8Ckf2auGJk3PTnx5rLmrHkwNdbVQuCSUhOyFrlRvFEllZOYE+yZGQ==", "dev": true, "requires": { "glob": "^9.2.0" diff --git a/package.json b/package.json index e3479739..fc94cefa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-congo-theme", - "version": "2.5.3", + "version": "2.5.4", "description": "Congo theme for Hugo", "scripts": { "preinstall": "rimraf assets/lib", @@ -36,8 +36,8 @@ "mermaid": "^9.4.0", "prettier": "^2.8.4", "prettier-plugin-go-template": "^0.0.13", - "prettier-plugin-tailwindcss": "^0.2.4", - "rimraf": "^4.3.0", + "prettier-plugin-tailwindcss": "^0.2.5", + "rimraf": "^4.4.0", "tailwindcss": "^3.2.7", "vendor-copy": "^3.0.1" },