diff options
author | rsudev <rasch@munin-soft.de> | 2013-07-26 23:05:40 +0200 |
---|---|---|
committer | rsudev <rasch@munin-soft.de> | 2013-07-26 23:05:40 +0200 |
commit | eb15dddf8715bbc1926b8030ab4db7fbeec666cf (patch) | |
tree | 052b7d99c1cf4d8f6e22cf2eebe3fb840f417485 /main/res | |
parent | f86fa7a33393cd4ce2c7eff72479775b37dfeff3 (diff) | |
download | cgeo-eb15dddf8715bbc1926b8030ab4db7fbeec666cf.zip cgeo-eb15dddf8715bbc1926b8030ab4db7fbeec666cf.tar.gz cgeo-eb15dddf8715bbc1926b8030ab4db7fbeec666cf.tar.bz2 |
Implements OKAPI Live access for opencaching.pl
Diffstat (limited to 'main/res')
-rw-r--r-- | main/res/values/preference_keys.xml | 6 | ||||
-rw-r--r-- | main/res/values/strings.xml | 6 | ||||
-rw-r--r-- | main/res/xml/preferences.xml | 19 |
3 files changed, 30 insertions, 1 deletions
diff --git a/main/res/values/preference_keys.xml b/main/res/values/preference_keys.xml index 0d4e4bb..5080e1a 100644 --- a/main/res/values/preference_keys.xml +++ b/main/res/values/preference_keys.xml @@ -5,11 +5,13 @@ <string name="pref_fakekey_services_screen">fakekey_services_screen</string> <string name="pref_fakekey_basicmembers_screen">fakekey_basicmembers_screen</string> <string name="pref_fakekey_ocde_authorization">fakekey_ocde_authorization</string> + <string name="pref_fakekey_ocpl_authorization">fakekey_ocpl_authorization</string> <string name="pref_fakekey_twitter_authorization">fakekey_twitter_authorization</string> <string name="pref_connectorGCActive">connectorGCActive</string> <string name="pref_username">username</string> <string name="pref_password">password</string> <string name="pref_connectorOCActive">connectorOCActive</string> + <string name="pref_connectorOCPLActive">connectorOCPLActive</string> <string name="pref_pass_vote">pass-vote</string> <string name="pref_twitter">twitter</string> <string name="pref_webDeviceName">webDeviceName</string> @@ -86,4 +88,8 @@ <string name="pref_temp_ocde_token_secret">ocde-temp-token-secret</string> <string name="pref_temp_ocde_token_public">ocde-temp-token-public</string> <string name="pref_fieldnoteExportDate">fieldnoteExportDate</string> + <string name="pref_ocpl_tokensecret">ocpl_tokensecret</string> + <string name="pref_ocpl_tokenpublic">ocpl_tokenpublic</string> + <string name="pref_temp_ocpl_token_secret">ocpl-temp-token-secret</string> + <string name="pref_temp_ocpl_token_public">ocpl-temp-token-public</string> </resources> diff --git a/main/res/values/strings.xml b/main/res/values/strings.xml index 6dd8064..68cd95d 100644 --- a/main/res/values/strings.xml +++ b/main/res/values/strings.xml @@ -391,6 +391,11 @@ <string name="init_oc_de_description">Authorize c:geo with opencaching.de to search for caches and access/filter your found caches.</string> <string name="init_register_oc_de">Authorize c:geo</string> <string name="init_reregister_oc_de">Authorize c:geo again</string> + <string name="init_oc_pl">Opencaching.pl</string> + <string name="settings_activate_oc_pl">Activate</string> + <string name="init_oc_pl_description">Authorize c:geo with opencaching.pl to search for caches and access/filter your found caches.</string> + <string name="init_register_oc_pl">Authorize c:geo</string> + <string name="init_reregister_oc_pl">Authorize c:geo again</string> <string name="init_gcvote">GCvote.com</string> <string name="init_twitter">Twitter</string> <string name="settings_activate_twitter">Activate</string> @@ -534,6 +539,7 @@ <!-- auth opencaching --> <string name="auth_ocde">opencaching.de</string> + <string name="auth_ocpl">opencaching.pl</string> <string name="auth_authorize_oc">Authorize c:geo</string> <string name="auth_start_oc">Start authorization</string> <string name="auth_again_oc">Start again</string> diff --git a/main/res/xml/preferences.xml b/main/res/xml/preferences.xml index 660a411..ec2e6b6 100644 --- a/main/res/xml/preferences.xml +++ b/main/res/xml/preferences.xml @@ -74,13 +74,30 @@ android:layout="@layout/text_preference" android:text="@string/init_oc_de_description" android:dependency="@string/pref_connectorOCActive" /> - <cgeo.geocaching.settings.AuthorizeOcDePreference + <cgeo.geocaching.settings.AuthorizeOcPreference android:key="@string/pref_fakekey_ocde_authorization" android:dependency="@string/pref_connectorOCActive" /> </PreferenceCategory> <PreferenceCategory + android:title="@string/init_oc_pl" > + + <CheckBoxPreference + android:key="@string/pref_connectorOCPLActive" + android:title="@string/settings_activate_oc_pl" + android:defaultValue="false" /> + <cgeo.geocaching.settings.TextPreference + android:layout="@layout/text_preference" + android:text="@string/init_oc_pl_description" + android:dependency="@string/pref_connectorOCPLActive" /> + <cgeo.geocaching.settings.AuthorizeOcPreference + android:key="@string/pref_fakekey_ocpl_authorization" + android:dependency="@string/pref_connectorOCPLActive" /> + + </PreferenceCategory> + + <PreferenceCategory android:title="@string/init_gcvote" > <cgeo.geocaching.settings.EditPasswordPreference |