summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2017-04-20 23:28:36 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2017-04-21 09:56:47 +0200
commit577ae613e0b97e5533b4b2de93422a25dca39517 (patch)
treebc1fe1d5027310f990e34d5ef1b97b8cc60d1dbc
parentc48ad62924754025266f6ed3986beac44d1c2452 (diff)
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@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
-rw-r--r--include/svx/dialogs.hrc2
-rw-r--r--svx/source/core/graphichelper.cxx2
-rw-r--r--svx/source/core/graphichelper.src4
3 files changed, 6 insertions, 2 deletions
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: */