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"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<string-array name="rictxwf01_styles_name">
|
<string-array name="rictxwf01_styles_name">
|
||||||
<item>Red</item>
|
<item>@string/color_name_red</item>
|
||||||
<item>Purple</item>
|
<item>@string/color_name_deeppurple</item>
|
||||||
<item>Indigo</item>
|
<item>@string/color_name_indigo</item>
|
||||||
<item>Blue</item>
|
<item>@string/color_name_lightblue</item>
|
||||||
<item>Lime</item>
|
<item>@string/color_name_lime</item>
|
||||||
<item>Orange</item>
|
<item>@string/color_name_orange</item>
|
||||||
<item>BlueGray</item>
|
<item>@string/color_name_bluegray</item>
|
||||||
<item>Rainbow-Style</item>
|
<item>@string/style_rainbowstyle</item>
|
||||||
<item>SIMPLE-Style</item>
|
<item>@string/style_simplestyle</item>
|
||||||
<item>NO-Style</item>
|
<item>@string/style_nostyle</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
<string-array name="rictxwf01_styles_values">
|
<string-array name="rictxwf01_styles_values">
|
||||||
<item>red</item>
|
<item>red</item>
|
||||||
|
|
|
@ -117,6 +117,18 @@
|
||||||
<string name="unit_h" comment="One letter shortcut for: Hour" maxLength="1">h</string>
|
<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_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="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>
|
</resources>
|
||||||
|
|
|
@ -4,33 +4,33 @@
|
||||||
|
|
||||||
|
|
||||||
<ListPreference
|
<ListPreference
|
||||||
|
android:key="rictxwf01_frameStyle"
|
||||||
|
android:title="@string/pref_choose_your_style"
|
||||||
android:defaultValue="red"
|
android:defaultValue="red"
|
||||||
android:entries="@array/rictxwf01_styles_name"
|
android:entries="@array/rictxwf01_styles_name"
|
||||||
android:entryValues="@array/rictxwf01_styles_values"
|
android:entryValues="@array/rictxwf01_styles_values"/>
|
||||||
android:key="rictxwf01_frameStyle"
|
|
||||||
android:title="Choose frame color & style" />
|
|
||||||
|
|
||||||
<CheckBoxPreference
|
<CheckBoxPreference
|
||||||
android:defaultValue="true"
|
|
||||||
android:key="show_date"
|
android:key="show_date"
|
||||||
android:title="@string/pref_show_date"
|
android:title="@string/pref_show_date"
|
||||||
|
android:defaultValue="true"
|
||||||
app:wear_iconOff="@drawable/settings_off"
|
app:wear_iconOff="@drawable/settings_off"
|
||||||
app:wear_iconOn="@drawable/settings_on" />
|
app:wear_iconOn="@drawable/settings_on" />
|
||||||
|
|
||||||
<!-- Idea for future implementation @ToDo Implement Background-Images
|
<!-- Idea for future implementation @ToDo Implement Background-Images
|
||||||
<ListPreference
|
<ListPreference
|
||||||
|
android:key="rictxwf01_backgroundImage"
|
||||||
|
android:title="Background Image"
|
||||||
android:defaultValue="red"
|
android:defaultValue="red"
|
||||||
android:entries="@array/rictxwf01_backgroundimage_name"
|
android:entries="@array/rictxwf01_backgroundimage_name"
|
||||||
android:entryValues="@array/rictxwf01_backgroundimage_values"
|
android:entryValues="@array/rictxwf01_backgroundimage_values" />
|
||||||
android:key="rictxwf01_backgroundImage"
|
|
||||||
android:title="Background Image" />
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Idea for future implementation @ToDo Implement Hourly Vibration
|
<!-- Idea for future implementation @ToDo Implement Hourly Vibration
|
||||||
<CheckBoxPreference
|
<CheckBoxPreference
|
||||||
android:key="rictxwf01_vibrateHourly"
|
android:key="rictxwf01_vibrateHourly"
|
||||||
|
android:title="@string/pref_vibrate_hourly"
|
||||||
android:defaultValue="false"
|
android:defaultValue="false"
|
||||||
android:title="Hourly vibrate signal?"
|
|
||||||
app:wear_iconOff="@drawable/settings_off"
|
app:wear_iconOff="@drawable/settings_off"
|
||||||
app:wear_iconOn="@drawable/settings_on" />
|
app:wear_iconOn="@drawable/settings_on" />
|
||||||
-->
|
-->
|
||||||
|
|
Loading…
Reference in a new issue