Skip to content

Commit b9d9d28

Browse files
authored
Merge pull request #200 from rasmusguterstam/feat/se-localization
feat: add SE localization
2 parents 4ea8444 + c229c22 commit b9d9d28

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

src/i18n.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import sr from "./locales/sr.json";
1010
import sr_cyr from "./locales/sr_cyr.json";
1111
import ja from "./locales/ja.json";
1212
import ru from "./locales/ru.json";
13+
import se from "./locales/se.json";
1314

1415
export const locales = {
1516
en,
@@ -23,7 +24,8 @@ export const locales = {
2324
sr,
2425
sr_cyr,
2526
ja,
26-
ru
27+
ru,
28+
se
2729
};
2830

2931
export type AvailableLanguages = keyof typeof locales;

src/locales/se.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"documentNavInfo": "Dokument {{ currentFileNo }} av {{ allFilesCount }}",
3+
"noRendererMessage": "Ingen renderare för filtypen: {{{ fileType }}}",
4+
"downloadButtonLabel": "Ladda ner",
5+
"brokenFile": "Filen är trasig. Var vänlig kontrollera den på din maskin.",
6+
"msgPluginRecipients": "Mottagare",
7+
"msgPluginSender": "Avsändare",
8+
"pdfPluginLoading": "Laddar...",
9+
"pdfPluginPageNumber": "Sida {{ currentPage }}/{{ allPagesCount }}"
10+
}

0 commit comments

Comments
 (0)