From: Marcel Werk Date: Mon, 3 Jun 2013 22:50:21 +0000 (+0200) Subject: Added missing language variables X-Git-Tag: 2.0.0_Beta_3~8 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=632d0a4cabc70032f9b6d78c563eb36b82789f09;p=GitHub%2FWoltLab%2FWCF.git Added missing language variables --- diff --git a/wcfsetup/install/files/lib/acp/form/TagAddForm.class.php b/wcfsetup/install/files/lib/acp/form/TagAddForm.class.php index b5654de08a..98a2cc3cec 100644 --- a/wcfsetup/install/files/lib/acp/form/TagAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/TagAddForm.class.php @@ -105,8 +105,10 @@ class TagAddForm extends AbstractForm { } // validate synonyms - foreach ($this->synonyms as $synonym) { - if (StringUtil::toLowerCase($synonym) == StringUtil::toLowerCase($this->name)) throw new UserInputException('synonyms', 'duplicate'); + foreach ($this->synonyms as $key => $synonym) { + if (StringUtil::toLowerCase($synonym) == StringUtil::toLowerCase($this->name)) { + unset($this->synonyms[$key]); + } } } diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 0a63322e5f..f3249ae929 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -392,6 +392,7 @@ + @@ -1041,6 +1042,8 @@ + + @@ -1057,6 +1060,7 @@ + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index ea947f1378..14ba9b48a2 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -391,6 +391,7 @@ Examples for medium ID detection: + @@ -1040,6 +1041,8 @@ Examples for medium ID detection: + + @@ -1056,6 +1059,7 @@ Examples for medium ID detection: +