diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/Command/TaskProcessing/EnabledCommand.php | 8 | ||||
-rw-r--r-- | core/l10n/be.js | 2 | ||||
-rw-r--r-- | core/l10n/be.json | 2 | ||||
-rw-r--r-- | core/l10n/lv.js | 33 | ||||
-rw-r--r-- | core/l10n/lv.json | 33 | ||||
-rw-r--r-- | core/l10n/mk.js | 1 | ||||
-rw-r--r-- | core/l10n/mk.json | 1 | ||||
-rw-r--r-- | core/l10n/nl.js | 2 | ||||
-rw-r--r-- | core/l10n/nl.json | 2 | ||||
-rw-r--r-- | core/l10n/sv.js | 2 | ||||
-rw-r--r-- | core/l10n/sv.json | 2 | ||||
-rw-r--r-- | core/src/components/AppMenuIcon.vue | 15 |
12 files changed, 58 insertions, 45 deletions
diff --git a/core/Command/TaskProcessing/EnabledCommand.php b/core/Command/TaskProcessing/EnabledCommand.php index 7195d19a7a4..0d4b831812c 100644 --- a/core/Command/TaskProcessing/EnabledCommand.php +++ b/core/Command/TaskProcessing/EnabledCommand.php @@ -7,7 +7,7 @@ namespace OC\Core\Command\TaskProcessing; use OC\Core\Command\Base; -use OCP\IConfig; +use OCP\IAppConfig; use OCP\TaskProcessing\IManager; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; @@ -16,7 +16,7 @@ use Symfony\Component\Console\Output\OutputInterface; class EnabledCommand extends Base { public function __construct( protected IManager $taskProcessingManager, - private IConfig $config, + private IAppConfig $appConfig, ) { parent::__construct(); } @@ -41,7 +41,7 @@ class EnabledCommand extends Base { protected function execute(InputInterface $input, OutputInterface $output): int { $enabled = (bool)$input->getArgument('enabled'); $taskType = $input->getArgument('task-type-id'); - $json = $this->config->getAppValue('core', 'ai.taskprocessing_type_preferences'); + $json = $this->appConfig->getValueString('core', 'ai.taskprocessing_type_preferences', lazy: true); try { if ($json === '') { $taskTypeSettings = []; @@ -51,7 +51,7 @@ class EnabledCommand extends Base { $taskTypeSettings[$taskType] = $enabled; - $this->config->setAppValue('core', 'ai.taskprocessing_type_preferences', json_encode($taskTypeSettings)); + $this->appConfig->setValueString('core', 'ai.taskprocessing_type_preferences', json_encode($taskTypeSettings), lazy: true); $this->writeArrayInOutputFormat($input, $output, $taskTypeSettings); return 0; } catch (\JsonException $e) { diff --git a/core/l10n/be.js b/core/l10n/be.js index e96b443d8cb..9e8a62a212a 100644 --- a/core/l10n/be.js +++ b/core/l10n/be.js @@ -7,6 +7,7 @@ OC.L10N.register( "The selected file cannot be read." : "Не ўдалося прачытаць выбраны файл.", "Missing a temporary folder" : "Адсутнічае часовая папка", "Could not write file to disk" : "Не ўдалося запісаць файл на дыск", + "A PHP extension stopped the file upload" : "Пашырэнне PHP спыніла запампоўванне файла", "Invalid file provided" : "Прапанаваны файл некарэктны", "Unknown filetype" : "Невядомы тып файла", "An error occurred. Please contact your admin." : "Узнікла памылка. Звярніцеся да адміністратара.", @@ -297,6 +298,7 @@ OC.L10N.register( "Access through untrusted domain" : "Доступ праз ненадзейны дамен", "Please contact your administrator. If you are an administrator, edit the \"trusted_domains\" setting in config/config.php like the example in config.sample.php." : "Звярніцеся да адміністратара. Калі вы адміністратар, адрэдагуйце параметр \"trusted_domains\" у config/config.php, як у прыкладзе ў config.sample.php.", "App update required" : "Патрэбна абнавіць праграму", + "%1$s will be updated to version %2$s" : "%1$s будзе абноўлена да версіі %2$s", "The following apps will be updated:" : "Будуць абноўлены наступныя праграмы:", "These incompatible apps will be disabled:" : "Гэтыя несумяшчальныя праграмы будуць адключаныя:", "Start update" : "Запусціць абнаўленне", diff --git a/core/l10n/be.json b/core/l10n/be.json index 01e933ad5a7..ec8379e2371 100644 --- a/core/l10n/be.json +++ b/core/l10n/be.json @@ -5,6 +5,7 @@ "The selected file cannot be read." : "Не ўдалося прачытаць выбраны файл.", "Missing a temporary folder" : "Адсутнічае часовая папка", "Could not write file to disk" : "Не ўдалося запісаць файл на дыск", + "A PHP extension stopped the file upload" : "Пашырэнне PHP спыніла запампоўванне файла", "Invalid file provided" : "Прапанаваны файл некарэктны", "Unknown filetype" : "Невядомы тып файла", "An error occurred. Please contact your admin." : "Узнікла памылка. Звярніцеся да адміністратара.", @@ -295,6 +296,7 @@ "Access through untrusted domain" : "Доступ праз ненадзейны дамен", "Please contact your administrator. If you are an administrator, edit the \"trusted_domains\" setting in config/config.php like the example in config.sample.php." : "Звярніцеся да адміністратара. Калі вы адміністратар, адрэдагуйце параметр \"trusted_domains\" у config/config.php, як у прыкладзе ў config.sample.php.", "App update required" : "Патрэбна абнавіць праграму", + "%1$s will be updated to version %2$s" : "%1$s будзе абноўлена да версіі %2$s", "The following apps will be updated:" : "Будуць абноўлены наступныя праграмы:", "These incompatible apps will be disabled:" : "Гэтыя несумяшчальныя праграмы будуць адключаныя:", "Start update" : "Запусціць абнаўленне", diff --git a/core/l10n/lv.js b/core/l10n/lv.js index 3c50e94a918..9c2c9c30087 100644 --- a/core/l10n/lv.js +++ b/core/l10n/lv.js @@ -45,7 +45,7 @@ OC.L10N.register( "Internal error" : "Iekšēja kļūda", "Not found" : "Nav atrasts", "Bad request" : "Slikts pieprasījums", - "Requested task type does not exist" : "Pieprasītā uzdevuma veids nepastāv", + "Requested task type does not exist" : "Pieprasītais uzdevumu veids nepastāv", "Image not found" : "Attēls nav atrasts", "No translation provider available" : "Tulkošanas pakalpojuma sniedzējs nav pieejams", "Could not detect language" : "Nevarēja noteikt valodu", @@ -55,10 +55,10 @@ OC.L10N.register( "Repair info:" : "Labošanas informācija: ", "Repair warning:" : "Labošanas brīdinājums:", "Repair error:" : "Labošanas kļūda:", - "Nextcloud Server" : "Nextcloud Serveris", + "Nextcloud Server" : "Nextcloud serveris", "Some of your link shares have been removed" : "Dažas no kopīgotajām saitēm tika noņemtas", "Due to a security bug we had to remove some of your link shares. Please see the link for more information." : "Drošības kļūdas dēļ mums nācās noņemt dažas no kopīgotajām saitēm. Lūgums apmeklēt saiti, lai iegūtu vairāk informācijas.", - "The account limit of this instance is reached." : "Konta ierobežojums šajai instancei ir sasniegts.", + "The account limit of this instance is reached." : "Ir sasniegts konta ierobežojums šajā serverī.", "Learn more ↗" : "Uzzināt vairāk ↗", "Preparing update" : "Sagatavo atjauninājumu", "Please use the command line updater because updating via browser is disabled in your config.php." : "Lūgums izmantot komandrindas atjauninātāju, jo atjaunināšana pārlūkā ir atspējota config.php.", @@ -66,31 +66,32 @@ OC.L10N.register( "Turned off maintenance mode" : "Izslēgts uzturēšanas režīms", "Maintenance mode is kept active" : "Uzturēšanas režīms ir paturēts aktīvs", "Updating database schema" : "Atjaunina datu bāzes shēmu", - "Updated database" : "Atjaunināta datu bāze", + "Updated database" : "Atjaunināta datubāze", "Update app \"%s\" from App Store" : "Atjaunināt lietotni \"%s\" no lietotņu veikala", "Checking whether the database schema for %s can be updated (this can take a long time depending on the database size)" : "Nosaka, vai uz %s attiecināmā shēma var tikt atjaunināta (tas var prasīt daudz laiku atkarībā no datu bāzes izmēriem)", - "Updated \"%1$s\" to %2$s" : "Atjaunots %1$s uz %2$s", - "Set log level to debug" : "Iestatīt žurnāla rakstīšanu uz atkļūdošanas režīmā", - "Reset log level" : "Atiestatīt žurnāla rakstīšanas režīmu", + "Updated \"%1$s\" to %2$s" : "\"%1$s\" atjauninnāts uz %2$s", + "Set log level to debug" : "Iestatīt žurnāla līmeni uz atkļūdošanu", + "Reset log level" : "Atiestatīt žurnāla līmeni", "Starting code integrity check" : "Uzsākta koda integritātes pārbaude", "Finished code integrity check" : "Pabeigta koda integritātes pārbaude", "%s (incompatible)" : "%s (nesaderīgs)", "The following apps have been disabled: %s" : "Šīs lietotnes tika atspējotas: %s", "Already up to date" : "Jau ir jaunākā", "Unknown" : "Nezināms", + "LDIF address book" : "LDIF adrešu grāmata", "Error occurred while checking server setup" : "Servera pārbaudīšanas laikā atgadījās kļūda", "For more details see the {linkstart}documentation ↗{linkend}." : "Vairāk informācijas ir skatāma {linkstart}dokumentācijā ↗{linkend}.", "unknown text" : "nezināms teksts", "Hello world!" : "Sveika, pasaule!", "sunny" : "saulains", "Hello {name}, the weather is {weather}" : "Sveiciens, {name}, laikapstākļi ir {weather}", - "Hello {name}" : "Sveiks {name}", + "Hello {name}" : "Sveiciens, {name}", "new" : "jauns", - "_download %n file_::_download %n files_" : ["lejupielādēt %n failus","lejupielādēt %n failus","lejupielādēt %n datnes"], - "The update is in progress, leaving this page might interrupt the process in some environments." : "Notiek atjaunināšana, šīs lapas atstāšana var pārtraukt procesu dažās vidēs.", - "Update to {version}" : "Atjaunināts uz {version}", + "_download %n file_::_download %n files_" : ["lejupielādēt %n datņu","lejupielādēt %n datni","lejupielādēt %n datnes"], + "The update is in progress, leaving this page might interrupt the process in some environments." : "Notiek atjaunināšana, šīs lapas pamešana dažās vidēs var pārtraukt to.", + "Update to {version}" : "Atjaunināt uz {version}", "An error occurred." : "Atgadījās kļūda.", - "Please reload the page." : "Lūdzu, atkārtoti ielādējiet lapu.", + "Please reload the page." : "Lūgums pārlādēt lapu.", "The update was unsuccessful. For more information <a href=\"{url}\">check our forum post</a> covering this issue." : "Atjauninājums nebija veiksmīgs. Vairāk informācijas par šo sarežģījumu ir skatāma <a href=\"{url}\">mūsu foruma ierakstā</a> .", "The update was unsuccessful. Please report this issue to the <a href=\"https://github.com/nextcloud/server/issues\" target=\"_blank\">Nextcloud community</a>." : "Atjauninājums nebija veiksmīgs. Lūgums ziņot par šo nepilnību <a href=\"https://github.com/nextcloud/server/issues\" target=\"_blank\">Nextcloud kopienai</a>.", "_The update was successful. Redirecting you to {productName} in %n second._::_The update was successful. Redirecting you to {productName} in %n seconds._" : ["Atjaunināšana bija veiksmīga. Notiks pārvirzīšana uz {productName} pēc %n sekundēm.","Atjaunināšana bija veiksmīga. Notiks pārvirzīšana uz {productName} pēc %n sekundes.","Atjaunināšana bija veiksmīga. Notiks pārvirzīšana uz {productName} pēc %n sekundēm."], @@ -101,7 +102,7 @@ OC.L10N.register( "No" : "Nē", "Yes" : "Jā", "Failed to add the public link to your Nextcloud" : "Neizdevās pievienot publisku saiti Tavam Nextcloud", - "Please copy the link manually:" : "Lūdzu, nokopējiet saiti automātiski:", + "Please copy the link manually:" : "Lūgums pašrocīgi ievietot saiti starpliktuvē:", "Pick start date" : "Izvēlieties sākuma datumu", "Pick end date" : "Izvēlieties beigu datumu", "Search in date range" : "Meklēt laika posmā", @@ -138,8 +139,8 @@ OC.L10N.register( "Your account is not setup for passwordless login." : "Konts nav iestatīts, lai pieteiktos bez paroles.", "Your connection is not secure" : "Savienojums nav drošs", "Passwordless authentication is only available over a secure connection." : "Autentifikācija bez paroles ir pieejama tikai ar drošu savienojumu.", - "Browser not supported" : "Pārlūkprogramma netiek atbalstīta", - "Passwordless authentication is not supported in your browser." : "Pārlūkprogrammā netiek nodrošināta autentifikācija bez paroles", + "Browser not supported" : "Pārlūks nav atbalstīts", + "Passwordless authentication is not supported in your browser." : "Pārlūks nenodrošina autentificēšanos bez paroles.", "Reset password" : "Atiestatīt paroli", "Back to login" : "Atpakaļ uz pieteikšanos", "Couldn't send reset email. Please contact your administrator." : "Nevarēja nosūtīt atiestatīšanas e-pasta ziņojumu. Lūgums sazināties ar savu pārvaldītāju.", @@ -178,7 +179,7 @@ OC.L10N.register( "Database password" : "Datubāzes parole", "Database name" : "Datubāzes nosaukums", "Database tablespace" : "Datubāzes tabulas telpa", - "Please specify the port number along with the host name (e.g., localhost:5432)." : "Lūdzu, norādiet porta numuru kopā ar resursdatora nosaukumu (piemēram, localhost: 5432).", + "Please specify the port number along with the host name (e.g., localhost:5432)." : "Lūgums norādītt porta numuru kopā ar resursdatora nosaukumu (piemēram, localhost:5432).", "Database host" : "Datubāzes serveris", "Need help?" : "Vajadzīga palīdzība?", "See the documentation" : "Skatiet dokumentāciju", diff --git a/core/l10n/lv.json b/core/l10n/lv.json index 3a19a70d965..f432ed4ea95 100644 --- a/core/l10n/lv.json +++ b/core/l10n/lv.json @@ -43,7 +43,7 @@ "Internal error" : "Iekšēja kļūda", "Not found" : "Nav atrasts", "Bad request" : "Slikts pieprasījums", - "Requested task type does not exist" : "Pieprasītā uzdevuma veids nepastāv", + "Requested task type does not exist" : "Pieprasītais uzdevumu veids nepastāv", "Image not found" : "Attēls nav atrasts", "No translation provider available" : "Tulkošanas pakalpojuma sniedzējs nav pieejams", "Could not detect language" : "Nevarēja noteikt valodu", @@ -53,10 +53,10 @@ "Repair info:" : "Labošanas informācija: ", "Repair warning:" : "Labošanas brīdinājums:", "Repair error:" : "Labošanas kļūda:", - "Nextcloud Server" : "Nextcloud Serveris", + "Nextcloud Server" : "Nextcloud serveris", "Some of your link shares have been removed" : "Dažas no kopīgotajām saitēm tika noņemtas", "Due to a security bug we had to remove some of your link shares. Please see the link for more information." : "Drošības kļūdas dēļ mums nācās noņemt dažas no kopīgotajām saitēm. Lūgums apmeklēt saiti, lai iegūtu vairāk informācijas.", - "The account limit of this instance is reached." : "Konta ierobežojums šajai instancei ir sasniegts.", + "The account limit of this instance is reached." : "Ir sasniegts konta ierobežojums šajā serverī.", "Learn more ↗" : "Uzzināt vairāk ↗", "Preparing update" : "Sagatavo atjauninājumu", "Please use the command line updater because updating via browser is disabled in your config.php." : "Lūgums izmantot komandrindas atjauninātāju, jo atjaunināšana pārlūkā ir atspējota config.php.", @@ -64,31 +64,32 @@ "Turned off maintenance mode" : "Izslēgts uzturēšanas režīms", "Maintenance mode is kept active" : "Uzturēšanas režīms ir paturēts aktīvs", "Updating database schema" : "Atjaunina datu bāzes shēmu", - "Updated database" : "Atjaunināta datu bāze", + "Updated database" : "Atjaunināta datubāze", "Update app \"%s\" from App Store" : "Atjaunināt lietotni \"%s\" no lietotņu veikala", "Checking whether the database schema for %s can be updated (this can take a long time depending on the database size)" : "Nosaka, vai uz %s attiecināmā shēma var tikt atjaunināta (tas var prasīt daudz laiku atkarībā no datu bāzes izmēriem)", - "Updated \"%1$s\" to %2$s" : "Atjaunots %1$s uz %2$s", - "Set log level to debug" : "Iestatīt žurnāla rakstīšanu uz atkļūdošanas režīmā", - "Reset log level" : "Atiestatīt žurnāla rakstīšanas režīmu", + "Updated \"%1$s\" to %2$s" : "\"%1$s\" atjauninnāts uz %2$s", + "Set log level to debug" : "Iestatīt žurnāla līmeni uz atkļūdošanu", + "Reset log level" : "Atiestatīt žurnāla līmeni", "Starting code integrity check" : "Uzsākta koda integritātes pārbaude", "Finished code integrity check" : "Pabeigta koda integritātes pārbaude", "%s (incompatible)" : "%s (nesaderīgs)", "The following apps have been disabled: %s" : "Šīs lietotnes tika atspējotas: %s", "Already up to date" : "Jau ir jaunākā", "Unknown" : "Nezināms", + "LDIF address book" : "LDIF adrešu grāmata", "Error occurred while checking server setup" : "Servera pārbaudīšanas laikā atgadījās kļūda", "For more details see the {linkstart}documentation ↗{linkend}." : "Vairāk informācijas ir skatāma {linkstart}dokumentācijā ↗{linkend}.", "unknown text" : "nezināms teksts", "Hello world!" : "Sveika, pasaule!", "sunny" : "saulains", "Hello {name}, the weather is {weather}" : "Sveiciens, {name}, laikapstākļi ir {weather}", - "Hello {name}" : "Sveiks {name}", + "Hello {name}" : "Sveiciens, {name}", "new" : "jauns", - "_download %n file_::_download %n files_" : ["lejupielādēt %n failus","lejupielādēt %n failus","lejupielādēt %n datnes"], - "The update is in progress, leaving this page might interrupt the process in some environments." : "Notiek atjaunināšana, šīs lapas atstāšana var pārtraukt procesu dažās vidēs.", - "Update to {version}" : "Atjaunināts uz {version}", + "_download %n file_::_download %n files_" : ["lejupielādēt %n datņu","lejupielādēt %n datni","lejupielādēt %n datnes"], + "The update is in progress, leaving this page might interrupt the process in some environments." : "Notiek atjaunināšana, šīs lapas pamešana dažās vidēs var pārtraukt to.", + "Update to {version}" : "Atjaunināt uz {version}", "An error occurred." : "Atgadījās kļūda.", - "Please reload the page." : "Lūdzu, atkārtoti ielādējiet lapu.", + "Please reload the page." : "Lūgums pārlādēt lapu.", "The update was unsuccessful. For more information <a href=\"{url}\">check our forum post</a> covering this issue." : "Atjauninājums nebija veiksmīgs. Vairāk informācijas par šo sarežģījumu ir skatāma <a href=\"{url}\">mūsu foruma ierakstā</a> .", "The update was unsuccessful. Please report this issue to the <a href=\"https://github.com/nextcloud/server/issues\" target=\"_blank\">Nextcloud community</a>." : "Atjauninājums nebija veiksmīgs. Lūgums ziņot par šo nepilnību <a href=\"https://github.com/nextcloud/server/issues\" target=\"_blank\">Nextcloud kopienai</a>.", "_The update was successful. Redirecting you to {productName} in %n second._::_The update was successful. Redirecting you to {productName} in %n seconds._" : ["Atjaunināšana bija veiksmīga. Notiks pārvirzīšana uz {productName} pēc %n sekundēm.","Atjaunināšana bija veiksmīga. Notiks pārvirzīšana uz {productName} pēc %n sekundes.","Atjaunināšana bija veiksmīga. Notiks pārvirzīšana uz {productName} pēc %n sekundēm."], @@ -99,7 +100,7 @@ "No" : "Nē", "Yes" : "Jā", "Failed to add the public link to your Nextcloud" : "Neizdevās pievienot publisku saiti Tavam Nextcloud", - "Please copy the link manually:" : "Lūdzu, nokopējiet saiti automātiski:", + "Please copy the link manually:" : "Lūgums pašrocīgi ievietot saiti starpliktuvē:", "Pick start date" : "Izvēlieties sākuma datumu", "Pick end date" : "Izvēlieties beigu datumu", "Search in date range" : "Meklēt laika posmā", @@ -136,8 +137,8 @@ "Your account is not setup for passwordless login." : "Konts nav iestatīts, lai pieteiktos bez paroles.", "Your connection is not secure" : "Savienojums nav drošs", "Passwordless authentication is only available over a secure connection." : "Autentifikācija bez paroles ir pieejama tikai ar drošu savienojumu.", - "Browser not supported" : "Pārlūkprogramma netiek atbalstīta", - "Passwordless authentication is not supported in your browser." : "Pārlūkprogrammā netiek nodrošināta autentifikācija bez paroles", + "Browser not supported" : "Pārlūks nav atbalstīts", + "Passwordless authentication is not supported in your browser." : "Pārlūks nenodrošina autentificēšanos bez paroles.", "Reset password" : "Atiestatīt paroli", "Back to login" : "Atpakaļ uz pieteikšanos", "Couldn't send reset email. Please contact your administrator." : "Nevarēja nosūtīt atiestatīšanas e-pasta ziņojumu. Lūgums sazināties ar savu pārvaldītāju.", @@ -176,7 +177,7 @@ "Database password" : "Datubāzes parole", "Database name" : "Datubāzes nosaukums", "Database tablespace" : "Datubāzes tabulas telpa", - "Please specify the port number along with the host name (e.g., localhost:5432)." : "Lūdzu, norādiet porta numuru kopā ar resursdatora nosaukumu (piemēram, localhost: 5432).", + "Please specify the port number along with the host name (e.g., localhost:5432)." : "Lūgums norādītt porta numuru kopā ar resursdatora nosaukumu (piemēram, localhost:5432).", "Database host" : "Datubāzes serveris", "Need help?" : "Vajadzīga palīdzība?", "See the documentation" : "Skatiet dokumentāciju", diff --git a/core/l10n/mk.js b/core/l10n/mk.js index e37c9cf12ef..f423a9eb2f1 100644 --- a/core/l10n/mk.js +++ b/core/l10n/mk.js @@ -93,6 +93,7 @@ OC.L10N.register( "Yes" : "Да", "Failed to add the public link to your Nextcloud" : "Неуспешно додавање на јавниот линк", "Create share" : "Ново споделување", + "Direct link copied to clipboard" : "Линкот е копиран во клипборд", "Pick start date" : "Избери почетен датум", "Pick end date" : "Избери краен датум", "Search everywhere" : "Барај насекаде", diff --git a/core/l10n/mk.json b/core/l10n/mk.json index e8114803112..b4f5a14f2b5 100644 --- a/core/l10n/mk.json +++ b/core/l10n/mk.json @@ -91,6 +91,7 @@ "Yes" : "Да", "Failed to add the public link to your Nextcloud" : "Неуспешно додавање на јавниот линк", "Create share" : "Ново споделување", + "Direct link copied to clipboard" : "Линкот е копиран во клипборд", "Pick start date" : "Избери почетен датум", "Pick end date" : "Избери краен датум", "Search everywhere" : "Барај насекаде", diff --git a/core/l10n/nl.js b/core/l10n/nl.js index 8302940fd89..2c66a5c9f02 100644 --- a/core/l10n/nl.js +++ b/core/l10n/nl.js @@ -74,7 +74,7 @@ OC.L10N.register( "Update app \"%s\" from App Store" : "Update app \"%s\" vanuit de App Store", "Checking whether the database schema for %s can be updated (this can take a long time depending on the database size)" : "Controleert of het databaseschema voor %s geüpdatet kan worden (dit kan lang duren afhankelijk van de grootte van de database)", "Updated \"%1$s\" to %2$s" : "Werkte \"%1$s\" bij tot %2$s", - "Set log level to debug" : "Debug logniveau instellen", + "Set log level to debug" : "Foutopsporingslogniveau instellen", "Reset log level" : "Terugzetten logniveau", "Starting code integrity check" : "Starten code betrouwbaarheidscontrole", "Finished code integrity check" : "Code betrouwbaarheidscontrole beeindigd", diff --git a/core/l10n/nl.json b/core/l10n/nl.json index 8107cedbdfe..d92fd27bef1 100644 --- a/core/l10n/nl.json +++ b/core/l10n/nl.json @@ -72,7 +72,7 @@ "Update app \"%s\" from App Store" : "Update app \"%s\" vanuit de App Store", "Checking whether the database schema for %s can be updated (this can take a long time depending on the database size)" : "Controleert of het databaseschema voor %s geüpdatet kan worden (dit kan lang duren afhankelijk van de grootte van de database)", "Updated \"%1$s\" to %2$s" : "Werkte \"%1$s\" bij tot %2$s", - "Set log level to debug" : "Debug logniveau instellen", + "Set log level to debug" : "Foutopsporingslogniveau instellen", "Reset log level" : "Terugzetten logniveau", "Starting code integrity check" : "Starten code betrouwbaarheidscontrole", "Finished code integrity check" : "Code betrouwbaarheidscontrole beeindigd", diff --git a/core/l10n/sv.js b/core/l10n/sv.js index 6a524d7f0cc..4070117c4ed 100644 --- a/core/l10n/sv.js +++ b/core/l10n/sv.js @@ -44,6 +44,7 @@ OC.L10N.register( "Task not found" : "Uppgiften hittades inte", "Internal error" : "Internt fel", "Not found" : "Hittades inte", + "Node is locked" : "Noden är låst", "Bad request" : "Felaktigt anrop", "Requested task type does not exist" : "Den begärda uppgiftstypen finns inte", "Necessary language model provider is not available" : "Nödvändig språkmodellsleverantör är inte tillgänglig", @@ -80,6 +81,7 @@ OC.L10N.register( "%s (incompatible)" : "%s (inkompatibel)", "The following apps have been disabled: %s" : "Följande appar har inaktiverats: %s", "Already up to date" : "Redan uppdaterad", + "JSON document" : "JSON-dokument", "Unknown" : "Okänd", "PNG image" : "PNG-bild", "Error occurred while checking server setup" : "Ett fel inträffade när en kontroll av serverns konfiguration utfördes", diff --git a/core/l10n/sv.json b/core/l10n/sv.json index 2113ea695c9..704be95bc05 100644 --- a/core/l10n/sv.json +++ b/core/l10n/sv.json @@ -42,6 +42,7 @@ "Task not found" : "Uppgiften hittades inte", "Internal error" : "Internt fel", "Not found" : "Hittades inte", + "Node is locked" : "Noden är låst", "Bad request" : "Felaktigt anrop", "Requested task type does not exist" : "Den begärda uppgiftstypen finns inte", "Necessary language model provider is not available" : "Nödvändig språkmodellsleverantör är inte tillgänglig", @@ -78,6 +79,7 @@ "%s (incompatible)" : "%s (inkompatibel)", "The following apps have been disabled: %s" : "Följande appar har inaktiverats: %s", "Already up to date" : "Redan uppdaterad", + "JSON document" : "JSON-dokument", "Unknown" : "Okänd", "PNG image" : "PNG-bild", "Error occurred while checking server setup" : "Ett fel inträffade när en kontroll av serverns konfiguration utfördes", diff --git a/core/src/components/AppMenuIcon.vue b/core/src/components/AppMenuIcon.vue index 228e00eb746..1b0d48daf8c 100644 --- a/core/src/components/AppMenuIcon.vue +++ b/core/src/components/AppMenuIcon.vue @@ -14,24 +14,25 @@ </template> <script setup lang="ts"> -import type { INavigationEntry } from '../types/navigation' +import type { INavigationEntry } from '../types/navigation.ts' + import { n } from '@nextcloud/l10n' import { computed } from 'vue' - import IconDot from 'vue-material-design-icons/CircleOutline.vue' const props = defineProps<{ app: INavigationEntry }>() -const ariaHidden = computed(() => String(props.app.unread > 0)) +// only hide if there are no unread notifications +const ariaHidden = computed(() => !props.app.unread ? 'true' : undefined) const ariaLabel = computed(() => { - if (ariaHidden.value === 'true') { - return '' + if (!props.app.unread) { + return undefined } - return props.app.name - + (props.app.unread > 0 ? ` (${n('core', '{count} notification', '{count} notifications', props.app.unread, { count: props.app.unread })})` : '') + + return `${props.app.name} (${n('core', '{count} notification', '{count} notifications', props.app.unread, { count: props.app.unread })})` }) </script> |