diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/l10n/de.js | 2 | ||||
-rw-r--r-- | lib/l10n/de.json | 2 | ||||
-rw-r--r-- | lib/l10n/de_DE.js | 2 | ||||
-rw-r--r-- | lib/l10n/de_DE.json | 2 | ||||
-rw-r--r-- | lib/l10n/el.js | 2 | ||||
-rw-r--r-- | lib/l10n/el.json | 2 | ||||
-rw-r--r-- | lib/l10n/en_GB.js | 2 | ||||
-rw-r--r-- | lib/l10n/en_GB.json | 2 | ||||
-rw-r--r-- | lib/l10n/hu.js | 18 | ||||
-rw-r--r-- | lib/l10n/hu.json | 18 | ||||
-rw-r--r-- | lib/l10n/pl.js | 2 | ||||
-rw-r--r-- | lib/l10n/pl.json | 2 | ||||
-rw-r--r-- | lib/l10n/pt_BR.js | 2 | ||||
-rw-r--r-- | lib/l10n/pt_BR.json | 2 | ||||
-rw-r--r-- | lib/l10n/sq.js | 2 | ||||
-rw-r--r-- | lib/l10n/sq.json | 2 | ||||
-rw-r--r-- | lib/l10n/sv.js | 2 | ||||
-rw-r--r-- | lib/l10n/sv.json | 2 | ||||
-rw-r--r-- | lib/l10n/zh_CN.js | 4 | ||||
-rw-r--r-- | lib/l10n/zh_CN.json | 4 | ||||
-rw-r--r-- | lib/l10n/zh_TW.js | 2 | ||||
-rw-r--r-- | lib/l10n/zh_TW.json | 2 | ||||
-rw-r--r-- | lib/private/Files/Cache/Wrapper/CacheJail.php | 11 | ||||
-rw-r--r-- | lib/private/Files/ObjectStore/Swift.php | 2 | ||||
-rw-r--r-- | lib/private/Setup.php | 2 | ||||
-rw-r--r-- | lib/private/TemplateLayout.php | 4 |
26 files changed, 70 insertions, 29 deletions
diff --git a/lib/l10n/de.js b/lib/l10n/de.js index 066f2ed5bb1..1bf717dbbe9 100644 --- a/lib/l10n/de.js +++ b/lib/l10n/de.js @@ -75,7 +75,7 @@ OC.L10N.register( "Personal info" : "Persönliche Informationen ", "Sync clients" : " Sync-Clients ", "Unlimited" : "Unbegrenzt", - "__language_name__" : " Deutsch (Persönlich: Du) ", + "__language_name__" : "Deutsch (Persönlich: Du)", "Verifying" : "Überprüfe", "Verifying …" : " Überprüfe… ", "Verify" : "Überprüfen", diff --git a/lib/l10n/de.json b/lib/l10n/de.json index 78cc16371b5..d90b44f67b3 100644 --- a/lib/l10n/de.json +++ b/lib/l10n/de.json @@ -73,7 +73,7 @@ "Personal info" : "Persönliche Informationen ", "Sync clients" : " Sync-Clients ", "Unlimited" : "Unbegrenzt", - "__language_name__" : " Deutsch (Persönlich: Du) ", + "__language_name__" : "Deutsch (Persönlich: Du)", "Verifying" : "Überprüfe", "Verifying …" : " Überprüfe… ", "Verify" : "Überprüfen", diff --git a/lib/l10n/de_DE.js b/lib/l10n/de_DE.js index bc2f0923577..5330dcd7ccd 100644 --- a/lib/l10n/de_DE.js +++ b/lib/l10n/de_DE.js @@ -75,7 +75,7 @@ OC.L10N.register( "Personal info" : "Persönliche Informationen ", "Sync clients" : " Sync-Clients ", "Unlimited" : "Unbegrenzt", - "__language_name__" : " Deutsch (Förmlich: Sie) ", + "__language_name__" : "Deutsch (Förmlich: Sie)", "Verifying" : "Überprüfe", "Verifying …" : " Überprüfe… ", "Verify" : "Überprüfen", diff --git a/lib/l10n/de_DE.json b/lib/l10n/de_DE.json index 03a790e58ec..8dc85c49bbb 100644 --- a/lib/l10n/de_DE.json +++ b/lib/l10n/de_DE.json @@ -73,7 +73,7 @@ "Personal info" : "Persönliche Informationen ", "Sync clients" : " Sync-Clients ", "Unlimited" : "Unbegrenzt", - "__language_name__" : " Deutsch (Förmlich: Sie) ", + "__language_name__" : "Deutsch (Förmlich: Sie)", "Verifying" : "Überprüfe", "Verifying …" : " Überprüfe… ", "Verify" : "Überprüfen", diff --git a/lib/l10n/el.js b/lib/l10n/el.js index 54b12068750..febed4e2ea1 100644 --- a/lib/l10n/el.js +++ b/lib/l10n/el.js @@ -66,7 +66,7 @@ OC.L10N.register( "Personal info" : "Προσωπικές πληροφορίες", "Sync clients" : "Εφαρμογές συγχρονισμού", "Unlimited" : "Απεριόριστα", - "__language_name__" : "__language_name__", + "__language_name__" : "Ελληνικά", "Verifying" : "Γίνεται επαλήθευση", "Verifying …" : "Γίνεται επαλήθευση ...", "Verify" : "Επαλήθευση", diff --git a/lib/l10n/el.json b/lib/l10n/el.json index 65dc96d7a68..bcab4b92bf6 100644 --- a/lib/l10n/el.json +++ b/lib/l10n/el.json @@ -64,7 +64,7 @@ "Personal info" : "Προσωπικές πληροφορίες", "Sync clients" : "Εφαρμογές συγχρονισμού", "Unlimited" : "Απεριόριστα", - "__language_name__" : "__language_name__", + "__language_name__" : "Ελληνικά", "Verifying" : "Γίνεται επαλήθευση", "Verifying …" : "Γίνεται επαλήθευση ...", "Verify" : "Επαλήθευση", diff --git a/lib/l10n/en_GB.js b/lib/l10n/en_GB.js index 16f1fe98ed3..02dcabf8832 100644 --- a/lib/l10n/en_GB.js +++ b/lib/l10n/en_GB.js @@ -75,7 +75,7 @@ OC.L10N.register( "Personal info" : "Personal info", "Sync clients" : "Sync clients", "Unlimited" : "Unlimited", - "__language_name__" : "__language_name__", + "__language_name__" : "English (British English)", "Verifying" : "Verifying", "Verifying …" : "Verifying …", "Verify" : "Verify", diff --git a/lib/l10n/en_GB.json b/lib/l10n/en_GB.json index dcf615eee6e..60228f1a784 100644 --- a/lib/l10n/en_GB.json +++ b/lib/l10n/en_GB.json @@ -73,7 +73,7 @@ "Personal info" : "Personal info", "Sync clients" : "Sync clients", "Unlimited" : "Unlimited", - "__language_name__" : "__language_name__", + "__language_name__" : "English (British English)", "Verifying" : "Verifying", "Verifying …" : "Verifying …", "Verify" : "Verify", diff --git a/lib/l10n/hu.js b/lib/l10n/hu.js index d4a5c3ee1ee..2f3f5e8d9df 100644 --- a/lib/l10n/hu.js +++ b/lib/l10n/hu.js @@ -75,7 +75,7 @@ OC.L10N.register( "Personal info" : "Személyes információk", "Sync clients" : "Szinkronizálási kliensek", "Unlimited" : "Korlátlan", - "__language_name__" : "__language_name__", + "__language_name__" : "Magyar", "Verifying" : "Ellenőrzés", "Verifying …" : "Ellenőrzés...", "Verify" : "Ellenőrzés", @@ -227,6 +227,20 @@ OC.L10N.register( "Storage incomplete configuration. %s" : "A tároló beállítása nem teljes. %s", "Storage connection error. %s" : "Tároló kapcsolódási hiba. %s", "Storage is temporarily not available" : "A tároló átmenetileg nem érthető el", - "Storage connection timeout. %s" : "Tároló kapcsolat időtúllépés. %s" + "Storage connection timeout. %s" : "Tároló kapcsolat időtúllépés. %s", + "Personal" : "Személyes", + "Admin" : "Adminisztrátor", + "DB Error: \"%s\"" : "Adatbázis hiba: \"%s\"", + "Offending command was: \"%s\"" : "A hibát ez a parancs okozta: \"%s\"", + "Offending command was: \"%s\", name: %s, password: %s" : "A hibát okozó parancs ez volt: \"%s\", login név: %s, jelszó: %s", + "Setting permissions for %s failed, because the permissions exceed permissions granted to %s" : "Nem sikerült %s-re beállítani az elérési jogosultságokat, mert a megadottak túllépik a %s-re érvényes jogosultságokat", + "Setting permissions for %s failed, because the item was not found" : "Nem sikerült %s-re beállítani az elérési jogosultságokat, mert a kérdéses fájl nem található", + "Cannot clear expiration date. Shares are required to have an expiration date." : "Nem lehet beállítani a lejárati időt. A megosztásoknak kötelező megadni lejárati időt!", + "Cannot increase permissions of %s" : "%s jogosultságait nem lehet megemelni", + "Files can't be shared with delete permissions" : "A fájlokat nem lehet megosztani a törlési jogosultságokkal", + "Files can't be shared with create permissions" : "A fájlokat nem lehet megosztani a létrehozási jogosultságokkal", + "Cannot set expiration date more than %s days in the future" : "%s napnál távolabbi lejárati dátumot nem lehet beállítani", + "No app name specified" : "Nincs az alkalmazás név megadva.", + "App '%s' could not be installed!" : "\"%s\" alkalmazás nem lehet telepíthető!" }, "nplurals=2; plural=(n != 1);"); diff --git a/lib/l10n/hu.json b/lib/l10n/hu.json index 142469e54b3..37e2d31362e 100644 --- a/lib/l10n/hu.json +++ b/lib/l10n/hu.json @@ -73,7 +73,7 @@ "Personal info" : "Személyes információk", "Sync clients" : "Szinkronizálási kliensek", "Unlimited" : "Korlátlan", - "__language_name__" : "__language_name__", + "__language_name__" : "Magyar", "Verifying" : "Ellenőrzés", "Verifying …" : "Ellenőrzés...", "Verify" : "Ellenőrzés", @@ -225,6 +225,20 @@ "Storage incomplete configuration. %s" : "A tároló beállítása nem teljes. %s", "Storage connection error. %s" : "Tároló kapcsolódási hiba. %s", "Storage is temporarily not available" : "A tároló átmenetileg nem érthető el", - "Storage connection timeout. %s" : "Tároló kapcsolat időtúllépés. %s" + "Storage connection timeout. %s" : "Tároló kapcsolat időtúllépés. %s", + "Personal" : "Személyes", + "Admin" : "Adminisztrátor", + "DB Error: \"%s\"" : "Adatbázis hiba: \"%s\"", + "Offending command was: \"%s\"" : "A hibát ez a parancs okozta: \"%s\"", + "Offending command was: \"%s\", name: %s, password: %s" : "A hibát okozó parancs ez volt: \"%s\", login név: %s, jelszó: %s", + "Setting permissions for %s failed, because the permissions exceed permissions granted to %s" : "Nem sikerült %s-re beállítani az elérési jogosultságokat, mert a megadottak túllépik a %s-re érvényes jogosultságokat", + "Setting permissions for %s failed, because the item was not found" : "Nem sikerült %s-re beállítani az elérési jogosultságokat, mert a kérdéses fájl nem található", + "Cannot clear expiration date. Shares are required to have an expiration date." : "Nem lehet beállítani a lejárati időt. A megosztásoknak kötelező megadni lejárati időt!", + "Cannot increase permissions of %s" : "%s jogosultságait nem lehet megemelni", + "Files can't be shared with delete permissions" : "A fájlokat nem lehet megosztani a törlési jogosultságokkal", + "Files can't be shared with create permissions" : "A fájlokat nem lehet megosztani a létrehozási jogosultságokkal", + "Cannot set expiration date more than %s days in the future" : "%s napnál távolabbi lejárati dátumot nem lehet beállítani", + "No app name specified" : "Nincs az alkalmazás név megadva.", + "App '%s' could not be installed!" : "\"%s\" alkalmazás nem lehet telepíthető!" },"pluralForm" :"nplurals=2; plural=(n != 1);" }
\ No newline at end of file diff --git a/lib/l10n/pl.js b/lib/l10n/pl.js index c58bcb150b6..6e9b0c275d1 100644 --- a/lib/l10n/pl.js +++ b/lib/l10n/pl.js @@ -70,7 +70,7 @@ OC.L10N.register( "Personal info" : "Informacje Osobiste", "Sync clients" : "Synchronizuj z klientami", "Unlimited" : "Nielimitowane", - "__language_name__" : "__nazwa_języka__", + "__language_name__" : "polski", "Verifying" : "Weryfikacja", "Verifying …" : "Weryfikacja...", "Verify" : "Zweryfikuj", diff --git a/lib/l10n/pl.json b/lib/l10n/pl.json index be3165da463..0bb7c5ebe3c 100644 --- a/lib/l10n/pl.json +++ b/lib/l10n/pl.json @@ -68,7 +68,7 @@ "Personal info" : "Informacje Osobiste", "Sync clients" : "Synchronizuj z klientami", "Unlimited" : "Nielimitowane", - "__language_name__" : "__nazwa_języka__", + "__language_name__" : "polski", "Verifying" : "Weryfikacja", "Verifying …" : "Weryfikacja...", "Verify" : "Zweryfikuj", diff --git a/lib/l10n/pt_BR.js b/lib/l10n/pt_BR.js index c1a9321d0b7..6ff70dabf4a 100644 --- a/lib/l10n/pt_BR.js +++ b/lib/l10n/pt_BR.js @@ -75,7 +75,7 @@ OC.L10N.register( "Personal info" : "Informação Pessoal", "Sync clients" : "Clientes de sincronização", "Unlimited" : "Ilimitado", - "__language_name__" : "__language_name__", + "__language_name__" : "Português Brasileiro", "Verifying" : "Verificando", "Verifying …" : "Verificando...", "Verify" : "Verificar", diff --git a/lib/l10n/pt_BR.json b/lib/l10n/pt_BR.json index 4b5d8717675..02c59492bc9 100644 --- a/lib/l10n/pt_BR.json +++ b/lib/l10n/pt_BR.json @@ -73,7 +73,7 @@ "Personal info" : "Informação Pessoal", "Sync clients" : "Clientes de sincronização", "Unlimited" : "Ilimitado", - "__language_name__" : "__language_name__", + "__language_name__" : "Português Brasileiro", "Verifying" : "Verificando", "Verifying …" : "Verificando...", "Verify" : "Verificar", diff --git a/lib/l10n/sq.js b/lib/l10n/sq.js index 868ef665a91..4737cc5d4bb 100644 --- a/lib/l10n/sq.js +++ b/lib/l10n/sq.js @@ -66,7 +66,7 @@ OC.L10N.register( "Personal info" : "Informacion personal", "Sync clients" : "Klientë të sikronizuar", "Unlimited" : "E palimituar", - "__language_name__" : "_emri_i_gjuhës__", + "__language_name__" : "Shqip", "Verifying" : "Duke e verifikuar", "Verifying …" : "Duke e verifikuar ...", "Verify" : "Verifiko", diff --git a/lib/l10n/sq.json b/lib/l10n/sq.json index a35cf7f6f90..b35e4217cbd 100644 --- a/lib/l10n/sq.json +++ b/lib/l10n/sq.json @@ -64,7 +64,7 @@ "Personal info" : "Informacion personal", "Sync clients" : "Klientë të sikronizuar", "Unlimited" : "E palimituar", - "__language_name__" : "_emri_i_gjuhës__", + "__language_name__" : "Shqip", "Verifying" : "Duke e verifikuar", "Verifying …" : "Duke e verifikuar ...", "Verify" : "Verifiko", diff --git a/lib/l10n/sv.js b/lib/l10n/sv.js index 8f62115859d..5d3b095c77f 100644 --- a/lib/l10n/sv.js +++ b/lib/l10n/sv.js @@ -75,7 +75,7 @@ OC.L10N.register( "Personal info" : "Personlig information", "Sync clients" : "Synkklienter", "Unlimited" : "Obegränsad", - "__language_name__" : "__language_name__", + "__language_name__" : "Svenska", "Verifying" : "Verifierar", "Verifying …" : "Verifierar ...", "Verify" : "Verifiera", diff --git a/lib/l10n/sv.json b/lib/l10n/sv.json index 7e49c89319c..94d06c79bb2 100644 --- a/lib/l10n/sv.json +++ b/lib/l10n/sv.json @@ -73,7 +73,7 @@ "Personal info" : "Personlig information", "Sync clients" : "Synkklienter", "Unlimited" : "Obegränsad", - "__language_name__" : "__language_name__", + "__language_name__" : "Svenska", "Verifying" : "Verifierar", "Verifying …" : "Verifierar ...", "Verify" : "Verifiera", diff --git a/lib/l10n/zh_CN.js b/lib/l10n/zh_CN.js index 8fe3bb7c00d..9ef88757b08 100644 --- a/lib/l10n/zh_CN.js +++ b/lib/l10n/zh_CN.js @@ -227,6 +227,8 @@ OC.L10N.register( "Storage incomplete configuration. %s" : "存储未完成配置. %s", "Storage connection error. %s" : "存储连接错误. %s", "Storage is temporarily not available" : "存储暂时不可用", - "Storage connection timeout. %s" : "存储连接超时. %s" + "Storage connection timeout. %s" : "存储连接超时. %s", + "Personal" : "个人", + "No app name specified" : "没有指定的 App 名称" }, "nplurals=1; plural=0;"); diff --git a/lib/l10n/zh_CN.json b/lib/l10n/zh_CN.json index 375d946c0cb..38d6286d454 100644 --- a/lib/l10n/zh_CN.json +++ b/lib/l10n/zh_CN.json @@ -225,6 +225,8 @@ "Storage incomplete configuration. %s" : "存储未完成配置. %s", "Storage connection error. %s" : "存储连接错误. %s", "Storage is temporarily not available" : "存储暂时不可用", - "Storage connection timeout. %s" : "存储连接超时. %s" + "Storage connection timeout. %s" : "存储连接超时. %s", + "Personal" : "个人", + "No app name specified" : "没有指定的 App 名称" },"pluralForm" :"nplurals=1; plural=0;" }
\ No newline at end of file diff --git a/lib/l10n/zh_TW.js b/lib/l10n/zh_TW.js index f37dca588ca..b5e357b2576 100644 --- a/lib/l10n/zh_TW.js +++ b/lib/l10n/zh_TW.js @@ -64,7 +64,7 @@ OC.L10N.register( "Personal info" : "個人資訊", "Sync clients" : "同步客戶端", "Unlimited" : "無限", - "__language_name__" : "__language_name__", + "__language_name__" : "正體中文(臺灣)", "Verifying" : "驗證中", "Verifying …" : "驗證中…", "Verify" : "驗證", diff --git a/lib/l10n/zh_TW.json b/lib/l10n/zh_TW.json index e43cf6fd214..44246918fd5 100644 --- a/lib/l10n/zh_TW.json +++ b/lib/l10n/zh_TW.json @@ -62,7 +62,7 @@ "Personal info" : "個人資訊", "Sync clients" : "同步客戶端", "Unlimited" : "無限", - "__language_name__" : "__language_name__", + "__language_name__" : "正體中文(臺灣)", "Verifying" : "驗證中", "Verifying …" : "驗證中…", "Verify" : "驗證", diff --git a/lib/private/Files/Cache/Wrapper/CacheJail.php b/lib/private/Files/Cache/Wrapper/CacheJail.php index 1ad00ba44c5..75df45e257b 100644 --- a/lib/private/Files/Cache/Wrapper/CacheJail.php +++ b/lib/private/Files/Cache/Wrapper/CacheJail.php @@ -29,6 +29,7 @@ namespace OC\Files\Cache\Wrapper; use OC\Files\Cache\Cache; +use OC\Files\Search\SearchQuery; use OCP\Files\Cache\ICacheEntry; use OCP\Files\Search\ISearchQuery; @@ -236,8 +237,14 @@ class CacheJail extends CacheWrapper { } public function searchQuery(ISearchQuery $query) { - $results = $this->getCache()->searchQuery($query); - return $this->formatSearchResults($results); + $simpleQuery = new SearchQuery($query->getSearchOperation(), 0, 0, $query->getOrder(), $query->getUser()); + $results = $this->getCache()->searchQuery($simpleQuery); + $results = $this->formatSearchResults($results); + + $limit = $query->getLimit() === 0 ? NULL : $query->getLimit(); + $results = array_slice($results, $query->getOffset(), $limit); + + return $results; } /** diff --git a/lib/private/Files/ObjectStore/Swift.php b/lib/private/Files/ObjectStore/Swift.php index 629fb3ba7ff..70bc4ed8438 100644 --- a/lib/private/Files/ObjectStore/Swift.php +++ b/lib/private/Files/ObjectStore/Swift.php @@ -265,7 +265,7 @@ class Swift implements IObjectStore { // save the object content in the context of the stream to prevent it being gc'd until the stream is closed stream_context_set_option($stream, 'swift', 'content', $objectContent); - RetryWrapper::wrap($stream); + return RetryWrapper::wrap($stream); } /** diff --git a/lib/private/Setup.php b/lib/private/Setup.php index 43fa6c4a117..c0246a83e46 100644 --- a/lib/private/Setup.php +++ b/lib/private/Setup.php @@ -485,7 +485,7 @@ class Setup { $content .= "\n RewriteCond %{REQUEST_FILENAME} !/robots.txt"; $content .= "\n RewriteCond %{REQUEST_FILENAME} !/updater/"; $content .= "\n RewriteCond %{REQUEST_FILENAME} !/ocs-provider/"; - $content .= "\n RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*"; + $content .= "\n RewriteCond %{REQUEST_URI} !^/.well-known/(acme-challenge|pki-validation)/.*"; $content .= "\n RewriteRule . index.php [PT,E=PATH_INFO:$1]"; $content .= "\n RewriteBase " . $rewriteBase; $content .= "\n <IfModule mod_env.c>"; diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index 3acdae0e395..d37a8bbabbe 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -128,7 +128,9 @@ class TemplateLayout extends \OC_Template { } // Send the language to our layouts - $this->assign('language', \OC::$server->getL10NFactory()->findLanguage()); + $lang = \OC::$server->getL10NFactory()->findLanguage(); + $lang = str_replace('_', '-', $lang); + $this->assign('language', $lang); if(\OC::$server->getSystemConfig()->getValue('installed', false)) { if (empty(self::$versionHash)) { |