diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/l10n/hr.js | 2 | ||||
-rw-r--r-- | lib/l10n/hr.json | 2 | ||||
-rw-r--r-- | lib/private/App/AppStore/Fetcher/AppFetcher.php | 1 | ||||
-rw-r--r-- | lib/private/App/AppStore/Fetcher/CategoryFetcher.php | 1 | ||||
-rw-r--r-- | lib/private/App/AppStore/Fetcher/Fetcher.php | 4 |
5 files changed, 9 insertions, 1 deletions
diff --git a/lib/l10n/hr.js b/lib/l10n/hr.js index 3fa5b86be27..f232cf1c519 100644 --- a/lib/l10n/hr.js +++ b/lib/l10n/hr.js @@ -66,6 +66,7 @@ OC.L10N.register( "_%n minute ago_::_%n minutes ago_" : ["Prije %n minute","Prije %n minuta","Prije %n minuta"], "in a few seconds" : "za nekoliko sekundi", "seconds ago" : "prije nekoliko sekundi", + "Empty file" : "Prazna datoteka", "Module with ID: %s does not exist. Please enable it in your apps settings or contact your administrator." : "Modul s ID-om: %s ne postoji. Omogućite ga u postavkama svojih aplikacija ili se obratite administratoru.", "File name is a reserved word" : "Naziv datoteke je rezervirana riječ", "File name contains at least one invalid character" : "Naziv datoteke sadrži barem jedan nevažeći znak", @@ -174,6 +175,7 @@ OC.L10N.register( "A valid username must be provided" : "Nužno je navesti ispravno korisničko ime", "Username contains whitespace at the beginning or at the end" : "Korisničko ime sadrži bijeli prostor na početku ili na kraju", "Username must not consist of dots only" : "Korisničko ime ne smije se sastojati samo od točkica", + "Username is invalid because files already exist for this user" : "Korisničko ime je nevažeće jer već postoje datoteke za ovog korisnika", "A valid password must be provided" : "Nužno je navesti ispravnu zaporku", "The username is already being used" : "Korisničko ime se već koristi", "Could not create user" : "Nije moguće stvoriti korisnika", diff --git a/lib/l10n/hr.json b/lib/l10n/hr.json index b5d2f7950ad..b7d77407154 100644 --- a/lib/l10n/hr.json +++ b/lib/l10n/hr.json @@ -64,6 +64,7 @@ "_%n minute ago_::_%n minutes ago_" : ["Prije %n minute","Prije %n minuta","Prije %n minuta"], "in a few seconds" : "za nekoliko sekundi", "seconds ago" : "prije nekoliko sekundi", + "Empty file" : "Prazna datoteka", "Module with ID: %s does not exist. Please enable it in your apps settings or contact your administrator." : "Modul s ID-om: %s ne postoji. Omogućite ga u postavkama svojih aplikacija ili se obratite administratoru.", "File name is a reserved word" : "Naziv datoteke je rezervirana riječ", "File name contains at least one invalid character" : "Naziv datoteke sadrži barem jedan nevažeći znak", @@ -172,6 +173,7 @@ "A valid username must be provided" : "Nužno je navesti ispravno korisničko ime", "Username contains whitespace at the beginning or at the end" : "Korisničko ime sadrži bijeli prostor na početku ili na kraju", "Username must not consist of dots only" : "Korisničko ime ne smije se sastojati samo od točkica", + "Username is invalid because files already exist for this user" : "Korisničko ime je nevažeće jer već postoje datoteke za ovog korisnika", "A valid password must be provided" : "Nužno je navesti ispravnu zaporku", "The username is already being used" : "Korisničko ime se već koristi", "Could not create user" : "Nije moguće stvoriti korisnika", diff --git a/lib/private/App/AppStore/Fetcher/AppFetcher.php b/lib/private/App/AppStore/Fetcher/AppFetcher.php index 456b07190fb..d6affe4f09b 100644 --- a/lib/private/App/AppStore/Fetcher/AppFetcher.php +++ b/lib/private/App/AppStore/Fetcher/AppFetcher.php @@ -68,6 +68,7 @@ class AppFetcher extends Fetcher { ); $this->fileName = 'apps.json'; + $this->endpointName = 'apps.json'; $this->compareVersion = $compareVersion; $this->ignoreMaxVersion = true; } diff --git a/lib/private/App/AppStore/Fetcher/CategoryFetcher.php b/lib/private/App/AppStore/Fetcher/CategoryFetcher.php index 904c401c153..7fd3969cd04 100644 --- a/lib/private/App/AppStore/Fetcher/CategoryFetcher.php +++ b/lib/private/App/AppStore/Fetcher/CategoryFetcher.php @@ -53,5 +53,6 @@ class CategoryFetcher extends Fetcher { $logger ); $this->fileName = 'categories.json'; + $this->endpointName = 'categories.json'; } } diff --git a/lib/private/App/AppStore/Fetcher/Fetcher.php b/lib/private/App/AppStore/Fetcher/Fetcher.php index 1738b2e832d..e2876dd28c6 100644 --- a/lib/private/App/AppStore/Fetcher/Fetcher.php +++ b/lib/private/App/AppStore/Fetcher/Fetcher.php @@ -56,6 +56,8 @@ abstract class Fetcher { /** @var string */ protected $fileName; /** @var string */ + protected $endpointName; + /** @var string */ protected $version; /** @var string */ protected $channel; @@ -220,6 +222,6 @@ abstract class Fetcher { } protected function getEndpoint(): string { - return $this->config->getSystemValue('appstoreurl', 'https://apps.nextcloud.com/api/v1') . '/' . $this->fileName; + return $this->config->getSystemValue('appstoreurl', 'https://apps.nextcloud.com/api/v1') . '/' . $this->endpointName; } } |