This commit is contained in:
doudoudzj 2019-07-19 18:25:53 +08:00
parent de54437872
commit 7260313a1d
7 changed files with 7 additions and 8 deletions

View file

@ -1,5 +1,5 @@
<?php
$LANG = [
return [
'home' => 'Home',
'solution' => 'Solution',
'news' => 'News',

View file

@ -1,5 +1,5 @@
<?php
$LANG = [
return [
'home' => 'Home',
'solution' => 'Solution',
'news' => '뉴스',

View file

@ -1,5 +1,5 @@
<?php
$LANG = [
return [
"home" => "主页",
"solution" => "方案",
"news" => "新闻",

View file

@ -1,3 +1,3 @@
<?php
include dirname(__FILE__) . "/../zh-TW/language.php";
return require dirname(__FILE__) . "/../zh-TW/language.php";

View file

@ -1,3 +1,3 @@
<?php
include dirname(__FILE__) . "/../zh-CN/language.php";
return require dirname(__FILE__) . "/../zh-CN/language.php";

View file

@ -1,5 +1,5 @@
<?php
$LANG = [
return [
'home' => '主頁',
'solution' => '方案',
'news' => '新聞',

View file

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