summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-05-20 10:41:03 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-05-21 13:25:22 -0400
commit516bd94247ea24586885254ac716f4a5f90e5c73 (patch)
tree644480e32a240b21e6590364b95574437ecae04a
parent65d026f39cff52c96be95871e16a3d6714203d2e (diff)
Localize this string.
Change-Id: I88b205d36eede5e63af46f8581896d980b6aa27d
-rw-r--r--sc/inc/sc.hrc3
-rw-r--r--sc/source/core/data/documen8.cxx2
-rw-r--r--sc/source/ui/src/scstring.src5
3 files changed, 8 insertions, 2 deletions
diff --git a/sc/inc/sc.hrc b/sc/inc/sc.hrc
index d350aad3466d..2253aacf6e95 100644
--- a/sc/inc/sc.hrc
+++ b/sc/inc/sc.hrc
@@ -983,7 +983,8 @@
#define STR_MID (STR_START + 431)
#define STR_SOUTH (STR_START + 432)
#define STR_SUM (STR_START + 433)
-#define STR_END (STR_SUM)
+#define SCSTR_UPDATE_EXTDOCS (STR_START + 434)
+#define STR_END (SCSTR_UPDATE_EXTDOCS)
#define BMP_START (STR_END)
diff --git a/sc/source/core/data/documen8.cxx b/sc/source/core/data/documen8.cxx
index 6b2f02822480..e8ce20c22d30 100644
--- a/sc/source/core/data/documen8.cxx
+++ b/sc/source/core/data/documen8.cxx
@@ -803,7 +803,7 @@ void ScDocument::UpdateExternalRefLinks(Window* pWin)
}
pExternalRefMgr->enableDocTimer(false);
- ScProgress aProgress(GetDocumentShell(), "Updating external links", aRefLinks.size());
+ ScProgress aProgress(GetDocumentShell(), ScResId(SCSTR_UPDATE_EXTDOCS).toString(), aRefLinks.size());
for (size_t i = 0, n = aRefLinks.size(); i < n; ++i)
{
aProgress.SetState(i+1);
diff --git a/sc/source/ui/src/scstring.src b/sc/source/ui/src/scstring.src
index 78d954105ced..b083fffed02d 100644
--- a/sc/source/ui/src/scstring.src
+++ b/sc/source/ui/src/scstring.src
@@ -811,6 +811,11 @@ String SCSTR_EXTDOC_NOT_LOADED
Text [ en-US ] = "The following external file could not be loaded. Data linked from this file did not get updated." ;
};
+String SCSTR_UPDATE_EXTDOCS
+{
+ Text [ en-US ] = "Updating external links.";
+};
+
String SCSTR_FORMULA_SYNTAX_CALC_A1
{
Text [ en-US ] = "Calc A1";