From: Marcel Werk Date: Tue, 23 Apr 2013 22:30:48 +0000 (+0200) Subject: Added missing language variables X-Git-Tag: 2.0.0_Beta_1~298^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3c58ae85a3286566332963414ec61b24b33c1e32;p=GitHub%2FWoltLab%2FWCF.git Added missing language variables --- diff --git a/wcfsetup/install/files/acp/templates/userOptionAdd.tpl b/wcfsetup/install/files/acp/templates/userOptionAdd.tpl index 64f57c0159..a1c19b79a8 100644 --- a/wcfsetup/install/files/acp/templates/userOptionAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userOptionAdd.tpl @@ -105,7 +105,6 @@ {/foreach} - {if $errorField == 'optionType'} {if $errorType == 'empty'} @@ -115,6 +114,7 @@ {/if} {/if} + {lang}wcf.acp.user.option.optionType{/lang} @@ -122,6 +122,7 @@
+ {lang}wcf.acp.user.option.defaultValue.description{/lang}
@@ -138,6 +139,7 @@ {/if} {/if} + {lang}wcf.acp.user.option.selectOptions.description{/lang} @@ -167,7 +169,6 @@
- @@ -202,6 +202,7 @@ {/if} {/if} + {lang}wcf.acp.user.option.validationPattern.description{/lang}
diff --git a/wcfsetup/install/files/lib/acp/form/UserOptionAddForm.class.php b/wcfsetup/install/files/lib/acp/form/UserOptionAddForm.class.php index 815084a707..93342d07b9 100644 --- a/wcfsetup/install/files/lib/acp/form/UserOptionAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserOptionAddForm.class.php @@ -206,6 +206,10 @@ class UserOptionAddForm extends AbstractForm { if (in_array($this->optionType, self::$optionTypesUsingSelectOptions) && empty($this->selectOptions)) { throw new UserInputException('selectOptions'); } + + if ($this->editable < 1 || $this->editable > 3) { + $this->editable = 3; + } } /** diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 38d45bc213..b468d7830c 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -673,6 +673,47 @@ + + + + categoryName}{/lang}“ wirklich löschen?]]> + + + + + + + + optionName}{/lang}“ wirklich löschen?]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index a02078c45f..bfbc57261c 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -673,6 +673,47 @@ + + + + categoryName}{/lang}”?]]> + + + + + + + + optionName}{/lang}”?]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +