https://bugs.documentfoundation.org/show_bug.cgi?id=168080

--- Comment #11 from Eyal Rozenberg <[email protected]> ---
(In reply to Laurent Balland from comment #8)
> Yes in French. I tried different scenario but it never created dummy text in
> placeholders.

And were both your default locale and default Western language set to French?

Anyway, it seems we're getting these strings from here:

https://github.com/LibreOffice/translations/blob/9e82afc5774b713ceeb849ae1b22129c3f141def/source/hu/sd/messages.po#L1908

```
#. ZC2XQ
#: sd/inc/strings.hrc:277
msgctxt "STR_PRESOBJ_MPTITLE"
msgid "Click to edit the title text format"
msgstr "Címszöveg formátumának szerkesztése"
```

looking that up:

https://github.com/LibreOffice/core/blob/b152ca62b9fdb4a667440ae20e96612dcc12191e/sd/inc/strings.hrc#L277

we find:

```
#define STR_PRESOBJ_MPTITLE                            
NC_("STR_PRESOBJ_MPTITLE", "Click to edit the title text format" )
```

and searching for that string in the code, we find:

https://github.com/LibreOffice/core/blob/b152ca62b9fdb4a667440ae20e96612dcc12191e/sd/source/core/sdpage.cxx#L2706

where the string constant is used in this function:
```
OUString SdPage::GetPresObjText(PresObjKind eObjKind) const
```

we now need to look further into why the results of this function are stored in
the  <style:master-page> element of the presentation. It shouldn't be! What are
currently hard-stored strings should be replaced with some indication/attribute
(or a default behavior) telling Impress to show the appropriate localized
string.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to