[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - sc/source
Andras Timar
andras.timar at collabora.com
Mon Dec 2 03:09:37 PST 2013
sc/source/filter/oox/workbookhelper.cxx | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
New commits:
commit 3b6ac4f3416b2542208745033aaecb3c7a520656
Author: Andras Timar <andras.timar at collabora.com>
Date: Mon Dec 2 12:11:10 2013 +0100
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 at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx
index 09c6947..691887a 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"
@@ -572,8 +573,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 +582,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