diff options
| author | rsudev <rasch@munin-soft.de> | 2013-05-26 17:44:10 +0200 |
|---|---|---|
| committer | rsudev <rasch@munin-soft.de> | 2013-05-26 17:44:10 +0200 |
| commit | 8e2ec9dd830d9c5c370ae8aa77163c22364e47e0 (patch) | |
| tree | 2ed070f00896c636867b01f0c5dadf78ac2a828f /main/res | |
| parent | ea5cfa107123deaf358bf75a7cf8835fc95acc8f (diff) | |
| download | cgeo-8e2ec9dd830d9c5c370ae8aa77163c22364e47e0.zip cgeo-8e2ec9dd830d9c5c370ae8aa77163c22364e47e0.tar.gz cgeo-8e2ec9dd830d9c5c370ae8aa77163c22364e47e0.tar.bz2 | |
Implements OKAPI access for oc.de
Enable OKAPI for opencaching.de
Enhance OKAPI to allow nearby and livemap searches
Enhance OKAPI to allow posting logs and watchlist changes
Diffstat (limited to 'main/res')
| -rw-r--r-- | main/res/layout/authorization_activity.xml (renamed from main/res/layout/twitter_authorization_activity.xml) | 9 | ||||
| -rw-r--r-- | main/res/layout/init.xml | 10 | ||||
| -rw-r--r-- | main/res/values-cs/strings.xml | 2 | ||||
| -rw-r--r-- | main/res/values-de/strings.xml | 24 | ||||
| -rw-r--r-- | main/res/values-fr/strings.xml | 2 | ||||
| -rw-r--r-- | main/res/values-it/strings.xml | 2 | ||||
| -rw-r--r-- | main/res/values-ja/strings.xml | 2 | ||||
| -rw-r--r-- | main/res/values-nl/strings.xml | 2 | ||||
| -rw-r--r-- | main/res/values-pl/strings.xml | 2 | ||||
| -rw-r--r-- | main/res/values-sv/strings.xml | 2 | ||||
| -rw-r--r-- | main/res/values/.gitignore | 1 | ||||
| -rw-r--r-- | main/res/values/strings.xml | 25 |
12 files changed, 47 insertions, 36 deletions
diff --git a/main/res/layout/twitter_authorization_activity.xml b/main/res/layout/authorization_activity.xml index ec9aa8a..931441d 100644 --- a/main/res/layout/twitter_authorization_activity.xml +++ b/main/res/layout/authorization_activity.xml @@ -19,6 +19,7 @@ android:orientation="vertical" > <TextView + android:id="@+id/auth_1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_gravity="left|center_vertical" @@ -28,11 +29,11 @@ android:drawableLeft="@drawable/cgeo" android:drawablePadding="15dip" android:gravity="left|center_vertical" - android:text="@string/about_auth_1" android:textColor="?text_color" android:textSize="14sp" /> <TextView + android:id="@+id/auth_2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left|center_vertical" @@ -40,7 +41,6 @@ android:layout_marginLeft="10dip" android:layout_marginRight="10dip" android:gravity="left|center_vertical" - android:text="@string/about_auth_2" android:textColor="?text_color" android:textSize="14sp" /> @@ -52,20 +52,17 @@ <Button android:id="@+id/start" - style="@style/button_full" - android:text="@string/auth_authorize" /> + style="@style/button_full" /> <EditText android:id="@+id/pin" style="@style/edittext_full" - android:hint="@string/auth_pin_hint" android:inputType="number" android:visibility="gone" /> <Button android:id="@+id/pin_button" style="@style/button_full" - android:text="@string/auth_finish" android:visibility="visible" /> </LinearLayout> </LinearLayout> diff --git a/main/res/layout/init.xml b/main/res/layout/init.xml index adeda1a..e784b21 100644 --- a/main/res/layout/init.xml +++ b/main/res/layout/init.xml @@ -110,14 +110,14 @@ android:layout_marginLeft="10dip" android:layout_marginRight="10dip" android:padding="3dip" - android:text="@string/init_oc_username_description" + android:text="@string/init_oc_de_description" android:textColor="?text_color" android:textSize="14sp" /> - <EditText - android:id="@+id/oc_username" - style="@style/edittext_full" - android:hint="@string/init_oc_username" /> + <Button + android:id="@+id/register_oc_de" + style="@style/button_full" + android:text="@string/init_register_oc_de" /> <!-- ** --> <RelativeLayout style="@style/separator_horizontal_layout" > diff --git a/main/res/values-cs/strings.xml b/main/res/values-cs/strings.xml index db5ad9d..f29f7e6 100644 --- a/main/res/values-cs/strings.xml +++ b/main/res/values-cs/strings.xml @@ -364,8 +364,6 @@ <string name="init_gc_activate">Aktivace Geocaching.com na Aktivní mapě a ve vyhledávání</string> <string name="init_oc">opencaching.de</string> <string name="init_oc_activate">Aktivace opencaching.de na Aktivní mapě a ve vyhledávání</string> - <string name="init_oc_username_description">Zadej své uživatelské jméno pro opencaching.de kvůli možnosti označovat nálezy.</string> - <string name="init_oc_username">Zadej své uživatelské jméno</string> <string name="init_gcvote">GCvote.com</string> <string name="init_twitter">Twitter</string> <string name="init_username">Uživatelské jméno</string> diff --git a/main/res/values-de/strings.xml b/main/res/values-de/strings.xml index 5b47c3b..cde72a8 100644 --- a/main/res/values-de/strings.xml +++ b/main/res/values-de/strings.xml @@ -363,8 +363,8 @@ <string name="init_geocaching">Geocaching.com</string> <string name="init_oc">opencaching.de</string> <string name="init_oc_activate">Opencaching.de auf Live-Karte und für die Suche aktivieren</string> - <string name="init_oc_username_description">Benutzername für opencaching.de eingeben damit gefundene Caches markiert werden können.</string> - <string name="init_oc_username">Benutzername</string> + <string name="init_oc_de_description">Autorisiere c:geo dazu auf opencaching.de zuzugreifen um Caches zu suchen und nach deinen Funden zu filtern.</string> + <string name="init_register_oc_de">c:geo autorisieren</string> <string name="init_gcvote">GCvote.com</string> <string name="init_twitter">Twitter</string> <string name="init_username">Benutzername</string> @@ -476,7 +476,7 @@ <string name="sendToCgeo_download_fail">c:geo konnte Caches nicht laden. Entweder besteht keine Internetverbindung oder send2c:geo funktioniert nicht.</string> <string name="sendToCgeo_no_registration">c:geo konnte Caches nicht laden. Registrierung für send2c:geo ungültig. Bitte in Einstellungen neu registrieren.</string> - <!-- auth --> + <!-- auth twitter --> <string name="auth_twitter">Twitter</string> <string name="auth_authorize">c:geo autorisieren</string> <string name="auth_start">Starte Autorisierung</string> @@ -487,6 +487,22 @@ <string name="auth_dialog_pin_title">PIN Code</string> <string name="auth_dialog_pin_message">Bitte den Twitter-PIN-Code eingeben, dies ist notwendig um die Autorisierung abzuschließen.</string> <string name="auth_dialog_completed">c:geo ist nun autorisiert, Tweets bei Twitter zu erstellen.</string> + <string name="about_auth_1">Der folgende Prozess erlaubt es <b>c:geo</b> auf den persönlichen Twitter-Account zuzugreifen, wenn zugestimmt wird.</string> + <string name="about_auth_2">Ein Klick auf \"Starte Autorisierung\" öffnet eine Twitter-Seite in einem Browserfenster. Durch die Anmeldung und die Bestätigung wird <b>c:geo</b> ermöglicht, auf den persönlichen Twitter-Account zuzugreifen. Wird dies bestätigt, nennt Twitter eine numerische PIN, diese muss kopiert und in <b>c:geo</b> eingefügt werden. Das ist alles.</string> + + <!-- auth opencaching --> + <string name="auth_ocde">opencaching.de</string> + <string name="auth_authorize_oc">c:geo autorisieren</string> + <string name="auth_start_oc">Starte Autorisierung</string> + <string name="auth_again_oc">Neustarten</string> + <string name="auth_pin_hint_oc">%s-PIN</string> + <string name="auth_finish_oc">Fertig</string> + <string name="auth_dialog_wait_oc">Warten auf %s…</string> + <string name="auth_dialog_pin_title_oc">PIN Code</string> + <string name="auth_dialog_pin_message_oc">Bitte den %s-PIN-Code eingeben, dies ist notwendig um die Autorisierung abzuschließen.</string> + <string name="auth_dialog_completed_oc">c:geo ist nun autorisiert, caches zu laden und auf %s zu loggen.</string> + <string name="about_auth_1_oc">Der folgende Prozess erlaubt es <b>c:geo</b> auf den persönlichen %s-Account zuzugreifen, wenn zugestimmt wird.</string> + <string name="about_auth_2_oc">Ein Klick auf \"Starte Autorisierung\" öffnet eine %s-Seite in einem Browserfenster. Durch die Anmeldung und die Bestätigung wird <b>c:geo</b> ermöglicht, auf den persönlichen Account zuzugreifen. Wird dies bestätigt, nennt %s eine numerische PIN, diese muss kopiert und in <b>c:geo</b> eingefügt werden. Das ist alles.</string> <!-- cache --> <plurals name="cache_counts"> @@ -1048,8 +1064,6 @@ <string name="twitter">Twitter: <a href="">@android_GC</a></string> <string name="nutshellmanual">Benutzung: <a href="">c:geo Kurzanleitung</a></string> <string name="about_twitter">Soll jeder neue Fund auf Twitter veröffentlicht werden, wenn er über <b>c:geo</b> geloggt wird?</string> - <string name="about_auth_1">Der folgende Prozess erlaubt es <b>c:geo</b> auf den persönlichen Twitter-Account zuzugreifen, wenn zugestimmt wird.</string> - <string name="about_auth_2">Ein Klick auf \"Starte Autorisierung\" öffnet eine Twitter-Seite in einem Browserfenster. Durch die Anmeldung und die Bestätigung wird <b>c:geo</b> ermöglicht, auf den persönlichen Twitter-Account zuzugreifen. Wird dies bestätigt, nennt Twitter eine numerische PIN, diese muss kopiert und in <b>c:geo</b> eingefügt werden. Das ist alles.</string> <!-- status --> <string name="status_new_release" tools:ignore="UnusedResources">Neuer Release verfügbar.\nKlicken zum Installieren.</string> diff --git a/main/res/values-fr/strings.xml b/main/res/values-fr/strings.xml index 12d59a7..9f25083 100644 --- a/main/res/values-fr/strings.xml +++ b/main/res/values-fr/strings.xml @@ -371,8 +371,6 @@ <string name="init_gc_activate">Utiliser Geocaching.com pour la carte active et les recherches.</string> <string name="init_oc">opencaching.de</string> <string name="init_oc_activate">Utiliser opencaching.de pour la carte active et les recherches.</string> - <string name="init_oc_username_description">Entrer votre nom d\'utilisateur opencaching.de afin de pouvoir marquer vos trouvailles.</string> - <string name="init_oc_username">Entrer votre nom d\'utilisateur</string> <string name="init_gcvote">GCvote.com</string> <string name="init_twitter">Twitter</string> <string name="init_username">Identifiant</string> diff --git a/main/res/values-it/strings.xml b/main/res/values-it/strings.xml index 00551f5..98fdf5f 100644 --- a/main/res/values-it/strings.xml +++ b/main/res/values-it/strings.xml @@ -367,8 +367,6 @@ <string name="init_gc_activate">Attiva Geocaching.com su mappa live e nelle ricerche</string> <string name="init_oc">opencaching.de</string> <string name="init_oc_activate">Attiva opencaching.de su mappa live e nelle ricerche</string> - <string name="init_oc_username_description">Inserisci il tuo utente opencaching.de per marcare i tuoi ritrovamenti.</string> - <string name="init_oc_username">Inserisci nome utente</string> <string name="init_gcvote">GCvote.com</string> <string name="init_twitter">Twitter</string> <string name="init_username">Utente</string> diff --git a/main/res/values-ja/strings.xml b/main/res/values-ja/strings.xml index 4bb15a2..b88577b 100644 --- a/main/res/values-ja/strings.xml +++ b/main/res/values-ja/strings.xml @@ -345,8 +345,6 @@ <string name="init_geocaching">Geocaching.com</string> <string name="init_oc">opencaching.de</string> <string name="init_oc_activate">オンライン地図や検索でopencaching.deも使用する</string> - <string name="init_oc_username_description">見つけたキャッシュなどをマークするにはopencaching.deのユーザ名を入力してください。</string> - <string name="init_oc_username">ユーザ名</string> <string name="init_gcvote">GCvote.com</string> <string name="init_twitter">Twitter</string> <string name="init_username">ユーザ名</string> diff --git a/main/res/values-nl/strings.xml b/main/res/values-nl/strings.xml index 4eb1bc6..c827848 100644 --- a/main/res/values-nl/strings.xml +++ b/main/res/values-nl/strings.xml @@ -347,8 +347,6 @@ <string name="init_geocaching">Geocaching.com</string> <string name="init_oc">opencaching.de</string> <string name="init_oc_activate">Activeer opencaching.de op live-kaart en in zoekopdrachten.</string> - <string name="init_oc_username_description">Vul je opencaching.de gebruikersnaam in op caches als gevonden te markeren.</string> - <string name="init_oc_username">Vul gebruikersnaam in</string> <string name="init_gcvote">GCvote.com</string> <string name="init_twitter">Twitter</string> <string name="init_username">Gebruikersnaam</string> diff --git a/main/res/values-pl/strings.xml b/main/res/values-pl/strings.xml index 50a383f..e736bbb 100644 --- a/main/res/values-pl/strings.xml +++ b/main/res/values-pl/strings.xml @@ -364,8 +364,6 @@ <string name="init_gc_activate">Aktywuj Geocaching.com na aktualnej mapie i w wyszukiwaniu</string> <string name="init_oc">opencaching.de</string> <string name="init_oc_activate">Aktywuj opencaching.de na mapie Live i w wyszukiwaniu</string> - <string name="init_oc_username_description">Wpisz swoją nazwę użytkownika opencaching.de w celu umożliwienia zaznaczania znalezionych przez Ciebie skrzynek.</string> - <string name="init_oc_username">Wpisz swoją nazwę użytkownika</string> <string name="init_gcvote">GCvote.com</string> <string name="init_twitter">Twitter</string> <string name="init_username">Nazwa użytkownika</string> diff --git a/main/res/values-sv/strings.xml b/main/res/values-sv/strings.xml index 51bee26..8501cf7 100644 --- a/main/res/values-sv/strings.xml +++ b/main/res/values-sv/strings.xml @@ -371,8 +371,6 @@ <string name="init_gc_activate">Aktivera Geocaching.com i live-kartor och sökningar</string> <string name="init_oc">opencaching.de</string> <string name="init_oc_activate">Aktivera opencaching.de i live-kartor och sökningar</string> - <string name="init_oc_username_description">Ange användarnamn till opencaching.de för att kunna markera dina hittade cacher.</string> - <string name="init_oc_username">Ange ditt användarnamn</string> <string name="init_gcvote">GCvote.com</string> <string name="init_twitter">Twitter</string> <string name="init_username">Användare</string> diff --git a/main/res/values/.gitignore b/main/res/values/.gitignore new file mode 100644 index 0000000..1f65bef --- /dev/null +++ b/main/res/values/.gitignore @@ -0,0 +1 @@ +/ocde_okapi.xml diff --git a/main/res/values/strings.xml b/main/res/values/strings.xml index 6309201..13cd390 100644 --- a/main/res/values/strings.xml +++ b/main/res/values/strings.xml @@ -371,8 +371,8 @@ <string name="init_gc_activate">Activate Geocaching.com on live-map and in searches</string> <string name="init_oc">opencaching.de</string> <string name="init_oc_activate">Activate opencaching.de on live-map and in searches</string> - <string name="init_oc_username_description">Enter your opencaching.de user name in order to allow marking your finds.</string> - <string name="init_oc_username">Enter your user name</string> + <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_gcvote">GCvote.com</string> <string name="init_twitter">Twitter</string> <string name="init_username">Username</string> @@ -486,8 +486,7 @@ <string name="sendToCgeo_download_fail">c:geo failed to download caches. No internet connection or send2c:geo is down.</string> <string name="sendToCgeo_no_registration">c:geo failed to download caches. Registration for send2c:geo expired. Please register in settings.</string> - - <!-- auth --> + <!-- auth twitter --> <string name="auth_twitter">Twitter</string> <string name="auth_authorize">Authorize c:geo</string> <string name="auth_start">Start authorization</string> @@ -498,6 +497,22 @@ <string name="auth_dialog_pin_title">PIN code</string> <string name="auth_dialog_pin_message">Please type in PIN code provided by the Twitter website. It is mandatory to complete the authorization.</string> <string name="auth_dialog_completed">c:geo is now authorized to post on Twitter.</string> + <string name="about_auth_1">The following process allows <b>c:geo</b> to access Twitter - if agreed.</string> + <string name="about_auth_2">A click on the \"authorize c:geo\" button will start the process. This process will open up a web browser with a Twitter page. Login on this page and allow <b>c:geo</b> to access your account. If this is accepted, Twitter will show up a numeric PIN code. This PIN must be pasted into <b>c:geo</b> and confirmed. That\'s all.</string> + + <!-- auth opencaching --> + <string name="auth_ocde">opencaching.de</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> + <string name="auth_pin_hint_oc">PIN assigned by %s</string> + <string name="auth_finish_oc">Finish</string> + <string name="auth_dialog_wait_oc">Waiting for %s…</string> + <string name="auth_dialog_pin_title_oc">PIN code</string> + <string name="auth_dialog_pin_message_oc">Please type in PIN code provided by the %s website. It is mandatory to complete the authorization.</string> + <string name="auth_dialog_completed_oc">c:geo is now authorized to interact with %s.</string> + <string name="about_auth_1_oc">The following process allows <b>c:geo</b> to access %s - if agreed.</string> + <string name="about_auth_2_oc">A click on the \"authorize c:geo\" button will start the process. This process will open up a web browser with a %s page. Login on this page and allow <b>c:geo</b> to access your account. If this is accepted, %s will show up a numeric PIN code. This PIN must be pasted into <b>c:geo</b> and confirmed. That\'s all.</string> <!-- cache --> <plurals name="cache_counts"> @@ -1068,8 +1083,6 @@ <string name="nutshellmanual">Manual: <a href="">c:geo in a Nutshell</a></string> <string name="market">Android: <a href="">c:geo on Google Play</a></string> <string name="about_twitter">Should <b>c:geo</b> publish a new status on Twitter every time you log a cache?</string> - <string name="about_auth_1">The following process allows <b>c:geo</b> to access Twitter - if agreed.</string> - <string name="about_auth_2">A click on the \"authorize c:geo\" button will start the process. This process will open up a web browser with a Twitter page. Login on this page and allow <b>c:geo</b> to access your account. If this is accepted, Twitter will show up a numeric PIN code. This PIN must be pasted into <b>c:geo</b> and confirmed. That\'s all.</string> <!-- status (used via string based resource loading) --> <string name="status_new_release" tools:ignore="UnusedResources">New release available.\nClick to install.</string> |
