diff --git a/app/docusaurus.config.js b/app/docusaurus.config.js index b92b29be6dbb5e99d15b3ac5ca027e9fa4f39d91..ed889cb71fb0b44126692d97ac260887d0a6c8a7 100644 --- a/app/docusaurus.config.js +++ b/app/docusaurus.config.js @@ -72,6 +72,20 @@ const config = { darkTheme: darkCodeTheme, additionalLanguages: ["java"], }, + algolia: { + // The application ID provided by Algolia + appId: "BC1WGBH3GB", + + // Public API key: it is safe to commit it + apiKey: "df03651e55fff0ec2b5040e933940f8e", + + indexName: "kszk-b-hu", + + // Optional: see doc section below + contextualSearch: false, + + debug: false, + }, }), plugins: ["plugin-image-zoom"], diff --git a/app/i18n/hu/code.json b/app/i18n/hu/code.json index ae790c936b7efdba18704e8c437a44bd5631ffda..d0191021aff57df22f98b38e32b46cf45b4bc560 100644 --- a/app/i18n/hu/code.json +++ b/app/i18n/hu/code.json @@ -194,5 +194,41 @@ "theme.tags.tagsPageTitle": { "message": "Címkék", "description": "The title of the tag list page" + }, + "theme.SearchBar.label": { + "message": "Keresés", + "description": "The ARIA label and placeholder for search button" + }, + "theme.SearchPage.documentsFound.plurals": { + "message": "Egy találat|{count} találat", + "description": "Pluralized label for \"{count} documents found\". 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.SearchPage.existingResultsTitle": { + "message": "Találatok a \"{query}\" kifejezésre", + "description": "The search page title for non-empty query" + }, + "theme.SearchPage.emptyResultsTitle": { + "message": "Keresés", + "description": "The search page title for empty query" + }, + "theme.SearchPage.inputPlaceholder": { + "message": "Keresés", + "description": "The placeholder for search page input" + }, + "theme.SearchPage.inputLabel": { + "message": "Keresés", + "description": "The ARIA label for search page input" + }, + "theme.SearchPage.algoliaLabel": { + "message": "Algolia keresés", + "description": "The ARIA label for Algolia mention" + }, + "theme.SearchPage.noResultsText": { + "message": "Nincs találat", + "description": "The paragraph for empty search result" + }, + "theme.SearchPage.fetchingNewResults": { + "message": "Új találatok betöltése...", + "description": "The paragraph for fetching new search results" } -} \ 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 index 57add5357c207eb2454a24ca208e400aedfa34e0..31e1fde799afd89402d0d6a7fcc7a12577e45d2c 100644 --- a/app/i18n/hu/docusaurus-plugin-content-blog/options.json +++ b/app/i18n/hu/docusaurus-plugin-content-blog/options.json @@ -11,4 +11,4 @@ "message": "Legfrissebb 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 index 64cfbdfd2923d0e3f0a7c2e9116f50be54068fa2..12c2a3453cc78cf748b0952ca378961327926f12 100644 --- a/app/i18n/hu/docusaurus-plugin-content-docs/current.json +++ b/app/i18n/hu/docusaurus-plugin-content-docs/current.json @@ -7,4 +7,4 @@ "message": "Szolgáltatásaink", "description": "The label for category Szolgáltatásaink in sidebar guidesSidebar" } -} \ No newline at end of file +}