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

Main #442

Merged
merged 1 commit into from
Nov 1, 2023
Merged

Main #442

merged 1 commit into from
Nov 1, 2023

Conversation

wildserver
Copy link
Contributor

Will this option work?

[reading_time]
zero: "Читается за 0 минут"
one: "Читается за 1 минуту"
few: "Читается за {{ .Count }} минуты"
many: "Читается за {{ .Count }} минут"
other: "Читается за {{ .Count }} минута"

Or is it better to leave the shortened version so as not to have to worry about declensions of words in the language?

[reading_time]
other: "Читается за {{ .Count }} мин."

It will be necessary to redo it later in other translations. Otherwise it doesn't look very good.

IMHO the abbreviated meaning of the word is better

@razonyang
Copy link
Member

Will this option work?

[reading_time]
one: "Читается за 1 минуту"
other: "Читается за {{ .Count }} минута"

The one and other are valid, the former for singular (the Count equals 1), other cases the other will be used.

Please let me know if the PR is ready to review.

@razonyang razonyang merged commit db1fd6b into hbstack:main Nov 1, 2023
1 check passed
@github-actions github-actions bot mentioned this pull request Nov 1, 2023
@razonyang
Copy link
Member

Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants