mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 22:37:56 +01:00 
			
		
		
		
	Separate 'en' locale into 'en-US' and 'en-GB' for displaying dates
This commit is contained in:
		| @@ -29,8 +29,9 @@ class SettingsGeneralController : SettingsController() { | ||||
|         listPreference { | ||||
|             key = Keys.lang | ||||
|             titleRes = R.string.pref_language | ||||
|             entryValues = arrayOf("", "ar", "bg", "bn", "de", "en", "es", "fr", "hi", "hu", "id", | ||||
|                     "it", "ja", "ko", "lv", "ms", "nl", "pl", "pt", "pt-BR", "ro", "ru", "vi") | ||||
|             entryValues = arrayOf("", "ar", "bg", "bn", "de", "en-US", "en-GB", "es", "fr", "hi", | ||||
|                     "hu", "id", "it", "ja", "ko", "lv", "ms", "nl", "pl", "pt", "pt-BR", "ro", | ||||
|                     "ru", "vi") | ||||
|             entries = entryValues.map { value -> | ||||
|                 val locale = LocaleHelper.getLocaleFromString(value.toString()) | ||||
|                 locale?.getDisplayName(locale)?.capitalize() ?: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user