Skip to content

Commit

Permalink
feat: enable nl, cz and pt translations
Browse files Browse the repository at this point in the history
  • Loading branch information
MindFreeze committed Oct 24, 2024
1 parent 2e2fa89 commit 90a7298
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
File renamed without changes.
6 changes: 5 additions & 1 deletion src/localize/localize.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
import * as en from './languages/en.json'
import * as cz from './languages/cs.json';
import * as cz from './languages/cz.json';
import * as sk from './languages/sk.json';
import * as nl from './languages/nl.json';
import * as pt from './languages/pt-BR.json';

// eslint-disable-next-line @typescript-eslint/no-explicit-any
const languages: any = {
en: en,
cz: cz,
sk: sk,
nl: nl,
pt: pt,
};

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

0 comments on commit 90a7298

Please sign in to comment.