diff options
| author | Jules Aguillon | 2026-04-10 19:03:37 +0200 |
|---|---|---|
| committer | GitHub | 2026-04-10 19:03:37 +0200 |
| commit | 7bd9306a9f787d3222691f46d03e38f86ec87c9c (patch) | |
| tree | 08b8913f44a3cbd1cd0be23107300bf4a64c754f /res | |
| parent | f29ae92ba7b5567429c9132afaa4353282c85abe (diff) | |
| download | unexpected-keyboard-7bd9306a9f787d3222691f46d03e38f86ec87c9c.tar.gz unexpected-keyboard-7bd9306a9f787d3222691f46d03e38f86ec87c9c.zip | |
Dictionary activity: Status message when the keyboard is not enabled (#1228)
This shows a reason why the list is empty and removes confusion.
Diffstat (limited to 'res')
| -rw-r--r-- | res/layout/dictionary_status_not_enabled.xml | 2 | ||||
| -rw-r--r-- | res/values/strings.xml | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/res/layout/dictionary_status_not_enabled.xml b/res/layout/dictionary_status_not_enabled.xml new file mode 100644 index 0000000..7c9984d --- /dev/null +++ b/res/layout/dictionary_status_not_enabled.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8"?> +<TextView xmlns:android="http://schemas.android.com/apk/res/android" style="@style/paragraph" android:paddingHorizontal="24dp" android:gravity="center" android:text="@string/dictionaries_activity_not_enabled"/> diff --git a/res/values/strings.xml b/res/values/strings.xml index 7cc8d1d..5eb4e85 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -160,6 +160,7 @@ <string name="dictionaries_from_internet">Download a dictionary from the Internet</string> <string name="dictionaries_download_success">Dictionary installed</string> <string name="dictionaries_download_failed">Download failed</string> + <string name="dictionaries_activity_not_enabled">You must first enable the keyboard to download dictionaries.</string> <string name="candidates_status_no_dict">No dictionary installed</string> <string name="candidates_status_install">Install</string> </resources> |
