提交 bb19815b 编写于 作者: G gongfuxiang

新增更多多语言

上级 d2fd9a2d
...@@ -1063,8 +1063,8 @@ return [ ...@@ -1063,8 +1063,8 @@ return [
'power' => [ 'power' => [
'base_nav_title' => '許可權', 'base_nav_title' => '許可權',
'top_tips_list' => [ 'top_tips_list' => [
'1.非專業科技人員請勿操作該頁面數據、操作失誤可能會導致許可權選單錯亂。', '1. 非專業科技人員請勿操作該頁面數據、操作失誤可能會導致許可權選單錯亂。',
'2.許可權選單分為[使用、操作]兩種類型,使用選單一般開啟顯示,操作選單必須隱藏。', '2. 許可權選單分為[使用、操作]兩種類型,使用選單一般開啟顯示,操作選單必須隱藏。',
'3. 如果出現許可權選單錯亂,可以重新覆蓋[ '.MyConfig('database.connections.mysql.prefix').'power ]資料表的資料恢復。', '3. 如果出現許可權選單錯亂,可以重新覆蓋[ '.MyConfig('database.connections.mysql.prefix').'power ]資料表的資料恢復。',
'4. [超級管理員、admin帳戶]默認擁有所有許可權,不可更改。', '4. [超級管理員、admin帳戶]默認擁有所有許可權,不可更改。',
], ],
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
...@@ -433,8 +433,8 @@ return [ ...@@ -433,8 +433,8 @@ return [
'admin_no_data_tips' => 'Информация администратора отсутствует', 'admin_no_data_tips' => 'Информация администратора отсутствует',
// 列表 // 列表
'top_tips_list' => [ 'top_tips_list' => [
'Учетная запись admin по умолчанию имеет все права, которые не могут быть изменены.', '1. admin Счет по умолчанию имеет все права и не может быть изменен. ',
'2. admin 账户不可更改,但是可以在数据表中修改( '.MyConfig('database.connections.mysql.prefix').'admin ) 字段 username', '2. admin Счет не может быть изменен, но может быть изменен в таблице данных ( '.MyConfig('database.connections.mysql.prefix').'admin ) Поле username',
], ],
'base_nav_title' => 'Администратор', 'base_nav_title' => 'Администратор',
// 登录 // 登录
......
...@@ -229,7 +229,7 @@ return [ ...@@ -229,7 +229,7 @@ return [
'site_setup_goods_category_tips' => 'Para más exhibición de pisos, por favor vaya primero / gestión de productos básicos - > clasificación de productos básicos, configuración de clasificación de primer nivel, recomendación de la página de inicio', 'site_setup_goods_category_tips' => 'Para más exhibición de pisos, por favor vaya primero / gestión de productos básicos - > clasificación de productos básicos, configuración de clasificación de primer nivel, recomendación de la página de inicio',
'site_setup_goods_category_no_data_tips'=> 'No hay datos por el momento, por favor vaya primero / gestión de productos básicos - > clasificación de productos básicos, configuración de clasificación de primer nivel recomendación de la página de inicio', 'site_setup_goods_category_no_data_tips'=> 'No hay datos por el momento, por favor vaya primero / gestión de productos básicos - > clasificación de productos básicos, configuración de clasificación de primer nivel recomendación de la página de inicio',
'site_setup_order_default_payment_tips' => 'Se puede configurar el método de pago predeterminado correspondiente a diferentes plataformas, primero instale el plug - in de pago en [gestión del sitio web - > método de pago] para habilitarlo y abrirlo a los usuarios.', 'site_setup_order_default_payment_tips' => 'Se puede configurar el método de pago predeterminado correspondiente a diferentes plataformas, primero instale el plug - in de pago en [gestión del sitio web - > método de pago] para habilitarlo y abrirlo a los usuarios.',
'site_setup_choice_payment_message' => 'Por favor, elija el método de pago predeterminado (: nombre).', 'site_setup_choice_payment_message' => 'Por favor, elija el método de pago predeterminado ({:name}).',
'sitetype_top_tips_list' => [ 'sitetype_top_tips_list' => [
'1. proceso de mensajería y comercio electrónico convencional, el usuario elige la dirección de recepción para hacer un pedido de pago - > envío del comerciante - > confirmación de la recepción - > finalización del pedido', '1. proceso de mensajería y comercio electrónico convencional, el usuario elige la dirección de recepción para hacer un pedido de pago - > envío del comerciante - > confirmación de la recepción - > finalización del pedido',
'2. tipo de exhibición, solo productos de exhibición, se puede iniciar una consulta (no se puede hacer un pedido)', '2. tipo de exhibición, solo productos de exhibición, se puede iniciar una consulta (no se puede hacer un pedido)',
...@@ -434,7 +434,7 @@ return [ ...@@ -434,7 +434,7 @@ return [
// 列表 // 列表
'top_tips_list' => [ 'top_tips_list' => [
'1. la cuenta de Administrador tiene todos los permisos por defecto y no se puede cambiar.', '1. la cuenta de Administrador tiene todos los permisos por defecto y no se puede cambiar.',
'2. admin 账户不可更改,但是可以在数据表中修改( '.MyConfig('database.connections.mysql.prefix').'admin ) 字段 username', '2.  Учетная запись admin не может быть изменена, но может быть изменена в таблице данных ('.MyConfig(' database.connections.mysql.prefix').'admin) Поле username',
], ],
'base_nav_title' => 'Administrador', 'base_nav_title' => 'Administrador',
// 登录 // 登录
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
{{/if}} {{/if}}
<div class="am-padding-horizontal am-nbfc"> <div class="am-padding-horizontal am-nbfc">
<a href="https://doc.shopxo.net/article/1/265389860360028160.html" target="_blank" class="text-muted" data-am-popover="{theme: 'danger sm', content: '{{:MyLang('admin.form_forget_password_tips')}}', trigger: 'hover focus'}">{{:MyLang('admin.form_forget_password_name')}}</a> <a href="javascript:;" class="text-muted" data-am-popover="{theme: 'danger sm', content: '{{:MyLang('admin.form_forget_password_tips')}}', trigger: 'hover focus'}">{{:MyLang('admin.form_forget_password_name')}}</a>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
</li> </li>
{{/foreach}} {{/foreach}}
{{/if}} {{/if}}
{{if !empty($store_theme_url)}} {{if $is_system_show_base eq 1 and !empty($store_theme_url)}}
<li class="am-fr"> <li class="am-fr">
<a class="am-margin-left-sm" href="{{$store_theme_url}}" target="_blank">{{:MyLang('appmini.nav_store_theme_name')}} <i class="am-icon-external-link"></i></a> <a class="am-margin-left-sm" href="{{$store_theme_url}}" target="_blank">{{:MyLang('appmini.nav_store_theme_name')}} <i class="am-icon-external-link"></i></a>
</li> </li>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
{{if $is_system_show_base eq 1}} {{if $is_system_show_base eq 1}}
<!-- 顶部提示信息 --> <!-- 顶部提示信息 -->
{{if !empty($site_store_info) and !empty($site_store_info['base']) and !empty($site_store_info['base']['site_top_notice'])}} {{if !empty($site_store_info) and !empty($site_store_info['base']) and !empty($site_store_info['base']['site_top_notice'])}}
<div class="am-alert am-alert-danger" data-am-alert> <div class="am-alert am-alert-danger am-radius" data-am-alert>
<button type="button" class="am-close">&times;</button> <button type="button" class="am-close">&times;</button>
<p>{{$site_store_info.base.site_top_notice|raw}}</p> <p>{{$site_store_info.base.site_top_notice|raw}}</p>
</div> </div>
...@@ -30,15 +30,15 @@ ...@@ -30,15 +30,15 @@
<div class="block-container base-content-top am-nbfc"> <div class="block-container base-content-top am-nbfc">
<div class="am-fl am-nbfc left-content"> <div class="am-fl am-nbfc left-content">
<!-- 帐号信息 --> <!-- 帐号信息 -->
{{if !empty($site_store_info) and !empty($site_store_info['user'])}} {{if empty($site_store_info) and !empty($site_store_info['user'])}}
<i class="am-icon-user"></i> <i class="am-icon-user"></i>
<span>{{$site_store_info.user.user_name_view}}</span> <span>{{$site_store_info.user.user_name_view}}</span>
<a href="javascript:;" class="am-margin-left-xs store-accounts-event">{{:MyLang('modify_title')}}</a> <a href="javascript:;" class="am-margin-left-xs store-accounts-event">{{:MyLang('modify_title')}}</a>
{{else /}} {{else /}}
<a href="javascript:;" class="am-margin-left-xs store-accounts-event">{{:MyLang('store_bind_accounts_name')}}</a> <a href="javascript:;" class="am-margin-left-xs store-accounts-event">{{:MyLang('store_bind_accounts_name')}}</a>
<!-- 连接商店错误信息 ---> <!-- 连接商店错误信息 -->
{{if !empty($site_store_error)}} {{if !empty($site_store_error)}}
<span class="am-text-danger am-margin-left-sm">{{$site_store_error}}</span> <a href="javascript:;" class="am-icon-question-circle am-text-warning am-margin-left-sm" data-am-popover="{content: '{{$site_store_error}}', trigger: 'hover focus', theme: 'sm'}"></a>
{{/if}} {{/if}}
{{/if}} {{/if}}
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</div> </div>
<!-- 操作提示 --> <!-- 操作提示 -->
<div class="am-alert"> <div class="am-alert am-radius">
<p>{{:MyLang('pluginsadmin.base_top_tips_one')}}</p> <p>{{:MyLang('pluginsadmin.base_top_tips_one')}}</p>
<p> <p>
<span>{{:MyLang('pluginsadmin.base_top_tips_two')}}</span> <span>{{:MyLang('pluginsadmin.base_top_tips_two')}}</span>
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
</a> </a>
<ul class="am-dropdown-content am-radius"> <ul class="am-dropdown-content am-radius">
<li> <li>
<a href="javascript:;" data-type="nav" data-url="{{:MyUrl('admin/admin/saveInfo', array('id'=>$admin['id']))}}" data-node-name="{{:MyLang('setup_title')}}"> <a href="javascript:;" data-type="nav" data-url="{{:MyUrl('admin/admin/saveinfo', ['id'=>$admin['id']])}}" data-node-name="{{:MyLang('setup_title')}}">
<i class="am-icon-cog"></i> <i class="am-icon-cog"></i>
<span>{{:MyLang('setup_title')}}</span> <span>{{:MyLang('setup_title')}}</span>
</a> </a>
......
...@@ -513,8 +513,8 @@ class Devtest extends Common ...@@ -513,8 +513,8 @@ class Devtest extends Common
} }
// 需要翻译的语言、参考 config/lang.php文件 // 需要翻译的语言、参考 config/lang.php文件
$to = 'spa'; $to = 'swe';
$to_name = '西班牙语'; $to_name = '瑞典语';
// 待翻译的目录 // 待翻译的目录
$arr = [ $arr = [
...@@ -555,9 +555,9 @@ class Devtest extends Common ...@@ -555,9 +555,9 @@ class Devtest extends Common
$params['data_request']['q'] = implode("\n", $zh_data); $params['data_request']['q'] = implode("\n", $zh_data);
//$params['data_request']['q'] = "你好\n我是龚"; //$params['data_request']['q'] = "你好\n我是龚";
$fanyi = PluginsControlCall('multilingual', 'index', 'fanyi', 'index', $params, 1); $fanyi = PluginsControlCall('multilingual', 'index', 'fanyi', 'index', $params, 1);
if(isset($fanyi_data['code']) && $fanyi_data['code'] != 0) if(isset($fanyi['code']) && $fanyi['code'] != 0)
{ {
die('翻译失败('.$fanyi_data['msg'].')'); die($fanyi['msg']);
} }
$fanyi_data = (!empty($fanyi['data']) && !empty($fanyi['data']['trans_result'])) ? $fanyi['data']['trans_result'] : []; $fanyi_data = (!empty($fanyi['data']) && !empty($fanyi['data']['trans_result'])) ? $fanyi['data']['trans_result'] : [];
if(empty($fanyi_data)) if(empty($fanyi_data))
......
<?php
// +----------------------------------------------------------------------
// | ShopXO 国内领先企业级B2C免费开源电商系统
// +----------------------------------------------------------------------
// | Copyright (c) 2011~2099 http://shopxo.net All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://opensource.org/licenses/mit-license.php )
// +----------------------------------------------------------------------
// | Author: Devil
// +----------------------------------------------------------------------
/**
* 模块语言包-德语
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @datetime 2016-12-01T21:51:08+0800
*/
return [
// 基础公共
'token_error_tips' => 'Illegales Token',
// 文章
'article' => [
'article_no_data_tips' => 'Artikel existiert nicht oder wurde gelöscht',
'article_id_params_tips' => 'Falsche Artikel-ID',
],
// 订单管理
'order' => [
'form_you_have_commented_tips' => 'Sie haben bereits kommentiert',
],
];
?>
\ No newline at end of file
<?php
// +----------------------------------------------------------------------
// | ShopXO 国内领先企业级B2C免费开源电商系统
// +----------------------------------------------------------------------
// | Copyright (c) 2011~2099 http://shopxo.net All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://opensource.org/licenses/mit-license.php )
// +----------------------------------------------------------------------
// | Author: Devil
// +----------------------------------------------------------------------
/**
* 模块语言包-法语
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @datetime 2016-12-01T21:51:08+0800
*/
return [
// 基础公共
'token_error_tips' => 'Token illégal',
// 文章
'article' => [
'article_no_data_tips' => 'Article inexistant ou supprimé',
'article_id_params_tips' => 'Lid de larticle est erroné',
],
// 订单管理
'order' => [
'form_you_have_commented_tips' => 'Vous avez commenté',
],
];
?>
\ No newline at end of file
<?php
// +----------------------------------------------------------------------
// | ShopXO 国内领先企业级B2C免费开源电商系统
// +----------------------------------------------------------------------
// | Copyright (c) 2011~2099 http://shopxo.net All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://opensource.org/licenses/mit-license.php )
// +----------------------------------------------------------------------
// | Author: Devil
// +----------------------------------------------------------------------
/**
* 模块语言包-意大利语
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @datetime 2016-12-01T21:51:08+0800
*/
return [
// 基础公共
'token_error_tips' => 'token illegale',
// 文章
'article' => [
'article_no_data_tips' => 'Larticolo non esiste o è stato soppresso',
'article_id_params_tips' => 'ID articolo errato',
],
// 订单管理
'order' => [
'form_you_have_commented_tips' => 'Avete già commentato',
],
];
?>
\ No newline at end of file
<?php
// +----------------------------------------------------------------------
// | ShopXO 国内领先企业级B2C免费开源电商系统
// +----------------------------------------------------------------------
// | Copyright (c) 2011~2099 http://shopxo.net All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://opensource.org/licenses/mit-license.php )
// +----------------------------------------------------------------------
// | Author: Devil
// +----------------------------------------------------------------------
/**
* 模块语言包-日语
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @datetime 2016-12-01T21:51:08+0800
*/
return [
// 基础公共
'token_error_tips' => 'トークン不正',
// 文章
'article' => [
'article_no_data_tips' => '記事が存在しないか削除されました',
'article_id_params_tips' => '文章IDに誤りがある',
],
// 订单管理
'order' => [
'form_you_have_commented_tips' => 'あなたはコメントしました',
],
];
?>
\ No newline at end of file
<?php
// +----------------------------------------------------------------------
// | ShopXO 国内领先企业级B2C免费开源电商系统
// +----------------------------------------------------------------------
// | Copyright (c) 2011~2099 http://shopxo.net All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://opensource.org/licenses/mit-license.php )
// +----------------------------------------------------------------------
// | Author: Devil
// +----------------------------------------------------------------------
/**
* 模块语言包-韩语
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @datetime 2016-12-01T21:51:08+0800
*/
return [
// 基础公共
'token_error_tips' => 'token 불법',
// 文章
'article' => [
'article_no_data_tips' => '문서가 없거나 삭제됨',
'article_id_params_tips' => '기사 ID가 잘못되었습니다.',
],
// 订单管理
'order' => [
'form_you_have_commented_tips' => '댓글 달아주셨어요.',
],
];
?>
\ No newline at end of file
<?php
// +----------------------------------------------------------------------
// | ShopXO 国内领先企业级B2C免费开源电商系统
// +----------------------------------------------------------------------
// | Copyright (c) 2011~2099 http://shopxo.net All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://opensource.org/licenses/mit-license.php )
// +----------------------------------------------------------------------
// | Author: Devil
// +----------------------------------------------------------------------
/**
* 模块语言包-荷兰语
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @datetime 2016-12-01T21:51:08+0800
*/
return [
// 基础公共
'token_error_tips' => 'Illegale token',
// 文章
'article' => [
'article_no_data_tips' => 'Artikel bestaat niet of is geschrapt',
'article_id_params_tips' => 'Foute artikel-ID',
],
// 订单管理
'order' => [
'form_you_have_commented_tips' => 'U heeft al commentaar gegeven',
],
];
?>
\ No newline at end of file
<?php
// +----------------------------------------------------------------------
// | ShopXO 国内领先企业级B2C免费开源电商系统
// +----------------------------------------------------------------------
// | Copyright (c) 2011~2099 http://shopxo.net All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://opensource.org/licenses/mit-license.php )
// +----------------------------------------------------------------------
// | Author: Devil
// +----------------------------------------------------------------------
/**
* 模块语言包-瑞典语
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @datetime 2016-12-01T21:51:08+0800
*/
return [
// 基础公共
'token_error_tips' => 'Olaglig token',
// 文章
'article' => [
'article_no_data_tips' => 'Artikel finns inte eller har utgått',
'article_id_params_tips' => 'Felaktigt artikelID',
],
// 订单管理
'order' => [
'form_you_have_commented_tips' => 'Du har redan kommenterat',
],
];
?>
\ No newline at end of file
<?php
// +----------------------------------------------------------------------
// | ShopXO 国内领先企业级B2C免费开源电商系统
// +----------------------------------------------------------------------
// | Copyright (c) 2011~2099 http://shopxo.net All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://opensource.org/licenses/mit-license.php )
// +----------------------------------------------------------------------
// | Author: Devil
// +----------------------------------------------------------------------
/**
* 模块语言包-泰语
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @datetime 2016-12-01T21:51:08+0800
*/
return [
// 基础公共
'token_error_tips' => 'โทเคนผิดกฎหมาย',
// 文章
'article' => [
'article_no_data_tips' => 'บทความไม่มีอยู่หรือถูกลบไปแล้ว',
'article_id_params_tips' => 'รหัสบทความผิดพลาด',
],
// 订单管理
'order' => [
'form_you_have_commented_tips' => 'คุณได้แสดงความคิดเห็น',
],
];
?>
\ No newline at end of file
此差异已折叠。
...@@ -57,7 +57,7 @@ return [ ...@@ -57,7 +57,7 @@ return [
'index' => [ 'index' => [
'banner_right_already_login_first' => 'Hi,', 'banner_right_already_login_first' => 'Hi,',
'banner_right_not_login_first' => '您好,歡迎來到', 'banner_right_not_login_first' => '您好,歡迎來到',
'banner_right_article_title' => '新聞頭條', 'banner_right_article_title' => '資訊頭條',
'design_browser_seo_title' => '首頁設計', 'design_browser_seo_title' => '首頁設計',
], ],
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
...@@ -57,7 +57,7 @@ return [ ...@@ -57,7 +57,7 @@ return [
'index' => [ 'index' => [
'banner_right_already_login_first' => 'Hi,', 'banner_right_already_login_first' => 'Hi,',
'banner_right_not_login_first' => '您好,欢迎来到', 'banner_right_not_login_first' => '您好,欢迎来到',
'banner_right_article_title' => '新闻头条', 'banner_right_article_title' => '资讯头条',
'design_browser_seo_title' => '首页设计', 'design_browser_seo_title' => '首页设计',
], ],
......
...@@ -1078,7 +1078,7 @@ return [ ...@@ -1078,7 +1078,7 @@ return [
// 删除操作 // 删除操作
'delete_super_admin_not_tips' => '超級管理員不可删除', 'delete_super_admin_not_tips' => '超級管理員不可删除',
// 登录 // 登录
'login_verify_send_last_title' => ' - 管理员登录', 'login_verify_send_last_title' => ' - 管理員登錄',
], ],
// 协议 // 协议
'agreement' => [ 'agreement' => [
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册