Skip to content

Commit b53abef

Browse files
author
Eino Pitkälä
committed
Add Finnish localization to localize.ts and credits to README
1 parent 18c8d55 commit b53abef

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ This card supports translations. Please, help to add more translations and impro
9898
- Danish (by [dykandDK](https://github.com/dykandDK))
9999
- Catalan (by [gerardag](https://github.com/gerardag))
100100
- Dutch (by [posixx](https://github.com/posixx))
101+
- Finnish (by [EinoPitkala](https://github.com/EinoPitkala))
101102
- [_Your language?_][add-translation]
102103

103104
## Supported models

src/localize/localize.ts

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import * as da from './languages/da.json';
77
import * as ca from './languages/ca.json';
88
import * as fr from './languages/fr.json';
99
import * as nl from './languages/nl.json';
10+
import * as fi from './languages/fi.json';
1011

1112
// eslint-disable-next-line @typescript-eslint/no-explicit-any
1213
const languages: any = {
@@ -19,6 +20,7 @@ const languages: any = {
1920
ca: ca,
2021
fr: fr,
2122
nl: nl,
23+
fi: fi
2224
};
2325

2426
export function localize(string, brand=null, search = '', replace = '', debug=false){

0 commit comments

Comments
 (0)