Add Chinese Translation for Version 1.2.3 (#131)

* add the chinese language.

* do not update .toDelete file

* commit

* add the Chinese language supported

* commit
This commit is contained in:
june 2017-05-08 03:38:50 +08:00 committed by Andrew Shvayka
parent 7d09019fd2
commit 38741e733b
5 changed files with 804 additions and 772 deletions

View File

@ -1 +1,2 @@
!bin/
!bin/
/bin/

View File

@ -52,7 +52,6 @@ export default function AppConfig($provide,
addLocaleKorean(locales);
addLocaleChinese(locales);
var $window = angular.injector(['ng']).get('$window');
var lang = $window.navigator.language || $window.navigator.userLanguage;
if (lang === 'ko') {

View File

@ -776,7 +776,7 @@ export default function addLocaleKorean(locales) {
"language": "언어",
"en_US": "영어",
"ko_KR": "한글",
"zh_CN": "중국"
"zh_CN": "중국"
}
};
angular.extend(locales, {'ko_KR': ko_KR});

File diff suppressed because it is too large Load Diff

View File

@ -28,10 +28,10 @@ export default function ProfileController(userService, $scope, $document, $mdDia
vm.save = save;
vm.changePassword = changePassword;
vm.languageList = {
en_US: {value: "en_US", name: "language.en_US"},
en_US: {value : "en_US", name: "language.en_US"},
ko_KR: {value : "ko_KR", name: "language.ko_KR"},
zh_CN: {value : "zh_CN", name: "language.zh_CN"}
};
};
loadProfile();