diff options
Diffstat (limited to 'android/source/res')
-rw-r--r-- | android/source/res/values/arrays.xml | 6 | ||||
-rw-r--r-- | android/source/res/xml/libreoffice_preferences.xml | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/android/source/res/values/arrays.xml b/android/source/res/values/arrays.xml index f2326764aa76..f331e672c35e 100644 --- a/android/source/res/values/arrays.xml +++ b/android/source/res/values/arrays.xml @@ -12,6 +12,9 @@ <item >1</item> <item >2</item> </string-array> + <string-array name="SupportedLanguagesValues"> + <item >en</item> + </string-array> <string-array name="SortModeStringValues"> <item >0</item> <item >1</item> @@ -36,6 +39,9 @@ <item>@string/filter_presentations</item> <item>@string/filter_drawings</item> </string-array> + <string-array name="SupportedLanguages"> + <item>English</item> + </string-array> <string-array name="SortModeNames"> <item >@string/sort_az</item> <item >@string/sort_za</item> diff --git a/android/source/res/xml/libreoffice_preferences.xml b/android/source/res/xml/libreoffice_preferences.xml index 3bc04d769278..86ad3af81971 100644 --- a/android/source/res/xml/libreoffice_preferences.xml +++ b/android/source/res/xml/libreoffice_preferences.xml @@ -22,6 +22,15 @@ android:title="@string/pref_file_explorer_title" android:key="EXPLORER_VIEW_TYPE" android:summary="@string/pref_viewmode_summary" /> + + <ListPreference + android:title="Display Language" + android:summary="Set the default display language" + android:entries="@array/SupportedLanguages" + android:entryValues="@array/SupportedLanguagesValues" + android:key="DISPLAY_LANGUAGE" + /> + <CheckBoxPreference android:title="@string/pref_show_hidden_files" android:key="ENABLE_SHOW_HIDDEN_FILES" |