Show explicit 'noSelection' message instead of an empty option
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 26 Feb 2021 16:07:22 +0000 (17:07 +0100)
committerGitHub <noreply@github.com>
Fri, 26 Feb 2021 16:07:22 +0000 (17:07 +0100)
Co-authored-by: Alexander Ebert <ebert@woltlab.com>
wcfsetup/install/files/acp/templates/languageImport.tpl

index 3f5fe280e86aafb3fe922e1787d507320466bf67..e3def968a4550f677e924dacad9e2740c163f89c 100644 (file)
@@ -63,7 +63,7 @@
                        <dt><label for="packageID">{lang}wcf.acp.language.add.package{/lang}</label></dt>
                        <dd>
                                <select id="packageID" name="packageID">
-                                       <option value="0"></option>
+                                       <option value="0">{lang}wcf.global.noSelection{/lang}</option>
                                        {foreach from=$packages item=package}
                                                <option value="{$package->packageID}"{if $package->packageID == $packageID} selected{/if}>{$package->getName()} ({$package->package})</option>
                                        {/foreach}