Skip to content

Commit

Permalink
Update localize.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
KartoffelToby authored Dec 23, 2021
1 parent fba4dae commit ea0dca2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/localize/localize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import * as es from './languages/es.json';
import * as tr from './languages/tr.json';
import * as it from './languages/it.json';
import * as da from './languages/da.json';
import * as pt from './languages/pt.json';
import * as cn from './languages/cn.json';


// eslint-disable-next-line @typescript-eslint/no-explicit-any
Expand All @@ -25,7 +27,9 @@ const languages: any = {
es: es,
tr: tr,
it: it,
da: da
da: da,
pt: pt,
cn: cn
};

export function localize(string: string, search = '', replace = ''): string {
Expand Down

0 comments on commit ea0dca2

Please sign in to comment.