Bug 158048

Summary: Caption options dialog: same string in different contexts
Product: LibreOffice Reporter: Stanislav Horacek <stanislav.horacek>
Component: LocalizationAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: medium    
Version: 24.2.0.0 alpha0+   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: First options in the dialog with KeyIDs (qtz locale)

Description Stanislav Horacek 2023-11-02 21:40:35 UTC
Created attachment 190626 [details]
First options in the dialog with KeyIDs (qtz locale)

In the Caption options dialog (right click an image - Insert Caption - Options button), there are "Character style" and "Up to level" dropdown with the first option "None".

Both options share the same string, therefore it is not possible to do a proper localization if a specific translation for each string is needed (e.g. if gender of "style" and "level" differs).
Comment 1 Sophie Sipasseuth 2023-11-17 09:14:43 UTC
Hello Stanislav,

Thank you for reporting the bug.
Unfortunately without clear steps to reproduce it, I cannot track down the origin of the problem.
Please provide a clearer set of step-by-step instructions on how to reproduce the problem.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the steps are provided

For the moment, I don't see the bug with:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5fe2bf914c251009ec4709fa8fdc45c3b53f676b
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: de-DE (fr_FR); UI: fr-FR
Calc: threaded

But I don't understand how you use KeyIDs.

Thanks
Comment 2 Stanislav Horacek 2023-11-17 17:06:22 UTC
Hello, I will try to clarify this: the concept of Key IDs is described here: https://wiki.documentfoundation.org/Language#KeyID

They allow to identify which string in the list of localized strings corresponds with a string that appears in the user interface.

As it is apparent from the attached screenshot, in this dialog one string is used in two places. However, localization of this string in Czech should differ in each case, so I suggest to use two original strings instead.
Comment 3 QA Administrators 2023-11-18 03:13:16 UTC Comment hidden (obsolete)