summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2013-12-01 23:15:54 +0100
committerAndras Timar <andras.timar@collabora.com>2013-12-01 23:16:59 +0100
commitb8f21d26ff115e8e1e0fd022b3dc906945db7793 (patch)
treef1a6feaecdecfec3a18511ab36248e1d96080004
parent3b2f956ba64f8f9dff1da3028436f3834c899d1d (diff)
fdo#72078 make status bar text localizable
Change-Id: I5d8ce77c8034819fd618d3d970908462511d2e1d
-rw-r--r--sc/source/filter/oox/workbookhelper.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx
index 3cba32f96186..32c8bd62cc19 100644
--- a/sc/source/filter/oox/workbookhelper.cxx
+++ b/sc/source/filter/oox/workbookhelper.cxx
@@ -604,8 +604,7 @@ void WorkbookGlobals::initialize( bool bWorkbookFile )
// #i79890# disable automatic update of defined names
mpDoc->CompileNameFormula(true);
- //! 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
@@ -614,8 +613,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() )