summaryrefslogtreecommitdiff
path: root/cui/inc
diff options
context:
space:
mode:
authorRtch90 <ritchie.cunningham@protonmail.com>2019-04-22 01:53:09 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-08-07 08:06:20 +0200
commitc78306fb47011a3c050368b9696cb2d5ecf3d57d (patch)
tree2af0f7c27a757d121eff79b31742c0322338e235 /cui/inc
parentc6d27e91d93463a533c24dae14edf97e9e0206b6 (diff)
tdf#61076 string validation on creation of new dictionary.
Prevent having '/' or '\' within the dictionary name to prevent data loss. Change-Id: I392832c748effcdbbe58983a788ba6b38764628c Reviewed-on: https://gerrit.libreoffice.org/71059 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Jenkins
Diffstat (limited to 'cui/inc')
-rw-r--r--cui/inc/strings.hrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cui/inc/strings.hrc b/cui/inc/strings.hrc
index d7e581fccb26..3833d157adff 100644
--- a/cui/inc/strings.hrc
+++ b/cui/inc/strings.hrc
@@ -258,6 +258,7 @@
#define RID_SVXSTR_CHG_SMARTART NC_("RID_SVXSTR_CHG_SMARTART", "SmartArt to %PRODUCTNAME shapes or reverse")
#define RID_SVXSTR_OPT_DOUBLE_DICTS NC_("RID_SVXSTR_OPT_DOUBLE_DICTS", "The specified name already exists.\nPlease enter a new name.")
+#define RID_SVXSTR_OPT_INVALID_DICT_NAME NC_("RID_SVXSTR_OPT_INVALID_DICT_NAME", "The specified name is invalid.\nPlease enter a new name.")
/* To translators:
Please, try to find a similar *short* translation to avoid
to get narrow "New" field in the "Edit custom dictionary" window,