summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorSeth Chaiklin <sdc.blanco@youmail.dk>2020-11-10 01:38:08 +0200
committerSeth Chaiklin <sdc.blanco@youmail.dk>2020-11-14 08:00:13 +0100
commitb8480abd38016378e92e2e3f6690f1c219dbadd2 (patch)
tree894f754f678f07b136bc3c5d6a6371f305b2a246 /sc
parentbbbcd382af9e60bd1c23205804740b8dae9272c3 (diff)
Resolves: tdf#103419 - update tooltip for SWITCH in Calc
Change-Id: I931ae2d4b2a26f5369c78b4f91ecd53a1b1fd4bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105464 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/scfuncs.hrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/scfuncs.hrc b/sc/inc/scfuncs.hrc
index 9a96b3d9975c..a5a5e2449fc6 100644
--- a/sc/inc/scfuncs.hrc
+++ b/sc/inc/scfuncs.hrc
@@ -3603,11 +3603,11 @@ const char* SC_OPCODE_IFS_MS_ARY[] =
// -=*# Resource for function SWITCH #*=-
const char* SC_OPCODE_SWITCH_MS_ARY[] =
{
- NC_("SC_OPCODE_SWITCH_MS", "Checks 1 or more values and returns a result corresponding to the first value equal to the given expression."),
+ NC_("SC_OPCODE_SWITCH_MS", "Compares expression against list of value/result pairs, and returns result for first value that matches the expression. If expression does not match any value, a default result is returned, if it is placed as final item in parameter list without a value."),
NC_("SC_OPCODE_SWITCH_MS", "Expression"),
- NC_("SC_OPCODE_SWITCH_MS", "Value that will be compared against value1-valueN."),
+ NC_("SC_OPCODE_SWITCH_MS", "Value to be compared against value1…valueN (N ≤ 127)"),
NC_("SC_OPCODE_SWITCH_MS", "Value"),
- NC_("SC_OPCODE_SWITCH_MS", "Value that will be compared against expression."),
+ NC_("SC_OPCODE_SWITCH_MS", "Value to compare against expression. If no result is given, then value is returned as default result."),
NC_("SC_OPCODE_SWITCH_MS", "Result"),
NC_("SC_OPCODE_SWITCH_MS", "Value to return when corresponding value argument matches expression.")
};