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:
		
							parent
							
								
									7d09019fd2
								
							
						
					
					
						commit
						38741e733b
					
				
							
								
								
									
										3
									
								
								application/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								application/.gitignore
									
									
									
									
										vendored
									
									
								
							@ -1 +1,2 @@
 | 
			
		||||
!bin/
 | 
			
		||||
!bin/
 | 
			
		||||
/bin/
 | 
			
		||||
 | 
			
		||||
@ -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') {
 | 
			
		||||
 | 
			
		||||
@ -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
											
										
									
								
							@ -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();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user