[Bug 91065] Title of Document Properties dialog cannot be localized adequately

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 12 02:24:48 PST 2015


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

Katarina Behrens (CIB) <Katarina.Behrens at cib.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |libreoffice at lists.freedeskt
                   |                            |op.org
         Whiteboard|                            |easyHack DifficultyBeginner
                   |                            |TopicUI SkillCpp

--- Comment #3 from Katarina Behrens (CIB) <Katarina.Behrens at cib.de> ---
This is an easy hack. As Julien already points out, .ui file for this dialog
lives in sfx2/uiconfig/ui/documentpropertiesdialog.ui ... Replace dialog title
with "Properties of %1", easy peasy

C++ code reading it is in sfx2/source/dialog/dinfdlg.cxx, setting the dialog
title takes place directly in constructor. So instead of concatenating the
strings, one has to replace %1 (using OUString::replaceFirst or whatever
appropriate) from the dialog title with the actual file name.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20151112/06280495/attachment.html>


More information about the LibreOffice mailing list