update
This commit is contained in:
parent
de54437872
commit
7260313a1d
7 changed files with 7 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
$LANG = [
|
||||
return [
|
||||
'home' => 'Home',
|
||||
'solution' => 'Solution',
|
||||
'news' => 'News',
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
$LANG = [
|
||||
return [
|
||||
'home' => 'Home',
|
||||
'solution' => 'Solution',
|
||||
'news' => '뉴스',
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
$LANG = [
|
||||
return [
|
||||
"home" => "主页",
|
||||
"solution" => "方案",
|
||||
"news" => "新闻",
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
|
||||
include dirname(__FILE__) . "/../zh-TW/language.php";
|
||||
return require dirname(__FILE__) . "/../zh-TW/language.php";
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
|
||||
include dirname(__FILE__) . "/../zh-CN/language.php";
|
||||
return require dirname(__FILE__) . "/../zh-CN/language.php";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
$LANG = [
|
||||
return [
|
||||
'home' => '主頁',
|
||||
'solution' => '方案',
|
||||
'news' => '新聞',
|
||||
|
|
|
@ -195,8 +195,7 @@ class Language
|
|||
} else {
|
||||
$this->language_file = $this->language_root . $this->language_default . '/' . 'language.php';
|
||||
}
|
||||
include $this->language_file;
|
||||
$this->LANG = $LANG;
|
||||
$this->LANG = require $this->language_file;
|
||||
}
|
||||
|
||||
public function get_languages_tags()
|
||||
|
|
Loading…
Reference in a new issue