Merge pull request #1123 from phecho/master

added sub_title localization for SettingController,updated translatio…
This commit is contained in:
James Brooks
2015-11-10 15:39:25 +00:00
2 changed files with 6 additions and 13 deletions

View File

@@ -30,13 +30,6 @@ class SettingsController extends Controller
*/
protected $subMenu = [];
/**
* The title of the sub-menu.
*
* @var string
*/
protected $subTitle = 'Settings';
/**
* Creates a new settings controller instance.
*
@@ -90,7 +83,7 @@ class SettingsController extends Controller
];
View::share([
'sub_title' => $this->subTitle,
'sub_title' => trans('dashboard.settings.settings'),
'sub_menu' => $this->subMenu,
]);
}

View File

@@ -165,7 +165,7 @@ return [
'settings' => [
'settings' => '设置',
'app-setup' => [
'app-setup' => '应用安装',
'app-setup' => '系统设置',
'images-only' => '只能上传图像。',
'too-big' => '你上传的文件太大了。上传的图像大小应小于:size',
],
@@ -176,11 +176,11 @@ return [
'localization' => '国际化',
],
'security' => [
'security' => '安全',
'security' => '安全设置',
'two-factor' => '没有启用双因素身份验证的用户',
],
'stylesheet' => [
'stylesheet' => '样式',
'stylesheet' => '自定义样式',
],
'theme' => [
'theme' => '主题',
@@ -193,8 +193,8 @@ return [
// Login
'login' => [
'login' => '登',
'logged_in' => '您已登',
'login' => '登',
'logged_in' => '您已登',
'welcome' => '欢迎回来!',
'two-factor' => '请输入您的双重验证Token。',
],