[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - include/sfx2 sfx2/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sat Jun 1 09:46:05 UTC 2019


 include/sfx2/strings.hrc             |    2 +-
 sfx2/source/dialog/filedlghelper.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 219e128553645911685b6061f7c5ea359a4c551c
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri May 31 15:22:55 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Jun 1 11:45:40 2019 +0200

    Related: rhbz#1715109 'All formats->All images'
    
    because it lists just image formats, not all formats.
    
    "image" is what seems to be the word of the moment for graphics/pictures/etc so
    use that
    
    Change-Id: I85c8abd11a121ce000f2850857a967fada11e809
    Reviewed-on: https://gerrit.libreoffice.org/73303
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/include/sfx2/strings.hrc b/include/sfx2/strings.hrc
index 7c01fd0173df..98e547d2b515 100644
--- a/include/sfx2/strings.hrc
+++ b/include/sfx2/strings.hrc
@@ -186,7 +186,7 @@
 #define STR_SFX_EXPLORERFILE_EXPORT             NC_("STR_SFX_EXPLORERFILE_EXPORT", "Export")
 #define STR_SFX_EXPLORERFILE_INSERT             NC_("STR_SFX_EXPLORERFILE_INSERT", "Insert")
 #define STR_SFX_EXPLORERFILE_BUTTONINSERT       NC_("STR_SFX_EXPLORERFILE_BUTTONINSERT", "~Insert")
-#define STR_SFX_IMPORT_ALL                      NC_("STR_SFX_IMPORT_ALL", "<All formats>")
+#define STR_SFX_IMPORT_ALL_IMAGES               NC_("STR_SFX_IMPORT_ALL_IMAGES", "<All images>")
 #define STR_PB_SAVEACOPY                        NC_("STR_PB_SAVEACOPY", "Save a Copy")
 #define STR_PB_COMPAREDOC                       NC_("STR_PB_COMPAREDOC", "Compare to")
 #define STR_PB_MERGEDOC                         NC_("STR_PB_MERGEDOC", "Merge with")
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index 121e696e714c..747a3e5cf2b0 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -1897,7 +1897,7 @@ void FileDialogHelper_Impl::addGraphicFilter()
 
     try
     {
-        OUString aAllFilterName = SfxResId( STR_SFX_IMPORT_ALL );
+        OUString aAllFilterName = SfxResId(STR_SFX_IMPORT_ALL_IMAGES);
         aAllFilterName = ::sfx2::addExtension( aAllFilterName, aExtensions, bIsInOpenMode, *this );
 
         xFltMgr->appendFilter( aAllFilterName, aExtensions );


More information about the Libreoffice-commits mailing list