From 54ce640d1ab11375aa23d8462e34b35410a2f2fe Mon Sep 17 00:00:00 2001
From: Quang Lam
Date: Mon, 27 Aug 2018 23:09:39 -0500
Subject: [PATCH] Fix Chinese localization is not listed on Mac App Store (#47)
---
docs/index.html | 8 ++++----
package.json | 2 +-
src/state/root/strings/actions.js | 4 ++--
src/strings/{zh-CN.app.json => zh_CN.app.json} | 0
.../{zh-CN.languages.json => zh_CN.languages.json} | 0
yarn.lock | 6 +++---
6 files changed, 10 insertions(+), 10 deletions(-)
rename src/strings/{zh-CN.app.json => zh_CN.app.json} (100%)
rename src/strings/{zh-CN.languages.json => zh_CN.languages.json} (100%)
diff --git a/docs/index.html b/docs/index.html
index bd6f3852..ff71dec3 100755
--- a/docs/index.html
+++ b/docs/index.html
@@ -13,19 +13,19 @@ Google Translate Client
-
+
-
+
WebCatalog requires macOS 10.9 or later; Windows 10.
-
Release Notes | Contact | Privacy | GitHub.
+
Release Notes | Contact | Privacy | GitHub | PopClip Extension.
-
+
diff --git a/package.json b/package.json
index 9b7c7ac8..db1eabd0 100644
--- a/package.json
+++ b/package.json
@@ -36,7 +36,7 @@
"concurrently": "3.5.1",
"cross-env": "5.1.6",
"del": "3.0.0",
- "electron": "2.0.7",
+ "electron": "2.0.8",
"electron-builder": "20.15.1",
"eslint": "4.19.1",
"eslint-config-airbnb": "16.1.0",
diff --git a/src/state/root/strings/actions.js b/src/state/root/strings/actions.js
index 726ccd04..bcc4ce21 100644
--- a/src/state/root/strings/actions.js
+++ b/src/state/root/strings/actions.js
@@ -10,8 +10,8 @@ import ptApp from '../../../strings/pt_BR.app.json';
import ptLanguages from '../../../strings/pt_BR.languages.json';
import viApp from '../../../strings/vi.app.json';
import viLanguages from '../../../strings/vi.languages.json';
-import zhLanguages from '../../../strings/zh-CN.languages.json';
-import zhApp from '../../../strings/zh-CN.app.json';
+import zhLanguages from '../../../strings/zh_CN.languages.json';
+import zhApp from '../../../strings/zh_CN.app.json';
export const updateStrings = langId => (dispatch) => {
let strings;
diff --git a/src/strings/zh-CN.app.json b/src/strings/zh_CN.app.json
similarity index 100%
rename from src/strings/zh-CN.app.json
rename to src/strings/zh_CN.app.json
diff --git a/src/strings/zh-CN.languages.json b/src/strings/zh_CN.languages.json
similarity index 100%
rename from src/strings/zh-CN.languages.json
rename to src/strings/zh_CN.languages.json
diff --git a/yarn.lock b/yarn.lock
index eba15569..b820a2e1 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2657,9 +2657,9 @@ electron-to-chromium@^1.3.47:
version "1.3.47"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.47.tgz#764e887ca9104d01a0ac8eabee7dfc0e2ce14104"
-electron@2.0.7:
- version "2.0.7"
- resolved "https://registry.yarnpkg.com/electron/-/electron-2.0.7.tgz#f7ce410433298e319032ce31f0e6ffd709ff052c"
+electron@2.0.8:
+ version "2.0.8"
+ resolved "https://registry.yarnpkg.com/electron/-/electron-2.0.8.tgz#6ec7113b356e09cc9899797e0d41ebff8163e962"
dependencies:
"@types/node" "^8.0.24"
electron-download "^3.0.1"