CC-4876: Default interface language setting does not appear to affect text or drop-down menu on login page?
-fixed
This commit is contained in:
parent
56c61d4ab7
commit
1873022a13
4 changed files with 4 additions and 7 deletions
|
@ -4,10 +4,6 @@ class LocaleController extends Zend_Controller_Action
|
|||
{
|
||||
public function init()
|
||||
{
|
||||
$ajaxContext = $this->_helper->getHelper("AjaxContext");
|
||||
$ajaxContext->addActionContext("general-translation-table", "json")
|
||||
->addActionContext("datatables-translation-table", "json")
|
||||
->initContext();
|
||||
}
|
||||
|
||||
public function datatablesTranslationTableAction()
|
||||
|
@ -26,7 +22,7 @@ class LocaleController extends Zend_Controller_Action
|
|||
$locale.".txt")
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
public function generalTranslationTableAction()
|
||||
{
|
||||
$translations = array (
|
||||
|
|
|
@ -110,7 +110,7 @@ class Zend_Controller_Plugin_Acl extends Zend_Controller_Plugin_Abstract
|
|||
{
|
||||
$controller = strtolower($request->getControllerName());
|
||||
|
||||
if (in_array($controller, array("api", "auth"))) {
|
||||
if (in_array($controller, array("api", "auth", "locale"))) {
|
||||
|
||||
$this->setRoleName("G");
|
||||
} elseif (!Zend_Auth::getInstance()->hasIdentity()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue