[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source
Andras Timar
andras.timar at collabora.com
Sun Dec 1 14:10:11 PST 2013
sc/source/filter/oox/workbookhelper.cxx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit f17de4b47672285dd28d83d059bef0aa10f6b51b
Author: Andras Timar <andras.timar at collabora.com>
Date: Sun Dec 1 23:15:54 2013 +0100
fdo#72078 make status bar text localizable
Change-Id: I5d8ce77c8034819fd618d3d970908462511d2e1d
diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx
index 94afb7c..0fca151 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() )
More information about the Libreoffice-commits
mailing list