complete lang form including money format

This commit is contained in:
Manuel Raynaud
2014-05-06 10:53:16 +02:00
parent ca1cb6e4d1
commit 4cd2ea6316
9 changed files with 161 additions and 5 deletions

View File

@@ -74,7 +74,10 @@ class LangController extends BaseAdminController
'code' => $lang->getCode(),
'locale' => $lang->getLocale(),
'date_format' => $lang->getDateFormat(),
'time_format' => $lang->getTimeFormat()
'time_format' => $lang->getTimeFormat(),
'decimal_separator' => $lang->getDecimalSeparator(),
'thousands_separator' => $lang->getThousandsSeparator(),
'decimals' => $lang->getDecimals(),
));
$this->getParserContext()->addForm($langForm);
@@ -124,6 +127,9 @@ class LangController extends BaseAdminController
->setLocale($form->get('locale')->getData())
->setDateFormat($form->get('date_format')->getData())
->setTimeFormat($form->get('time_format')->getData())
->setDecimalSeparator($form->get('decimal_separator')->getData())
->setThousandsSeparator($form->get('thousands_separator')->getData())
->setDecimals($form->get('decimals')->getData())
;
}