BUG-13604 Day and Month are not translated

Column LAN_LOCATION added in LANGUAGE table.
This commit is contained in:
norahmollo
2013-12-19 15:20:26 -04:00
parent 9eab048757
commit 59ab15aeaa
2 changed files with 2 additions and 2 deletions

View File

@@ -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') {

View File

@@ -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);