The title of this dialog is "Properties of " , to which the file name is concatenated by the software. This is incorrect, since it assumes that the syntax of all languages is the same. The string should contain a variable, like this: "Properties of %1", in order to allow localizers to make it read naturally in their languages.
@Julien: one for you? =)
Once the string is changed in http://opengrok.libreoffice.org/xref/core/sfx2/uiconfig/ui/documentpropertiesdialog.ui#8, I wouldn't know then how to manage "%1".
Sorry not for me :-( but certainly someone else will know :-)
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.
Migrating Whiteboard tags to Keywords: (easyHack DifficultyBeginner TopicUI SkillCpp)
Arul committed a patch related to this issue.
It has been pushed to "master":
tdf#91065 Support localization of Properties dialog title
It will be available in 5.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:
Affected users are encouraged to test the fix and report feedback.
Remove LibreOffice Dev List from CC on EasyHacks
(curtailing excessive email to list)