Skip to content

fix(files): make sure to always have proper plural forms - #52269

Merged
susnux merged 2 commits into
masterfrom
fix/files-summary
Apr 30, 2025
Merged

fix(files): make sure to always have proper plural forms#52269
susnux merged 2 commits into
masterfrom
fix/files-summary

Conversation

@susnux

Copy link
Copy Markdown
Contributor

Summary

counted words should always be translated using n. We can still simply concat the segments with punctuation, this always works regardless of the language used (even with RTL / LTR languages).

Checklist

@susnuxsusnux added bug 3. to review Waiting for reviews feature: language/translations (l10n/i18n) Localization and translation matters labels Apr 18, 2025
@susnuxsusnux added this to the Nextcloud 32 milestone Apr 18, 2025
@susnux
susnux requested review from a team and skjnldsv as code ownersApril 18, 2025 22:38
@susnux
susnux requested review from nfebe and szaimen and removed request for a teamApril 18, 2025 22:38

@skjnldsvskjnldsv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, much simpler. 🙈

counted words should always be translated using `n`.
We can still simply concat the segments with punctation, this always
works regardless of the language used (even with RTL / LTR languages).
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux

Copy link
Copy Markdown
ContributorAuthor

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@susnux
susnux merged commit df69eb5 into masterApr 30, 2025
@susnux
susnux deleted the fix/files-summary branch April 30, 2025 17:11
@susnux

Copy link
Copy Markdown
ContributorAuthor

/backport to stable31

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbugfeature: language/translations (l10n/i18n)Localization and translation matters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[l10n] Singular and plural

4 participants

@susnux@AndyScherzinger@skjnldsv@nextcloud-command