Replace string with placeholder so I10N support is possible
This commit is contained in:
parent
4b9351964f
commit
278b15d8ac
3 changed files with 30 additions and 18 deletions
|
@ -1,16 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string-array name="rictxwf01_styles_name">
|
||||
<item>Red</item>
|
||||
<item>Purple</item>
|
||||
<item>Indigo</item>
|
||||
<item>Blue</item>
|
||||
<item>Lime</item>
|
||||
<item>Orange</item>
|
||||
<item>BlueGray</item>
|
||||
<item>Rainbow-Style</item>
|
||||
<item>SIMPLE-Style</item>
|
||||
<item>NO-Style</item>
|
||||
<item>@string/color_name_red</item>
|
||||
<item>@string/color_name_deeppurple</item>
|
||||
<item>@string/color_name_indigo</item>
|
||||
<item>@string/color_name_lightblue</item>
|
||||
<item>@string/color_name_lime</item>
|
||||
<item>@string/color_name_orange</item>
|
||||
<item>@string/color_name_bluegray</item>
|
||||
<item>@string/style_rainbowstyle</item>
|
||||
<item>@string/style_simplestyle</item>
|
||||
<item>@string/style_nostyle</item>
|
||||
</string-array>
|
||||
<string-array name="rictxwf01_styles_values">
|
||||
<item>red</item>
|
||||
|
|
|
@ -117,6 +117,18 @@
|
|||
<string name="unit_h" comment="One letter shortcut for: Hour" maxLength="1">h</string>
|
||||
<string name="unit_d" comment="One letter shortcut for: Day" maxLength="1">d</string>
|
||||
<string name="unit_w" comment="One letter shortcut for: Week" maxLength="1">w</string>
|
||||
<string name="pref_choose_your_style">Choose your style</string>
|
||||
<string name="pref_vibrate_hourly">vibrate hourly</string>
|
||||
<string name="color_name_deeppurple">deep purple</string>
|
||||
<string name="color_name_red">red</string>
|
||||
<string name="color_name_orange">orange</string>
|
||||
<string name="color_name_lime">lime</string>
|
||||
<string name="color_name_indigo">indigo</string>
|
||||
<string name="style_nostyle">no style</string>
|
||||
<string name="style_simplestyle">simple style</string>
|
||||
<string name="color_name_bluegray">blue gray</string>
|
||||
<string name="color_name_lightblue">light blue</string>
|
||||
<string name="style_rainbowstyle">rainbow style</string>
|
||||
|
||||
|
||||
</resources>
|
||||
|
|
|
@ -4,33 +4,33 @@
|
|||
|
||||
|
||||
<ListPreference
|
||||
android:key="rictxwf01_frameStyle"
|
||||
android:title="@string/pref_choose_your_style"
|
||||
android:defaultValue="red"
|
||||
android:entries="@array/rictxwf01_styles_name"
|
||||
android:entryValues="@array/rictxwf01_styles_values"
|
||||
android:key="rictxwf01_frameStyle"
|
||||
android:title="Choose frame color & style" />
|
||||
android:entryValues="@array/rictxwf01_styles_values"/>
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="show_date"
|
||||
android:title="@string/pref_show_date"
|
||||
android:defaultValue="true"
|
||||
app:wear_iconOff="@drawable/settings_off"
|
||||
app:wear_iconOn="@drawable/settings_on" />
|
||||
|
||||
<!-- Idea for future implementation @ToDo Implement Background-Images
|
||||
<ListPreference
|
||||
android:key="rictxwf01_backgroundImage"
|
||||
android:title="Background Image"
|
||||
android:defaultValue="red"
|
||||
android:entries="@array/rictxwf01_backgroundimage_name"
|
||||
android:entryValues="@array/rictxwf01_backgroundimage_values"
|
||||
android:key="rictxwf01_backgroundImage"
|
||||
android:title="Background Image" />
|
||||
android:entryValues="@array/rictxwf01_backgroundimage_values" />
|
||||
-->
|
||||
|
||||
<!-- Idea for future implementation @ToDo Implement Hourly Vibration
|
||||
<CheckBoxPreference
|
||||
android:key="rictxwf01_vibrateHourly"
|
||||
android:title="@string/pref_vibrate_hourly"
|
||||
android:defaultValue="false"
|
||||
android:title="Hourly vibrate signal?"
|
||||
app:wear_iconOff="@drawable/settings_off"
|
||||
app:wear_iconOn="@drawable/settings_on" />
|
||||
-->
|
||||
|
|
Loading…
Reference in a new issue