okapi r618

This commit is contained in:
following 2013-03-30 22:36:26 +01:00
parent 45b90b03a5
commit 82928ef369
10 changed files with 444 additions and 57 deletions

View File

@ -778,7 +778,7 @@ class Okapi
{
public static $data_store;
public static $server;
public static $revision = 608; # This gets replaced in automatically deployed packages
public static $revision = 618; # This gets replaced in automatically deployed packages
private static $okapi_vars = null;
/** Get a variable stored in okapi_vars. If variable not found, return $default. */

View File

@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: OKAPI\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-03-26 16:20+0100\n"
"PO-Revision-Date: 2013-03-26 16:21+0100\n"
"POT-Creation-Date: 2013-03-30 23:41+0100\n"
"PO-Revision-Date: 2013-03-30 23:42+0100\n"
"Last-Translator: following <following@online.de>\n"
"Language-Team: following <following@online.de>\n"
"Language: German\n"
@ -11,17 +11,28 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: _;gettext;gettext_noop\n"
"X-Poedit-Basepath: c:\\source\\okapi\\following2\n"
"X-Poedit-Basepath: c:\\source\\oc\\okapi\\following2\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Generator: Poedit 1.5.5\n"
"X-Poedit-SearchPath-0: c:\\source\\okapi\\following2\n"
"X-Poedit-SearchPath-0: c:\\source\\oc\\okapi\\following2\n"
#: c:\source\okapi\following2/okapi/services/caches/geocaches.php:777
#: c:\source\oc\okapi\following2/okapi/services/caches/geocaches.php:817
msgid "Stage"
msgstr "Station"
#: c:\source\okapi\following2/okapi/services/caches/geocaches.php:897
#: c:\source\oc\okapi\following2/okapi/services/caches/geocaches.php:950
#, php-format
msgid ""
"<em>&copy; <a href='%s'>%s</a>, <a href='%s'>%s</a>, <a href='http://"
"creativecommons.org/licenses/by-nc-nd/3.0/de/deed.en'>CC-BY-NC-ND</a>, as of "
"%s; all log entries &copy; their authors</em>"
msgstr ""
"<em>&copy; <a href='%s'>%s</a>, <a href='%s'>%s</a>, <a href='http://"
"creativecommons.org/licenses/by-nc-nd/3.0/de/'>CC-BY-NC-ND</a>, Stand: %s; "
"alle Logeinträge &copy; jeweiliger Autor</em>"
#: c:\source\oc\okapi\following2/okapi/services/caches/geocaches.php:960
#, php-format
msgid ""
"This <a href='%s'>geocache</a> description comes from the <a href='%s'>%s</"
@ -29,57 +40,57 @@ msgid ""
msgstr ""
"Diese <a href='%s'>Cache</a>-Beschreibung stammt von <a href='%s'>%s</a>."
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:31
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:48
#: c:\source\oc\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:31
#: c:\source\oc\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:48
msgid "hidden by"
msgstr "versteckt von"
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:50
#: c:\source\oc\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:50
#, php-format
msgid "%d recommendation"
msgid_plural "%d recommendations"
msgstr[0] "%d Empfehlung"
msgstr[1] "%d Empfehlungen"
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:51
#: c:\source\oc\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:51
#, php-format
msgid "found %d time"
msgid_plural "found %d times"
msgstr[0] "%d mal gefunden"
msgstr[1] "%d mal gefunden"
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:54
#: c:\source\oc\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:54
#, php-format
msgid "%d trackable"
msgid_plural "%d trackables"
msgstr[0] "%d Geokret"
msgstr[1] "%d Geokrets"
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:58
#: c:\source\oc\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:58
msgid "Personal notes"
msgstr "Persönliche Notizen"
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:62
#: c:\source\oc\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:62
msgid "Attributes"
msgstr "Attribute"
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:66
#: c:\source\oc\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:66
msgid "Trackables"
msgstr "Geokrets"
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:84
#: c:\source\oc\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:84
msgid "Images"
msgstr "Bilder"
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:91
#: c:\source\oc\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:91
msgid "Spoilers"
msgstr "Spoiler"
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:99
#: c:\source\oc\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:99
msgid "Image descriptions"
msgstr "Bildbeschreibungen"
#: c:\source\okapi\following2/okapi/services/logs/submit.php:62
#: c:\source\oc\okapi\following2/okapi/services/logs/submit.php:75
msgid ""
"You are trying to publish a log entry with a date in future. Cache log "
"entries are allowed to be published in the past, but NOT in the future."
@ -87,7 +98,7 @@ msgstr ""
"Das Datum deines Logeintrags liegt in der Zukunft. Cache-Logs können nur für "
"die Vergangenheit oder für heute eingetragen werden."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:82
#: c:\source\oc\okapi\following2/okapi/services/logs/submit.php:97
#, php-format
msgid ""
"However, your cache rating was ignored, because %s does not have a rating "
@ -95,11 +106,11 @@ msgid ""
msgstr ""
"Deine Cachewertung wurde jedoch ignoriert, weil %s kein Bewertungssystem hat."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:92
#: c:\source\oc\okapi\following2/okapi/services/logs/submit.php:108
msgid "Recommending is allowed only for 'Found it' logtypes."
msgstr "Empfehlungen sind nur bei 'Gefunden'-Logs erlaubt."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:101
#: c:\source\oc\okapi\following2/okapi/services/logs/submit.php:118
#, php-format
msgid ""
"However, your \"needs maintenance\" flag was ignored, because %s does not "
@ -108,7 +119,7 @@ msgstr ""
"Deine Angabe \"benötigt Wartung\" wurde jedoch ignoriert, weil es diese "
"Funktion bei %s nicht gibt."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:119
#: c:\source\oc\okapi\following2/okapi/services/logs/submit.php:136
msgid ""
"This cache is an Event cache. You cannot \"Find it\"! (But - you may "
"\"Comment\" on it.)"
@ -116,26 +127,26 @@ msgstr ""
"Dies ist ein Event-Cache. Du kannst ihn nicht \"finden\" (aber du kannst "
"einen Hinweis loggen)."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:121
#: c:\source\oc\okapi\following2/okapi/services/logs/submit.php:138
msgid "Your have to supply some text for your comment."
msgstr "Du musst einen Text für dein Hinweislog eingeben!"
#: c:\source\okapi\following2/okapi/services/logs/submit.php:134
#: c:\source\oc\okapi\following2/okapi/services/logs/submit.php:151
msgid "This cache requires a password. You didn't provide one!"
msgstr ""
"Dieser Cache kann nur mit Kennwort geloggt werden, aber du hast keines "
"angegeben."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:136
#: c:\source\oc\okapi\following2/okapi/services/logs/submit.php:153
msgid "Invalid password!"
msgstr "Ungültiges Kennwort!"
#: c:\source\okapi\following2/okapi/services/logs/submit.php:186
#: c:\source\oc\okapi\following2/okapi/services/logs/submit.php:203
msgid "You have already submitted a log entry with exactly the same contents."
msgstr ""
"Du hast bereits einen Logeintrag mit genau dem gleichen Inhalt gemacht."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:205
#: c:\source\oc\okapi\following2/okapi/services/logs/submit.php:222
msgid ""
"You have already submitted a \"Found it\" log entry once. Now you may submit "
"\"Comments\" only!"
@ -143,49 +154,49 @@ msgstr ""
"Du hast diesen Cache bereits als gefunden geloggt. Ein zweites Fundlog ist "
"nicht möglich, aber du kannst stattdessen einen Hinweis loggen."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:207
#: c:\source\oc\okapi\following2/okapi/services/logs/submit.php:224
msgid "You are the owner of this cache. You may submit \"Comments\" only!"
msgstr ""
"Als Besitzer des Caches kannst du nur Hinweise loggen, keine Funde oder "
"Nichtfunde."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:225
#: c:\source\oc\okapi\following2/okapi/services/logs/submit.php:242
msgid "You have already rated this cache once. Your rating cannot be changed."
msgstr ""
"Du hast diesen Cache bereits bewertet. Deine Bewertung ist nicht änderbar."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:242
#: c:\source\oc\okapi\following2/okapi/services/logs/submit.php:259
msgid "You have already recommended this cache once."
msgstr "Du hast diesen Cache bereits empfohlen."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:249
#: c:\source\oc\okapi\following2/okapi/services/logs/submit.php:266
msgid "You don't have any recommendations to give. Find more caches first!"
msgstr ""
"Du musst mehr Caches finden, um eine weitere Bewertung abgeben zu können!"
#: c:\source\okapi\following2/okapi/services/logs/submit.php:413
#: c:\source\oc\okapi\following2/okapi/services/logs/submit.php:430
msgid "Your cache log entry was posted successfully."
msgstr "Dein Log wurde veröffentlicht."
#: c:\source\okapi\following2/okapi/views/apps/authorize.tpl.php:5
#: c:\source\oc\okapi\following2/okapi/views/apps/authorize.tpl.php:5
msgid "Authorization Form"
msgstr "Authorisierungs-Formular"
#: c:\source\okapi\following2/okapi/views/apps/authorize.tpl.php:46
#: c:\source\oc\okapi\following2/okapi/views/apps/authorize.tpl.php:46
msgid "Expired request"
msgstr "Anfrage abgelaufen"
#: c:\source\okapi\following2/okapi/views/apps/authorize.tpl.php:47
#: c:\source\oc\okapi\following2/okapi/views/apps/authorize.tpl.php:47
msgid "Unfortunately, the request has expired. Please try again."
msgstr ""
"Die Anfrage ist wegen Zeitüberschreitung abgelaufen. Bitte versuche es noch "
"einmal."
#: c:\source\okapi\following2/okapi/views/apps/authorize.tpl.php:49
#: c:\source\oc\okapi\following2/okapi/views/apps/authorize.tpl.php:49
msgid "External application is requesting access..."
msgstr "Eine externe Anwendung wünscht Zugriff ..."
#: c:\source\okapi\following2/okapi/views/apps/authorize.tpl.php:50
#: c:\source\oc\okapi\following2/okapi/views/apps/authorize.tpl.php:50
#, php-format
msgid ""
"<b>%s</b> wants to access your <b>%s</b> account. Do you agree to grant "
@ -194,15 +205,15 @@ msgstr ""
"<b>%s</b> möchte auf dein <b>%s</b>-Benutzerkonto zugreifen. Möchtest du "
"dieser Anwendung Zugriff gewähren?"
#: c:\source\okapi\following2/okapi/views/apps/authorize.tpl.php:53
#: c:\source\oc\okapi\following2/okapi/views/apps/authorize.tpl.php:53
msgid "I agree"
msgstr "Ja"
#: c:\source\okapi\following2/okapi/views/apps/authorize.tpl.php:54
#: c:\source\oc\okapi\following2/okapi/views/apps/authorize.tpl.php:54
msgid "Decline"
msgstr "Nein"
#: c:\source\okapi\following2/okapi/views/apps/authorize.tpl.php:56
#: c:\source\oc\okapi\following2/okapi/views/apps/authorize.tpl.php:56
#, php-format
msgid ""
"\n"
@ -230,15 +241,15 @@ msgstr ""
"\t\t\t\t\tDu kannst diese Erlaubnis jederzeit widerrufen.</p>\n"
"\t\t\t\t"
#: c:\source\okapi\following2/okapi/views/apps/authorized.tpl.php:5
#: c:\source\oc\okapi\following2/okapi/views/apps/authorized.tpl.php:5
msgid "Authorization Succeeded"
msgstr "Authorisierung erfolgreich"
#: c:\source\okapi\following2/okapi/views/apps/authorized.tpl.php:28
#: c:\source\oc\okapi\following2/okapi/views/apps/authorized.tpl.php:28
msgid "Access successfully granted"
msgstr "Zugang wurde gewährt"
#: c:\source\okapi\following2/okapi/views/apps/authorized.tpl.php:29
#: c:\source\oc\okapi\following2/okapi/views/apps/authorized.tpl.php:29
#, php-format
msgid ""
"\n"
@ -255,15 +266,15 @@ msgstr ""
"PIN-Code ein:</p>\n"
"\t\t\t"
#: c:\source\okapi\following2/okapi/views/apps/index.tpl.php:5
#: c:\source\oc\okapi\following2/okapi/views/apps/index.tpl.php:5
msgid "My Apps"
msgstr "Meine Apps"
#: c:\source\okapi\following2/okapi/views/apps/index.tpl.php:29
#: c:\source\oc\okapi\following2/okapi/views/apps/index.tpl.php:29
msgid "Your external applications"
msgstr "Deine externe Anwendung"
#: c:\source\okapi\following2/okapi/views/apps/index.tpl.php:31
#: c:\source\oc\okapi\following2/okapi/views/apps/index.tpl.php:31
#, php-format
msgid ""
"\n"
@ -285,11 +296,11 @@ msgstr ""
"Aktionen mehr unter deinem \t\t\t\t\tBenutzername ausführen können.</p>\n"
"\t\t\t\t"
#: c:\source\okapi\following2/okapi/views/apps/index.tpl.php:45
#: c:\source\oc\okapi\following2/okapi/views/apps/index.tpl.php:45
msgid "remove"
msgstr "entfernen"
#: c:\source\okapi\following2/okapi/views/apps/index.tpl.php:50
#: c:\source\oc\okapi\following2/okapi/views/apps/index.tpl.php:50
#, php-format
msgid ""
"\n"

View File

@ -0,0 +1,314 @@
msgid ""
msgstr ""
"Project-Id-Version: OKAPI\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-03-26 16:20+0100\n"
"PO-Revision-Date: 2013-03-30 15:55+0100\n"
"Last-Translator: Stefano Cotterli <stefanocotterli@gmail.com>\n"
"Language-Team: following <following@online.de>\n"
"Language: Italian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: _;gettext;gettext_noop\n"
"X-Poedit-Basepath: c:\\source\\okapi\\following2\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Generator: Poedit 1.5.5\n"
"X-Poedit-SearchPath-0: c:\\source\\okapi\\following2\n"
#: c:\source\okapi\following2/okapi/services/caches/geocaches.php:777
msgid "Stage"
msgstr "Passo"
#: c:\source\okapi\following2/okapi/services/caches/geocaches.php:897
#, php-format
msgid ""
"This <a href='%s'>geocache</a> description comes from the <a href='%s'>%s</"
"a> site."
msgstr ""
"La deescrizione di questa <a href='%s'>geocache</a>proviene dal sito <a "
"href='%s'>%s</a>."
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:31
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:48
msgid "hidden by"
msgstr "nascosta da"
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:50
#, php-format
msgid "%d recommendation"
msgid_plural "%d recommendations"
msgstr[0] "%d raccomandazione"
msgstr[1] "%d raccomandazioni"
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:51
#, php-format
msgid "found %d time"
msgid_plural "found %d times"
msgstr[0] "trovata %d volta"
msgstr[1] "trovata %d volte"
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:54
#, php-format
msgid "%d trackable"
msgid_plural "%d trackables"
msgstr[0] "%d travel bug"
msgstr[1] "%d travel bugs"
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:58
msgid "Personal notes"
msgstr "Note personali"
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:62
msgid "Attributes"
msgstr "Attributi"
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:66
msgid "Trackables"
msgstr "Travel bugs"
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:84
msgid "Images"
msgstr "Immagini"
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:91
msgid "Spoilers"
msgstr "Spoiler"
#: c:\source\okapi\following2/okapi/services/caches/formatters/gpxfile.tpl.php:99
msgid "Image descriptions"
msgstr "Descrizione immagine"
#: c:\source\okapi\following2/okapi/services/logs/submit.php:62
msgid ""
"You are trying to publish a log entry with a date in future. Cache log "
"entries are allowed to be published in the past, but NOT in the future."
msgstr ""
"Hai cercato di pubblicare un log con una data nel futuro. E' permsso loggare "
"una cache con una data passata, ma NON futura."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:82
#, php-format
msgid ""
"However, your cache rating was ignored, because %s does not have a rating "
"system."
msgstr ""
"Tuttavia, la tua valutazione della cache sarà ignorata, perché %s non ha un "
"sistema di valutazione."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:92
msgid "Recommending is allowed only for 'Found it' logtypes."
msgstr "Le raccomandazioni sono ammesse solo per i log di tipo 'Trovata'"
#: c:\source\okapi\following2/okapi/services/logs/submit.php:101
#, php-format
msgid ""
"However, your \"needs maintenance\" flag was ignored, because %s does not "
"support this feature."
msgstr ""
"Tuttavia, la tua segnalazione di \"manutenzione necessaria\" sarà ignorata, "
"perché %s non supporta questa opzione."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:119
msgid ""
"This cache is an Event cache. You cannot \"Find it\"! (But - you may "
"\"Comment\" on it.)"
msgstr ""
"Questa cache è una cache Evento. Non puoi \"Trovarla\"! (Ma puoi inserirci "
"un \"Commento\")."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:121
msgid "Your have to supply some text for your comment."
msgstr "Devi inserire del testo per il tuo commento."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:134
msgid "This cache requires a password. You didn't provide one!"
msgstr "Questa cache richiede una password, ma non ne hai fornita nessuuna."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:136
msgid "Invalid password!"
msgstr "Password non valida!"
#: c:\source\okapi\following2/okapi/services/logs/submit.php:186
msgid "You have already submitted a log entry with exactly the same contents."
msgstr "Hai già inserito un log esattamente con lo stesso contenuto."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:205
msgid ""
"You have already submitted a \"Found it\" log entry once. Now you may submit "
"\"Comments\" only!"
msgstr ""
"Hai già inserito un log \"Trovata\". Adesso puoi inserire solamente "
"\"Commenti\"!"
#: c:\source\okapi\following2/okapi/services/logs/submit.php:207
msgid "You are the owner of this cache. You may submit \"Comments\" only!"
msgstr "Sei il proprietario della cache. Puoi inserire solamente \"Commenti\"!"
#: c:\source\okapi\following2/okapi/services/logs/submit.php:225
msgid "You have already rated this cache once. Your rating cannot be changed."
msgstr ""
"Hai giàvalutato questa cache. La tua valutazione non può essere cambiata."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:242
msgid "You have already recommended this cache once."
msgstr "Hai già raccmandato questa cache."
#: c:\source\okapi\following2/okapi/services/logs/submit.php:249
msgid "You don't have any recommendations to give. Find more caches first!"
msgstr ""
"Non hai possibilità di dare raccomandazioni. Prima devio trovare altre cache!"
#: c:\source\okapi\following2/okapi/services/logs/submit.php:413
msgid "Your cache log entry was posted successfully."
msgstr "Il tuo log sulla cache è stato correttamente inserito."
#: c:\source\okapi\following2/okapi/views/apps/authorize.tpl.php:5
msgid "Authorization Form"
msgstr "Modulo di autorizzazione"
#: c:\source\okapi\following2/okapi/views/apps/authorize.tpl.php:46
msgid "Expired request"
msgstr "Richiesta scaduta"
#: c:\source\okapi\following2/okapi/views/apps/authorize.tpl.php:47
msgid "Unfortunately, the request has expired. Please try again."
msgstr "Sfortunatamente, la richiesta è scaduta. Per favore riprova."
#: c:\source\okapi\following2/okapi/views/apps/authorize.tpl.php:49
msgid "External application is requesting access..."
msgstr "Una applicazione esterna sta richiedendo l'accesso."
#: c:\source\okapi\following2/okapi/views/apps/authorize.tpl.php:50
#, php-format
msgid ""
"<b>%s</b> wants to access your <b>%s</b> account. Do you agree to grant "
"access to this application?"
msgstr ""
"<b>%s</b> vuole accedere al tuo account <b>%s</b>. Sei d'accordo nel "
"concedere l'accesso a questa applicazione?"
#: c:\source\okapi\following2/okapi/views/apps/authorize.tpl.php:53
msgid "I agree"
msgstr "Sono d'accordo"
#: c:\source\okapi\following2/okapi/views/apps/authorize.tpl.php:54
msgid "Decline"
msgstr "No"
#: c:\source\okapi\following2/okapi/views/apps/authorize.tpl.php:56
#, php-format
msgid ""
"\n"
"\t\t\t\t\t<p>Once permission is granted it is valid until its withdrawal on\n"
"\t\t\t\t\tthe <a href='%s'>applications management</a> page.</p>\n"
"\t\t\t\t\t<p>The application will access your acount via <a href='%s'>the "
"OKAPI Framework</a>.\n"
"\t\t\t\t\tIf you allow this request application will be able to access all "
"methods delivered\n"
"\t\t\t\t\tby the OKAPI Framework, i.e. post log entries on geocaches in your "
"name.\n"
"\t\t\t\t\tYou can revoke this permission at any moment.</p>\n"
"\t\t\t\t"
msgstr ""
"\n"
"\t\t\t\t\t<p>Una volta concessa, l'autorizzazoine è valida finché non venga\n"
"\t\t\t\t\trevocata nella pagina di <a href='%s'>gestione applicazioni</a>.</"
"p>\n"
"\t\t\t\t\t<p>L'applicazione accederà al tuo account tramite il <a "
"href='%s'>frameword OKAPI</a>.\n"
"\t\t\t\t\tSe permetti questa richiesta, l'applicazione potrà accedere a "
"tutti i metodi forniti\n"
"\t\t\t\t\tdal framework OKAPI, per es. postare i log delle geocache a tuo "
"nome..\n"
"\t\t\t\t\tPuoi revocare questo permesso in qualsiasi momento.</p>\n"
"\t\t\t\t"
#: c:\source\okapi\following2/okapi/views/apps/authorized.tpl.php:5
msgid "Authorization Succeeded"
msgstr "Autorizzazione concessa"
#: c:\source\okapi\following2/okapi/views/apps/authorized.tpl.php:28
msgid "Access successfully granted"
msgstr "Accesso correttamente consentito"
#: c:\source\okapi\following2/okapi/views/apps/authorized.tpl.php:29
#, php-format
msgid ""
"\n"
"\t\t\t\t<p><b>You've just granted %s application access to your %s account.</"
"b>\n"
"\t\t\t\tTo complete the operation, go back to %s and enter the following PIN "
"code:</p>\n"
"\t\t\t"
msgstr ""
"\n"
"\t\t\t\t<p><b>Hai appena concesso all'applicazione \"%s\" l'accesso al tuo "
"account %s.</b>\n"
"\t\t\t\tPer completare l'operazione, riorna a %s e inserisci il seguente "
"codice PIN:</p>\n"
"\t\t\t"
#: c:\source\okapi\following2/okapi/views/apps/index.tpl.php:5
msgid "My Apps"
msgstr "Mie App"
#: c:\source\okapi\following2/okapi/views/apps/index.tpl.php:29
msgid "Your external applications"
msgstr "Le tue applicazioni esterne"
#: c:\source\okapi\following2/okapi/views/apps/index.tpl.php:31
#, php-format
msgid ""
"\n"
"\t\t\t\t\t<p>This is the list of applications which you granted access to "
"your <b>%s</b> account.\n"
"\t\t\t\t\tThis page gives you the abbility to revoke all previously granted "
"privileges.\n"
"\t\t\t\t\tOnce you click \"remove\" the application will no longer be able "
"to perform any\n"
"\t\t\t\t\tactions on your behalf.</p>\n"
"\t\t\t\t"
msgstr ""
"\n"
"\t\t\t\t\t<p>Questa è la lista delle applicazioni a cui hai concesso "
"l'accesso al tuo account <b>%s</b.\n"
"\t\t\t\t\tQuesta pagina ti da la possibilità di revocare tutti privilegi "
"precedentemente concessi.\n"
"\t\t\t\t\tQundo clicchi su \"rimuovi\" all'applicazione non sarà più "
"concesso eseguire nessuna\n"
" \t\t\t\t\tazione per tuo conto.</p>\n"
"\t\t\t\t"
#: c:\source\okapi\following2/okapi/views/apps/index.tpl.php:45
msgid "remove"
msgstr "entfernen"
#: c:\source\okapi\following2/okapi/views/apps/index.tpl.php:50
#, php-format
msgid ""
"\n"
"\t\t\t\t\t<p>Thanks to the <a href='%s'>OKAPI Framework</a> you can grant "
"external applications\n"
"\t\t\t\t\taccess to your <b>%s</b> account. Currently no applications are "
"authorized to act\n"
"\t\t\t\t\ton your behalf. Once you start using external OpenCaching "
"applications, they will appear here.</p>\n"
"\t\t\t\t"
msgstr ""
"\n"
"\t\t\t\t\t<p>Grazie al <a href='%s'>framework OKAPI</a>puoi concedere ad "
"applicazioni esterne\n"
"\t\t\t\t\t l'accesso al tuo account <b>%s</b>. Attualmente non ci son "
"applicazioni autorizzate\n"
"\t\t\t\t\tad agire per tuo conto. Quando userai applicazioni esterne a "
"OpenCaching, queste appariranno qui</p>\n"
"\t\t\t\t"
#~ msgid ""
#~ "This cache is archived. Only admins and the owner are allowed to add a "
#~ "log entry."
#~ msgstr ""
#~ "Dieser Cache ist archiviert. Nur OC-Admins und der Besitzer können "
#~ "Logeinträge machen."

View File

@ -9,6 +9,7 @@ class Locales
'en' => array('lang' => 'en', 'locale' => 'en_US.utf8', 'name' => 'English'),
'nl' => array('lang' => 'nl', 'locale' => 'nl_NL.utf8', 'name' => 'Dutch'),
'de' => array('lang' => 'de', 'locale' => 'de_DE.utf8', 'name' => 'German'),
'it' => array('lang' => 'it', 'locale' => 'it_IT.utf8', 'name' => 'Italian'),
);
/**

View File

@ -177,7 +177,11 @@
caption from the image's filename itself),</li>
<li><b>is_spoiler</b> - boolean, if <b>true</b> then the image is
a spoiler image and should not be displayed to the user unless
the user explicitly asks for it.</li>
the user explicitly asks for it,</li>
<li><b>is_preview</b> - boolean, if <b>true</b>, the cache owner has marked
the image as <em>preview image</em>, and you are encouraged to display
it as a 'teaser' for the cache. Some installations do not support this
feature and will return <b>null</b>.</li>
</ul>
</li>
<li>

View File

@ -65,7 +65,13 @@ class WebService
# Currently, the "owner" field needs to be included whenever the "description" field is.
# That's a little ugly. Grep for "issue 178" below for more insight on this.
if ((in_array('description', $fields) || in_array('descriptions', $fields)) && !in_array('owner', $fields))
if (
(
in_array('description', $fields) || in_array('descriptions', $fields)
|| in_array('hint', $fields) || in_array('hints', $fields)
)
&& !in_array('owner', $fields)
)
$fields[] = "owner";
$log_fields = $request->get_parameter('log_fields');
@ -465,15 +471,20 @@ class WebService
{
foreach ($results as &$result_ref)
$result_ref['images'] = array();
if (Db::field_exists('pictures', 'mappreview'))
$preview_field = "mappreview";
else
$preview_field = "null";
$rs = Db::query("
select object_id, uuid, url, title, spoiler
select object_id, uuid, url, title, spoiler, ".$preview_field." as preview
from pictures
where
object_id in ('".implode("','", array_map('mysql_real_escape_string', array_keys($cacheid2wptcode)))."')
and display = 1
and object_type = 2
and unknown_format = 0
order by object_id, last_modified
order by object_id, date_created
");
$prev_cache_code = null;
while ($row = mysql_fetch_assoc($rs))
@ -492,6 +503,7 @@ class WebService
'caption' => $row['title'],
'unique_caption' => self::get_unique_caption($row['title']),
'is_spoiler' => ($row['spoiler'] ? true : false),
'is_preview' => is_null($row['preview']) ? null : ($row['preview'] != 0),
);
}
}
@ -917,10 +929,10 @@ class WebService
$note .= sprintf(
_(
"<em>&copy; <a href='%s'>%s</a>, <a href='%s'>%s</a>, ".
"<a href='http://creativecommons.org/licenses/by-nc-nd/3.0/en/'>CC-BY-NC-ND</a>, ".
"as of Jan 15, 2013; all log entries &copy; their authors</em>"
"<a href='http://creativecommons.org/licenses/by-nc-nd/3.0/de/deed.en'>CC-BY-NC-ND</a>, ".
"as of %s; all log entries &copy; their authors</em>"
),
$owner['profile_url'], $owner['username'], $site_url, $site_name
$owner['profile_url'], $owner['username'], $cache_url, $site_name, strftime('%x')
);
}
else

View File

@ -24,7 +24,7 @@ class WebService
private static $valid_field_names = array(
'uuid', 'cache_code', 'date', 'user', 'type', 'was_recommended', 'comment',
'internal_id',
'images', 'internal_id',
);
public static function call(OkapiRequest $request)
@ -71,6 +71,7 @@ class WebService
and c.status in (1,2,3)
");
$results = array();
$log_id2uuid = array(); /* Maps logs' internal_ids to uuids */
while ($row = mysql_fetch_assoc($rs))
{
$results[$row['uuid']] = array(
@ -85,11 +86,41 @@ class WebService
'type' => Okapi::logtypeid2name($row['type']),
'was_recommended' => $row['was_recommended'] ? true : false,
'comment' => $row['text'],
'images' => array(),
'internal_id' => $row['id'],
);
$log_id2uuid[$row['id']] = $row['uuid'];
}
mysql_free_result($rs);
# fetch images
if (in_array('images', $fields))
{
$rs = Db::query("
select object_id, uuid, url, title, spoiler
from pictures
where
object_type = 1
and object_id in ('".implode("','", array_map('mysql_real_escape_string', array_keys($log_id2uuid)))."')
and display = 1 /* currently is always 1 for logpix */
and unknown_format = 0
order by date_created
");
while ($row = mysql_fetch_assoc($rs))
{
$results[$log_id2uuid[$row['object_id']]]['images'][] =
array(
'uuid' => $row['uuid'],
'url' => $row['url'],
'thumb_url' => Settings::get('SITE_URL') . 'thumbs.php?uuid=' . $row['uuid'],
'caption' => $row['title'],
'is_spoiler' => ($row['spoiler'] ? true : false),
);
}
mysql_free_result($rs);
}
# Check which UUIDs were not found and mark them with null.
foreach ($log_uuids as $log_uuid)

View File

@ -40,6 +40,20 @@
in this log entry,</p>
</li>
<li><b>comment</b> - HTML string, text entered with the log entry,</li>
<li>
<p><b>images</b> - list of dictionaries, each dictionary represents one
image saved along with the log; each dictionary has the following
structure:</p>
<ul>
<li><b>uuid</b> - UUID of the image,</li>
<li><b>url</b> - URL of the image,</li>
<li><b>thumb_url</b> - URL of a small (thumb) version of the image,</li>
<li><b>caption</b> - plain-text string, caption of the image,</li>
<li><b>is_spoiler</b> - boolean, if <b>true</b> then the image is
a spoiler image and should not be displayed to the user unless
the user explicitly asks for it.</li>
</ul>
</li>
<li>
<p><b>internal_id</b> - undocumented, you <u>should not</u> use
this unless you really know you need to. Internal IDs are