mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-11-03 21:43:18 +00:00 
			
		
		
		
	locale-helper: Move supported-locales.js to supported-locales.json.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
		@@ -10,7 +10,7 @@ function writeJSON(file, data) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const { phrases } = require('./locale-template');
 | 
			
		||||
const supportedLocales = require('./supported-locales');
 | 
			
		||||
const supportedLocales = require('./supported-locales.json');
 | 
			
		||||
 | 
			
		||||
phrases.sort();
 | 
			
		||||
for (let locale in supportedLocales) {
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
module.exports = {
 | 
			
		||||
{
 | 
			
		||||
    "de": "Deutsch",
 | 
			
		||||
    "pl": "polski",
 | 
			
		||||
    "en": "English",
 | 
			
		||||
@@ -18,4 +18,4 @@ module.exports = {
 | 
			
		||||
    "es": "español",
 | 
			
		||||
    "ko": "한국어",
 | 
			
		||||
    "fr": "français"
 | 
			
		||||
};
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user