Skip to content

Commit

Permalink
i18n(sk): Add Slovak language UI translation. (#2008)
Browse files Browse the repository at this point in the history
Co-authored-by: vawaver <vawaver@vawav.com>
  • Loading branch information
vnepogodin and vawaver committed Jun 12, 2024
1 parent 0aa2f06 commit 40359c7
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilled-games-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/starlight': patch
---

Add Slovak language UI translation.
2 changes: 2 additions & 0 deletions packages/starlight/translations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import uk from './uk.json';
import hi from './hi.json';
import zhTW from './zh-TW.json';
import pl from './pl.json';
import sk from './sk.json';

const { parse } = builtinI18nSchema();

Expand Down Expand Up @@ -58,5 +59,6 @@ export default Object.fromEntries(
hi,
'zh-TW': zhTW,
pl,
sk,
}).map(([key, dict]) => [key, parse(dict)])
);
29 changes: 29 additions & 0 deletions packages/starlight/translations/sk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"skipLink.label": "Preskočiť na obsah",
"search.label": "Hľadať",
"search.shortcutLabel": "(Stlačením / hľadajte)",
"search.cancelLabel": "Zrušiť",
"search.devWarning": "Vyhľadávanie je dostupné len v produkčných zostaveniach. \nSkúste vytvoriť a zobraziť náhľad stránky lokálne.",
"themeSelect.accessibleLabel": "Vyberte tému",
"themeSelect.dark": "Tmavý",
"themeSelect.light": "Svetlý",
"themeSelect.auto": "Auto",
"languageSelect.accessibleLabel": "Vyberte jazyk",
"menuButton.accessibleLabel": "Menu",
"sidebarNav.accessibleLabel": "Hlavný",
"tableOfContents.onThisPage": "Na tejto stránke",
"tableOfContents.overview": "Prehľad",
"i18n.untranslatedContent": "Tento obsah zatiaľ nie je dostupný vo vašom jazyku.",
"page.editLink": "Upraviť stránku",
"page.lastUpdated": "Posledná aktualizácia:",
"page.previousLink": "Predchádzajúce",
"page.nextLink": "Nasledujúce",
"page.draft": "Tento obsah je koncept a nebude zahrnutý do produkčných zostavení.",
"404.text": "Stránka nenájdená. Skontrolujte URL alebo skúste použiť vyhľadávacie pole.",
"aside.note": "Poznámka",
"aside.tip": "Tip",
"aside.caution": "Upozornenie",
"aside.danger": "Nebezpečenstvo",
"fileTree.directory": "Adresár",
"builtWithStarlight.label": "Postavené so Starlight"
}

0 comments on commit 40359c7

Please sign in to comment.