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

"+n buried" becomes plurals #17105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Arthur-Milchior
Copy link
Member

In French, at least, the preterit differs depending on whether there is 1 or other value. So this need to be plurals.

By the way, I'm not clear why this is considered core.

Copy link
Contributor

Message to maintainers, this PR contains strings changes.

  1. Before merging this PR, it is best to run the "Sync Translations" GitHub action, then make and merge a PR from the i18n_sync branch to get translations cleaned out.
  2. Then merge this PR, and immediately do another translation PR so the huge change made by this PR's key changes are all by themselves.

Read more about updating strings on the wiki,

@@ -29,7 +29,9 @@
<string name="send_feedback">Send feedback</string>

<string name="studyoptions_start">Study</string>
<string name="studyoptions_buried_count">+%d buried</string>
<plurals name="studyoptions_buried_count">
<item quantity="other"> +%d buried</item>
Copy link
Member

Choose a reason for hiding this comment

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

This seems unusual/incorrect: missing one.

Does this occur in our codebase previously, or is it allowed in the spec?

Copy link
Member Author

Choose a reason for hiding this comment

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

As far as Android is concerned, this seems correct. I tested manually, and "other" is used in all missing cases.
There is no reason to add "one" in English when it's the same as English.

No, we never did it before.
I can add "one" if it reassures you.

@david-allison
Copy link
Member

I'd also propose moving it from "core". Non blocking and would be happy if this were in another PR/issue.

Implementers choice

@Arthur-Milchior
Copy link
Member Author

I prefer to move it simultaneously. Because it'll require to retranslate the string, so let's just do it once

In French, at least, the preterit differs depending on whether there
is 1 or other value. So this need to be `plurals`.

By the way, I'm not clear why this is considered core.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants