diff options
| author | Matej Drobnič | 2025-09-29 00:56:23 +0200 |
|---|---|---|
| committer | GitHub | 2025-09-29 00:56:23 +0200 |
| commit | df8e7a01e0e69c2a8463a27096d4d3c33b1f6b46 (patch) | |
| tree | 354034f08133fa4aa6073ba386258b408e2bd046 /res/values | |
| parent | 7fdf63b930e51a06011ce911cf87a03c41b8334d (diff) | |
| download | unexpected-keyboard-df8e7a01e0e69c2a8463a27096d4d3c33b1f6b46.tar.gz unexpected-keyboard-df8e7a01e0e69c2a8463a27096d4d3c33b1f6b46.zip | |
Make history duration configurable (#1074)
Diffstat (limited to 'res/values')
| -rw-r--r-- | res/values/arrays.xml | 12 | ||||
| -rw-r--r-- | res/values/strings.xml | 6 |
2 files changed, 18 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml index cd12337..56015e9 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -106,4 +106,16 @@ <item>30</item> <item>15</item> </string-array> + <string-array name="pref_clipboard_duration_entries"> + <item>@string/pref_clipboard_history_duration_1</item> + <item>@string/pref_clipboard_history_duration_5</item> + <item>@string/pref_clipboard_history_duration_30</item> + <item>@string/pref_clipboard_history_duration_stop</item> + </string-array> + <string-array name="pref_clipboard_duration_values"> + <item>1</item> + <item>5</item> + <item>30</item> + <item>-1</item> + </string-array> </resources> diff --git a/res/values/strings.xml b/res/values/strings.xml index 988ecaa..05e9160 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -140,4 +140,10 @@ <string name="clipboard_remove_confirm">Remove this clipboard item?</string> <string name="clipboard_remove_confirmed">Yes</string> <string name="toast_no_voice_input">No voice typing app installed</string> + <string name="pref_category_clipboard">Clipboard</string> + <string name="pref_clipboard_history_duration">Clipboard memory duration</string> + <string name="pref_clipboard_history_duration_1">At most 1 minute</string> + <string name="pref_clipboard_history_duration_5">At most 5 minutes</string> + <string name="pref_clipboard_history_duration_30">At most 30 minutes</string> + <string name="pref_clipboard_history_duration_stop">Until the app stops</string> </resources> |
