cui: better label for the OLE insert progressbar
It's inserting an OLE object, not really loading a document. Change-Id: Ie33e5ef8e80acbd2bfebd68119540c6d168ab120 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122877 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
This commit is contained in:
@@ -394,4 +394,6 @@
|
||||
|
||||
#define RID_SVXSTR_UI_APPLYALL NC_("RID_SVXSTR_UI_APPLYALL", "Apply to %MODULE")
|
||||
|
||||
#define RID_SVXSTR_OLE_INSERT NC_("RID_SVXSTR_OLE_INSERT", "Inserting OLE object...")
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -51,8 +51,6 @@
|
||||
#include <sfx2/viewsh.hxx>
|
||||
#include <comphelper/seqstream.hxx>
|
||||
#include <sfx2/viewfrm.hxx>
|
||||
#include <svx/strings.hrc>
|
||||
#include <svx/dialmgr.hxx>
|
||||
|
||||
#include <strings.hrc>
|
||||
|
||||
@@ -210,7 +208,7 @@ short SvInsertOleDlg::run()
|
||||
xProgress = xProgressFactory->createStatusIndicator();
|
||||
if (xProgress)
|
||||
{
|
||||
aProgressText = SvxResId(RID_SVXSTR_DOC_LOAD);
|
||||
aProgressText = CuiResId(RID_SVXSTR_OLE_INSERT);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -316,8 +314,8 @@ short SvInsertOleDlg::run()
|
||||
xProgress = xProgressFactory->createStatusIndicator();
|
||||
if (xProgress)
|
||||
{
|
||||
OUString aDocLoad(SvxResId(RID_SVXSTR_DOC_LOAD));
|
||||
xProgress->start(aDocLoad, 100);
|
||||
OUString aOleInsert(CuiResId(RID_SVXSTR_OLE_INSERT));
|
||||
xProgress->start(aOleInsert, 100);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user