Kaydet (Commit) b8f21d26 authored tarafından Andras Timar's avatar Andras Timar

fdo#72078 make status bar text localizable

Change-Id: I5d8ce77c8034819fd618d3d970908462511d2e1d
üst 3b2f956b
......@@ -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() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment