Merge pull request #56141 from nextcloud/backport/56139/stable31

[stable31] chore(l10n): Use numbered placeholders
This commit is contained in:
Andy Scherzinger 2025-11-02 22:21:58 +01:00 committed by GitHub
commit b3a544ae97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -197,7 +197,7 @@ class File implements IEntity, IDisplayText, IUrl, IIcon, IContextPortation {
return '';
}
array_push($options, $tagString, $filename);
return $this->l10n->t('%s assigned %s to %s', $options);
return $this->l10n->t('%1$s assigned %2$s to %3$s', $options);
}
}