Improve the description of tap-to-reveal in the settingsj

This commit is contained in:
Jakob Nixdorf 2017-07-06 15:18:53 +02:00
parent bc1f8002fa
commit a923b2f499
No known key found for this signature in database
GPG key ID: BE99BF86574A7DBC
2 changed files with 5 additions and 1 deletions

View file

@ -48,7 +48,9 @@
<!-- Preferences --> <!-- Preferences -->
<string name="pref_window_title">Settings</string> <string name="pref_window_title">Settings</string>
<string name="pref_category_title_ui">User interface</string> <string name="pref_category_title_ui">User interface</string>
<string name="pref_title_tap_to_reveal">Tap-to-reveal</string> <string name="pref_title_tap_to_reveal">Tap to reveal</string>
<string name="pref_desc_tap_to_reveal_on">The token is hidden and has to be revealed manually</string>
<string name="pref_desc_tap_to_reveal_off">The token is always displayed</string>
<string name="pref_key_tap_to_reveal" translatable="false">pref_tap_to_reveal</string> <string name="pref_key_tap_to_reveal" translatable="false">pref_tap_to_reveal</string>
<!-- About dialog --> <!-- About dialog -->

View file

@ -7,6 +7,8 @@
<CheckBoxPreference <CheckBoxPreference
android:key="@string/pref_key_tap_to_reveal" android:key="@string/pref_key_tap_to_reveal"
android:title="@string/pref_title_tap_to_reveal" android:title="@string/pref_title_tap_to_reveal"
android:summaryOff="@string/pref_desc_tap_to_reveal_off"
android:summaryOn="@string/pref_desc_tap_to_reveal_on"
android:defaultValue="false" /> android:defaultValue="false" />
</PreferenceCategory> </PreferenceCategory>