Fix language items
authorMatthias Schmidt <gravatronics@live.com>
Sat, 13 Apr 2019 10:52:59 +0000 (12:52 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 13 Apr 2019 10:52:59 +0000 (12:52 +0200)
See #2509

wcfsetup/install/lang/en.xml

index 858685c082e5e8fca06b4b5c311c438eb90f448d..e320aa675b5fdece5ee3825ee3162fa81e705c06 100644 (file)
@@ -3809,8 +3809,8 @@ Attachments:
                <item name="wcf.form.field.option.error.nonExistent"><![CDATA[The following options do not exist: {implode from=$options item=option}<kbd>{$option}</kbd>{/implode}.]]></item>
                <item name="wcf.form.field.showOrder"><![CDATA[Position]]></item>
                <item name="wcf.form.field.showOrder.firstPosition"><![CDATA[(first position)]]></item>
-               <item name="wcf.form.field.text.error.maximumLength"><![CDATA[The entered text{if $language|isset} for language “{$language}”{/if} contains {#$length} characters but it may not be longer than {#$maximumLength} characters.]]></item>
-               <item name="wcf.form.field.text.error.minimumLength"><![CDATA[The entered text{if $language|isset} for language “{$language}”{/if} only contains {#$length} characters but it may not be shorter than {#$minimumLength} characters.]]></item>
+               <item name="wcf.form.field.text.error.maximumLength"><![CDATA[The entered text{if $language|isset} for language “{$language}”{/if} contains {#$length} character{if $length !== 1}s{/if} but it may not be longer than {#$maximumLength} character{if $maximumLength !== 1}s{/if}.]]></item>
+               <item name="wcf.form.field.text.error.minimumLength"><![CDATA[The entered text{if $language|isset} for language “{$language}”{/if} only contains {#$length} character{if $length !== 1}s{/if} but it may not be shorter than {#$minimumLength} character{if $minimumLength !== 1}s{/if}.]]></item>
                <item name="wcf.form.field.user.error.maximumMultiples"><![CDATA[You may not enter more than {#$maximumCount} users but {#$count} user{if $count != 1}s are{else} is{/if} given.]]></item>
                <item name="wcf.form.field.user.error.minimumMultiples"><![CDATA[You have to entered at least {#$minimumCount} users but only {#$count} user{if $count != 1}s are{else} is{/if} given.]]></item>
                <item name="wcf.form.field.user.error.nonExistent"><![CDATA[{if $nonExistentUsernames|isset}The following users do not exist: {implode from=$nonExistentUsernames item=nonExistentUsername}“{$nonExistentUsername}”{/implode}.{else}The entered user does not exists.{/if}]]></item>