diff options
Diffstat (limited to 'apps/files_sharing')
24 files changed, 69 insertions, 23 deletions
diff --git a/apps/files_sharing/l10n/bn_BD.php b/apps/files_sharing/l10n/bn_BD.php index c3af434ee29..5fdf6de50c0 100644 --- a/apps/files_sharing/l10n/bn_BD.php +++ b/apps/files_sharing/l10n/bn_BD.php @@ -1,6 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "কূটশব্দ", -"Submit" => "জমা দাও", +"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/de_DE.php b/apps/files_sharing/l10n/de_DE.php index b92d6d478c9..ab81589b0eb 100644 --- a/apps/files_sharing/l10n/de_DE.php +++ b/apps/files_sharing/l10n/de_DE.php @@ -1,9 +1,9 @@ <?php $TRANSLATIONS = array( "Password" => "Passwort", -"Submit" => "Absenden", +"Submit" => "Bestätigen", "%s shared the folder %s with you" => "%s hat den Ordner %s mit Ihnen geteilt", "%s shared the file %s with you" => "%s hat die Datei %s mit Ihnen geteilt", -"Download" => "Download", +"Download" => "Herunterladen", "No preview available for" => "Es ist keine Vorschau verfügbar für", "web services under your control" => "Web-Services unter Ihrer Kontrolle" ); diff --git a/apps/files_sharing/l10n/he.php b/apps/files_sharing/l10n/he.php index ff7be88af87..2ea5ba76ab1 100644 --- a/apps/files_sharing/l10n/he.php +++ b/apps/files_sharing/l10n/he.php @@ -1,5 +1,5 @@ <?php $TRANSLATIONS = array( -"Password" => "ססמה", +"Password" => "סיסמא", "Submit" => "שליחה", "%s shared the folder %s with you" => "%s שיתף עמך את התיקייה %s", "%s shared the file %s with you" => "%s שיתף עמך את הקובץ %s", diff --git a/apps/files_sharing/l10n/hi.php b/apps/files_sharing/l10n/hi.php new file mode 100644 index 00000000000..560df54fc94 --- /dev/null +++ b/apps/files_sharing/l10n/hi.php @@ -0,0 +1,3 @@ +<?php $TRANSLATIONS = array( +"Password" => "पासवर्ड" +); diff --git a/apps/files_sharing/l10n/hr.php b/apps/files_sharing/l10n/hr.php new file mode 100644 index 00000000000..b2dca866bbd --- /dev/null +++ b/apps/files_sharing/l10n/hr.php @@ -0,0 +1,6 @@ +<?php $TRANSLATIONS = array( +"Password" => "Lozinka", +"Submit" => "Pošalji", +"Download" => "Preuzimanje", +"web services under your control" => "web usluge pod vašom kontrolom" +); diff --git a/apps/files_sharing/l10n/hy.php b/apps/files_sharing/l10n/hy.php new file mode 100644 index 00000000000..438e8a7433c --- /dev/null +++ b/apps/files_sharing/l10n/hy.php @@ -0,0 +1,4 @@ +<?php $TRANSLATIONS = array( +"Submit" => "Հաստատել", +"Download" => "Բեռնել" +); diff --git a/apps/files_sharing/l10n/ia.php b/apps/files_sharing/l10n/ia.php new file mode 100644 index 00000000000..d229135a71d --- /dev/null +++ b/apps/files_sharing/l10n/ia.php @@ -0,0 +1,6 @@ +<?php $TRANSLATIONS = array( +"Password" => "Contrasigno", +"Submit" => "Submitter", +"Download" => "Discargar", +"web services under your control" => "servicios web sub tu controlo" +); diff --git a/apps/files_sharing/l10n/ku_IQ.php b/apps/files_sharing/l10n/ku_IQ.php index f139b0a0643..675fc372e15 100644 --- a/apps/files_sharing/l10n/ku_IQ.php +++ b/apps/files_sharing/l10n/ku_IQ.php @@ -1,5 +1,5 @@ <?php $TRANSLATIONS = array( -"Password" => "تێپهڕهوشه", +"Password" => "وشەی تێپەربو", "Submit" => "ناردن", "%s shared the folder %s with you" => "%s دابهشی کردووه بوخچهی %s لهگهڵ تۆ", "%s shared the file %s with you" => "%s دابهشی کردووه پهڕگهیی %s لهگهڵ تۆ", diff --git a/apps/files_sharing/l10n/lb.php b/apps/files_sharing/l10n/lb.php index 8aba5806aa0..630866ab4c5 100644 --- a/apps/files_sharing/l10n/lb.php +++ b/apps/files_sharing/l10n/lb.php @@ -1,3 +1,6 @@ <?php $TRANSLATIONS = array( -"Password" => "Passwuert" +"Password" => "Passwuert", +"Submit" => "Fortschécken", +"Download" => "Download", +"web services under your control" => "Web Servicer ënnert denger Kontroll" ); diff --git a/apps/files_sharing/l10n/lt_LT.php b/apps/files_sharing/l10n/lt_LT.php index d21a3c14f40..96ab48cd2c5 100644 --- a/apps/files_sharing/l10n/lt_LT.php +++ b/apps/files_sharing/l10n/lt_LT.php @@ -1,6 +1,6 @@ <?php $TRANSLATIONS = array( -"Size" => "Dydis", -"Modified" => "Pakeista", -"Delete all" => "Ištrinti viską", -"Delete" => "Ištrinti" +"Password" => "Slaptažodis", +"Submit" => "Išsaugoti", +"Download" => "Atsisiųsti", +"web services under your control" => "jūsų valdomos web paslaugos" ); diff --git a/apps/files_sharing/l10n/lv.php b/apps/files_sharing/l10n/lv.php index 0b224867089..88faeaf9f11 100644 --- a/apps/files_sharing/l10n/lv.php +++ b/apps/files_sharing/l10n/lv.php @@ -5,5 +5,5 @@ "%s shared the file %s with you" => "%s ar jums dalījās ar datni %s", "Download" => "Lejupielādēt", "No preview available for" => "Nav pieejams priekšskatījums priekš", -"web services under your control" => "jūsu vadībā esošie tīmekļa servisi" +"web services under your control" => "tīmekļa servisi tavā varā" ); diff --git a/apps/files_sharing/l10n/ms_MY.php b/apps/files_sharing/l10n/ms_MY.php new file mode 100644 index 00000000000..879524afce3 --- /dev/null +++ b/apps/files_sharing/l10n/ms_MY.php @@ -0,0 +1,6 @@ +<?php $TRANSLATIONS = array( +"Password" => "Kata laluan", +"Submit" => "Hantar", +"Download" => "Muat turun", +"web services under your control" => "Perkhidmatan web di bawah kawalan anda" +); diff --git a/apps/files_sharing/l10n/nn_NO.php b/apps/files_sharing/l10n/nn_NO.php new file mode 100644 index 00000000000..abd1ee394bc --- /dev/null +++ b/apps/files_sharing/l10n/nn_NO.php @@ -0,0 +1,6 @@ +<?php $TRANSLATIONS = array( +"Password" => "Passord", +"Submit" => "Send", +"Download" => "Last ned", +"web services under your control" => "Vev tjenester under din kontroll" +); diff --git a/apps/files_sharing/l10n/oc.php b/apps/files_sharing/l10n/oc.php new file mode 100644 index 00000000000..07bc26ecdd4 --- /dev/null +++ b/apps/files_sharing/l10n/oc.php @@ -0,0 +1,6 @@ +<?php $TRANSLATIONS = array( +"Password" => "Senhal", +"Submit" => "Sosmetre", +"Download" => "Avalcarga", +"web services under your control" => "Services web jos ton contraròtle" +); diff --git a/apps/files_sharing/l10n/pt_BR.php b/apps/files_sharing/l10n/pt_BR.php index 4dde4bb5ad5..ce4c28ddcb5 100644 --- a/apps/files_sharing/l10n/pt_BR.php +++ b/apps/files_sharing/l10n/pt_BR.php @@ -5,5 +5,5 @@ "%s shared the file %s with you" => "%s compartilhou o arquivo %s com você", "Download" => "Baixar", "No preview available for" => "Nenhuma visualização disponível para", -"web services under your control" => "web services sob seu controle" +"web services under your control" => "serviços web sob seu controle" ); diff --git a/apps/files_sharing/l10n/si_LK.php b/apps/files_sharing/l10n/si_LK.php index 1c69c608178..580f7b1990a 100644 --- a/apps/files_sharing/l10n/si_LK.php +++ b/apps/files_sharing/l10n/si_LK.php @@ -1,9 +1,9 @@ <?php $TRANSLATIONS = array( -"Password" => "මුරපදය", +"Password" => "මුර පදය", "Submit" => "යොමු කරන්න", "%s shared the folder %s with you" => "%s ඔබව %s ෆෝල්ඩරයට හවුල් කරගත්තේය", "%s shared the file %s with you" => "%s ඔබ සමඟ %s ගොනුව බෙදාහදාගත්තේය", -"Download" => "භාගත කරන්න", +"Download" => "බාන්න", "No preview available for" => "පූර්වදර්ශනයක් නොමැත", "web services under your control" => "ඔබට පාලනය කළ හැකි වෙබ් සේවාවන්" ); diff --git a/apps/files_sharing/l10n/sk_SK.php b/apps/files_sharing/l10n/sk_SK.php index 2e781f76f38..14124eeb874 100644 --- a/apps/files_sharing/l10n/sk_SK.php +++ b/apps/files_sharing/l10n/sk_SK.php @@ -3,7 +3,7 @@ "Submit" => "Odoslať", "%s shared the folder %s with you" => "%s zdieľa s vami priečinok %s", "%s shared the file %s with you" => "%s zdieľa s vami súbor %s", -"Download" => "Stiahnuť", +"Download" => "Sťahovanie", "No preview available for" => "Žiaden náhľad k dispozícii pre", "web services under your control" => "webové služby pod Vašou kontrolou" ); diff --git a/apps/files_sharing/l10n/sr.php b/apps/files_sharing/l10n/sr.php index 6e277f67711..be24c06e465 100644 --- a/apps/files_sharing/l10n/sr.php +++ b/apps/files_sharing/l10n/sr.php @@ -1,5 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Лозинка", "Submit" => "Пошаљи", -"Download" => "Преузми" +"Download" => "Преузми", +"web services under your control" => "веб сервиси под контролом" ); diff --git a/apps/files_sharing/l10n/sr@latin.php b/apps/files_sharing/l10n/sr@latin.php new file mode 100644 index 00000000000..cce6bd1f771 --- /dev/null +++ b/apps/files_sharing/l10n/sr@latin.php @@ -0,0 +1,5 @@ +<?php $TRANSLATIONS = array( +"Password" => "Lozinka", +"Submit" => "Pošalji", +"Download" => "Preuzmi" +); diff --git a/apps/files_sharing/l10n/tr.php b/apps/files_sharing/l10n/tr.php index f2e6e5697d6..42dfec8cc6f 100644 --- a/apps/files_sharing/l10n/tr.php +++ b/apps/files_sharing/l10n/tr.php @@ -1,5 +1,5 @@ <?php $TRANSLATIONS = array( -"Password" => "Şifre", +"Password" => "Parola", "Submit" => "Gönder", "%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", diff --git a/apps/files_sharing/l10n/uk.php b/apps/files_sharing/l10n/uk.php index cdc103ad465..8e1fa4bc980 100644 --- a/apps/files_sharing/l10n/uk.php +++ b/apps/files_sharing/l10n/uk.php @@ -1,6 +1,6 @@ <?php $TRANSLATIONS = array( "Password" => "Пароль", -"Submit" => "Submit", +"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/zh_TW.php b/apps/files_sharing/l10n/zh_TW.php index f1d28731a7f..14e4466ecb6 100644 --- a/apps/files_sharing/l10n/zh_TW.php +++ b/apps/files_sharing/l10n/zh_TW.php @@ -1,9 +1,9 @@ <?php $TRANSLATIONS = array( "Password" => "密碼", "Submit" => "送出", -"%s shared the folder %s with you" => "%s 分享了資料夾 %s 給您", -"%s shared the file %s with you" => "%s 分享了檔案 %s 給您", +"%s shared the folder %s with you" => "%s 和您分享了資料夾 %s ", +"%s shared the file %s with you" => "%s 和您分享了檔案 %s", "Download" => "下載", "No preview available for" => "無法預覽", -"web services under your control" => "在您掌控之下的網路服務" +"web services under your control" => "由您控制的網路服務" ); diff --git a/apps/files_sharing/lib/cache.php b/apps/files_sharing/lib/cache.php index 9fccd0b46f3..733b7838760 100644 --- a/apps/files_sharing/lib/cache.php +++ b/apps/files_sharing/lib/cache.php @@ -44,7 +44,7 @@ class Shared_Cache extends Cache { $source = \OC_Share_Backend_File::getSource($target); if (isset($source['path']) && isset($source['fileOwner'])) { \OC\Files\Filesystem::initMountPoints($source['fileOwner']); - $mount = \OC\Files\Mount::findByNumericId($source['storage']); + $mount = \OC\Files\Filesystem::getMountByNumericId($source['storage']); if ($mount) { $fullPath = $mount->getMountPoint().$source['path']; list($storage, $internalPath) = \OC\Files\Filesystem::resolvePath($fullPath); diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php index ffd4e5ced22..2facad0f7e2 100644 --- a/apps/files_sharing/lib/sharedstorage.php +++ b/apps/files_sharing/lib/sharedstorage.php @@ -71,7 +71,7 @@ class Shared extends \OC\Files\Storage\Common { if ($source) { if (!isset($source['fullPath'])) { \OC\Files\Filesystem::initMountPoints($source['fileOwner']); - $mount = \OC\Files\Mount::findByNumericId($source['storage']); + $mount = \OC\Files\Filesystem::getMountByNumericId($source['storage']); if ($mount) { $this->files[$target]['fullPath'] = $mount->getMountPoint().$source['path']; } else { |