summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2013-12-02 12:11:10 +0100
committerAndras Timar <andras.timar@collabora.com>2013-12-02 13:46:58 +0100
commita231a03af930d1aead84c68a0c4745a2607130d3 (patch)
tree0d42069dab544aec9a48f1d3e6b1cbc1c8573dbf /sc
parent6510b696142994704ad6d52b9b990fc615430d16 (diff)
fdo#72078 make status bar text localizable
2nd try to get it right on libreoffice-4-1 Change-Id: I66ebc292231069cca708eb56ad876f56829e78f5 Reviewed-on: https://gerrit.libreoffice.org/6894 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/oox/workbookhelper.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx
index 8a180ebf8d1d..384a55ae0ac5 100644
--- a/sc/source/filter/oox/workbookhelper.cxx
+++ b/sc/source/filter/oox/workbookhelper.cxx
@@ -71,6 +71,7 @@
#include "dbdata.hxx"
#include "datauno.hxx"
#include "globalnames.hxx"
+#include "globstr.hrc"
#include "formulabuffer.hxx"
#include "vcl/mapmod.hxx"
@@ -582,8 +583,7 @@ void WorkbookGlobals::initialize( bool bWorkbookFile )
if( xLockable.is() )
xLockable->addActionLock();
- //! TODO: localize progress bar text
- mxProgressBar.reset( new SegmentProgressBar( mrBaseFilter.getStatusIndicator(), "Loading..." ) );
+ mxProgressBar.reset( new SegmentProgressBar( mrBaseFilter.getStatusIndicator(), ScGlobal::GetRscString(STR_LOAD_DOC) ) );
mxFmlaParser.reset( new FormulaParser( *this ) );
//prevent unnecessary broadcasts and "half way listeners" as
@@ -592,8 +592,7 @@ void WorkbookGlobals::initialize( bool bWorkbookFile )
}
else if( mrBaseFilter.isExportFilter() )
{
- //! TODO: localize progress bar text
- mxProgressBar.reset( new SegmentProgressBar( mrBaseFilter.getStatusIndicator(), "Saving..." ) );
+ mxProgressBar.reset( new SegmentProgressBar( mrBaseFilter.getStatusIndicator(), ScGlobal::GetRscString(STR_SAVE_DOC) ) );
}
// filter specific
switch( getFilterType() )