mirror of https://github.com/vector-im/riot-web
				
				
				
			Remove defaulting here
We already do it in the place this function gets calledpull/21833/head
							parent
							
								
									913723b76b
								
							
						
					
					
						commit
						db45e99536
					
				|  | @ -38,11 +38,6 @@ export function _t(...args) { | |||
| } | ||||
| 
 | ||||
| export function setLanguage(languages) { | ||||
|     if (!languages || !Array.isArray(languages)) { | ||||
|     const languages = this.getNormalizedLanguageKeys(this.getLanguageFromBrowser()); | ||||
|     console.log("no language found. Got from browser: " + JSON.stringify(languages)); | ||||
|     } | ||||
| 
 | ||||
|     request(i18nFolder + 'languages.json', function(err, response, body) { | ||||
|         function getLanguage(langPath, langCode, callback) { | ||||
|             let response_return = {}; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 David Baker
						David Baker