summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKevin Suo <suokunlong@126.com>2021-12-26 20:27:06 +0800
committerEike Rathke <erack@redhat.com>2021-12-26 18:00:12 +0100
commit5d56a2301ca00b21dff110b0f11677cf80dff04e (patch)
tree4d59e8561120c4e83da1a961afd83aaf623fefad /sc/inc
parent1c14b9efb0677dea65ff220222fbb8d5c2aa6973 (diff)
sc-error-codes: STR_LONG_ERR_NO_VALUE should be "Error: No value"
rather than Error: Wrong data type. STR_LONG_ERR_NO_VALUE was marked as "Error: Wrong data type" in the source code. It was translated in the en_US UI as "Error: No result", which seems to be intentionally. This causes confusion for other languages. This error code is used for case FormulaError::NoValue and this FormulaError enum entry is used in various places, most of them indicates that it is used because of no value is returned. "Wrong data type" should be a reason why there was "no value" returned, thus "Wrong data type" should be a subset of "No value", but anyway STR_LONG_ERR_NO_VALUE != "Wrong data type". Change-Id: Ie0e355ba02e9800fca2263744ed74ada700bfbeb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127512 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/globstr.hrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/globstr.hrc b/sc/inc/globstr.hrc
index 44776504b47e..793d3cb95d55 100644
--- a/sc/inc/globstr.hrc
+++ b/sc/inc/globstr.hrc
@@ -216,7 +216,7 @@
/* ERROR.TYPE( #DIV/0! ) == 2 */
#define STR_LONG_ERR_DIV_ZERO NC_("STR_LONG_ERR_DIV_ZERO", "Error: Division by zero")
/* ERROR.TYPE( #VALUE! ) == 3 */
-#define STR_LONG_ERR_NO_VALUE NC_("STR_LONG_ERR_NO_VALUE", "Error: Wrong data type")
+#define STR_LONG_ERR_NO_VALUE NC_("STR_LONG_ERR_NO_VALUE", "Error: No value")
/* ERROR.TYPE( #REF! ) == 4 */
#define STR_LONG_ERR_NO_REF NC_("STR_LONG_ERR_NO_REF", "Error: Not a valid reference")
/* ERROR.TYPE( #NAME! ) == 5 */