Kaydet (Commit) 6162191b authored tarafından Joren De Cuyper's avatar Joren De Cuyper Kaydeden (comit) Caolán McNamara

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/9883Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst abb59367
...@@ -639,9 +639,7 @@ ExportDialog::ExportDialog(FltCallDialogParameter& rPara, ...@@ -639,9 +639,7 @@ ExportDialog::ExportDialog(FltCallDialogParameter& rPara,
mnMaxFilesizeForRealtimePreview = mpOptionsItem->ReadInt32(OUString("MaxFilesizeForRealtimePreview"), 0); mnMaxFilesizeForRealtimePreview = mpOptionsItem->ReadInt32(OUString("MaxFilesizeForRealtimePreview"), 0);
mpFtEstimatedSize->SetText(OUString(" \n ")); mpFtEstimatedSize->SetText(OUString(" \n "));
OUString aTitle(maExt); SetText( GetText().replaceFirst("%1", maExt) ); //Set dialog title
aTitle += GetText();
SetText(aTitle);
mnFormat = GetFilterFormat( maExt ); mnFormat = GetFilterFormat( maExt );
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<object class="GtkDialog" id="GraphicExportDialog"> <object class="GtkDialog" id="GraphicExportDialog">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="border_width">6</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> <property name="type_hint">dialog</property>
<child internal-child="vbox"> <child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1"> <object class="GtkBox" id="dialog-vbox1">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment