Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

l10n: Combine strings using plural handling #1649

Closed
rakekniven opened this issue Nov 30, 2019 · 5 comments
Closed

l10n: Combine strings using plural handling #1649

rakekniven opened this issue Nov 30, 2019 · 5 comments
Labels
enhancement enhancement of a already implemented feature/code feature: 👅 language l10n and translations

Comments

@rakekniven
Copy link
Member

return QObject::tr("%n day ago", "", dt.daysTo(now));

return QObject::tr("%n days ago", "", dt.daysTo(now));

Please combine this two strings to one and use plural handling.
Currently we have two strings at Transifex. Both have singular/plural form which does not make any sense.

Reported at Transifex. See https://www.transifex.com/nextcloud/nextcloud/translate/#de_DE/$/156989422?q=issue%3Aopen

@rakekniven
Copy link
Member Author

Same for more strings regarding hour and minutes.

@rakekniven
Copy link
Member Author

rakekniven commented Dec 18, 2019

Hello, any update on this?

@rakekniven
Copy link
Member Author

Second occurence:

return (QObject::tr("%n hour ago", "", hours));

return (QObject::tr("%n hours ago", "", hours));

Third occurence:

return (QObject::tr("%n minute ago", "", minutes));

return (QObject::tr("%n minutes ago", "", minutes));

Please have a look.

@rakekniven
Copy link
Member Author

Hello @misch7 @camilasan
can someone please have a look? We have 6 issues for that at Transifex.

@claell claell added the enhancement enhancement of a already implemented feature/code label Apr 9, 2020
@Rello
Copy link
Contributor

Rello commented Nov 8, 2024

The client has improved a lot since the ticket was opened.
If it is still relevant, please create a fresh ticket.
Thank you for your support

@Rello Rello closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement enhancement of a already implemented feature/code feature: 👅 language l10n and translations
Projects
None yet
Development

No branches or pull requests

3 participants