| Summary: | Strings that need pluralization via ngettext | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Adolfo Jayme Barrientos <fitojb> |
| Component: | UI | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | NEW --- | ||
| Severity: | enhancement | CC: | tuomas.hietala |
| Priority: | lowest | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=83128 | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | 133750 | ||
| Bug Blocks: | |||
|
Description
Adolfo Jayme Barrientos
2020-05-10 20:48:27 UTC
First code pointer: https://git.libreoffice.org/core/+/master/include/svx/strings.hrc It could be interesting to have some examples of patches.
For example, I see this:
#define STR_ObjNameSingulNONE NC_("STR_ObjNameSingulNONE", "Drawing object")
#define STR_ObjNamePluralNONE NC_("STR_ObjNamePluralNONE", "Drawing objects")
First one is used in TakeObjNameSingul, the second in TakeObjNamePlural
in svx/source/svdraw/svdobj.cxx
Then what should I do for this case?
Sorry for not providing enough pointers. Hope these help: https://cgit.freedesktop.org/libreoffice/core/commit/?id=2116f1d7932aa778afb14daf9cf5cd3df7b05fc1 https://cgit.freedesktop.org/libreoffice/core/commit/?id=791aeac1e492d3f3b6c99fa480226c0b2cc4f7d6 https://cgit.freedesktop.org/libreoffice/core/commit/?id=97a5da96159f28de0b846de7dd94d2880251e8b3 Thank you Adolfo for the feedback. 3 commits quoted and 3 ways to do it. Too complicate for me=>uncc myself. This could be an easyhack I guess? A couple of cases here: https://git.libreoffice.org/core/+/master/filter/inc/strings.hrc#41 https://git.libreoffice.org/core/+/master/filter/inc/strings.hrc#44 |