Description: Maybe it happens because "off"<"on" -> "вкл."<"выкл." in string comparison. Steps to Reproduce: 1. Open Insert-Fileds dialog, goto Variables tab, choose Set page variable. 2. Then the options on/off work opposite its meaning: "on" ("вкл.") disables the Offset field, "off" ("выкл.") - enables it. 3. In English UI it works fine. Actual Results: I have to choose "выкл." to make it work like "on". Expected Results: on = вкл. off = выкл. Reproducible: Always User Profile Reset: No OpenGL enabled: Yes Additional Info: User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
Created attachment 140433 [details] UI defect demonstration
kompi, can you check it?
i do not sure that field Offset and on/off are linked Before check translate I need to understand how it works... But I added Serg into CC
(In reply to kompilainenn from comment #3) > i do not sure that field Offset and on/off are linked > Before check translate I need to understand how it works... > But I added Serg into CC hi kompilainenn, Any update here?
This is not translation (or translation only) bug. There are no "off" -> "вкл." and "on" -> "выкл." translations at all: https://translations.documentfoundation.org/ru/libo60_ui/translate/#search=выкл.&sfields=target
Same behaviour seen with Català, where 'activat' meens on. Clearly this is sorted alphabetically....
Created attachment 142438 [details] in català
The problem is here: https://opengrok.libreoffice.org/xref/core/sw/source/ui/fldui/fldvar.cxx#534, If the list is sorted alphabetically, the 1 position can be 'on' depending on the language...
Caolán, I thought you might be interested in this one...
I can fix that
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b83ec344f914ec6571d6d53b1ea7d0924db7a6a4 Resolves: tdf#116268 use on/off data, not pos to determine which is which It will be available in 6.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-6-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=32581ff2f5f99883802253d809c9f760b855c934&h=libreoffice-6-1 Resolves: tdf#116268 use on/off data, not pos to determine which is which It will be available in 6.1.0.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-6-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a828a0fe795fb44e1daa0ece9c994973b3975fce&h=libreoffice-6-0 Resolves: tdf#116268 use on/off data, not pos to determine which is which It will be available in 6.0.6. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Not reproduced in LO 6.0.6.2. Thank you!
(In reply to Alexander Polkhovskiy from comment #14) > Not reproduced in LO 6.0.6.2. Thank you! Setting as VERIFIED. Thanks for retesting!!