Skip to content

Commit

Permalink
Chinese translation
Browse files Browse the repository at this point in the history
  • Loading branch information
v1ack committed Feb 1, 2018
1 parent 782b862 commit 71d2bbc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/watchfaceEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ function init() {
localStorage.lang = navigator.language || navigator.userLanguage;
if (localStorage.lang.indexOf("ru") >= 0) {
changeLang(russian);
} else
} else if (localStorage.lang.indexOf("zh") >= 0) {
changeLang(chinese);
}
if (localStorage.lang.indexOf("en") < 0 && localStorage.translatehelp != 1) {
UIkit.notification("Please contact me if you can help me to translate this app to your language", {
status: 'primary',
Expand Down

0 comments on commit 71d2bbc

Please sign in to comment.