Plural form needed for "Quiesce %s sequence took %s%d second%s"
Bug #1541784 reported by
GunChleoc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
New
|
Undecided
|
Unassigned |
Bug Description
Please fetch the following string with ngettext to prevent grammar errors in translations:
Quiesce %s sequence took %s%d second%s
init/
The hard coded English plural "s" at the end will cause even more grammar errors!
e.g. for my language
1 second = 1 diog
2 seconds = 2 dhiog
3 seconds = 3 diogan
20 seconds = 20 diog
So, these lines:
nih_info (_("Quiesce %s sequence took %s%d second%s"),
quiesce_reason,
! (int)diff ? "<" : "",
(int)diff ? (int)diff : 1,
diff <= 1 ? "" : "s");
Should look something like this:
nih_info (ngettext("Quiesce '%s' sequence took %d second", "Quiesce '%s' sequence took %d seconds"), diff),
quiesce_reason, diff);
To post a comment you must log in.
Your analysis is entirely correct. However, as Ubuntu has migrated from upstart to systemd in recent versions, it is unlikely that this bug will see any action.