[Libreoffice-commits] core.git: svtools/source svtools/uiconfig
Joren De Cuyper
jorendc at libreoffice.org
Wed Jun 25 03:05:29 PDT 2014
svtools/source/filter/exportdialog.cxx | 4 +---
svtools/uiconfig/ui/graphicexport.ui | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 6162191b4a258d071382aeaa88aa80852b04ae2a
Author: Joren De Cuyper <jorendc at libreoffice.org>
Date: Tue Jun 24 21:19:35 2014 +0200
fdo#51763 - make title of dialog localisable
Following the bug report the title is currently not correctly
localisable for Catalan language due format issues.
Change-Id: I09107acb3f4acd7acf5a614216265373c59938b2
Reviewed-on: https://gerrit.libreoffice.org/9883
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svtools/source/filter/exportdialog.cxx b/svtools/source/filter/exportdialog.cxx
index 813256e..78ee438 100644
--- a/svtools/source/filter/exportdialog.cxx
+++ b/svtools/source/filter/exportdialog.cxx
@@ -639,9 +639,7 @@ ExportDialog::ExportDialog(FltCallDialogParameter& rPara,
mnMaxFilesizeForRealtimePreview = mpOptionsItem->ReadInt32(OUString("MaxFilesizeForRealtimePreview"), 0);
mpFtEstimatedSize->SetText(OUString(" \n "));
- OUString aTitle(maExt);
- aTitle += GetText();
- SetText(aTitle);
+ SetText( GetText().replaceFirst("%1", maExt) ); //Set dialog title
mnFormat = GetFilterFormat( maExt );
diff --git a/svtools/uiconfig/ui/graphicexport.ui b/svtools/uiconfig/ui/graphicexport.ui
index 11483ca..5c651e5 100644
--- a/svtools/uiconfig/ui/graphicexport.ui
+++ b/svtools/uiconfig/ui/graphicexport.ui
@@ -23,7 +23,7 @@
<object class="GtkDialog" id="GraphicExportDialog">
<property name="can_focus">False</property>
<property name="border_width">6</property>
- <property name="title" translatable="yes"> Options</property>
+ <property name="title" translatable="yes">%1 Options</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
More information about the Libreoffice-commits
mailing list