[Libreoffice-commits] core.git: include/svx svx/source

Gabor Kelemen kelemeng at ubuntu.com
Fri Apr 21 07:57:12 UTC 2017


 include/svx/dialogs.hrc           |    2 +-
 svx/source/core/graphichelper.cxx |    2 +-
 svx/source/core/graphichelper.src |    4 ++++
 3 files changed, 6 insertions(+), 2 deletions(-)

New commits:
commit 577ae613e0b97e5533b4b2de93422a25dca39517
Author: Gabor Kelemen <kelemeng at ubuntu.com>
Date:   Thu Apr 20 23:28:36 2017 +0200

    tdf#103872 Localize "Export as image" window title
    
    In Calc select Export as image from the local menu
    of a chart to see this
    
    Change-Id: I9753f4750bd619f161c52f9e067290743ad2f2ec
    Reviewed-on: https://gerrit.libreoffice.org/36758
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>

diff --git a/include/svx/dialogs.hrc b/include/svx/dialogs.hrc
index 349a2145e0c4..ff37b0949bcc 100644
--- a/include/svx/dialogs.hrc
+++ b/include/svx/dialogs.hrc
@@ -833,7 +833,7 @@
 //      RID_SVXSTR_ACCESSIBILITY_END        (RID_SVX_START + 950)
 
 #define RID_SVXSTR_EXPORT_GRAPHIC_TITLE     (RID_SVX_START + 984)
-
+#define RID_SVXSTR_SAVEAS_IMAGE             (RID_SVX_START + 985)
 #define RID_SVX_EXTRUSION_BAR               (RID_SVX_START + 986)
 #define RID_SVX_FONTWORK_BAR                (RID_SVX_START + 987)
 
diff --git a/svx/source/core/graphichelper.cxx b/svx/source/core/graphichelper.cxx
index 742e8cd0be7d..33f2dc508530 100644
--- a/svx/source/core/graphichelper.cxx
+++ b/svx/source/core/graphichelper.cxx
@@ -217,7 +217,7 @@ void GraphicHelper::SaveShapeAsGraphic( const Reference< drawing::XShape >& xSha
         FileDialogHelper aDialogHelper( TemplateDescription::FILESAVE_AUTOEXTENSION );
         Reference < XFilePicker2 > xFilePicker = aDialogHelper.GetFilePicker();
 
-        aDialogHelper.SetTitle( "Save as Image" );
+        aDialogHelper.SetTitle( SVX_RESSTR(RID_SVXSTR_SAVEAS_IMAGE) );
 
         INetURLObject aPath;
         aPath.SetSmartURL( sGraphicPath );
diff --git a/svx/source/core/graphichelper.src b/svx/source/core/graphichelper.src
index 7234d08e8f8d..3432778c9cd9 100644
--- a/svx/source/core/graphichelper.src
+++ b/svx/source/core/graphichelper.src
@@ -24,4 +24,8 @@ String RID_SVXSTR_EXPORT_GRAPHIC_TITLE
     Text [ en-US ] = "Image Export" ;
 };
 
+String RID_SVXSTR_SAVEAS_IMAGE
+{
+    Text [ en-US ] = "Save as Image" ;
+};
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list