BUG-13604 Day and Month are not translated
Day and Month are not translated
This commit is contained in:
@@ -567,7 +567,7 @@ class Configurations // extends Configuration
|
|||||||
require_once 'model/Language.php';
|
require_once 'model/Language.php';
|
||||||
$language = new language();
|
$language = new language();
|
||||||
$lanLocation = $language->findLocationByLanId(SYS_LANG);
|
$lanLocation = $language->findLocationByLanId(SYS_LANG);
|
||||||
$location = isset($location['LAN_LOCATION'])?$location['LAN_LOCATION']:'';
|
$location = isset($location['LAN_LOCATION']) ? $location['LAN_LOCATION'] : '';
|
||||||
|
|
||||||
if (G::toLower(PHP_OS) == 'linux' || G::toLower(PHP_OS) == 'darwin') {
|
if (G::toLower(PHP_OS) == 'linux' || G::toLower(PHP_OS) == 'darwin') {
|
||||||
if (SYS_LANG == 'es') {
|
if (SYS_LANG == 'es') {
|
||||||
|
|||||||
@@ -724,33 +724,32 @@ abstract class BaseLanguage extends BaseObject implements Persistent
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (array_key_exists($keys[1], $arr)) {
|
if (array_key_exists($keys[1], $arr)) {
|
||||||
$this->setLanName($arr[$keys[1]]);
|
$this->setLanLocation($arr[$keys[1]]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (array_key_exists($keys[2], $arr)) {
|
if (array_key_exists($keys[2], $arr)) {
|
||||||
$this->setLanNativeName($arr[$keys[2]]);
|
$this->setLanName($arr[$keys[2]]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (array_key_exists($keys[3], $arr)) {
|
if (array_key_exists($keys[3], $arr)) {
|
||||||
$this->setLanDirection($arr[$keys[3]]);
|
$this->setLanNativeName($arr[$keys[3]]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (array_key_exists($keys[4], $arr)) {
|
if (array_key_exists($keys[4], $arr)) {
|
||||||
$this->setLanWeight($arr[$keys[4]]);
|
$this->setLanDirection($arr[$keys[4]]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (array_key_exists($keys[5], $arr)) {
|
if (array_key_exists($keys[5], $arr)) {
|
||||||
$this->setLanEnabled($arr[$keys[5]]);
|
$this->setLanWeight($arr[$keys[5]]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (array_key_exists($keys[6], $arr)) {
|
if (array_key_exists($keys[6], $arr)) {
|
||||||
$this->setLanCalendar($arr[$keys[6]]);
|
$this->setLanEnabled($arr[$keys[6]]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (array_key_exists($keys[7], $arr)) {
|
if (array_key_exists($keys[7], $arr)) {
|
||||||
$this->setLanCalendar($arr[$keys[7]]);
|
$this->setLanCalendar($arr[$keys[7]]);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user