aboutsummaryrefslogtreecommitdiffstats
path: root/app/res/xml/general_settings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/res/xml/general_settings.xml')
-rw-r--r--app/res/xml/general_settings.xml26
1 files changed, 13 insertions, 13 deletions
diff --git a/app/res/xml/general_settings.xml b/app/res/xml/general_settings.xml
index d836b67..bd9fdf9 100644
--- a/app/res/xml/general_settings.xml
+++ b/app/res/xml/general_settings.xml
@@ -5,8 +5,8 @@
android:id="@+id/pref_dns1"
android:defaultValue="@string/dns1_default"
android:key="dns1"
- android:summary="Set the IPv4 address of the primary DNS server.\nIf left blank, RepWifi will try to use the default gateway as a DNS resolver."
- android:title="DNS server #1"
+ android:summary="@string/summary_dns1"
+ android:title="@string/title_dns_1"
android:textColor="@color/ThemeLight"
android:background="@color/ThemeDark"
android:padding="5dp"/>
@@ -16,8 +16,8 @@
android:id="@+id/pref_dns2"
android:defaultValue="@string/dns2_default"
android:key="dns2"
- android:summary="Set the IPv4 address of the secondary DNS server.\nIf the primary address is blank, this will be ignored."
- android:title="DNS server #2"
+ android:summary="@string/summary_dns2"
+ android:title="@string/title_dns_2"
android:textColor="@color/ThemeLight"
android:background="@color/ThemeDark"
android:padding="5dp"/>
@@ -26,26 +26,26 @@
android:id="@+id/pref_autoconnect"
android:defaultValue="false"
android:key="enable_autoconnect"
- android:summary="When the WiFi dongle is attached, RepWifi connects automatically to reachable known networks.\n(Experimental)."
- android:title="Enable Autoconnect" />
-
+ android:summary="@string/summary_autoconnect"
+ android:title="@string/title_autoconnect" />
+
<CheckBoxPreference
android:id="@+id/pref_progbar"
android:defaultValue="true"
android:key="enable_progbar"
- android:summary="Show an animated progress bar while doing long background tasks.\nKeep it disabled to (hopefully) save some extra power for the WiFi dongle."
- android:title="Animated progress bar" />
+ android:summary="@string/summary_progbar"
+ android:title="@string/title_progbar" />
<CheckBoxPreference
android:id="@+id/pref_autostart"
android:defaultValue="false"
android:key="enable_autostart"
- android:summary="If checked, RepWifi is started automatically on system's startup."
- android:title="Enable Start at Boot" />
+ android:summary="@string/summary_start_at_boot"
+ android:title="@string/title_start_at_boot" />
- <Preference android:title="Restore Defaults"
+ <Preference android:title="@string/title_restore_default"
android:key="pref_restore_default"
- android:summary="click to restore default settings\n(then return to main screen to apply the reset)"
+ android:summary="@string/summary_restore_default"
android:background="@drawable/button_bg"
android:textColor="@color/ThemeLight" />