Fixed multiple language input
authorAlexander Ebert <ebert@woltlab.com>
Thu, 22 Dec 2011 17:51:01 +0000 (18:51 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 22 Dec 2011 17:51:01 +0000 (18:51 +0100)
commit6b45d04156d0f111c9e14e6e33facee4ed5fc80d
tree9eb629d1127af05074e87e9ee9c5a14ff9d2c88c
parentcddc7e0913ec22347fdf26474bef90d9c87de383
Fixed multiple language input

i18n-inputs can now be declared optional and will no longer force a value, unless you left out one language. This means if i18n is not required you can leave out the value completely, but once you enable i18n you must give values for ALL installed languages!

Fixes #235
Fixes #282
com.woltlab.wcf/option.xml
wcfsetup/install/files/js/WCF.js
wcfsetup/install/files/lib/system/language/I18nHandler.class.php
wcfsetup/install/files/lib/system/option/TextI18nOptionType.class.php
wcfsetup/install/files/lib/system/package/plugin/OptionPackageInstallationPlugin.class.php
wcfsetup/setup/db/install.sql