From fa06e5cd9ab4a7d3b0ee5dea5ed4d83ee921f9d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parti=20G=C3=A1bor?= <58829179+partigabor@users.noreply.github.com> Date: Fri, 28 Jul 2023 11:46:16 +0800 Subject: [PATCH 1/3] Create hu.toml Hungarian language version of the i18 multilingual mappings for Hugo, based on the English version en.toml. --- i18n/hu.toml | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 i18n/hu.toml diff --git a/i18n/hu.toml b/i18n/hu.toml new file mode 100644 index 0000000000..f624b5d0e4 --- /dev/null +++ b/i18n/hu.toml @@ -0,0 +1,107 @@ +[Reading-direction] +other = "ltr" + +[Search] +other = "Keresés" + +[Search-placeholder] +other = "Keresés..." + +[No-results-found] +other = "Nincs találat a(z) \"{0}\" kifejezésre" + +[N-results-found] +other = "{1} találat a(z) \"{0}\" kifejezésre" + +[Clear-History] +other = "Előzmények törlése" + +[Attachments-label] +other = "Csatolmányok" + +[title-404] +other = "Az oldal nem található" + +[message-404] +other = "Hoppá. Úgy tűnik, hogy ez az oldal nem létezik ¯\\_(ツ)_/¯." + +[Go-to-homepage] +other = "Menj a kezdőlapra" + +[Edit-this-page] +other = "Szerkesztés" + +[Print-this-chapter] +other = "Teljes fejezet nyomtatása" + +[Shortcuts-Title] +other = "Több" + +[Expand-title] +other = "Nyiss ki..." + +[Navigation-toggle] +other = "Menü" + +[Toc-toggle] +other = "Tartalomjegyzék" + +[Byte-symbol] +other = "B" + +[Kilobyte-symbol] +other = "KB" + +[Megabyte-symbol] +other = "MB" + +[note] +other = "Jegyzet" + +[info] +other = "Infó" + +[tip] +other = "Tipp" + +[warning] +other = "Figyelem" + +[Copy-to-clipboard] +other = "Vágólapra másolás" + +[Copied-to-clipboard] +other = "Vágólapra másolva!" + +[Copy-link-to-clipboard] +other = "Link vágólapra másolása" + +[Link-copied-to-clipboard] +other = "Link vágólapra másolva!" + +[Chapter] +other = "{{.}} fejezet" + +[Language] +other = "Nyelv" + +[Theme] +other = "Téma" + +[Submenu] +other = "{{.}} almenü" + +[Subsections] +other = "{{.}} alszekciói" + +[tags] +other = "Címkék" + +[tag] +other = "Címke" + +[categories] +other = "Kategóriák" + +[category] +other = "Kategória" From aa7c26707c27fa01c25420cabacc58bed69de7f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parti=20G=C3=A1bor?= <58829179+partigabor@users.noreply.github.com> Date: Sat, 29 Jul 2023 09:59:13 +0800 Subject: [PATCH 2/3] Update hu.toml Added and translated: [Clear-search] Revised: [Shortcuts-title] --- i18n/hu.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/i18n/hu.toml b/i18n/hu.toml index f624b5d0e4..32af4634b6 100644 --- a/i18n/hu.toml +++ b/i18n/hu.toml @@ -16,6 +16,9 @@ other = "{1} találat a(z) \"{0}\" kifejezésre" [Clear-History] other = "Előzmények törlése" +[Clear-search] +other = "Keresések törlése" + [Attachments-label] other = "Csatolmányok" @@ -35,7 +38,7 @@ other = "Szerkesztés" other = "Teljes fejezet nyomtatása" [Shortcuts-Title] -other = "Több" +other = "Egyebek" [Expand-title] other = "Nyiss ki..." From d20fc8377cd53534c39968dbac2f463c7adbb9ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Mon, 31 Jul 2023 16:14:35 +0200 Subject: [PATCH 3/3] i18n: add Hungarian translation #604 --- README.md | 2 +- exampleSite/content/_index.en.md | 2 +- exampleSite/content/basics/migration/_index.en.md | 14 ++++++++++---- exampleSite/content/cont/i18n/_index.en.md | 2 +- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 173819fb47..e5302505ea 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ The Relearn theme is a fork of the great [Learn theme](https://github.com/matcor - [Configurable shortcut links](https://mcshelby.github.io/hugo-theme-relearn/cont/menushortcuts) - **Multi language support** - [Full support for languages written right to left](https://mcshelby.github.io/hugo-theme-relearn/cont/i18n) - - [Available languages](https://mcshelby.github.io/hugo-theme-relearn/cont/i18n#basic-configuration): Arabic, Simplified Chinese, Traditional Chinese, Czech, Dutch, English, Finnish, French, German, Hindi, Indonesian, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish, Turkish, Vietnamese + - [Available languages](https://mcshelby.github.io/hugo-theme-relearn/cont/i18n#basic-configuration): Arabic, Simplified Chinese, Traditional Chinese, Czech, Dutch, English, Finnish, French, German, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish, Turkish, Vietnamese - [Search support for mixed language content](https://mcshelby.github.io/hugo-theme-relearn/cont/i18n#search) - **Additional Markdown features** - [Support for GFM (GitHub Flavored Markdown](https://mcshelby.github.io/hugo-theme-relearn/cont/markdown) diff --git a/exampleSite/content/_index.en.md b/exampleSite/content/_index.en.md index bad1e4d24c..f045a02629 100644 --- a/exampleSite/content/_index.en.md +++ b/exampleSite/content/_index.en.md @@ -41,7 +41,7 @@ The theme is a fork of the great [Learn theme](https://github.com/matcornic/hugo - [Configurable shortcut links]({{%relref "cont/menushortcuts" %}}) - **Multi language support** - [Full support for languages written right to left]({{%relref "cont/i18n" %}}) - - [Available languages]({{%relref "cont/i18n#basic-configuration" %}}): Arabic, Simplified Chinese, Traditional Chinese, Czech, Dutch, English, Finnish, French, German, Hindi, Indonesian, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish, Turkish, Vietnamese + - [Available languages]({{%relref "cont/i18n#basic-configuration" %}}): Arabic, Simplified Chinese, Traditional Chinese, Czech, Dutch, English, Finnish, French, German, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish, Turkish, Vietnamese - [Search support for mixed language content]({{%relref "cont/i18n#search" %}}) - **Additional Markdown features** - [Support for GFM (GitHub Flavored Markdown]({{%relref "cont/markdown" %}}) diff --git a/exampleSite/content/basics/migration/_index.en.md b/exampleSite/content/basics/migration/_index.en.md index c3daae8f57..61f1dc158c 100644 --- a/exampleSite/content/basics/migration/_index.en.md +++ b/exampleSite/content/basics/migration/_index.en.md @@ -18,6 +18,12 @@ This document shows you what's new in the latest release. For a detailed list of --- +## 5.19.0 (0000-00-00) {#000} + +- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Translation into Hungarian. + +--- + ## 5.18.0 (2023-07-27) {#5180} - {{% badge style="note" title=" " %}}Change{{% /badge %}} The theme adds additional warnings for deprecated or now unsupported features. The warnings include hints how to fix them and an additional link to the documenation. @@ -170,7 +176,7 @@ This document shows you what's new in the latest release. For a detailed list of - {{% badge style="note" title=" " %}}Change{{% /badge %}} In the effort to comply with WCAG standards, the implementation of the [`expand` shortcode]({{% relref "shortcodes/expand" %}}) was changed. While Internet Explorer 11 has issues in displaying it, the functionality still works. -- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Translation for Czech. This language is not supported for search. +- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Translation into Czech. This language is not supported for search. - {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} [GitHub releases](https://github.com/McShelby/hugo-theme-relearn/tags) are also now tagged for the main version (eg. `1.2.x`), major version (eg. `1.x`) and the latest (just `x`) release making it easier for you to pin the theme to a certain version. @@ -296,7 +302,7 @@ This document shows you what's new in the latest release. For a detailed list of - {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Support for languages that are written right to left (like Arabic). This is only implemented for the content area but not the navigation sidebar. This feature is not available in Internet Explorer 11. -- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Translation for Finnish (Suomi). +- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Translation into Finnish (Suomi). --- @@ -397,7 +403,7 @@ This document shows you what's new in the latest release. For a detailed list of These two colors are the default for other, more specific color variables. You don't need to change anything in your existing custom color stylesheets as those variables get reasonable default values. -- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Translation for Polish. This language is not supported for search. +- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Translation into Polish. This language is not supported for search. - {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The documentation for all shortcodes were revised. @@ -411,7 +417,7 @@ This document shows you what's new in the latest release. For a detailed list of - {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} You can activate [print support]({{%relref "basics/configuration#activate-print-support" %}}) in your `config.toml` to add the capability to print whole chapters or even the complete site. -- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Translation for Traditional Chinese. +- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Translation into Traditional Chinese. --- diff --git a/exampleSite/content/cont/i18n/_index.en.md b/exampleSite/content/cont/i18n/_index.en.md index e315ed7497..9e49a5bd89 100644 --- a/exampleSite/content/cont/i18n/_index.en.md +++ b/exampleSite/content/cont/i18n/_index.en.md @@ -5,7 +5,7 @@ weight = 6 The Relearn theme is fully compatible with Hugo multilingual mode. -- Available languages: Arabic, Simplified Chinese, Traditional Chinese, Czech, Dutch, English, Finnish French, German, Hindi, Indonesian, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish, Turkish, Vietnamese. Feel free to contribute! +- Available languages: Arabic, Simplified Chinese, Traditional Chinese, Czech, Dutch, English, Finnish, French, German, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish, Turkish, Vietnamese. Feel free to contribute! - Full support for languages written right to left - Automatic menu generation from multilingual content - In-browser language switching