summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-10-16 14:05:15 +0400
committerAndrew Dolgov <[email protected]>2012-10-16 14:05:15 +0400
commitf82f4ac6d961ec54b8c3936a37cb1689647c7289 (patch)
tree61ec6d1b81661143058bbb3b870ea699cb595756 /res
parentbd19f3a5b5ba9c3cf82d46c4554db9907162d786 (diff)
allow clearing remote sync data
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml6
-rw-r--r--res/xml/preferences.xml10
2 files changed, 13 insertions, 3 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index bc209ac..1f663fc 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -41,9 +41,11 @@
<string name="share_comic">Share comic</string>
<string name="choose">Choose</string>
<string name="error_no_comic_arhives_found_">No comic arhives found.</string>
- <string name="prefs_use_position_sync">Sync last read page</string>
+ <string name="prefs_use_position_sync">Sync last read pages</string>
<string name="prefs_use_position_sync_summary">Requires at least one Google account on the device. No personally identifiable information is sent.</string>
<string name="error_sync_no_account">No Google account found, sync disabled.</string>
- <string name="sync_uploading">Uploading sync data...</string>
+ <string name="sync_uploading">Uploading sync data…</string>
<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>
</resources> \ No newline at end of file
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index b91609c..a0ffefd 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -7,13 +7,21 @@
android:hint="@string/comics_directory_default"
android:title="@string/prefs_comics_directory" >
</Preference>
-
+ </PreferenceCategory>
+ <PreferenceCategory android:title="Sync" >
<CheckBoxPreference
android:defaultValue="false"
android:key="use_position_sync"
android:title="@string/prefs_use_position_sync"
android:summary="@string/prefs_use_position_sync_summary"
/>
+
+ <Preference
+ android:dependency="use_position_sync"
+ android:key="clear_sync_data"
+ android:title="Clear sync data"
+ android:summary="Removes all remotely stored sync data" >
+ </Preference>
</PreferenceCategory>