Closed jymusic0663 closed 11 months ago
推荐直接在 config/setting_user.php 中覆盖设置即可
// 全部语言覆盖或扩展
I18n::set(array(
"explorer.toolbar.rootPath" =>'个人网盘',
"explorer.toolbar.fav" => "我的收藏", //收藏夹
));
// 指定语言覆盖或扩展
I18n::init();$lang = I18n::$langType;
if($lang == 'zh-CN'){
I18n::set(array(
"explorer.toolbar.rootPath" =>'个人网盘',
"explorer.toolbar.fav" => "我的收藏", //收藏夹
));
}
增加扩展全局语言包功能