diff --git a/src/lib/L10N/pl.json b/src/lib/L10N/pl.json new file mode 100644 index 0000000..c65560a --- /dev/null +++ b/src/lib/L10N/pl.json @@ -0,0 +1,61 @@ +{ + "LodestoneUI": { + "Dialog": { + "closeButton": { + "title": "Zamknij", + "ariaLabel": "Zamknij okno" + } + }, + "FSPickerButton": { + "ariaLabel": { + "chosen": "{type} został wybrany", + "notChosen": "Żaden {type} nie został wybrany" + }, + "title": "Wybierz {type}", + "types": { + "folder": "Folder", + "file": "Plik" + } + }, + "Scrollable": { + "arrows": { + "left": { + "ariaLabel": "Przewiń w lewo", + "title": "Przewiń w lewo" + }, + "right": { + "ariaLabel": "Przewiń w prawo", + "title": "Przewiń w prawo" + } + } + }, + "SlideUp": { + "title": "Kliknij/dotknij by {action} menu rozwijane", + "ariaLabel": "{title}: Kliknij/dotknij by {action} menu rozwijane", + "actions": { + "open": "otworzyć", + "close": "zamknąć" + } + }, + "Option": { + "description": "Nie podano opisu." + }, + "Topbar": { + "expander": { + "ariaLabel": "{action} menu", + "title": "{action} menu" + }, + "homeButton": { + "ariaLabel": "Przycisk ekranu startowego", + "logo": { + "alt": "Logo" + }, + "title": "Idź do ekranu startowego" + }, + "actions": { + "close": "Zamknij", + "open": "Otwórz" + } + } + } +} diff --git a/src/lib/index.ts b/src/lib/index.ts index 5ffae66..e688182 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -31,6 +31,7 @@ export async function initLUILanguages(options: never) { addMessages('fr', (await import('./L10N/fr.json')) as never); addMessages('ru', (await import('./L10N/ru.json')) as never); addMessages('nl', (await import('./L10N/nl.json')) as never); + addMessages('pl', (await import('./L10N/pl.json')) as never); // wish I didn't have to init here... I wanted to leave it up to the dependent to initialize svelte-i18n await init(options);