From 02c795d49e404f5a79d93a84b796fa54323718fe Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 28 Sep 2011 21:58:42 +0200 Subject: [PATCH] Implemented i18n for options These changes may not be completely compatible with user groups, check that! --- com.woltlab.wcf/option.xml | 3 +- .../acp/templates/optionTypeTextI18n.tpl | 10 ++++ .../acp/form/AbstractOptionListForm.class.php | 30 +++++++++++- .../files/lib/acp/form/OptionForm.class.php | 24 +++++++++- .../lib/system/language/I18nHandler.class.php | 47 +++++++++++-------- .../option/AbstractOptionType.class.php | 13 +++++ .../lib/system/option/IOptionType.class.php | 7 +++ .../option/TextI18nOptionType.class.php | 36 ++++++++++++++ 8 files changed, 147 insertions(+), 23 deletions(-) create mode 100644 wcfsetup/install/files/acp/templates/optionTypeTextI18n.tpl create mode 100644 wcfsetup/install/files/lib/system/option/TextI18nOptionType.class.php diff --git a/com.woltlab.wcf/option.xml b/com.woltlab.wcf/option.xml index fd4d387793..17fcb33fe1 100644 --- a/com.woltlab.wcf/option.xml +++ b/com.woltlab.wcf/option.xml @@ -112,7 +112,8 @@