From 618e9367aee3dac2dc8bf41622ac504698ccecaf Mon Sep 17 00:00:00 2001 From: Daniel Kiesel Date: Tue, 30 Jan 2018 18:39:25 +0100 Subject: [PATCH] optimized updater --- src/Util/Updater.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Util/Updater.php b/src/Util/Updater.php index d906e14..109ca1e 100644 --- a/src/Util/Updater.php +++ b/src/Util/Updater.php @@ -78,9 +78,18 @@ protected function addTranslationContentToField($strField) System::loadLanguageFile('tl_email', 'de', true); $arrValues['de'] = $GLOBALS['TL_LANG']['tl_email']['defaultContents'][$strField]; + $arrValues['de_AT'] = $GLOBALS['TL_LANG']['tl_email']['defaultContents'][$strField]; + $arrValues['de_CH'] = $GLOBALS['TL_LANG']['tl_email']['defaultContents'][$strField]; + $arrValues['de_DE'] = $GLOBALS['TL_LANG']['tl_email']['defaultContents'][$strField]; System::loadLanguageFile('tl_email', 'en', true); $arrValues['en'] = $GLOBALS['TL_LANG']['tl_email']['defaultContents'][$strField]; + $arrValues['en_AU'] = $GLOBALS['TL_LANG']['tl_email']['defaultContents'][$strField]; + $arrValues['en_CA'] = $GLOBALS['TL_LANG']['tl_email']['defaultContents'][$strField]; + $arrValues['en_GB'] = $GLOBALS['TL_LANG']['tl_email']['defaultContents'][$strField]; + $arrValues['en_IE'] = $GLOBALS['TL_LANG']['tl_email']['defaultContents'][$strField]; + $arrValues['en_US'] = $GLOBALS['TL_LANG']['tl_email']['defaultContents'][$strField]; + $arrValues['en_ZA'] = $GLOBALS['TL_LANG']['tl_email']['defaultContents'][$strField]; // Load translation file by current language System::loadLanguageFile('tl_email', null, true);