From 0be1cef224d66070f70228cb95811825ceb41c2b Mon Sep 17 00:00:00 2001 From: Karthik Kasturi Date: Tue, 19 Aug 2025 21:39:16 +0100 Subject: [PATCH] i18n updates --- i18n/ar.json | 4 ++-- i18n/bg.json | 4 ++-- i18n/ca.json | 4 ++-- i18n/co.json | 4 ++-- i18n/cs.json | 4 ++-- i18n/de.json | 4 ++-- i18n/el.json | 4 ++-- i18n/en.json | 4 ++-- i18n/es.json | 4 ++-- i18n/et.json | 4 ++-- i18n/fi.json | 4 ++-- i18n/fr.json | 4 ++-- i18n/he.json | 4 ++-- i18n/hi.json | 4 ++-- i18n/hu.json | 4 ++-- i18n/id.json | 4 ++-- i18n/it.json | 4 ++-- i18n/ja.json | 4 ++-- i18n/jbo.json | 4 ++-- i18n/ko.json | 4 ++-- i18n/ku.json | 4 ++-- i18n/la.json | 4 ++-- i18n/lt.json | 4 ++-- i18n/nl.json | 4 ++-- i18n/no.json | 4 ++-- i18n/oc.json | 4 ++-- i18n/pl.json | 4 ++-- i18n/pt.json | 4 ++-- i18n/ro.json | 4 ++-- i18n/ru.json | 4 ++-- i18n/sk.json | 4 ++-- i18n/sl.json | 4 ++-- i18n/sv.json | 4 ++-- i18n/th.json | 4 ++-- i18n/tr.json | 4 ++-- i18n/uk.json | 4 ++-- i18n/zh.json | 4 ++-- lib/Proxy/AbstractProxy.php | 16 +++++----------- tst/YourlsProxyTest.php | 2 +- 39 files changed, 80 insertions(+), 86 deletions(-) diff --git a/i18n/ar.json b/i18n/ar.json index b6c750ff..efcbbd93 100644 --- a/i18n/ar.json +++ b/i18n/ar.json @@ -214,8 +214,8 @@ "Save document": "احفظ اللصق", "Your IP is not authorized to create documents.": "عنوان IP الخاص بك غير مصرح له بإنشاء لصُق.", "Trying to shorten a URL that isn't pointing at our instance.": "محاولة تقصير عنوان URL لا يشير إلى خادمنا.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "خطأ في الاتصال بـ YOURLS. ربما تكون هناك مشكلة في التضبيط، مثل \"apiurl\" أو \"التوقيع\" الخاطئ أو المفقود.", - "Error parsing YOURLS response.": "خطأ في تحليل استجابة YOURLS.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "خطأ في الاتصال بـ YOURLS. ربما تكون هناك مشكلة في التضبيط، مثل \"apiurl\" أو \"التوقيع\" الخاطئ أو المفقود.", + "Error parsing proxy response.": "خطأ في تحليل استجابة YOURLS.", "This secret message can only be displayed once. Would you like to see it now?": "يمكن عرض هذه الرسالة السرية مرة واحدة فقط. هل ترغب في رؤيتها الآن؟", "Yes, see it": "نعم، دعني اراها", "Dark Mode": "الوضع الداكن", diff --git a/i18n/bg.json b/i18n/bg.json index 9d7430c5..1e7e0bfb 100644 --- a/i18n/bg.json +++ b/i18n/bg.json @@ -214,8 +214,8 @@ "Save document": "Save document", "Your IP is not authorized to create documents.": "Your IP is not authorized to create documents.", "Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".", - "Error parsing YOURLS response.": "Error parsing YOURLS response.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.", + "Error parsing proxy response.": "Error parsing proxy response.", "This secret message can only be displayed once. Would you like to see it now?": "This secret message can only be displayed once. Would you like to see it now?", "Yes, see it": "Yes, see it", "Dark Mode": "Dark Mode", diff --git a/i18n/ca.json b/i18n/ca.json index 0a2f8c08..a2fa1911 100644 --- a/i18n/ca.json +++ b/i18n/ca.json @@ -214,8 +214,8 @@ "Save document": "Save document", "Your IP is not authorized to create documents.": "La teva IP no està autoritzada a crear notes.", "Trying to shorten a URL that isn't pointing at our instance.": "S'està intentant escurçar un URL que no apunta a la nostra instància.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error en la crida a YOURLS. Probablement és un problema de configuració, com ara \"apiurl\" o \"signature\" incorrectes o que falten.", - "Error parsing YOURLS response.": "Error parsing YOURLS response.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Error en la crida a YOURLS. Probablement és un problema de configuració, com ara \"apiurl\" o \"signature\" incorrectes o que falten.", + "Error parsing proxy response.": "Error parsing proxy response.", "This secret message can only be displayed once. Would you like to see it now?": "Aquest missatge secret sols es pot veure una vegada. Vols obrir-ho ara?", "Yes, see it": "Yes, see it", "Dark Mode": "Dark Mode", diff --git a/i18n/co.json b/i18n/co.json index ac7d3a7b..113eef7f 100644 --- a/i18n/co.json +++ b/i18n/co.json @@ -214,8 +214,8 @@ "Save document": "Arregistrà u ducumentu", "Your IP is not authorized to create documents.": "U vostru indirizzu IP ùn hè micca auturizatu à creà ducumenti.", "Trying to shorten a URL that isn't pointing at our instance.": "Pruvate d’ammuzzà un indirizzu web chì ùn punta micca versu a vostra instanza.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Sbagliu à a chjama di YOURLS. Seria forse una cunfigurazione gattiva, tale una « apiurl » o « signature » falsa o assente.", - "Error parsing YOURLS response.": "Sbagliu durante l’analisa di a risposta di YOURLS.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Sbagliu à a chjama di YOURLS. Seria forse una cunfigurazione gattiva, tale una « apiurl » o « signature » falsa o assente.", + "Error parsing proxy response.": "Sbagliu durante l’analisa di a risposta di YOURLS.", "This secret message can only be displayed once. Would you like to see it now?": "Stu messaghju secretu pò esse affissatu solu una volta. Vulete fighjallu subitu ?", "Yes, see it": "Iè, fighjallu", "Dark Mode": "Modu scuru", diff --git a/i18n/cs.json b/i18n/cs.json index 94c3ce8c..93d7ae5a 100644 --- a/i18n/cs.json +++ b/i18n/cs.json @@ -214,8 +214,8 @@ "Save document": "Uložit příspěvek", "Your IP is not authorized to create documents.": "Vaše IP adresa nemá oprávnění k vytváření příspěvků.", "Trying to shorten a URL that isn't pointing at our instance.": "Pokus o zkrácení URL, které neodkazuje na naši instanci.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Chyba volání YOURLS. Pravděpodobně chyba konfigurace, např. nesprávné či chybějící „apiurl“ nebo „signature“.", - "Error parsing YOURLS response.": "Chyba čtení odpovědi YOURLS.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Chyba volání YOURLS. Pravděpodobně chyba konfigurace, např. nesprávné či chybějící „apiurl“ nebo „signature“.", + "Error parsing proxy response.": "Chyba čtení odpovědi YOURLS.", "This secret message can only be displayed once. Would you like to see it now?": "Tuto tajnou zprávu lze zobrazit pouze jednou. Chcete si ji prohlédnout teď?", "Yes, see it": "Ano, zobrazit", "Dark Mode": "Tmavý režim", diff --git a/i18n/de.json b/i18n/de.json index 5381a249..b02201c6 100644 --- a/i18n/de.json +++ b/i18n/de.json @@ -214,8 +214,8 @@ "Save document": "Dokument speichern", "Your IP is not authorized to create documents.": "Deine IP ist nicht berechtigt, Texte zu erstellen.", "Trying to shorten a URL that isn't pointing at our instance.": "Versuch eine URL zu verkürzen, die nicht auf unsere Instanz zeigt.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Fehler beim Aufruf von YOURLS. Wahrscheinlich ein Konfigurationsproblem, wie eine falsche oder fehlende \"apiurl\" oder \"signature\".", - "Error parsing YOURLS response.": "Fehler beim Verarbeiten der YOURLS-Antwort.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Fehler beim Aufruf von YOURLS. Wahrscheinlich ein Konfigurationsproblem, wie eine falsche oder fehlende \"apiurl\" oder \"signature\".", + "Error parsing proxy response.": "Fehler beim Verarbeiten der YOURLS-Antwort.", "This secret message can only be displayed once. Would you like to see it now?": "Texte des \"Einmal\"-Typs können nach dem Öffnen nur einmal angezeigt werden. Möchtest Du ihn jetzt einsehen?", "Yes, see it": "Ja, jetzt einsehen", "Dark Mode": "Nachtmodus", diff --git a/i18n/el.json b/i18n/el.json index d19dec88..7b21d80b 100644 --- a/i18n/el.json +++ b/i18n/el.json @@ -214,8 +214,8 @@ "Save document": "Αποθήκευση επικόλλησης", "Your IP is not authorized to create documents.": "Η IP σας δεν επιτρέπεται να δημιουργεί επικολλήσεις.", "Trying to shorten a URL that isn't pointing at our instance.": "Έγινε προσπάθεια συντόμευσης ενός URL που δε δείχνει προς τη δική μας υπηρεσία.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Σφάλμα κατά την κλήση YOURLS. Πιθανώς ένα ζήτημα διαμόρφωσης, όπως λάθος ή λείπει \"apiurl\" ή \"υπογραφή\".", - "Error parsing YOURLS response.": "Σφάλμα ανάλυσης της απόκρισης YOURLS.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Σφάλμα κατά την κλήση YOURLS. Πιθανώς ένα ζήτημα διαμόρφωσης, όπως λάθος ή λείπει \"apiurl\" ή \"υπογραφή\".", + "Error parsing proxy response.": "Σφάλμα ανάλυσης της απόκρισης YOURLS.", "This secret message can only be displayed once. Would you like to see it now?": "Αυτό το μυστικό μήνυμα μπορεί να εμφανιστεί μόνο μία φορά. Θα θέλατε να το δείτε τώρα;", "Yes, see it": "Ναι, δείτε το", "Dark Mode": "Σκοτεινό Θέμα", diff --git a/i18n/en.json b/i18n/en.json index 6649c797..f7ec0b33 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -214,8 +214,8 @@ "Save document": "Save document", "Your IP is not authorized to create documents.": "Your IP is not authorized to create documents.", "Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".", - "Error parsing YOURLS response.": "Error parsing YOURLS response.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.", + "Error parsing proxy response.": "Error parsing proxy response.", "This secret message can only be displayed once. Would you like to see it now?": "This secret message can only be displayed once. Would you like to see it now?", "Yes, see it": "Yes, see it", "Dark Mode": "Dark Mode", diff --git a/i18n/es.json b/i18n/es.json index a2708dff..d7c8c913 100644 --- a/i18n/es.json +++ b/i18n/es.json @@ -214,8 +214,8 @@ "Save document": "Guardar documento", "Your IP is not authorized to create documents.": "Tu IP no está autorizada para crear contenido.", "Trying to shorten a URL that isn't pointing at our instance.": "Intentando acortar una URL que no apunta a nuestra instancia.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error llamando a YOURLS. Probablemente un problema de configuración, como error o falta \"apiurl\" o \"signature\".", - "Error parsing YOURLS response.": "Error al analizar la respuesta de YOURLS.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Error llamando a YOURLS. Probablemente un problema de configuración, como error o falta \"apiurl\" o \"signature\".", + "Error parsing proxy response.": "Error al analizar la respuesta de YOURLS.", "This secret message can only be displayed once. Would you like to see it now?": "Este mensaje secreto sólo se puede mostrar una vez. ¿Quieres verlo ahora?", "Yes, see it": "Sí, verlo", "Dark Mode": "Modo nocturno", diff --git a/i18n/et.json b/i18n/et.json index d2c74d20..f9106000 100644 --- a/i18n/et.json +++ b/i18n/et.json @@ -214,8 +214,8 @@ "Save document": "Salvesta kleebe", "Your IP is not authorized to create documents.": "Su IP-l ei ole lubatud kleepeid luua.", "Trying to shorten a URL that isn't pointing at our instance.": "Püüame lühendada URL-i, mis ei viita meie instantsile.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Viga YOURLS-i kutsumisel. Tõenäoliselt konfiguratsiooniprobleem, näiteks vale või puuduv \"apiurl\" või \"signature\".", - "Error parsing YOURLS response.": "Viga YOURLS vastuse parsimisel.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Viga YOURLS-i kutsumisel. Tõenäoliselt konfiguratsiooniprobleem, näiteks vale või puuduv \"apiurl\" või \"signature\".", + "Error parsing proxy response.": "Viga YOURLS vastuse parsimisel.", "This secret message can only be displayed once. Would you like to see it now?": "Seda turvalist sõnumit saab kuvada vaid ühe korra. \nKas soovid seda näha nüüd?", "Yes, see it": "Jah, vaata seda", "Dark Mode": "Tume režiim", diff --git a/i18n/fi.json b/i18n/fi.json index 966ed1f0..74106775 100644 --- a/i18n/fi.json +++ b/i18n/fi.json @@ -214,8 +214,8 @@ "Save document": "Tallenna asiakirja", "Your IP is not authorized to create documents.": "IP:llesi ei ole annettu oikeutta luoda pasteja.", "Trying to shorten a URL that isn't pointing at our instance.": "Yritetään lyhentää URL-osoite, joka ei osoita meidän instanssiiin.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Virhe kutsuttaessa YOURLS. Luultavasti asetusongelma kuten väärä tai puuttuuva \"apiurl\" tai \"signature\".", - "Error parsing YOURLS response.": "Virhe jäsennettäessä YOURLS-vastausta.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Virhe kutsuttaessa YOURLS. Luultavasti asetusongelma kuten väärä tai puuttuuva \"apiurl\" tai \"signature\".", + "Error parsing proxy response.": "Virhe jäsennettäessä YOURLS-vastausta.", "This secret message can only be displayed once. Would you like to see it now?": "Tämä salainen viesti voidaan näyttää vain kerran. Haluatko nähdä sen nyt?", "Yes, see it": "Kyllä, näet sen", "Dark Mode": "Tumma tila", diff --git a/i18n/fr.json b/i18n/fr.json index f9632ed2..ab63298d 100644 --- a/i18n/fr.json +++ b/i18n/fr.json @@ -214,8 +214,8 @@ "Save document": "Sauver le document", "Your IP is not authorized to create documents.": "Votre adresse IP n'est pas autorisée à créer des documents.", "Trying to shorten a URL that isn't pointing at our instance.": "Tentative de raccourcir une URL qui ne pointe pas vers notre instance.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Erreur lors de l'appel de YOURLS. Peut-être un problème de configuration, comme \"apiurl\" ou \"signature\" manquant.", - "Error parsing YOURLS response.": "Erreur d'analyse de la réponse YOURLS.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Erreur lors de l'appel de YOURLS. Peut-être un problème de configuration, comme \"apiurl\" ou \"signature\" manquant.", + "Error parsing proxy response.": "Erreur d'analyse de la réponse YOURLS.", "This secret message can only be displayed once. Would you like to see it now?": "Les documents de type \"Effacer après la lecture\" ne peuvent être affichés qu'une seule fois. Voulez-vous le voir maintenant ?", "Yes, see it": "Oui, le voir", "Dark Mode": "Mode Sombre", diff --git a/i18n/he.json b/i18n/he.json index 69aad3ac..19593758 100644 --- a/i18n/he.json +++ b/i18n/he.json @@ -214,8 +214,8 @@ "Save document": "שמור הדבקה", "Your IP is not authorized to create documents.": "ה-IP שלך אינו מורשה ליצור הדבקות.", "Trying to shorten a URL that isn't pointing at our instance.": "מנסים לקצר כתובת URL שאינה מצביעה על המערכת שלנו.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "שגיאה בעת קריאה ל-YOURLS. כנראה מדובר בבעיה בהגדרות, כמו \"apiurl\" או \"signature\" שגויים או חסרים.", - "Error parsing YOURLS response.": "שגיאה בניתוח התגובה מ-YOURLS.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "שגיאה בעת קריאה ל-YOURLS. כנראה מדובר בבעיה בהגדרות, כמו \"apiurl\" או \"signature\" שגויים או חסרים.", + "Error parsing proxy response.": "שגיאה בניתוח התגובה מ-YOURLS.", "This secret message can only be displayed once. Would you like to see it now?": "ההודעה הסודית הזו יכולה להוצג רק פעם אחת. האם תרצה לראות אותה עכשיו?", "Yes, see it": "כן, ראה אותה", "Dark Mode": "מצב כהה", diff --git a/i18n/hi.json b/i18n/hi.json index 6649c797..f7ec0b33 100644 --- a/i18n/hi.json +++ b/i18n/hi.json @@ -214,8 +214,8 @@ "Save document": "Save document", "Your IP is not authorized to create documents.": "Your IP is not authorized to create documents.", "Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".", - "Error parsing YOURLS response.": "Error parsing YOURLS response.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.", + "Error parsing proxy response.": "Error parsing proxy response.", "This secret message can only be displayed once. Would you like to see it now?": "This secret message can only be displayed once. Would you like to see it now?", "Yes, see it": "Yes, see it", "Dark Mode": "Dark Mode", diff --git a/i18n/hu.json b/i18n/hu.json index 910e38c8..abe29d4c 100644 --- a/i18n/hu.json +++ b/i18n/hu.json @@ -214,8 +214,8 @@ "Save document": "Save document", "Your IP is not authorized to create documents.": "Your IP is not authorized to create documents.", "Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".", - "Error parsing YOURLS response.": "Error parsing YOURLS response.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.", + "Error parsing proxy response.": "Error parsing proxy response.", "This secret message can only be displayed once. Would you like to see it now?": "This secret message can only be displayed once. Would you like to see it now?", "Yes, see it": "Yes, see it", "Dark Mode": "Sötét mód", diff --git a/i18n/id.json b/i18n/id.json index 0845f6dd..c2fffe1e 100644 --- a/i18n/id.json +++ b/i18n/id.json @@ -214,8 +214,8 @@ "Save document": "Simpan document", "Your IP is not authorized to create documents.": "Your IP is not authorized to create documents.", "Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".", - "Error parsing YOURLS response.": "Error parsing YOURLS response.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.", + "Error parsing proxy response.": "Error parsing proxy response.", "This secret message can only be displayed once. Would you like to see it now?": "This secret message can only be displayed once. Would you like to see it now?", "Yes, see it": "Yes, see it", "Dark Mode": "Mode Gelap", diff --git a/i18n/it.json b/i18n/it.json index eafc5378..3def7997 100644 --- a/i18n/it.json +++ b/i18n/it.json @@ -214,8 +214,8 @@ "Save document": "Salva il messagio", "Your IP is not authorized to create documents.": "Il tuo IP non è autorizzato a creare dei messaggi.", "Trying to shorten a URL that isn't pointing at our instance.": "Tantativo in corso di accorciare un URL che non punta alla nostra istanza.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Errore nella chiamata a YOURLS. Probabilmente un problema di configurazione, come un \"apiurl\" o una \"signature\" sbagliati o mancanti.", - "Error parsing YOURLS response.": "Errore nell'analizzare la risposta YOURLS.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Errore nella chiamata a YOURLS. Probabilmente un problema di configurazione, come un \"apiurl\" o una \"signature\" sbagliati o mancanti.", + "Error parsing proxy response.": "Errore nell'analizzare la risposta YOURLS.", "This secret message can only be displayed once. Would you like to see it now?": "Questo messaggio di tipo Distruggi-dopo-lettura può essere visualizzato solo una volta. Vuoi vederlo ora?", "Yes, see it": "Sì, visualizzalo", "Dark Mode": "Tema Scuro", diff --git a/i18n/ja.json b/i18n/ja.json index 21e5fe41..7a7a400f 100644 --- a/i18n/ja.json +++ b/i18n/ja.json @@ -214,8 +214,8 @@ "Save document": "ペーストを保存", "Your IP is not authorized to create documents.": "あなたのIPアドレスにはペーストを作成する権限がありません。", "Trying to shorten a URL that isn't pointing at our instance.": "このインスタンスを指していないURLを短縮しようとしています。", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "YOURLSの呼び出し中にエラーが発生しました。\"apiurl\"または\"signature\"等の設定に問題がある可能性があります。", - "Error parsing YOURLS response.": "YOURLSレスポンスの解析中にエラーが発生しました。", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "YOURLSの呼び出し中にエラーが発生しました。\"apiurl\"または\"signature\"等の設定に問題がある可能性があります。", + "Error parsing proxy response.": "YOURLSレスポンスの解析中にエラーが発生しました。", "This secret message can only be displayed once. Would you like to see it now?": "This secret message can only be displayed once. Would you like to see it now?", "Yes, see it": "はい、使用します", "Dark Mode": "ダークモード", diff --git a/i18n/jbo.json b/i18n/jbo.json index d56c0909..0e92c927 100644 --- a/i18n/jbo.json +++ b/i18n/jbo.json @@ -214,8 +214,8 @@ "Save document": "rejgau fukpi", "Your IP is not authorized to create documents.": "Your IP is not authorized to create documents.", "Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".", - "Error parsing YOURLS response.": "Error parsing YOURLS response.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.", + "Error parsing proxy response.": "Error parsing proxy response.", "This secret message can only be displayed once. Would you like to see it now?": "This secret message can only be displayed once. Would you like to see it now?", "Yes, see it": "Yes, see it", "Dark Mode": "Dark Mode", diff --git a/i18n/ko.json b/i18n/ko.json index 6649c797..f7ec0b33 100644 --- a/i18n/ko.json +++ b/i18n/ko.json @@ -214,8 +214,8 @@ "Save document": "Save document", "Your IP is not authorized to create documents.": "Your IP is not authorized to create documents.", "Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".", - "Error parsing YOURLS response.": "Error parsing YOURLS response.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.", + "Error parsing proxy response.": "Error parsing proxy response.", "This secret message can only be displayed once. Would you like to see it now?": "This secret message can only be displayed once. Would you like to see it now?", "Yes, see it": "Yes, see it", "Dark Mode": "Dark Mode", diff --git a/i18n/ku.json b/i18n/ku.json index 50d6fa94..17952b39 100644 --- a/i18n/ku.json +++ b/i18n/ku.json @@ -214,8 +214,8 @@ "Save document": "Save document", "Your IP is not authorized to create documents.": "Your IP is not authorized to create documents.", "Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".", - "Error parsing YOURLS response.": "Error parsing YOURLS response.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.", + "Error parsing proxy response.": "Error parsing proxy response.", "This secret message can only be displayed once. Would you like to see it now?": "This secret message can only be displayed once. Would you like to see it now?", "Yes, see it": "Yes, see it", "Dark Mode": "جۆری ڕەش", diff --git a/i18n/la.json b/i18n/la.json index abd9e057..d4dd9d27 100644 --- a/i18n/la.json +++ b/i18n/la.json @@ -214,8 +214,8 @@ "Save document": "Save document", "Your IP is not authorized to create documents.": "Your IP is not authorized to create documents.", "Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".", - "Error parsing YOURLS response.": "Error parsing YOURLS response.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.", + "Error parsing proxy response.": "Error parsing proxy response.", "This secret message can only be displayed once. Would you like to see it now?": "This secret message can only be displayed once. Would you like to see it now?", "Yes, see it": "Yes, see it", "Dark Mode": "Dark Mode", diff --git a/i18n/lt.json b/i18n/lt.json index 852f0173..c51f67b0 100644 --- a/i18n/lt.json +++ b/i18n/lt.json @@ -214,8 +214,8 @@ "Save document": "Įrašyti įdėjimą", "Your IP is not authorized to create documents.": "Jūsų IP adresas neturi įgaliojimų kurti įdėjimų.", "Trying to shorten a URL that isn't pointing at our instance.": "Bandoma sutrumpinti URL adresą, kuris nenurodo į mūsų egzempliorių.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Klaida iškviečiant YOURLS. Tikriausiai, konfigūracijos klaida, pavyzdžiui, neteisingi „apiurl“ ar „signature“, arba jų nėra.", - "Error parsing YOURLS response.": "Klaida nagrinėjant YOURLS atsaką.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Klaida iškviečiant YOURLS. Tikriausiai, konfigūracijos klaida, pavyzdžiui, neteisingi „apiurl“ ar „signature“, arba jų nėra.", + "Error parsing proxy response.": "Klaida nagrinėjant YOURLS atsaką.", "This secret message can only be displayed once. Would you like to see it now?": "Ši slapta žinutė gali būti parodyta tik vieną kartą. Ar norėtumėte ją dabar pamatyti?", "Yes, see it": "Taip, pamatyti", "Dark Mode": "Tamsi veiksena", diff --git a/i18n/nl.json b/i18n/nl.json index d16cfedc..7b177349 100644 --- a/i18n/nl.json +++ b/i18n/nl.json @@ -214,8 +214,8 @@ "Save document": "Document opslaan", "Your IP is not authorized to create documents.": "Je IP-adres is niet gemachtigd om documenten te maken.", "Trying to shorten a URL that isn't pointing at our instance.": "Proberen om een URL te verkorten dat niet naar ons systeem wijst.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Foutmelding ophalen YOURLS. Waarschijnlijk een configuratiefout, zoals een verkeerde of missende \"apiurl\" of \"signature\".", - "Error parsing YOURLS response.": "Foutmelding bij parsen van YOURLS respons.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Foutmelding ophalen YOURLS. Waarschijnlijk een configuratiefout, zoals een verkeerde of missende \"apiurl\" of \"signature\".", + "Error parsing proxy response.": "Foutmelding bij parsen van YOURLS respons.", "This secret message can only be displayed once. Would you like to see it now?": "Dit geheime bericht kan maar één keer worden weergegeven. Wil je het nu zien?", "Yes, see it": "Ja, tonen", "Dark Mode": "Donkere modus", diff --git a/i18n/no.json b/i18n/no.json index df40dc86..f60ddc46 100644 --- a/i18n/no.json +++ b/i18n/no.json @@ -214,8 +214,8 @@ "Save document": "Lagre utklipp", "Your IP is not authorized to create documents.": "Din IP er ikke autorisert til å opprette dokumenter.", "Trying to shorten a URL that isn't pointing at our instance.": "Prøver å forkorte en URL som ikke peker i vår instans.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Feil ved å besøke YOURLS. Sannsynligvis et konfigurasjonsproblem, eksempelvis feil eller mangler, med \"apiurl\" eller \"signatur\".", - "Error parsing YOURLS response.": "Feil ved analyse av YOURLS svar.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Feil ved å besøke YOURLS. Sannsynligvis et konfigurasjonsproblem, eksempelvis feil eller mangler, med \"apiurl\" eller \"signatur\".", + "Error parsing proxy response.": "Feil ved analyse av YOURLS svar.", "This secret message can only be displayed once. Would you like to see it now?": "Denne hemmelige meldingen kan bare vises én gang. Vil du se den nå?", "Yes, see it": "Ja, se det", "Dark Mode": "Mørk modus", diff --git a/i18n/oc.json b/i18n/oc.json index 70ecb293..307a4034 100644 --- a/i18n/oc.json +++ b/i18n/oc.json @@ -214,8 +214,8 @@ "Save document": "Enregistrar lo tèxt", "Your IP is not authorized to create documents.": "Vòstra adreça IP a pas l’autorizacion de crear de tèxtes.", "Trying to shorten a URL that isn't pointing at our instance.": "Ensag d’abracar una URL que mena pas a nòstra instància.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error en cridant YOURLS. Es probablament un problèma de configuracion, quicòm coma « apirul » o « signature » marrit o absent.", - "Error parsing YOURLS response.": "Error d'analisi de la responsa YOURLS.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Error en cridant YOURLS. Es probablament un problèma de configuracion, quicòm coma « apirul » o « signature » marrit o absent.", + "Error parsing proxy response.": "Error d'analisi de la responsa YOURLS.", "This secret message can only be displayed once. Would you like to see it now?": "Aqueste messatge secrèt se pòt pas qu'afichar un còp. Lo volètz veire ara ?", "Yes, see it": "Òc, afichatz-lo", "Dark Mode": "Mòde escur", diff --git a/i18n/pl.json b/i18n/pl.json index 4f0ecbc7..d9b91fc6 100644 --- a/i18n/pl.json +++ b/i18n/pl.json @@ -214,8 +214,8 @@ "Save document": "Zapisz dokument", "Your IP is not authorized to create documents.": "Twój adres IP nie jest autoryzowany do tworzenia dokumentów.", "Trying to shorten a URL that isn't pointing at our instance.": "Próba skrócenia adresu URL wskazującego na inną instancję.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Błąd wywoływania YOURLS. Możliwy błąd konfiguracji, taki jak błędne lub brakujące \"apiurl\" lub \"signature\".", - "Error parsing YOURLS response.": "Błąd przetwarzania odpowiedzi YOURLS.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Błąd wywoływania YOURLS. Możliwy błąd konfiguracji, taki jak błędne lub brakujące \"apiurl\" lub \"signature\".", + "Error parsing proxy response.": "Błąd przetwarzania odpowiedzi YOURLS.", "This secret message can only be displayed once. Would you like to see it now?": "Tę tajną wiadomość możesz zobaczyć tylko jeden raz. Czy chcesz to zrobić teraz?", "Yes, see it": "Tak, pokaż", "Dark Mode": "Ciemny motyw", diff --git a/i18n/pt.json b/i18n/pt.json index 23c2ffbb..7c7f676c 100644 --- a/i18n/pt.json +++ b/i18n/pt.json @@ -214,8 +214,8 @@ "Save document": "Salvar cópia", "Your IP is not authorized to create documents.": "Seu IP não está autorizado a criar cópias.", "Trying to shorten a URL that isn't pointing at our instance.": "Tentando encurtar uma URL que não aponta para a nossa instância.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Erro ao chamar YOURLS. Provavelmente um problema de configuração, como errado ou faltando \"apiurl\" ou \"signature\".", - "Error parsing YOURLS response.": "Erro ao analisar a resposta do YOURLS.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Erro ao chamar YOURLS. Provavelmente um problema de configuração, como errado ou faltando \"apiurl\" ou \"signature\".", + "Error parsing proxy response.": "Erro ao analisar a resposta do YOURLS.", "This secret message can only be displayed once. Would you like to see it now?": "Esta mensagem secreta só pode ser exibida uma vez. Gostaria de vê-la agora?", "Yes, see it": "Sim, veja", "Dark Mode": "Modo Noturno", diff --git a/i18n/ro.json b/i18n/ro.json index 3e14dc59..c070c154 100644 --- a/i18n/ro.json +++ b/i18n/ro.json @@ -214,8 +214,8 @@ "Save document": "Salvați document-ul", "Your IP is not authorized to create documents.": "Adresa dvs. IP nu este autorizată să creeze document-uri.", "Trying to shorten a URL that isn't pointing at our instance.": "Încercarea de a scurta un URL care nu direcționează spre instanța noastră.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Eroare la apelarea YOURLS. Probabil o problemă de configurare, cum ar fi \"apiurl\" sau \"signature\" greșite sau lipsă.", - "Error parsing YOURLS response.": "Eroare la analizarea răspunsului YOURLS.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Eroare la apelarea YOURLS. Probabil o problemă de configurare, cum ar fi \"apiurl\" sau \"signature\" greșite sau lipsă.", + "Error parsing proxy response.": "Eroare la analizarea răspunsului YOURLS.", "This secret message can only be displayed once. Would you like to see it now?": "Acest mesaj secret poate fi afișat o singură dată. Doriți să îl vedeți acum?", "Yes, see it": "Da, vezi", "Dark Mode": "Mod întunecat", diff --git a/i18n/ru.json b/i18n/ru.json index dbbbe68c..063f62e8 100644 --- a/i18n/ru.json +++ b/i18n/ru.json @@ -214,8 +214,8 @@ "Save document": "Сохранить запись", "Your IP is not authorized to create documents.": "Вашему IP адресу не разрешено создавать записи.", "Trying to shorten a URL that isn't pointing at our instance.": "Попытка сократить URL, который указывает не на наш сервер.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Ошибка обращения к YOURLS. Возможно в конфигурации допущена ошибка, например неверный или отсутствующий параметр \"apiurl\" или \"signature\".", - "Error parsing YOURLS response.": "Ошибка разбора ответа от YOURLS.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Ошибка обращения к YOURLS. Возможно в конфигурации допущена ошибка, например неверный или отсутствующий параметр \"apiurl\" или \"signature\".", + "Error parsing proxy response.": "Ошибка разбора ответа от YOURLS.", "This secret message can only be displayed once. Would you like to see it now?": "Записи, удаляемые после прочтения, могут быть отображены после загрузки только один раз. Вы хотите открыть её сейчас?", "Yes, see it": "Да, загрузить", "Dark Mode": "Тёмная", diff --git a/i18n/sk.json b/i18n/sk.json index 2f3f2095..4db81610 100644 --- a/i18n/sk.json +++ b/i18n/sk.json @@ -214,8 +214,8 @@ "Save document": "Uložiť príspevok", "Your IP is not authorized to create documents.": "Vaša IP adresa nie je oprávnená vytvárať príspevky.", "Trying to shorten a URL that isn't pointing at our instance.": "Pokúšate sa skrátiť adresu URL, ktorá neukazuje na túto inštanciu.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".", - "Error parsing YOURLS response.": "Error parsing YOURLS response.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.", + "Error parsing proxy response.": "Error parsing proxy response.", "This secret message can only be displayed once. Would you like to see it now?": "This secret message can only be displayed once. Would you like to see it now?", "Yes, see it": "Áno, zobraziť", "Dark Mode": "Tmavý Režim", diff --git a/i18n/sl.json b/i18n/sl.json index 8d716366..5dca4097 100644 --- a/i18n/sl.json +++ b/i18n/sl.json @@ -214,8 +214,8 @@ "Save document": "Save document", "Your IP is not authorized to create documents.": "Your IP is not authorized to create documents.", "Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".", - "Error parsing YOURLS response.": "Error parsing YOURLS response.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.", + "Error parsing proxy response.": "Error parsing proxy response.", "This secret message can only be displayed once. Would you like to see it now?": "This secret message can only be displayed once. Would you like to see it now?", "Yes, see it": "Yes, see it", "Dark Mode": "Temni način", diff --git a/i18n/sv.json b/i18n/sv.json index 83712ff1..de8816dd 100644 --- a/i18n/sv.json +++ b/i18n/sv.json @@ -214,8 +214,8 @@ "Save document": "Save document", "Your IP is not authorized to create documents.": "Your IP is not authorized to create documents.", "Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".", - "Error parsing YOURLS response.": "Error parsing YOURLS response.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.", + "Error parsing proxy response.": "Error parsing proxy response.", "This secret message can only be displayed once. Would you like to see it now?": "This secret message can only be displayed once. Would you like to see it now?", "Yes, see it": "Yes, see it", "Dark Mode": "Mörkt Läge", diff --git a/i18n/th.json b/i18n/th.json index 9f6b8629..58bbf3f5 100644 --- a/i18n/th.json +++ b/i18n/th.json @@ -214,8 +214,8 @@ "Save document": "ดาวน์โหลดข้อมูลการฝากโค้ด", "Your IP is not authorized to create documents.": "IP ของคุณไม่ได้รับอนุญาตให้สร้างการฝากโค้ด", "Trying to shorten a URL that isn't pointing at our instance.": "กำลังพยายามใช้เครื่องมือสร้างลิงก์ย่อ ที่ไม่ได้ชี้ไปที่อินสแตนซ์ของเรา", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "เกิดข้อผิดพลาดในการเรียก YOURLS อาจเป็นปัญหามาจากการกำหนดค่า เช่น \"apiurl\" หรือ \"signature\" ไม่ถูกต้องหรือขาดหายไป", - "Error parsing YOURLS response.": "เกิดข้อผิดพลาดในการแยกวิเคราะห์การตอบสนองของ YOURLS", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "เกิดข้อผิดพลาดในการเรียก YOURLS อาจเป็นปัญหามาจากการกำหนดค่า เช่น \"apiurl\" หรือ \"signature\" ไม่ถูกต้องหรือขาดหายไป", + "Error parsing proxy response.": "เกิดข้อผิดพลาดในการแยกวิเคราะห์การตอบสนองของ YOURLS", "This secret message can only be displayed once. Would you like to see it now?": "ข้อความลับนี้จะแสดงได้เพียงครั้งเดียวเท่านั้น คุณต้องการดูข้อความนี้ตอนนี้เลยใช่หรือไม่", "Yes, see it": "ใช่ ดูเลย", "Dark Mode": "โหมดสีเข้ม", diff --git a/i18n/tr.json b/i18n/tr.json index 40f00275..964479f6 100644 --- a/i18n/tr.json +++ b/i18n/tr.json @@ -214,8 +214,8 @@ "Save document": "Yazıyı kaydet", "Your IP is not authorized to create documents.": "IP adresinizin yazı oluşturmaya yetkisi yoktur.", "Trying to shorten a URL that isn't pointing at our instance.": "URL'yi kısaltmaya çalışırken, bizim sunucumuza işaret etmeyen bir URL kullanıyorsunuz.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "YOURLS çağrısı başarısız oldu. Muhtemelen \"apiurl\" veya \"signature\" gibi yanlış veya eksik yapılandırma hatası.", - "Error parsing YOURLS response.": "YOURLS yanıtı ayrıştırılamadı.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "YOURLS çağrısı başarısız oldu. Muhtemelen \"apiurl\" veya \"signature\" gibi yanlış veya eksik yapılandırma hatası.", + "Error parsing proxy response.": "YOURLS yanıtı ayrıştırılamadı.", "This secret message can only be displayed once. Would you like to see it now?": "Bu gizli mesaj yalnızca bir kez görüntülenebilir. Şimdi görmek ister misiniz?", "Yes, see it": "Evet, gör", "Dark Mode": "Koyu Mod", diff --git a/i18n/uk.json b/i18n/uk.json index 429614d0..6942d8cc 100644 --- a/i18n/uk.json +++ b/i18n/uk.json @@ -214,8 +214,8 @@ "Save document": "Зберегти вставку", "Your IP is not authorized to create documents.": "Вашому IP не дозволено створювати вставки.", "Trying to shorten a URL that isn't pointing at our instance.": "Спроба скоротити URL, який не вказує на наш екземпляр.", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Помилка виклику YOURLS. Ймовірно проблема з налаштуванням, наприклад \"apiurl\" чи \"signature\".", - "Error parsing YOURLS response.": "Помилка розбору відповіді YOURLS.", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "Помилка виклику YOURLS. Ймовірно проблема з налаштуванням, наприклад \"apiurl\" чи \"signature\".", + "Error parsing proxy response.": "Помилка розбору відповіді YOURLS.", "This secret message can only be displayed once. Would you like to see it now?": "Це таємне повідомлення можна надіслати лише один раз. Хочете переглянути його зараз?", "Yes, see it": "Так, побачити", "Dark Mode": "Темний режим", diff --git a/i18n/zh.json b/i18n/zh.json index bd4eb510..10074be2 100644 --- a/i18n/zh.json +++ b/i18n/zh.json @@ -214,8 +214,8 @@ "Save document": "保存内容", "Your IP is not authorized to create documents.": "您的 IP 无权创建粘贴。", "Trying to shorten a URL that isn't pointing at our instance.": "尝试缩短一个不指向我们实例的URL。", - "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "调用 YOURLS 时出错。可能是配置问题,例如“apiurl”或“signature”错误或缺失。", - "Error parsing YOURLS response.": "解析 YOURLS 响应时出错。", + "Error calling proxy. Probably a configuration issue, like wrong or missing config keys.": "调用 YOURLS 时出错。可能是配置问题,例如“apiurl”或“signature”错误或缺失。", + "Error parsing proxy response.": "解析 YOURLS 响应时出错。", "This secret message can only be displayed once. Would you like to see it now?": "读取粘贴后只能在加载时显示一次。您想现在打开吗?", "Yes, see it": "是的,加载它", "Dark Mode": "夜间模式", diff --git a/lib/Proxy/AbstractProxy.php b/lib/Proxy/AbstractProxy.php index 7dfc25e5..6c024e4c 100644 --- a/lib/Proxy/AbstractProxy.php +++ b/lib/Proxy/AbstractProxy.php @@ -57,7 +57,7 @@ abstract class AbstractProxy $proxyUrl = $this->_getProxyUrl($conf); if (empty($proxyUrl)) { - $this->_error = 'Error calling proxy. Probably a configuration issue, like missing api url'; + $this->_error = 'Error calling proxy. Probably a configuration issue, like wrong or missing config keys.'; error_log($this->_error); return; } @@ -70,20 +70,14 @@ abstract class AbstractProxy ) ); - if ($data == null) { - $this->_error = 'Error calling proxy. Probably a configuration issue'; - error_log($this->_error); - return; - } - if ($data === false) { $http_response_header = $http_response_header ?? array(); $statusCode = ''; if (!empty($http_response_header) && preg_match('/HTTP\/\d+\.\d+\s+(\d+)/', $http_response_header[0], $matches)) { $statusCode = $matches[1]; } - $this->_error = 'Error calling proxy. HTTP request failed. Status code: ' . $statusCode; - error_log($this->_error); + $this->_error = 'Error calling proxy. Probably a configuration issue, like wrong or missing config keys.'; + error_log($this->_error . ' Status code: ' . $statusCode); return; } @@ -97,8 +91,8 @@ abstract class AbstractProxy $url = $this->_extractShortUrl($jsonData); - if ($url === null) { - $this->_error = 'Error calling proxy. Probably a configuration issue, like wrong or missing config keys.'; + if ($url === null || empty($url)) { + $this->_error = 'Error parsing proxy response.'; error_log('Error calling proxy: ' . $data); } else { $this->_url = $url; diff --git a/tst/YourlsProxyTest.php b/tst/YourlsProxyTest.php index 78821f47..01fb1821 100644 --- a/tst/YourlsProxyTest.php +++ b/tst/YourlsProxyTest.php @@ -68,7 +68,7 @@ class YourlsProxyTest extends TestCase $yourls = new YourlsProxy($this->_conf, 'https://example.com/?foo#bar'); $this->assertTrue($yourls->isError()); - $this->assertEquals($yourls->getError(), 'Error calling proxy. Probably a configuration issue, like wrong or missing config keys.'); + $this->assertEquals($yourls->getError(), 'Error parsing proxy response.'); } public function testServerError()