Bug 171229
| Summary: | [GTK] Missing plural strings | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Piotr Drąg <piotrdrag> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | Keywords: | Gtk |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Piotr Drąg
Following strings from LocalizedStrings.cpp need proper plurals handling, similarly to what "Use at least one character"/"Use at least %d characters" and "Use no more than one character"/"Use no more than %d characters" from the same file have:
"%d files"
"%s %d×%d pixels"
"%1$d days %2$d hours %3$d minutes %4$d seconds"
"%1$d hours %2$d minutes %3$d seconds"
"%1$d minutes %2$d seconds"
"%1$d seconds"
"Use at least %d characters"
"Use no more than %d characters"
The time strings probably need to be split to pluralize correctly.
Some general info on the topic: https://wiki.gnome.org/TranslationProject/DevGuidelines/Plurals
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Piotr Drąg
(Actually, the strings already using ngettext are in LocalizedStringsGtk.cpp, not LocalizedStrings.cpp.)