diff options
Diffstat (limited to 'apps/files_sharing')
66 files changed, 45 insertions, 75 deletions
diff --git a/apps/files_sharing/l10n/ar.php b/apps/files_sharing/l10n/ar.php index ff7b40d16bc..2625af1cc00 100644 --- a/apps/files_sharing/l10n/ar.php +++ b/apps/files_sharing/l10n/ar.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "كلمة المرور", -"Submit" => "تطبيق", "%s shared the folder %s with you" => "%s شارك المجلد %s معك", "%s shared the file %s with you" => "%s شارك الملف %s معك", "Download" => "تحميل", diff --git a/apps/files_sharing/l10n/bg_BG.php b/apps/files_sharing/l10n/bg_BG.php index 1094870fd0f..f4b9e2dd5fc 100644 --- a/apps/files_sharing/l10n/bg_BG.php +++ b/apps/files_sharing/l10n/bg_BG.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Парола", -"Submit" => "Потвърждение", "%s shared the folder %s with you" => "%s сподели папката %s с Вас", "%s shared the file %s with you" => "%s сподели файла %s с Вас", "Download" => "Изтегляне", diff --git a/apps/files_sharing/l10n/bn_BD.php b/apps/files_sharing/l10n/bn_BD.php index 71b948e347b..aaed904d9d7 100644 --- a/apps/files_sharing/l10n/bn_BD.php +++ b/apps/files_sharing/l10n/bn_BD.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "কূটশব্দ", -"Submit" => "জমা দিন", "%s shared the folder %s with you" => "%s আপনার সাথে %s ফোল্ডারটি ভাগাভাগি করেছেন", "%s shared the file %s with you" => "%s আপনার সাথে %s ফাইলটি ভাগাভাগি করেছেন", "Download" => "ডাউনলোড", diff --git a/apps/files_sharing/l10n/ca.php b/apps/files_sharing/l10n/ca.php index cbe8f86e253..e5e5910f8cf 100644 --- a/apps/files_sharing/l10n/ca.php +++ b/apps/files_sharing/l10n/ca.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "la contrasenya és incorrecta. Intenteu-ho de nou.", "Password" => "Contrasenya", -"Submit" => "Envia", "Sorry, this link doesn’t seem to work anymore." => "Aquest enllaç sembla que no funciona.", "Reasons might be:" => "Les raons podrien ser:", "the item was removed" => "l'element ha estat eliminat", diff --git a/apps/files_sharing/l10n/cs_CZ.php b/apps/files_sharing/l10n/cs_CZ.php index 7258dedcf6d..192c4a79572 100644 --- a/apps/files_sharing/l10n/cs_CZ.php +++ b/apps/files_sharing/l10n/cs_CZ.php @@ -1,8 +1,8 @@ <?php $TRANSLATIONS = array( +"This share is password-protected" => "Toto sdílení je chráněno heslem", "The password is wrong. Try again." => "Heslo není správné. Zkuste to znovu.", "Password" => "Heslo", -"Submit" => "Odeslat", "Sorry, this link doesn’t seem to work anymore." => "Je nám líto, ale tento odkaz již není funkční.", "Reasons might be:" => "Možné důvody:", "the item was removed" => "položka byla odebrána", diff --git a/apps/files_sharing/l10n/cy_GB.php b/apps/files_sharing/l10n/cy_GB.php index 66fbc4e1d1c..d2ae28141d4 100644 --- a/apps/files_sharing/l10n/cy_GB.php +++ b/apps/files_sharing/l10n/cy_GB.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Cyfrinair", -"Submit" => "Cyflwyno", "%s shared the folder %s with you" => "Rhannodd %s blygell %s â chi", "%s shared the file %s with you" => "Rhannodd %s ffeil %s â chi", "Download" => "Llwytho i lawr", diff --git a/apps/files_sharing/l10n/da.php b/apps/files_sharing/l10n/da.php index 0ca0f38161a..aef3ad98811 100644 --- a/apps/files_sharing/l10n/da.php +++ b/apps/files_sharing/l10n/da.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "Kodeordet er forkert. Prøv igen.", "Password" => "Kodeord", -"Submit" => "Send", "Sorry, this link doesn’t seem to work anymore." => "Desværre, dette link ser ikke ud til at fungerer længere.", "Reasons might be:" => "Årsagen kan være:", "the item was removed" => "Filen blev fjernet", diff --git a/apps/files_sharing/l10n/de.php b/apps/files_sharing/l10n/de.php index afed17d8839..bfec2ced10a 100644 --- a/apps/files_sharing/l10n/de.php +++ b/apps/files_sharing/l10n/de.php @@ -1,8 +1,8 @@ <?php $TRANSLATIONS = array( +"This share is password-protected" => "Diese Freigabe ist durch ein Passwort geschützt", "The password is wrong. Try again." => "Bitte überprüfen sie Ihr Passwort und versuchen Sie es erneut.", "Password" => "Passwort", -"Submit" => "Absenden", "Sorry, this link doesn’t seem to work anymore." => "Entschuldigung, dieser Link scheint nicht mehr zu funktionieren.", "Reasons might be:" => "Gründe könnten sein:", "the item was removed" => "Die Elemente wurden entfernt", diff --git a/apps/files_sharing/l10n/de_CH.php b/apps/files_sharing/l10n/de_CH.php index 1bd24f9d9c4..f63714b902f 100644 --- a/apps/files_sharing/l10n/de_CH.php +++ b/apps/files_sharing/l10n/de_CH.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "Das Passwort ist falsch. Bitte versuchen Sie es erneut.", "Password" => "Passwort", -"Submit" => "Bestätigen", "Sorry, this link doesn’t seem to work anymore." => "Entschuldigung, dieser Link scheint nicht mehr zu funktionieren.", "Reasons might be:" => "Gründe könnten sein:", "the item was removed" => "Das Element wurde entfernt", diff --git a/apps/files_sharing/l10n/de_DE.php b/apps/files_sharing/l10n/de_DE.php index 1bd24f9d9c4..fa0080088d1 100644 --- a/apps/files_sharing/l10n/de_DE.php +++ b/apps/files_sharing/l10n/de_DE.php @@ -1,8 +1,8 @@ <?php $TRANSLATIONS = array( +"This share is password-protected" => "Diese Freigabe ist durch ein Passwort geschützt", "The password is wrong. Try again." => "Das Passwort ist falsch. Bitte versuchen Sie es erneut.", "Password" => "Passwort", -"Submit" => "Bestätigen", "Sorry, this link doesn’t seem to work anymore." => "Entschuldigung, dieser Link scheint nicht mehr zu funktionieren.", "Reasons might be:" => "Gründe könnten sein:", "the item was removed" => "Das Element wurde entfernt", diff --git a/apps/files_sharing/l10n/el.php b/apps/files_sharing/l10n/el.php index 93486a831b1..4584e261b01 100644 --- a/apps/files_sharing/l10n/el.php +++ b/apps/files_sharing/l10n/el.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "Εσφαλμένο συνθηματικό. Προσπαθήστε ξανά.", "Password" => "Συνθηματικό", -"Submit" => "Καταχώρηση", "Sorry, this link doesn’t seem to work anymore." => "Συγγνώμη, αυτός ο σύνδεσμος μοιάζει να μην ισχύει πια.", "Reasons might be:" => "Οι λόγοι μπορεί να είναι:", "the item was removed" => "το αντικείμενο απομακρύνθηκε", diff --git a/apps/files_sharing/l10n/en@pirate.php b/apps/files_sharing/l10n/en@pirate.php index a60f1fe72f2..cd3c00d29d2 100644 --- a/apps/files_sharing/l10n/en@pirate.php +++ b/apps/files_sharing/l10n/en@pirate.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Secret Code", -"Submit" => "Submit", "%s shared the folder %s with you" => "%s shared the folder %s with you", "%s shared the file %s with you" => "%s shared the file %s with you", "Download" => "Download", diff --git a/apps/files_sharing/l10n/en_GB.php b/apps/files_sharing/l10n/en_GB.php index 337c108651e..b0db7ebc90c 100644 --- a/apps/files_sharing/l10n/en_GB.php +++ b/apps/files_sharing/l10n/en_GB.php @@ -1,8 +1,8 @@ <?php $TRANSLATIONS = array( +"This share is password-protected" => "This share is password-protected", "The password is wrong. Try again." => "The password is wrong. Try again.", "Password" => "Password", -"Submit" => "Submit", "Sorry, this link doesn’t seem to work anymore." => "Sorry, this link doesn’t seem to work anymore.", "Reasons might be:" => "Reasons might be:", "the item was removed" => "the item was removed", diff --git a/apps/files_sharing/l10n/eo.php b/apps/files_sharing/l10n/eo.php index 70e703bda91..294dc0314cc 100644 --- a/apps/files_sharing/l10n/eo.php +++ b/apps/files_sharing/l10n/eo.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Pasvorto", -"Submit" => "Sendi", "%s shared the folder %s with you" => "%s kunhavigis la dosierujon %s kun vi", "%s shared the file %s with you" => "%s kunhavigis la dosieron %s kun vi", "Download" => "Elŝuti", diff --git a/apps/files_sharing/l10n/es.php b/apps/files_sharing/l10n/es.php index e163da766f3..9d214e79e22 100644 --- a/apps/files_sharing/l10n/es.php +++ b/apps/files_sharing/l10n/es.php @@ -1,8 +1,8 @@ <?php $TRANSLATIONS = array( +"This share is password-protected" => "Este elemento compartido esta protegido por contraseña", "The password is wrong. Try again." => "La contraseña introducida es errónea. Inténtelo de nuevo.", "Password" => "Contraseña", -"Submit" => "Enviar", "Sorry, this link doesn’t seem to work anymore." => "Vaya, este enlace parece que no volverá a funcionar.", "Reasons might be:" => "Las causas podrían ser:", "the item was removed" => "el elemento fue eliminado", diff --git a/apps/files_sharing/l10n/es_AR.php b/apps/files_sharing/l10n/es_AR.php index 7c9dcb94ac1..989a91a450f 100644 --- a/apps/files_sharing/l10n/es_AR.php +++ b/apps/files_sharing/l10n/es_AR.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "La contraseña no es correcta. Probá de nuevo.", "Password" => "Contraseña", -"Submit" => "Enviar", "Sorry, this link doesn’t seem to work anymore." => "Perdón, este enlace parece no funcionar más.", "Reasons might be:" => "Las causas podrían ser:", "the item was removed" => "el elemento fue borrado", diff --git a/apps/files_sharing/l10n/et_EE.php b/apps/files_sharing/l10n/et_EE.php index fe230902ff1..71218625f81 100644 --- a/apps/files_sharing/l10n/et_EE.php +++ b/apps/files_sharing/l10n/et_EE.php @@ -1,8 +1,8 @@ <?php $TRANSLATIONS = array( +"This share is password-protected" => "See jagamine on parooliga kaitstud", "The password is wrong. Try again." => "Parool on vale. Proovi uuesti.", "Password" => "Parool", -"Submit" => "Saada", "Sorry, this link doesn’t seem to work anymore." => "Vabandust, see link ei tundu enam toimivat.", "Reasons might be:" => "Põhjused võivad olla:", "the item was removed" => "üksus on eemaldatud", diff --git a/apps/files_sharing/l10n/eu.php b/apps/files_sharing/l10n/eu.php index 7b6a4b08b3c..91be195368a 100644 --- a/apps/files_sharing/l10n/eu.php +++ b/apps/files_sharing/l10n/eu.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "Pasahitza ez da egokia. Saiatu berriro.", "Password" => "Pasahitza", -"Submit" => "Bidali", "Sorry, this link doesn’t seem to work anymore." => "Barkatu, lotura ez dirudi eskuragarria dagoenik.", "Reasons might be:" => "Arrazoiak hurrengoak litezke:", "the item was removed" => "fitxategia ezbatua izan da", diff --git a/apps/files_sharing/l10n/fa.php b/apps/files_sharing/l10n/fa.php index 48888f798a0..664338723c4 100644 --- a/apps/files_sharing/l10n/fa.php +++ b/apps/files_sharing/l10n/fa.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "رمزعبور اشتباه می باشد. دوباره امتحان کنید.", "Password" => "گذرواژه", -"Submit" => "ثبت", "%s shared the folder %s with you" => "%sپوشه %s را با شما به اشتراک گذاشت", "%s shared the file %s with you" => "%sفایل %s را با شما به اشتراک گذاشت", "Download" => "دانلود", diff --git a/apps/files_sharing/l10n/fi_FI.php b/apps/files_sharing/l10n/fi_FI.php index 42905be57a6..44942fe30af 100644 --- a/apps/files_sharing/l10n/fi_FI.php +++ b/apps/files_sharing/l10n/fi_FI.php @@ -1,8 +1,8 @@ <?php $TRANSLATIONS = array( +"This share is password-protected" => "Tämä jako on suojattu salasanalla", "The password is wrong. Try again." => "Väärä salasana. Yritä uudelleen.", "Password" => "Salasana", -"Submit" => "Lähetä", "Sorry, this link doesn’t seem to work anymore." => "Valitettavasti linkki ei vaikuta enää toimivan.", "Reasons might be:" => "Mahdollisia syitä:", "the item was removed" => "kohde poistettiin", diff --git a/apps/files_sharing/l10n/fr.php b/apps/files_sharing/l10n/fr.php index c97a1db97e4..11cfabc22fd 100644 --- a/apps/files_sharing/l10n/fr.php +++ b/apps/files_sharing/l10n/fr.php @@ -1,8 +1,8 @@ <?php $TRANSLATIONS = array( +"This share is password-protected" => "Ce partage est protégé par un mot de passe", "The password is wrong. Try again." => "Le mot de passe est incorrect. Veuillez réessayer.", "Password" => "Mot de passe", -"Submit" => "Envoyer", "Sorry, this link doesn’t seem to work anymore." => "Désolé, mais le lien semble ne plus fonctionner.", "Reasons might be:" => "Les raisons peuvent être :", "the item was removed" => "l'item a été supprimé", diff --git a/apps/files_sharing/l10n/gl.php b/apps/files_sharing/l10n/gl.php index 66b1f0e5ffc..c58199ffdb5 100644 --- a/apps/files_sharing/l10n/gl.php +++ b/apps/files_sharing/l10n/gl.php @@ -1,8 +1,8 @@ <?php $TRANSLATIONS = array( +"This share is password-protected" => "Esta compartición está protexida con contrasinal", "The password is wrong. Try again." => "O contrasinal é incorrecto. Ténteo de novo.", "Password" => "Contrasinal", -"Submit" => "Enviar", "Sorry, this link doesn’t seem to work anymore." => "Semella que esta ligazón non funciona.", "Reasons might be:" => "As razóns poderían ser:", "the item was removed" => "o elemento foi retirado", diff --git a/apps/files_sharing/l10n/he.php b/apps/files_sharing/l10n/he.php index f8b304898ce..217298feddf 100644 --- a/apps/files_sharing/l10n/he.php +++ b/apps/files_sharing/l10n/he.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "סיסמא", -"Submit" => "שליחה", "%s shared the folder %s with you" => "%s שיתף עמך את התיקייה %s", "%s shared the file %s with you" => "%s שיתף עמך את הקובץ %s", "Download" => "הורדה", diff --git a/apps/files_sharing/l10n/hr.php b/apps/files_sharing/l10n/hr.php index 87eb9567067..4a82dd7f71f 100644 --- a/apps/files_sharing/l10n/hr.php +++ b/apps/files_sharing/l10n/hr.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Lozinka", -"Submit" => "Pošalji", "Download" => "Preuzimanje", "Upload" => "Učitaj", "Cancel upload" => "Prekini upload" diff --git a/apps/files_sharing/l10n/hu_HU.php b/apps/files_sharing/l10n/hu_HU.php index 7ef69b1e0b6..423af30aaeb 100644 --- a/apps/files_sharing/l10n/hu_HU.php +++ b/apps/files_sharing/l10n/hu_HU.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "A megadott jelszó nem megfelelő. Próbálja újra!", "Password" => "Jelszó", -"Submit" => "Elküld", "Sorry, this link doesn’t seem to work anymore." => "Sajnos úgy tűnik, ez a link már nem működik.", "Reasons might be:" => "Ennek az oka a következő lehet:", "the item was removed" => "az állományt időközben eltávolították", diff --git a/apps/files_sharing/l10n/hy.php b/apps/files_sharing/l10n/hy.php index d4cb416f45a..da200623e03 100644 --- a/apps/files_sharing/l10n/hy.php +++ b/apps/files_sharing/l10n/hy.php @@ -1,6 +1,5 @@ <?php $TRANSLATIONS = array( -"Submit" => "Հաստատել", "Download" => "Բեռնել" ); $PLURAL_FORMS = "nplurals=2; plural=(n != 1);"; diff --git a/apps/files_sharing/l10n/ia.php b/apps/files_sharing/l10n/ia.php index 5112501073d..f9d6c33a0b5 100644 --- a/apps/files_sharing/l10n/ia.php +++ b/apps/files_sharing/l10n/ia.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Contrasigno", -"Submit" => "Submitter", "Download" => "Discargar", "Upload" => "Incargar" ); diff --git a/apps/files_sharing/l10n/id.php b/apps/files_sharing/l10n/id.php index a4d73bd2b75..e91ef94bf38 100644 --- a/apps/files_sharing/l10n/id.php +++ b/apps/files_sharing/l10n/id.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Sandi", -"Submit" => "Kirim", "%s shared the folder %s with you" => "%s membagikan folder %s dengan Anda", "%s shared the file %s with you" => "%s membagikan file %s dengan Anda", "Download" => "Unduh", diff --git a/apps/files_sharing/l10n/is.php b/apps/files_sharing/l10n/is.php index 05241d3f9e6..8ae8e48eff6 100644 --- a/apps/files_sharing/l10n/is.php +++ b/apps/files_sharing/l10n/is.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Lykilorð", -"Submit" => "Senda", "%s shared the folder %s with you" => "%s deildi möppunni %s með þér", "%s shared the file %s with you" => "%s deildi skránni %s með þér", "Download" => "Niðurhal", diff --git a/apps/files_sharing/l10n/it.php b/apps/files_sharing/l10n/it.php index a611e0641c8..c5d4a4db3ec 100644 --- a/apps/files_sharing/l10n/it.php +++ b/apps/files_sharing/l10n/it.php @@ -1,8 +1,8 @@ <?php $TRANSLATIONS = array( +"This share is password-protected" => "Questa condivione è protetta da password", "The password is wrong. Try again." => "La password è errata. Prova ancora.", "Password" => "Password", -"Submit" => "Invia", "Sorry, this link doesn’t seem to work anymore." => "Spiacenti, questo collegamento sembra non essere più attivo.", "Reasons might be:" => "I motivi potrebbero essere:", "the item was removed" => "l'elemento è stato rimosso", diff --git a/apps/files_sharing/l10n/ja_JP.php b/apps/files_sharing/l10n/ja_JP.php index 4f7d5b31c2f..0eafd9ea811 100644 --- a/apps/files_sharing/l10n/ja_JP.php +++ b/apps/files_sharing/l10n/ja_JP.php @@ -1,8 +1,8 @@ <?php $TRANSLATIONS = array( +"This share is password-protected" => "この共有はパスワードで保護されています", "The password is wrong. Try again." => "パスワードが間違っています。再試行してください。", "Password" => "パスワード", -"Submit" => "送信", "Sorry, this link doesn’t seem to work anymore." => "申し訳ございません。このリンクはもう利用できません。", "Reasons might be:" => "理由は以下の通りと考えられます:", "the item was removed" => "アイテムが削除されました", diff --git a/apps/files_sharing/l10n/ka_GE.php b/apps/files_sharing/l10n/ka_GE.php index a5a80b3c5a1..89a6800b3e4 100644 --- a/apps/files_sharing/l10n/ka_GE.php +++ b/apps/files_sharing/l10n/ka_GE.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "პაროლი", -"Submit" => "გაგზავნა", "%s shared the folder %s with you" => "%s–მა გაგიზიარათ ფოლდერი %s", "%s shared the file %s with you" => "%s–მა გაგიზიარათ ფაილი %s", "Download" => "ჩამოტვირთვა", diff --git a/apps/files_sharing/l10n/ko.php b/apps/files_sharing/l10n/ko.php index f7eab1ac550..90f59ed1673 100644 --- a/apps/files_sharing/l10n/ko.php +++ b/apps/files_sharing/l10n/ko.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "비밀번호가 틀립니다. 다시 입력해주세요.", "Password" => "암호", -"Submit" => "제출", "Sorry, this link doesn’t seem to work anymore." => "죄송합니다만 이 링크는 더이상 작동되지 않습니다.", "Reasons might be:" => "이유는 다음과 같을 수 있습니다:", "the item was removed" => "이 항목은 삭제되었습니다", diff --git a/apps/files_sharing/l10n/ku_IQ.php b/apps/files_sharing/l10n/ku_IQ.php index 55576a19c36..6b4b7e4ba9e 100644 --- a/apps/files_sharing/l10n/ku_IQ.php +++ b/apps/files_sharing/l10n/ku_IQ.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "وشەی تێپەربو", -"Submit" => "ناردن", "%s shared the folder %s with you" => "%s دابهشی کردووه بوخچهی %s لهگهڵ تۆ", "%s shared the file %s with you" => "%s دابهشی کردووه پهڕگهیی %s لهگهڵ تۆ", "Download" => "داگرتن", diff --git a/apps/files_sharing/l10n/lb.php b/apps/files_sharing/l10n/lb.php index d37a1d9d22a..eeb6a3e2dca 100644 --- a/apps/files_sharing/l10n/lb.php +++ b/apps/files_sharing/l10n/lb.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "Den Passwuert ass incorrect. Probeier ed nach eng keier.", "Password" => "Passwuert", -"Submit" => "Fortschécken", "%s shared the folder %s with you" => "%s huet den Dossier %s mad der gedeelt", "%s shared the file %s with you" => "%s deelt den Fichier %s mad dir", "Download" => "Download", diff --git a/apps/files_sharing/l10n/lt_LT.php b/apps/files_sharing/l10n/lt_LT.php index 90ae6a39a07..fe4a82e0643 100644 --- a/apps/files_sharing/l10n/lt_LT.php +++ b/apps/files_sharing/l10n/lt_LT.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "Netinka slaptažodis: Bandykite dar kartą.", "Password" => "Slaptažodis", -"Submit" => "Išsaugoti", "Sorry, this link doesn’t seem to work anymore." => "Atleiskite, panašu, kad nuoroda yra neveiksni.", "Reasons might be:" => "Galimos priežastys:", "the item was removed" => "elementas buvo pašalintas", diff --git a/apps/files_sharing/l10n/lv.php b/apps/files_sharing/l10n/lv.php index 0eb04fb966f..a913ba11525 100644 --- a/apps/files_sharing/l10n/lv.php +++ b/apps/files_sharing/l10n/lv.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Parole", -"Submit" => "Iesniegt", "%s shared the folder %s with you" => "%s ar jums dalījās ar mapi %s", "%s shared the file %s with you" => "%s ar jums dalījās ar datni %s", "Download" => "Lejupielādēt", diff --git a/apps/files_sharing/l10n/mk.php b/apps/files_sharing/l10n/mk.php index c913b2beaf7..c132f7aa265 100644 --- a/apps/files_sharing/l10n/mk.php +++ b/apps/files_sharing/l10n/mk.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Лозинка", -"Submit" => "Прати", "%s shared the folder %s with you" => "%s ја сподели папката %s со Вас", "%s shared the file %s with you" => "%s ја сподели датотеката %s со Вас", "Download" => "Преземи", diff --git a/apps/files_sharing/l10n/ms_MY.php b/apps/files_sharing/l10n/ms_MY.php index 0a3d08bbc17..9725dd4d1bc 100644 --- a/apps/files_sharing/l10n/ms_MY.php +++ b/apps/files_sharing/l10n/ms_MY.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Kata laluan", -"Submit" => "Hantar", "Download" => "Muat turun", "Upload" => "Muat naik", "Cancel upload" => "Batal muat naik" diff --git a/apps/files_sharing/l10n/my_MM.php b/apps/files_sharing/l10n/my_MM.php index f44010004cd..ff92e898ed4 100644 --- a/apps/files_sharing/l10n/my_MM.php +++ b/apps/files_sharing/l10n/my_MM.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "စကားဝှက်", -"Submit" => "ထည့်သွင်းမည်", "Download" => "ဒေါင်းလုတ်" ); $PLURAL_FORMS = "nplurals=1; plural=0;"; diff --git a/apps/files_sharing/l10n/nb_NO.php b/apps/files_sharing/l10n/nb_NO.php index dd8a8edf313..0452b5275c1 100644 --- a/apps/files_sharing/l10n/nb_NO.php +++ b/apps/files_sharing/l10n/nb_NO.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "Passordet er feil. Prøv på nytt.", "Password" => "Passord", -"Submit" => "Send inn", "%s shared the folder %s with you" => "%s delte mappen %s med deg", "%s shared the file %s with you" => "%s delte filen %s med deg", "Download" => "Last ned", diff --git a/apps/files_sharing/l10n/nl.php b/apps/files_sharing/l10n/nl.php index 9c46a1ab4b3..ed9f867fdc3 100644 --- a/apps/files_sharing/l10n/nl.php +++ b/apps/files_sharing/l10n/nl.php @@ -1,8 +1,8 @@ <?php $TRANSLATIONS = array( +"This share is password-protected" => "Deze share is met een wachtwoord beveiligd", "The password is wrong. Try again." => "Wachtwoord ongeldig. Probeer het nogmaals.", "Password" => "Wachtwoord", -"Submit" => "Verzenden", "Sorry, this link doesn’t seem to work anymore." => "Sorry, deze link lijkt niet meer in gebruik te zijn.", "Reasons might be:" => "Redenen kunnen zijn:", "the item was removed" => "bestand was verwijderd", diff --git a/apps/files_sharing/l10n/nn_NO.php b/apps/files_sharing/l10n/nn_NO.php index 94272943e40..1f1e8001e70 100644 --- a/apps/files_sharing/l10n/nn_NO.php +++ b/apps/files_sharing/l10n/nn_NO.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "Passordet er gale. Prøv igjen.", "Password" => "Passord", -"Submit" => "Send", "Sorry, this link doesn’t seem to work anymore." => "Orsak, denne lenkja fungerer visst ikkje lenger.", "Reasons might be:" => "Moglege grunnar:", "the item was removed" => "fila/mappa er fjerna", diff --git a/apps/files_sharing/l10n/oc.php b/apps/files_sharing/l10n/oc.php index 493ddb4dfd3..299d98e58b4 100644 --- a/apps/files_sharing/l10n/oc.php +++ b/apps/files_sharing/l10n/oc.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Senhal", -"Submit" => "Sosmetre", "Download" => "Avalcarga", "Upload" => "Amontcarga", "Cancel upload" => " Anulla l'amontcargar" diff --git a/apps/files_sharing/l10n/pl.php b/apps/files_sharing/l10n/pl.php index 43c7e2e3144..63d373917e5 100644 --- a/apps/files_sharing/l10n/pl.php +++ b/apps/files_sharing/l10n/pl.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "To hasło jest niewłaściwe. Spróbuj ponownie.", "Password" => "Hasło", -"Submit" => "Wyślij", "Sorry, this link doesn’t seem to work anymore." => "Przepraszamy ale wygląda na to, że ten link już nie działa.", "Reasons might be:" => "Możliwe powody:", "the item was removed" => "element został usunięty", diff --git a/apps/files_sharing/l10n/pt_BR.php b/apps/files_sharing/l10n/pt_BR.php index 9fc1cacf7cb..a0cc058ca2f 100644 --- a/apps/files_sharing/l10n/pt_BR.php +++ b/apps/files_sharing/l10n/pt_BR.php @@ -1,8 +1,8 @@ <?php $TRANSLATIONS = array( +"This share is password-protected" => "Este compartilhamento esta protegido por senha", "The password is wrong. Try again." => "Senha incorreta. Tente novamente.", "Password" => "Senha", -"Submit" => "Submeter", "Sorry, this link doesn’t seem to work anymore." => "Desculpe, este link parece não mais funcionar.", "Reasons might be:" => "As razões podem ser:", "the item was removed" => "o item foi removido", diff --git a/apps/files_sharing/l10n/pt_PT.php b/apps/files_sharing/l10n/pt_PT.php index 73dc2a3e1f3..7fa1876aaac 100644 --- a/apps/files_sharing/l10n/pt_PT.php +++ b/apps/files_sharing/l10n/pt_PT.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "Password errada, por favor tente de novo", "Password" => "Password", -"Submit" => "Submeter", "Sorry, this link doesn’t seem to work anymore." => "Desculpe, mas este link parece não estar a funcionar.", "Reasons might be:" => "As razões poderão ser:", "the item was removed" => "O item foi removido", diff --git a/apps/files_sharing/l10n/ro.php b/apps/files_sharing/l10n/ro.php index d17152ff1b1..54e20ed6bb4 100644 --- a/apps/files_sharing/l10n/ro.php +++ b/apps/files_sharing/l10n/ro.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "Parola este incorectă. Încercaţi din nou.", "Password" => "Parolă", -"Submit" => "Trimite", "%s shared the folder %s with you" => "%s a partajat directorul %s cu tine", "%s shared the file %s with you" => "%s a partajat fișierul %s cu tine", "Download" => "Descarcă", diff --git a/apps/files_sharing/l10n/ru.php b/apps/files_sharing/l10n/ru.php index f42f1d9aeb6..38581b045e6 100644 --- a/apps/files_sharing/l10n/ru.php +++ b/apps/files_sharing/l10n/ru.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "Неверный пароль. Попробуйте еще раз.", "Password" => "Пароль", -"Submit" => "Отправить", "Sorry, this link doesn’t seem to work anymore." => "К сожалению, эта ссылка, похоже не будет работать больше.", "Reasons might be:" => "Причиной может быть:", "the item was removed" => "объект был удалён", diff --git a/apps/files_sharing/l10n/si_LK.php b/apps/files_sharing/l10n/si_LK.php index 6135f092139..e8401385647 100644 --- a/apps/files_sharing/l10n/si_LK.php +++ b/apps/files_sharing/l10n/si_LK.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "මුර පදය", -"Submit" => "යොමු කරන්න", "%s shared the folder %s with you" => "%s ඔබව %s ෆෝල්ඩරයට හවුල් කරගත්තේය", "%s shared the file %s with you" => "%s ඔබ සමඟ %s ගොනුව බෙදාහදාගත්තේය", "Download" => "බාන්න", diff --git a/apps/files_sharing/l10n/sk_SK.php b/apps/files_sharing/l10n/sk_SK.php index 31ecb28b602..d8633c1daf1 100644 --- a/apps/files_sharing/l10n/sk_SK.php +++ b/apps/files_sharing/l10n/sk_SK.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "Heslo je chybné. Skúste to znova.", "Password" => "Heslo", -"Submit" => "Odoslať", "Sorry, this link doesn’t seem to work anymore." => "To je nepríjemné, ale tento odkaz už nie je funkčný.", "Reasons might be:" => "Možné dôvody:", "the item was removed" => "položka bola presunutá", diff --git a/apps/files_sharing/l10n/sl.php b/apps/files_sharing/l10n/sl.php index cbd4f5fea22..58bbf87c19f 100644 --- a/apps/files_sharing/l10n/sl.php +++ b/apps/files_sharing/l10n/sl.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Geslo", -"Submit" => "Pošlji", "%s shared the folder %s with you" => "Oseba %s je določila mapo %s za souporabo", "%s shared the file %s with you" => "Oseba %s je določila datoteko %s za souporabo", "Download" => "Prejmi", diff --git a/apps/files_sharing/l10n/sq.php b/apps/files_sharing/l10n/sq.php index d2077663e8d..473049f75ed 100644 --- a/apps/files_sharing/l10n/sq.php +++ b/apps/files_sharing/l10n/sq.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "Kodi është i gabuar. Provojeni përsëri.", "Password" => "Kodi", -"Submit" => "Parashtro", "Sorry, this link doesn’t seem to work anymore." => "Ju kërkojmë ndjesë, kjo lidhje duket sikur nuk punon më.", "Reasons might be:" => "Arsyet mund të jenë:", "the item was removed" => "elementi është eliminuar", diff --git a/apps/files_sharing/l10n/sr.php b/apps/files_sharing/l10n/sr.php index 3b97d15419a..e484ad25eb6 100644 --- a/apps/files_sharing/l10n/sr.php +++ b/apps/files_sharing/l10n/sr.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Лозинка", -"Submit" => "Пошаљи", "Download" => "Преузми", "Upload" => "Отпреми", "Cancel upload" => "Прекини отпремање" diff --git a/apps/files_sharing/l10n/sr@latin.php b/apps/files_sharing/l10n/sr@latin.php index 1a6be625761..08463e15103 100644 --- a/apps/files_sharing/l10n/sr@latin.php +++ b/apps/files_sharing/l10n/sr@latin.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Lozinka", -"Submit" => "Pošalji", "Download" => "Preuzmi", "Upload" => "Pošalji" ); diff --git a/apps/files_sharing/l10n/sv.php b/apps/files_sharing/l10n/sv.php index b8a5f8629a6..23bf17aba45 100644 --- a/apps/files_sharing/l10n/sv.php +++ b/apps/files_sharing/l10n/sv.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "Lösenordet är fel. Försök igen.", "Password" => "Lösenord", -"Submit" => "Skicka", "Sorry, this link doesn’t seem to work anymore." => "Tyvärr, denna länk verkar inte fungera längre.", "Reasons might be:" => "Orsaker kan vara:", "the item was removed" => "objektet togs bort", diff --git a/apps/files_sharing/l10n/ta_LK.php b/apps/files_sharing/l10n/ta_LK.php index b4eb0fb7fb8..90a2fb417f4 100644 --- a/apps/files_sharing/l10n/ta_LK.php +++ b/apps/files_sharing/l10n/ta_LK.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "கடவுச்சொல்", -"Submit" => "சமர்ப்பிக்குக", "%s shared the folder %s with you" => "%s கோப்புறையானது %s உடன் பகிரப்பட்டது", "%s shared the file %s with you" => "%s கோப்பானது %s உடன் பகிரப்பட்டது", "Download" => "பதிவிறக்குக", diff --git a/apps/files_sharing/l10n/th_TH.php b/apps/files_sharing/l10n/th_TH.php index 060bd8bed94..e192e0a97cd 100644 --- a/apps/files_sharing/l10n/th_TH.php +++ b/apps/files_sharing/l10n/th_TH.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "รหัสผ่าน", -"Submit" => "ส่ง", "%s shared the folder %s with you" => "%s ได้แชร์โฟลเดอร์ %s ให้กับคุณ", "%s shared the file %s with you" => "%s ได้แชร์ไฟล์ %s ให้กับคุณ", "Download" => "ดาวน์โหลด", diff --git a/apps/files_sharing/l10n/tr.php b/apps/files_sharing/l10n/tr.php index a5bcff82cf3..88d1152a7d5 100644 --- a/apps/files_sharing/l10n/tr.php +++ b/apps/files_sharing/l10n/tr.php @@ -1,7 +1,14 @@ <?php $TRANSLATIONS = array( +"This share is password-protected" => "Bu paylaşım parola korumalı", +"The password is wrong. Try again." => "Parola hatalı. Yeniden deneyin.", "Password" => "Parola", -"Submit" => "Gönder", +"Sorry, this link doesn’t seem to work anymore." => "Üzgünüz, bu bağlantı artık çalışıyor gibi görünmüyor", +"Reasons might be:" => "Sebepleri şunlar olabilir:", +"the item was removed" => "öge kaldırılmış", +"the link expired" => "bağlantı süresi dolmuş", +"sharing is disabled" => "paylaşım devre dışı bırakılmış", +"For more info, please ask the person who sent this link." => "Daha fazla bilgi için bu bağlantıyı aldığınız kişi ile iletişime geçin.", "%s shared the folder %s with you" => "%s sizinle paylaşılan %s klasör", "%s shared the file %s with you" => "%s sizinle paylaşılan %s klasör", "Download" => "İndir", diff --git a/apps/files_sharing/l10n/ug.php b/apps/files_sharing/l10n/ug.php index 43ee9f77bcd..6ffa02f7344 100644 --- a/apps/files_sharing/l10n/ug.php +++ b/apps/files_sharing/l10n/ug.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "ئىم", -"Submit" => "تاپشۇر", "Download" => "چۈشۈر", "Upload" => "يۈكلە", "Cancel upload" => "يۈكلەشتىن ۋاز كەچ" diff --git a/apps/files_sharing/l10n/uk.php b/apps/files_sharing/l10n/uk.php index b6a7784c690..dea1ee68507 100644 --- a/apps/files_sharing/l10n/uk.php +++ b/apps/files_sharing/l10n/uk.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Пароль", -"Submit" => "Передати", "%s shared the folder %s with you" => "%s опублікував каталог %s для Вас", "%s shared the file %s with you" => "%s опублікував файл %s для Вас", "Download" => "Завантажити", diff --git a/apps/files_sharing/l10n/vi.php b/apps/files_sharing/l10n/vi.php index 00e8e094c36..4566d3744de 100644 --- a/apps/files_sharing/l10n/vi.php +++ b/apps/files_sharing/l10n/vi.php @@ -1,7 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Mật khẩu", -"Submit" => "Xác nhận", "%s shared the folder %s with you" => "%s đã chia sẻ thư mục %s với bạn", "%s shared the file %s with you" => "%s đã chia sẻ tập tin %s với bạn", "Download" => "Tải về", diff --git a/apps/files_sharing/l10n/zh_CN.php b/apps/files_sharing/l10n/zh_CN.php index f541d6c155a..956c161b48e 100644 --- a/apps/files_sharing/l10n/zh_CN.php +++ b/apps/files_sharing/l10n/zh_CN.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "用户名或密码错误!请重试", "Password" => "密码", -"Submit" => "提交", "Sorry, this link doesn’t seem to work anymore." => "抱歉,此链接已失效", "Reasons might be:" => "可能原因是:", "the item was removed" => "此项已移除", diff --git a/apps/files_sharing/l10n/zh_TW.php b/apps/files_sharing/l10n/zh_TW.php index 5cc33fd3830..bc415913e4b 100644 --- a/apps/files_sharing/l10n/zh_TW.php +++ b/apps/files_sharing/l10n/zh_TW.php @@ -2,7 +2,6 @@ $TRANSLATIONS = array( "The password is wrong. Try again." => "請檢查您的密碼並再試一次", "Password" => "密碼", -"Submit" => "送出", "Sorry, this link doesn’t seem to work anymore." => "抱歉,此連結已經失效", "Reasons might be:" => "可能的原因:", "the item was removed" => "項目已經移除", diff --git a/apps/files_sharing/lib/api.php b/apps/files_sharing/lib/api.php index e6624624898..bd9beddf063 100644 --- a/apps/files_sharing/lib/api.php +++ b/apps/files_sharing/lib/api.php @@ -31,11 +31,11 @@ class Api { * @return \OC_OCS_Result share information */ public static function getAllShares($params) { - // if a file is specified, get the share for this file if (isset($_GET['path'])) { $params['itemSource'] = self::getFileId($_GET['path']); $params['path'] = $_GET['path']; + $params['itemType'] = self::getItemType($_GET['path']); if (isset($_GET['subfiles']) && $_GET['subfiles'] === 'true') { return self::getSharesFromFolder($params); } @@ -59,20 +59,22 @@ class Api { * @return \OC_OCS_Result share information */ public static function getShare($params) { - // either the $params already contains a itemSource if we come from // getAllShare() or we need to translate the shareID to a itemSource if(isset($params['itemSource'])) { $itemSource = $params['itemSource']; + $itemType = $params['itemType']; $getSpecificShare = true; } else { $s = self::getShareFromId($params['id']); $itemSource = $s['item_source']; + $itemType = $s['item_type']; $getSpecificShare = false; } if ($itemSource !== null) { - $shares = \OCP\Share::getItemShared('file', $itemSource); + $shares = \OCP\Share::getItemShared($itemType, $itemSource); + $reshare = \OCP\Share::getItemSharedWithBySource($itemType, $itemSource); // if a specific share was specified only return this one if ($getSpecificShare === false) { foreach ($shares as $share) { @@ -82,6 +84,10 @@ class Api { } } } + if ($reshare) { + $shares['received_from'] = $reshare['uid_owner']; + $shares['received_from_displayname'] = \OCP\User::getDisplayName($reshare['uid_owner']); + } } else { $shares = null; } @@ -110,7 +116,14 @@ class Api { $result = array(); foreach ($content as $file) { - $share = \OCP\Share::getItemShared('file', $file['fileid']); + // workaround because folders are named 'dir' in this context + $itemType = $file['type'] === 'file' ? 'file' : 'folder'; + $share = \OCP\Share::getItemShared($itemType, $file['fileid']); + $reshare = \OCP\Share::getItemSharedWithBySource($itemType, $file['fileid']); + if ($reshare) { + $share['received_from'] = $reshare['uid_owner']; + $share['received_from_displayname'] = \OCP\User::getDisplayName($reshare['uid_owner']); + } if ($share) { $share['filename'] = $file['name']; $result[] = $share; @@ -132,7 +145,6 @@ class Api { if($path === null) { return new \OC_OCS_Result(null, 400, "please specify a file or folder path"); } - $itemSource = self::getFileId($path); $itemType = self::getItemType($path); @@ -184,7 +196,7 @@ class Api { if ($token) { $data = array(); $data['id'] = 'unknown'; - $shares = \OCP\Share::getItemShared('file', $itemSource); + $shares = \OCP\Share::getItemShared($itemType, $itemSource); if(is_string($token)) { //public link share foreach ($shares as $share) { if ($share['token'] === $token) { @@ -414,7 +426,6 @@ class Api { $view = new \OC\Files\View('/'.\OCP\User::getUser().'/files'); $fileId = null; - $fileInfo = $view->getFileInfo($path); if ($fileInfo) { $fileId = $fileInfo['fileid']; diff --git a/apps/files_sharing/tests/api.php b/apps/files_sharing/tests/api.php index 63df0dd7dc3..529140849c6 100644 --- a/apps/files_sharing/tests/api.php +++ b/apps/files_sharing/tests/api.php @@ -58,6 +58,10 @@ class Test_Files_Sharing_Api extends \PHPUnit_Framework_TestCase { } function setUp() { + + //login as user1 + \Test_Files_Sharing_Api::loginHelper(\Test_Files_Sharing_Api::TEST_FILES_SHARING_API_USER1); + $this->data = 'foobar'; $this->view = new \OC_FilesystemView('/' . \Test_Files_Sharing_Api::TEST_FILES_SHARING_API_USER1 . '/files'); @@ -104,9 +108,6 @@ class Test_Files_Sharing_Api extends \PHPUnit_Framework_TestCase { */ function testCreateShare() { - //login as user1 - \Test_Files_Sharing_Api::loginHelper(\Test_Files_Sharing_Api::TEST_FILES_SHARING_API_USER1); - // share to user // simulate a post request @@ -196,7 +197,8 @@ class Test_Files_Sharing_Api extends \PHPUnit_Framework_TestCase { \OCP\Share::shareItem('file', $fileInfo['fileid'], \OCP\Share::SHARE_TYPE_LINK, null, 1); - $params = array('itemSource' => $fileInfo['fileid']); + $params = array('itemSource' => $fileInfo['fileid'], + 'itemType' => 'file'); $result = Share\Api::getShare($params); |