From 2abefd4582108bdf726d1b62f2fd868bdff45cc8 Mon Sep 17 00:00:00 2001
From: Rafael Laszlo <rlacko99@gmail.com>
Date: Fri, 24 Dec 2021 19:56:57 +0100
Subject: [PATCH] Add Hungarian language

Former-commit-id: bb92e4f17f23a560bcd24c044a9a09b9000cf660
---
 app/docusaurus.config.js                      |   7 +-
 app/i18n/hu/code.json                         | 198 ++++++++++++++++++
 .../options.json                              |  14 ++
 .../options.json                              |  14 ++
 .../current.json                              |  10 +
 .../hu/docusaurus-theme-classic/footer.json   |   6 +
 .../hu/docusaurus-theme-classic/navbar.json   |  30 +++
 7 files changed, 277 insertions(+), 2 deletions(-)
 create mode 100644 app/i18n/hu/code.json
 create mode 100644 app/i18n/hu/docusaurus-plugin-content-blog-news/options.json
 create mode 100644 app/i18n/hu/docusaurus-plugin-content-blog/options.json
 create mode 100644 app/i18n/hu/docusaurus-plugin-content-docs/current.json
 create mode 100644 app/i18n/hu/docusaurus-theme-classic/footer.json
 create mode 100644 app/i18n/hu/docusaurus-theme-classic/navbar.json

diff --git a/app/docusaurus.config.js b/app/docusaurus.config.js
index 4d0d143..77ca3c6 100644
--- a/app/docusaurus.config.js
+++ b/app/docusaurus.config.js
@@ -78,13 +78,16 @@ const config = {
         id: "news",
         routeBasePath: "/news",
         path: "./news",
-        blogSidebarTitle: "Legfrisebb hírek",
-        blogTitle: "Hírek",
         authorsMapPath: "../blog/authors.yml",
       },
     ],
     "plugin-image-zoom",
   ],
+
+  i18n: {
+    defaultLocale: "hu",
+    locales: ["hu"],
+  },
 };
 
 module.exports = config;
diff --git a/app/i18n/hu/code.json b/app/i18n/hu/code.json
new file mode 100644
index 0000000..48658da
--- /dev/null
+++ b/app/i18n/hu/code.json
@@ -0,0 +1,198 @@
+{
+  "theme.ErrorPageContent.title": {
+    "message": "Ezen az oldalon hiba történt.",
+    "description": "The title of the fallback page when the page crashed"
+  },
+  "theme.ErrorPageContent.tryAgain": {
+    "message": "Újra próbálkozás",
+    "description": "The label of the button to try again when the page crashed"
+  },
+  "theme.NotFound.title": {
+    "message": "Ez az oldal nem található",
+    "description": "The title of the 404 page"
+  },
+  "theme.NotFound.p1": {
+    "message": "A megadott oldalt nem találtuk meg.",
+    "description": "The first paragraph of the 404 page"
+  },
+  "theme.NotFound.p2": {
+    "message": "Ha ennek az oldalnak mégis léteznie kellene, kérlek jelezd nekünk a support oldalunkon.",
+    "description": "The 2nd paragraph of the 404 page"
+  },
+  "theme.AnnouncementBar.closeButtonAriaLabel": {
+    "message": "Bezárás",
+    "description": "The ARIA label for close button of announcement bar"
+  },
+  "theme.BackToTopButton.buttonAriaLabel": {
+    "message": "Vissza a tetejére",
+    "description": "The ARIA label for the back to top button"
+  },
+  "theme.blog.archive.title": {
+    "message": "Arhívum",
+    "description": "The page & hero title of the blog archive page"
+  },
+  "theme.blog.archive.description": {
+    "message": "Arhívum",
+    "description": "The page & hero description of the blog archive page"
+  },
+  "theme.blog.paginator.navAriaLabel": {
+    "message": "Blog lista oldal navigációja",
+    "description": "The ARIA label for the blog pagination"
+  },
+  "theme.blog.paginator.newerEntries": {
+    "message": "Újabb posztok",
+    "description": "The label used to navigate to the newer blog posts page (previous page)"
+  },
+  "theme.blog.paginator.olderEntries": {
+    "message": "Régebbi posztok",
+    "description": "The label used to navigate to the older blog posts page (next page)"
+  },
+  "theme.blog.post.readingTime.plurals": {
+    "message": "Egy perc olvasmány|{readingTime} perc olvasmány",
+    "description": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
+  },
+  "theme.blog.post.readMore": {
+    "message": "Bővebben",
+    "description": "The label used in blog post item excerpts to link to full blog posts"
+  },
+  "theme.blog.post.paginator.navAriaLabel": {
+    "message": "Blog poszt oldal navigációja",
+    "description": "The ARIA label for the blog posts pagination"
+  },
+  "theme.blog.post.paginator.newerPost": {
+    "message": "Újabb poszt",
+    "description": "The blog post button label to navigate to the newer/previous post"
+  },
+  "theme.blog.post.paginator.olderPost": {
+    "message": "Régebbi poszt",
+    "description": "The blog post button label to navigate to the older/next post"
+  },
+  "theme.blog.sidebar.navAriaLabel": {
+    "message": "Blog legfrisebb posztok bavigációja",
+    "description": "The ARIA label for recent posts in the blog sidebar"
+  },
+  "theme.blog.post.plurals": {
+    "message": "Egy poszt|{count} poszt",
+    "description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
+  },
+  "theme.blog.tagTitle": {
+    "message": "{nPosts} a \"{tagName}\" címkével",
+    "description": "The title of the page for a blog tag"
+  },
+  "theme.tags.tagsPageLink": {
+    "message": "Összes címke megtekintése",
+    "description": "The label of the link targeting the tag list page"
+  },
+  "theme.CodeBlock.copyButtonAriaLabel": {
+    "message": "Kód vágolapra másolása",
+    "description": "The ARIA label for copy code blocks button"
+  },
+  "theme.CodeBlock.copied": {
+    "message": "Másolva",
+    "description": "The copied button label on code blocks"
+  },
+  "theme.CodeBlock.copy": {
+    "message": "Másolás",
+    "description": "The copy button label on code blocks"
+  },
+  "theme.docs.sidebar.expandButtonTitle": {
+    "message": "Oldalsáv kinyitása",
+    "description": "The ARIA label and title attribute for expand button of doc sidebar"
+  },
+  "theme.docs.sidebar.expandButtonAriaLabel": {
+    "message": "Oldalsáv kinyitása",
+    "description": "The ARIA label and title attribute for expand button of doc sidebar"
+  },
+  "theme.docs.paginator.navAriaLabel": {
+    "message": "Dokumentációk oldal navigációja",
+    "description": "The ARIA label for the docs pagination"
+  },
+  "theme.docs.paginator.next": {
+    "message": "Következő",
+    "description": "The label used to navigate to the next doc"
+  },
+  "theme.docs.paginator.previous": {
+    "message": "Előző",
+    "description": "The label used to navigate to the previous doc"
+  },
+  "theme.docs.sidebar.collapseButtonTitle": {
+    "message": "Oldalsáv becsukása",
+    "description": "The title attribute for collapse button of doc sidebar"
+  },
+  "theme.docs.sidebar.collapseButtonAriaLabel": {
+    "message": "Oldalsáv becsukása",
+    "description": "The title attribute for collapse button of doc sidebar"
+  },
+  "theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": {
+    "message": "A '{label}' kategóriájú összecsukható oldalsáv állapotának változtatása",
+    "description": "The ARIA label to toggle the collapsible sidebar category"
+  },
+  "theme.docs.tagDocListPageTitle.nDocsTagged": {
+    "message": "Egy doksi címkézve|{count} doksi címkézve",
+    "description": "Pluralized label for \"{count} docs tagged\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
+  },
+  "theme.docs.tagDocListPageTitle": {
+    "message": "{nDocsTagged} a \"{tagName}\" címkével",
+    "description": "The title of the page for a docs tag"
+  },
+  "theme.docs.versions.unreleasedVersionLabel": {
+    "message": "Ez még egy ki nem adott dokumentáció a {siteTitle} oldal {versionLabel} verziójához.",
+    "description": "The label used to tell the user that he's browsing an unreleased doc version"
+  },
+  "theme.docs.versions.unmaintainedVersionLabel": {
+    "message": "Ez egy dokumentáció a {siteTitle} oldal {versionLabel} verziójához, melyet már nem bővítünk a jövőben.",
+    "description": "The label used to tell the user that he's browsing an unmaintained doc version"
+  },
+  "theme.docs.versions.latestVersionSuggestionLabel": {
+    "message": "A legfrisebb dokumentációhoz válts át erre a verzióra: {latestVersionLink} ({versionLabel}).",
+    "description": "The label used to tell the user to check the latest version"
+  },
+  "theme.docs.versions.latestVersionLinkLabel": {
+    "message": "Legfrisebb verzió",
+    "description": "The label used for the latest version suggestion link label"
+  },
+  "theme.common.editThisPage": {
+    "message": "Oldal szerkesztése",
+    "description": "The link label to edit the current page"
+  },
+  "theme.common.headingLinkTitle": {
+    "message": "Link a címhez",
+    "description": "Title for link to heading"
+  },
+  "theme.lastUpdated.atDate": {
+    "message": " ekkor: {date},",
+    "description": "The words used to describe on which date a page has been last updated"
+  },
+  "theme.lastUpdated.byUser": {
+    "message": " {user} által",
+    "description": "The words used to describe by who the page has been last updated"
+  },
+  "theme.lastUpdated.lastUpdatedAtBy": {
+    "message": "Utoljára frissítve {atDate}{byUser}",
+    "description": "The sentence used to display when a page has been last updated, and by who"
+  },
+  "theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": {
+    "message": "← Vissza a főmenühöz",
+    "description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"
+  },
+  "theme.navbar.mobileVersionsDropdown.label": {
+    "message": "Verziók",
+    "description": "The label for the navbar versions dropdown on mobile view"
+  },
+  "theme.common.skipToMainContent": {
+    "message": "Ugrás a lényegre",
+    "description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"
+  },
+  "theme.TOCCollapsible.toggleButtonLabel": {
+    "message": "Ezen az oldalon",
+    "description": "The label used by the button on the collapsible TOC component"
+  },
+  "theme.tags.tagsListLabel": {
+    "message": "Címkék:",
+    "description": "The label alongside a tag list"
+  },
+  "theme.tags.tagsPageTitle": {
+    "message": "Címkék",
+    "description": "The title of the tag list page"
+  }
+}
\ No newline at end of file
diff --git a/app/i18n/hu/docusaurus-plugin-content-blog-news/options.json b/app/i18n/hu/docusaurus-plugin-content-blog-news/options.json
new file mode 100644
index 0000000..2b89e30
--- /dev/null
+++ b/app/i18n/hu/docusaurus-plugin-content-blog-news/options.json
@@ -0,0 +1,14 @@
+{
+  "title": {
+    "message": "Hírek",
+    "description": "The title for the blog used in SEO"
+  },
+  "description": {
+    "message": "Hírek",
+    "description": "The description for the blog used in SEO"
+  },
+  "sidebar.title": {
+    "message": "Legfrisebb hírek",
+    "description": "The label for the left sidebar"
+  }
+}
\ No newline at end of file
diff --git a/app/i18n/hu/docusaurus-plugin-content-blog/options.json b/app/i18n/hu/docusaurus-plugin-content-blog/options.json
new file mode 100644
index 0000000..5523020
--- /dev/null
+++ b/app/i18n/hu/docusaurus-plugin-content-blog/options.json
@@ -0,0 +1,14 @@
+{
+  "title": {
+    "message": "Blog",
+    "description": "The title for the blog used in SEO"
+  },
+  "description": {
+    "message": "Blog",
+    "description": "The description for the blog used in SEO"
+  },
+  "sidebar.title": {
+    "message": "Legfrisebb posztok",
+    "description": "The label for the left sidebar"
+  }
+}
\ No newline at end of file
diff --git a/app/i18n/hu/docusaurus-plugin-content-docs/current.json b/app/i18n/hu/docusaurus-plugin-content-docs/current.json
new file mode 100644
index 0000000..64cfbdf
--- /dev/null
+++ b/app/i18n/hu/docusaurus-plugin-content-docs/current.json
@@ -0,0 +1,10 @@
+{
+  "version.label": {
+    "message": "Next",
+    "description": "The label for version current"
+  },
+  "sidebar.guidesSidebar.category.Szolgáltatásaink": {
+    "message": "Szolgáltatásaink",
+    "description": "The label for category Szolgáltatásaink in sidebar guidesSidebar"
+  }
+}
\ No newline at end of file
diff --git a/app/i18n/hu/docusaurus-theme-classic/footer.json b/app/i18n/hu/docusaurus-theme-classic/footer.json
new file mode 100644
index 0000000..34cb868
--- /dev/null
+++ b/app/i18n/hu/docusaurus-theme-classic/footer.json
@@ -0,0 +1,6 @@
+{
+  "copyright": {
+    "message": "© 2021 Kollégiumi Számítástechnikai Kör",
+    "description": "The footer copyright"
+  }
+}
\ No newline at end of file
diff --git a/app/i18n/hu/docusaurus-theme-classic/navbar.json b/app/i18n/hu/docusaurus-theme-classic/navbar.json
new file mode 100644
index 0000000..22dbfcc
--- /dev/null
+++ b/app/i18n/hu/docusaurus-theme-classic/navbar.json
@@ -0,0 +1,30 @@
+{
+  "title": {
+    "message": "KSZK",
+    "description": "The title in the navbar"
+  },
+  "item.label.Főoldal": {
+    "message": "Főoldal",
+    "description": "Navbar item with label Főoldal"
+  },
+  "item.label.Hírek": {
+    "message": "Hírek",
+    "description": "Navbar item with label Hírek"
+  },
+  "item.label.Blog": {
+    "message": "Blog",
+    "description": "Navbar item with label Blog"
+  },
+  "item.label.Ismertetők": {
+    "message": "Ismertetők",
+    "description": "Navbar item with label Ismertetők"
+  },
+  "item.label.Support": {
+    "message": "Support",
+    "description": "Navbar item with label Support"
+  },
+  "item.label.Elérhetőségek": {
+    "message": "Elérhetőségek",
+    "description": "Navbar item with label Elérhetőségek"
+  }
+}
\ No newline at end of file
-- 
GitLab