summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-10-16 14:09:54 +0400
committerAndrew Dolgov <[email protected]>2012-10-16 14:09:54 +0400
commitfd3f72c729763bcd9d1e7a852658fe0c402fe7cc (patch)
tree8375169b32cd95add579b29401896d91e0ff0559 /res
parentf82f4ac6d961ec54b8c3936a37cb1689647c7289 (diff)
externalize some strings, try to catch out of bounds condition in
pager.setCurrentItem()
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml3
-rw-r--r--res/xml/preferences.xml6
2 files changed, 6 insertions, 3 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 1f663fc..298d67e 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -48,4 +48,7 @@
<string name="error_sync_no_data">No information stored or you are on the furthest read page.</string>
<string name="dialog_clear_data">Clear data</string>
<string name="dialog_clear_data_title">Clear all remotely stored sync data?</string>
+ <string name="prefs_sync">Sync</string>
+ <string name="prefs_clear_sync_data">Clear sync data</string>
+ <string name="prefs_clear_sync_data_summary">Removes all remotely stored sync data</string>
</resources> \ No newline at end of file
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index a0ffefd..ad59c7e 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -8,7 +8,7 @@
android:title="@string/prefs_comics_directory" >
</Preference>
</PreferenceCategory>
- <PreferenceCategory android:title="Sync" >
+ <PreferenceCategory android:title="@string/prefs_sync" >
<CheckBoxPreference
android:defaultValue="false"
android:key="use_position_sync"
@@ -19,8 +19,8 @@
<Preference
android:dependency="use_position_sync"
android:key="clear_sync_data"
- android:title="Clear sync data"
- android:summary="Removes all remotely stored sync data" >
+ android:title="@string/prefs_clear_sync_data"
+ android:summary="@string/prefs_clear_sync_data_summary" >
</Preference>
</PreferenceCategory>