summaryrefslogtreecommitdiff
path: root/sfx2/uiconfig
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <jasuarez@igalia.com>2014-12-15 19:13:24 +0100
committerJacobo Aragunde Pérez <jaragunde@igalia.com>2015-04-13 09:08:05 +0000
commite904e6ad4876c095ab5ee7bd40540635c520c9de (patch)
treeed4b74b785cf4e8d83ae5b91eb73359f3d3f2783 /sfx2/uiconfig
parent3618909684a892d912482844b81606bca4e0c29c (diff)
tdf#90478: Show the right default format when saving
When saving a file that is not in ODF format (the default format), there is a dialog asking if should keep the original format or rather use ODF. But the default format can be changed to a different one than ODF. And the dialog will still assume the ODF is the default one. This commit fixes the wording in the dialog to use the the default format instead of hard-coded ODF. In order to keep the text simple, instead of using the long name for the default format, it uses the proper file extension. So if for example changes from ODF to Microsoft Word 97 default format, and saving a non-Word document, the dialog will ask user if document should be saved in default DOC format. Change-Id: I0b259af9eca61161ec8a3d7e72d4722b5afdf4b4 Reviewed-on: https://gerrit.libreoffice.org/15170 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
Diffstat (limited to 'sfx2/uiconfig')
-rw-r--r--sfx2/uiconfig/ui/alienwarndialog.ui4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/uiconfig/ui/alienwarndialog.ui b/sfx2/uiconfig/ui/alienwarndialog.ui
index d83a47f45a97..d7b49b8d5cbd 100644
--- a/sfx2/uiconfig/ui/alienwarndialog.ui
+++ b/sfx2/uiconfig/ui/alienwarndialog.ui
@@ -24,7 +24,7 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="cancel">
- <property name="label" translatable="yes">Use _ODF Format</property>
+ <property name="label" translatable="yes">Use %DEFAULTEXTENSION _Format</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -65,7 +65,7 @@
</child>
<child>
<object class="GtkCheckButton" id="ask">
- <property name="label" translatable="yes">_Ask when not saving in ODF format</property>
+ <property name="label" translatable="yes">_Ask when not saving in ODF or default format</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>