Extract strings

This commit is contained in:
ligi 2016-10-23 16:18:53 +02:00
parent 7deec6c3b2
commit 883bd14309
No known key found for this signature in database
GPG key ID: 8E81894010ABF23D
2 changed files with 22 additions and 8 deletions

View file

@ -173,5 +173,19 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
<item>auto</item>
</string-array>
<string name="preference_autolight_title">Automatic light</string>
<string name="preference_autolight_summary">Should I increase brightness when showing barcode?</string>
<string name="preference_condensed_title">Condensed mode</string>
<string name="preference_condensed_summary">Should I show more detail and less clutter?</string>
<string name="preference_sort_title">Sort order</string>
<string name="preference_sort_summary">How should I sort the passes?</string>
<string name="preference_daynight_title">Day/Night theme</string>
<string name="preference_daynight_summary">Should I be dark or light?</string>
</resources>

View file

@ -2,29 +2,29 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<CheckBoxPreference
android:key="@string/preference_key_autolight"
android:summary="Increase brightness when showing barcode"
android:summary="@string/preference_autolight_summary"
android:defaultValue="true"
android:title="Automatic light"/>
android:title="@string/preference_autolight_title"/>
<CheckBoxPreference
android:key="@string/preference_key_condensed"
android:summary="Show more detail in List"
android:title="Condensed mode"/>
android:summary="@string/preference_condensed_summary"
android:title="@string/preference_condensed_title"/>
<ListPreference
android:defaultValue="0"
android:entries="@array/sort_orders"
android:entryValues="@array/sort_order_keys"
android:key="@string/preference_key_sort"
android:summary="how to sort the passes"
android:title="Sort order"/>
android:summary="@string/preference_sort_summary"
android:title="@string/preference_sort_title"/>
<ListPreference
android:defaultValue="auto"
android:entries="@array/night_modes"
android:entryValues="@array/nightmode_keys"
android:key="@string/preference_key_nightmode"
android:summary="adapts some colors"
android:title="Day/Night theme"/>
android:summary="@string/preference_daynight_summary"
android:title="@string/preference_daynight_title"/>
</PreferenceScreen>