Skip to content

Commit

Permalink
feat: add SE localization
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmusguterstam committed Nov 8, 2023
1 parent 4ea8444 commit c229c22
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import sr from "./locales/sr.json";
import sr_cyr from "./locales/sr_cyr.json";
import ja from "./locales/ja.json";
import ru from "./locales/ru.json";
import se from "./locales/se.json";

export const locales = {
en,
Expand All @@ -23,7 +24,8 @@ export const locales = {
sr,
sr_cyr,
ja,
ru
ru,
se
};

export type AvailableLanguages = keyof typeof locales;
Expand Down
10 changes: 10 additions & 0 deletions src/locales/se.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"documentNavInfo": "Dokument {{ currentFileNo }} av {{ allFilesCount }}",
"noRendererMessage": "Ingen renderare för filtypen: {{{ fileType }}}",
"downloadButtonLabel": "Ladda ner",
"brokenFile": "Filen är trasig. Var vänlig kontrollera den på din maskin.",
"msgPluginRecipients": "Mottagare",
"msgPluginSender": "Avsändare",
"pdfPluginLoading": "Laddar...",
"pdfPluginPageNumber": "Sida {{ currentPage }}/{{ allPagesCount }}"
}

0 comments on commit c229c22

Please sign in to comment.