Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

fix(core): use %n in the integrity check plural to avoid a crash in L10N - #65914

Merged
artonge merged 1 commit into
nextcloud:masterfrom
abp002:fix/65670/integrity-summary-plural
Oct 27, 2026
Merged

artonge merged 1 commit into
nextcloud:masterfrom
abp002:fix/65670/integrity-summary-plural

Conversation

@abp002

@abp002 abp002 commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Summary

For admins using German, Russian, French, British English and nine other languages, the notification list fails with a ValueError (The arguments array must contain 2 items, 1 given in German) when the code integrity check finds a missing or invalid signature, and the email doesn't arrive either. The plural sentence has no %n, neither in English nor in the translations.

I added %n to the plural sentence, as in #48028. The sentence will show in English until it is translated again on Transifex.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Alejandro Borrego <210245044+abp002@users.noreply.github.com>
@abp002
abp002 requested a review from a team as a code owner October 26, 2026 06:42
@abp002
abp002 requested review from leftybournes, provokateurin, salmart-dev and sorbaugh and removed request for a team October 26, 2026 06:42
@abp002

abp002 commented Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

/backport to stable35

@abp002

abp002 commented Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

/backport to stable34

@AndyScherzinger AndyScherzinger added 3. to review Waiting for reviews feature: language/translations (l10n/i18n) Localization and translation matters community pull requests from community labels Oct 26, 2026
@artonge
artonge merged commit 5dfaf6c into nextcloud:master Oct 27, 2026
154 of 162 checks passed
@welcome

welcome Bot commented Oct 27, 2026

Copy link
Copy Markdown

Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

This pull request has been automatically locked because it has been closed for more than 7 days. As we do not monitor merged or closed pull requests, we are locking this pull request to prevent further comments from getting lost in the noise.
If you discovered any issues with this pull request, please open a new issue instead. In case you want to discuss this pull request or have further questions, please use our forum: https://help.nextcloud.com

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3. to review Waiting for reviews community pull requests from community feature: language/translations (l10n/i18n) Localization and translation matters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Plural translation without %n causes ValueError in L10NString when formatting code-integrity notifications (NC 35.0.2)

4 participants