added sub_title localization for SettingController,updated translations of zh-CN for human friendly

This commit is contained in:
phecho
2015-11-10 20:19:42 +08:00
parent 9b0901e161
commit 67304c9eb3
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,
]);
}