aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/xml
diff options
context:
space:
mode:
authorkoem <koem@petoria.de>2013-07-19 10:59:37 -0700
committerrsudev <rasch@munin-soft.de>2013-07-19 23:38:45 +0200
commit86c1882b5157fb85bf66d9c7c8d178d7e08a0f89 (patch)
tree611d7298e86e06a35d477835c17a7590991691a5 /main/res/xml
parent00165dafe3e709eac2775a311b47c354ad5aae7c (diff)
downloadcgeo-86c1882b5157fb85bf66d9c7c8d178d7e08a0f89.zip
cgeo-86c1882b5157fb85bf66d9c7c8d178d7e08a0f89.tar.gz
cgeo-86c1882b5157fb85bf66d9c7c8d178d7e08a0f89.tar.bz2
Fixes #2992 - Settings: show "authorize c:geo again" when appropriate
This was a little more complicated than expected ... changing titles of settings is a task for someone who killed his grandmother. When authorization is already done, settings for twitter auth and OCDE auth show "authorize c:geo again".
Diffstat (limited to 'main/res/xml')
-rw-r--r--main/res/xml/preferences.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/res/xml/preferences.xml b/main/res/xml/preferences.xml
index 6a7c638..c0158da 100644
--- a/main/res/xml/preferences.xml
+++ b/main/res/xml/preferences.xml
@@ -71,7 +71,7 @@
android:text="@string/init_oc_de_description"
android:dependency="@string/pref_connectorOCActive" />
<cgeo.geocaching.settings.AuthorizeOcDePreference
- android:title="@string/init_register_oc_de"
+ android:key="@string/pref_fakekey_ocde_authorization"
android:dependency="@string/pref_connectorOCActive" />
</PreferenceCategory>
@@ -100,7 +100,7 @@
android:text="@string/about_twitter"
android:dependency="@string/pref_twitter" />
<cgeo.geocaching.settings.AuthorizeTwitterPreference
- android:title="@string/init_twitter_authorize"
+ android:key="@string/pref_fakekey_twitter_authorization"
android:dependency="@string/pref_twitter" />
</PreferenceCategory>