diff options
author | Andras Timar <andras.timar@collabora.com> | 2013-12-01 23:15:54 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-12-01 19:04:59 -0600 |
commit | ae5519c8c42b2a9473da236f3c84bfe630893cc4 (patch) | |
tree | 9d82d568cf8bd30f10507ad4f8ed8e57a705c9b6 | |
parent | 90674ac8a975b16389d9b32016f3ef605a702079 (diff) |
fdo#72078 make status bar text localizable
Change-Id: I5d8ce77c8034819fd618d3d970908462511d2e1d
Reviewed-on: https://gerrit.libreoffice.org/6888
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r-- | sc/source/filter/oox/workbookhelper.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx index 09c6947c1477..8f09d3a23e86 100644 --- a/sc/source/filter/oox/workbookhelper.cxx +++ b/sc/source/filter/oox/workbookhelper.cxx @@ -572,8 +572,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 @@ -582,8 +581,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() ) |