Skip to content

Commit

Permalink
Fix Chineese and Norway langs
Browse files Browse the repository at this point in the history
  • Loading branch information
khmyznikov committed Aug 9, 2024
1 parent e82b4b4 commit 9ffcd04
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion dist/pwa-install.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/pwa-install.bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/pwa-install.es.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/pwa-install.es.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/react-legacy/pwa-install.react-legacy.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/react-legacy/pwa-install.react-legacy.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/umd/pwa-install.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/umd/pwa-install.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/pwa-install.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/service-worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@khmyznikov/pwa-install",
"version": "0.4.3",
"version": "0.4.4",
"description": "PWA install dialog provide more convenience user experience and fix lack of native dialogs in some browsers.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -47,7 +47,7 @@
"license": "MIT",
"devDependencies": {
"@custom-elements-manifest/analyzer": "^0.10.3",
"@lit/localize": "^0.12.1",
"@lit/localize": "^0.12.2",
"@lit/localize-tools": "^0.7.2",
"@types/node": "^20.14.10",
"autoprefixer": "^10.4.19",
Expand All @@ -66,15 +66,15 @@
"sass-loader": "^14.2.1",
"terser-webpack-plugin": "^5.3.10",
"ts-loader": "9.5.1",
"typescript": "^5.5.3",
"typescript": "^5.5.4",
"typescript-lit-html-plugin": "^0.9.0",
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",
"webpack-merge": "^6.0.1"
},
"peerDependencies": {
"lit": "^3.1.4",
"lit": "^3.2.0",
"@lit/react": "^1.0.5",
"@types/web-app-manifest": "^1.0.8",
"@types/dom-chromium-installation-events": "^101.0.4"
Expand Down
2 changes: 1 addition & 1 deletion src/localization/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const { getLocale, setLocale } = configureLocalization({

export const changeLocale = (lang: string) => {
// Norwegian Bokmål is same as Norwegian
switch (lang) {
switch (lang.slice(0, 2)) {
case 'nb':
lang = 'no';
break;
Expand Down
4 changes: 2 additions & 2 deletions src/localization/locales/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
's182ab2d6c997515f': `将其添加到主屏幕,以享受更全面的体验并便于访问。`,
's1b9047d53d9f9d22': `2) 点击列表上的分享按钮`,
's37a9e8aec5713460': `详细资讯`,
's5c6aad7a7e4a1437': `3) 点击加入主画面`,
's5c6aad7a7e4a1437': `3) 点击添加到主屏幕`,
's6196153c4b0c1ea0': `安装`,
's922329d6f6213590': `添加到Dock`,
'sa5ef80b4bb9b39f8': `简短资讯`,
'sa7551383d1897fcc': `2) 按下添加到Dock`,
'sba52286c21552a4e': `在您的设备上安装,以享有更全面的体验和便捷的访问。`,
'sc79fd7641eb9a975': `隐藏安装流程`,
'scdaf4bbff76674c8': `将App加入主画面`,
'scdaf4bbff76674c8': `将App添加到主屏幕`,
'sdfe23506a3b0cdc8': `1) 在Safari上浏览此网页`,
'se740f75b95a51807': `将其添加到您的Dock,以享受更全面的体验并便于访问。`,
'sfea652f6580ff086': `此网站具备app的功能性。`,
Expand Down

0 comments on commit 9ffcd04

Please sign in to comment.