Skip to content

Commit

Permalink
Add Polish translation
Browse files Browse the repository at this point in the history
  • Loading branch information
ianopolous committed Dec 16, 2024
1 parent 49ba217 commit 853bdff
Show file tree
Hide file tree
Showing 2 changed files with 499 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/i18n/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ const enGB = require("en-GB.js")
const es = require("es.js")
const fr = require("fr.js")
const it = require("it.js")
const pl = require("pl.js")
const zhCN = require("zh-CN.js")

const supported = ["en-GB", "zh-CN"]
const supported_prefixes = ["es", "fr", "it"]
const supported_prefixes = ["es", "fr", "it", "pl"]
module.exports = {

methods: {
Expand Down Expand Up @@ -42,6 +43,11 @@ module.exports = {
if (res != null)
return res;
}
if (locale== "pl") {
const res = pl[label];
if (res != null)
return res;
}

if (locale == "zh-CN") {
const res = zhCN[label];
Expand Down
Loading

0 comments on commit 853bdff

Please sign in to comment.