mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Fix strings and add new languages
This commit is contained in:
		@@ -29,9 +29,9 @@ class SettingsGeneralController : SettingsController() {
 | 
			
		||||
        listPreference {
 | 
			
		||||
            key = Keys.lang
 | 
			
		||||
            titleRes = R.string.pref_language
 | 
			
		||||
            entryValues = arrayOf("", "ar", "bg", "bn", "de", "en-US", "en-GB", "es", "fr", "hi",
 | 
			
		||||
                    "hu", "in", "it", "ja", "ko", "lv", "ms", "nl", "pl", "pt", "pt-BR", "ro",
 | 
			
		||||
                    "ru", "tr", "vi")
 | 
			
		||||
            entryValues = arrayOf("", "ar", "bg", "bn", "ca", "cs", "de", "el", "en-US", "en-GB",
 | 
			
		||||
            "es", "fr", "hi", "hu", "in", "it", "ja", "ko", "lv", "ms", "nb-rNO", "nl", "pl", "pt",
 | 
			
		||||
            "pt-BR", "ro", "ru", "sr", "sv", "th", "tr", "uk", "vi", "zh-rCN")
 | 
			
		||||
            entries = entryValues.map { value ->
 | 
			
		||||
                val locale = LocaleHelper.getLocaleFromString(value.toString())
 | 
			
		||||
                locale?.getDisplayName(locale)?.capitalize() ?:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user