There are "Margins" and "Spacing" dropdowns in the "Page" section of the Sidebar, Header and Footer subsections. The dropdowns use the same list of sizes, which might be ok in English, but makes it difficult to translate into some other languages.
In Lithuanian, and I believe in more languages, "margins" and "spacing" are words of different genders. Size names that come next to them must also be in corresponding (different) forms. This is now impossible to achieve as the same resource strings are used in both lists.
Even if dropdown content is the same, size names for Margins and Spacing should use different batches of strings so that the same English name can be translated differently.
Steps to Reproduce:
1. Start Writer
2. Open the Sidebar
3. Open the Page section in the Sidebar
4. Expand Header and Footer subsections
Margins and Spacing dropdowns for Header and Footer use the same lists of size names. This is obvious with the KeyID build.
Different lists should be used for Margins and Spacing, so the same names can be translated differently.
User Profile Reset: No
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
The drop down contains value presets with labels, so i dont believe there is anything that needs to be done, which is why they were merged into single entries to reduce translation work.
Also confirmed in French, gender is wrong for Margin, which gives a poor quality of the translation... Sophie
This change i believe was made here
so all that would be needed is for a dev to confirm that reverting it is okay.
This seems to be a long forgotten issue that still prevents proper translation of the strings in question. Merging the strings was not a good idea in terms of localization, as these strings have to be translated differently for different objects - margins and spacing. If this can be fixed by reverting the change mentioned above, could this be done?
(In reply to Yousuf Philips (jay) from comment #3)
> This change i believe was made here
> so all that would be needed is for a dev to confirm that reverting it is
Maybe it's too late to revert it.
@Bubli, is there anything else we could do here?
Regression introduced by:
author Susobhan Ghosh <firstname.lastname@example.org> 2016-08-13 19:23:54 +0530
committer Katarina Behrens <Katarina.Behrens@cib.de> 2016-08-25 08:37:10 +0000
commit 6f437466f96868cb10187c404ed84fb6d3dcc645 (patch)
parent 79f1315a02b1dd4dd7b4a78dea410c3192663522 (diff)
tdf#83830: Use SpacingListBox in Header/Footer and Sidebar Wrap Panel
Bisected with: bibisect-linux-64-5.3
Adding Cc: to Susobhan Ghosh
This is fixable
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":
Resolves: tdf#105081 and tdf#113420
It will be available in 6.2.0.
The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Build ID: 5929d8ea469a971aa77371ed4b841c90a36e7da5
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Locale: ca-ES (ca_ES.UTF-8); Calc: threaded
@Caolán, thanks for fixing this!!