mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
Merge 918df3cb4f into d09b8c99de
This commit is contained in:
commit
7047fb58c6
2 changed files with 4 additions and 4 deletions
|
|
@ -48,7 +48,7 @@ class TaskProcessingSuccessRate implements ISetupCheck {
|
|||
if ($taskCount === 0) {
|
||||
return SetupResult::success(
|
||||
$this->l10n->n(
|
||||
'No scheduled tasks in the last day.',
|
||||
'No scheduled tasks in the last %n day.',
|
||||
'No scheduled tasks in the last %n days.',
|
||||
$lastNDays
|
||||
)
|
||||
|
|
@ -68,7 +68,7 @@ class TaskProcessingSuccessRate implements ISetupCheck {
|
|||
if (($failedCount / $taskCount) < self::MAX_FAILURE_PERCENTAGE) {
|
||||
return SetupResult::success(
|
||||
$this->l10n->n(
|
||||
'Most tasks were successful in the last day.',
|
||||
'Most tasks were successful in the last %n day.',
|
||||
'Most tasks were successful in the last %n days.',
|
||||
$lastNDays
|
||||
)
|
||||
|
|
|
|||
|
|
@ -286,7 +286,7 @@ export default defineComponent({
|
|||
if (this.toAdd.length === 1 && this.toRemove.length === 1) {
|
||||
return n(
|
||||
'systemtags',
|
||||
'{tag1} will be set and {tag2} will be removed from 1 file.',
|
||||
'{tag1} will be set and {tag2} will be removed from {count} file.',
|
||||
'{tag1} will be set and {tag2} will be removed from {count} files.',
|
||||
this.nodes.length,
|
||||
{
|
||||
|
|
@ -317,7 +317,7 @@ export default defineComponent({
|
|||
|
||||
const removeStringSingular = n(
|
||||
'systemtags',
|
||||
'{tag} will be removed from 1 file.',
|
||||
'{tag} will be removed from {count} file.',
|
||||
'{tag} will be removed from {count} files.',
|
||||
this.nodes.length,
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue