BUG-13604 Day and Month are not translated
Column LAN_LOCATION added in LANGUAGE table.
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 = $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') {
|
||||||
|
|||||||
@@ -848,7 +848,7 @@ abstract class BaseLanguage extends BaseObject implements Persistent
|
|||||||
public function copyInto($copyObj, $deepCopy = false)
|
public function copyInto($copyObj, $deepCopy = false)
|
||||||
{
|
{
|
||||||
|
|
||||||
$copyObj->setLanName($this->lan_location);
|
$copyObj->setLanLocation($this->lan_location);
|
||||||
|
|
||||||
$copyObj->setLanName($this->lan_name);
|
$copyObj->setLanName($this->lan_name);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user