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 = isset($location['LAN_LOCATION']) ? $location['LAN_LOCATION'] : '';
|
$location = isset($lanLocation['LAN_LOCATION']) ? $lanLocation['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') {
|
||||||
|
|||||||
@@ -896,6 +896,7 @@ abstract class BaseLanguage extends BaseObject implements Persistent
|
|||||||
* same instance for all member of this class. The method could therefore
|
* same instance for all member of this class. The method could therefore
|
||||||
* be static, but this would prevent one from overriding the behavior.
|
* be static, but this would prevent one from overriding the behavior.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return LanguagePeer
|
* @return LanguagePeer
|
||||||
*/
|
*/
|
||||||
public function getPeer()
|
public function getPeer()
|
||||||
|
|||||||
Reference in New Issue
Block a user