From 65dd8e3e6aff5d7225095402cecf8a5da62a0f7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E4=B8=B9=E5=8D=8E?= <14641717+yang-danhua@user.noreply.gitee.com> Date: Wed, 4 Jun 2025 14:25:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=92=A4=E9=94=80=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/config/lang.php | 1 - app/index/controller/Product.php | 4 +- app/index/controller/TopicNas.php | 2 +- app/index/lang/en-us/mobile.php | 3 + app/index/lang/en-us/pc.php | 395 +++++++++--------- app/index/lang/zh-cn/pc.php | 226 ---------- app/index/view/pc/about_us/culture.html | 2 +- app/index/view/pc/about_us/introduction.html | 8 +- app/index/view/pc/about_us/mileage.html | 6 +- app/index/view/pc/about_us/policy.html | 12 +- app/index/view/pc/article/detail.html | 18 +- app/index/view/pc/attachment/index.html | 12 +- app/index/view/pc/attachment/video.html | 8 +- app/index/view/pc/contact_us/bulkbuy.html | 34 +- app/index/view/pc/contact_us/distributor.html | 38 +- app/index/view/pc/contact_us/index.html | 2 +- app/index/view/pc/contact_us/message.html | 22 +- app/index/view/pc/index/index.html | 22 +- app/index/view/pc/product/category.html | 2 +- app/index/view/pc/product/detail.html | 36 +- app/index/view/pc/public/footer.html | 4 +- app/index/view/pc/public/header.html | 8 +- app/index/view/pc/public/nas_footer.html | 4 +- app/index/view/pc/topic_nas/cooperation.html | 4 +- app/index/view/pc/topic_nas/download.html | 4 +- app/index/view/pc/topic_nas/help.html | 8 +- app/index/view/pc/topic_nas/help_detail.html | 6 +- app/index/view/pc/topic_nas/index.html | 4 +- 28 files changed, 329 insertions(+), 566 deletions(-) delete mode 100644 app/index/lang/zh-cn/pc.php diff --git a/app/index/config/lang.php b/app/index/config/lang.php index ee8705b9..980ab80c 100644 --- a/app/index/config/lang.php +++ b/app/index/config/lang.php @@ -22,7 +22,6 @@ return [ app()->getAppPath() . '/lang/en-us/' . (request()->isMobile() ? 'mobile' : 'pc') . '.php', app()->getAppPath() . '/lang/en-us/validate.php', ], - 'zh-cn' => app()->getAppPath() . '/lang/zh-cn/' . (request()->isMobile() ? 'mobile' : 'pc') . '.php', ], // Accept-Language转义为对应语言包名称 'accept_language' => [ diff --git a/app/index/controller/Product.php b/app/index/controller/Product.php index 74ea6b86..666043a4 100644 --- a/app/index/controller/Product.php +++ b/app/index/controller/Product.php @@ -452,9 +452,9 @@ class Product extends Common 'message' => $post['message'], ]); if ($ret->isEmpty()) { - return error(lang('product_detail.send_fail')); + return error(lang('提交成功')); } - return success(lang('product_detail.send_success')); + return success(lang('提交失败')); } /** diff --git a/app/index/controller/TopicNas.php b/app/index/controller/TopicNas.php index 2450175d..4ad0a561 100644 --- a/app/index/controller/TopicNas.php +++ b/app/index/controller/TopicNas.php @@ -226,7 +226,7 @@ class TopicNas extends Common View::assign('article', $article); // 获取文章分类及文章数据 - $parent = ArticleCategoryModel::uniqueLabel('CATEGORY_681182e0a4529')->value('id'); + $parent = ArticleCategoryModel::uniqueLabel('CATEGORY_681182e0a4529')->language($this->lang_id)->value('id'); $article_categorys = ArticleCategoryModel::with(['article' => function ($query) { $query->field(['id', 'title', 'category_id']); }]) diff --git a/app/index/lang/en-us/mobile.php b/app/index/lang/en-us/mobile.php index a4f83ffd..288f2120 100644 --- a/app/index/lang/en-us/mobile.php +++ b/app/index/lang/en-us/mobile.php @@ -11,8 +11,11 @@ return [ '联系方式' => 'Contact', // 返回文本 + '提交成功' => 'success', + '提交失败' => 'fail', '信息已成功提交!' => 'Add Success!', '信息提交失败!' => 'Add Fail!', + '当前选定语言的采购可选品类配置出错' => 'Current language configuration of purchase optional categories is incorrect', // 首页 'index/index' => [ diff --git a/app/index/lang/en-us/pc.php b/app/index/lang/en-us/pc.php index e0452af2..344f4b85 100644 --- a/app/index/lang/en-us/pc.php +++ b/app/index/lang/en-us/pc.php @@ -1,226 +1,213 @@ [ - 'product_categorys' => 'Products', - 'store' => 'Store' + '产品列表' => 'Products', + '店铺' => 'Store', + '搜索记录' => 'Search History', + '热销产品' => 'Popular Products', + '产品' => 'Product', + '联系我们' => 'Contact', + + // 返回文本 + '提交成功' => 'success', + '提交失败' => 'fail', + '信息已成功提交!' => 'Add Success!', + '信息提交失败!' => 'Add Fail!', + '当前选定语言的采购可选品类配置出错' => 'Current language configuration of purchase optional categories is incorrect', + + // 首页 + 'index/index' => [ + '查看所有' => 'View All', + '明星产品/热点产品' => 'Featured Products', + '了解更多' => 'Learn More', + 'ORICO 技术' => 'ORICO Technology', + '强大功能、简单使用' => 'Designed to be just as easy to learn as iPhone.Chatting with friends.', + '常见问题' => 'FAQ', + '回答您最关心的问题' => 'What are you most concerned about', + '客服团队的工作时间:周一到周五,早9点到晚6点 平均应答时间:24小时内' => 'Our customer support is available Manday to Friday 9am600pmAverage arswer time 24h', ], - 'header_search' => [ - 'history' => 'Search History', - 'hot_product' => 'Popular Products', + + // 文章详情页 + 'article/detail' => [ + '分享' => 'SHARE', + '留言' => 'Leave a Reply', + '名称' => 'Name', + '电子邮箱' => 'Email', + '您的电子邮件地址不会被公开' => 'Your email address will not be pulished.', + '留言内容' => 'Comment', + '提交留言' => 'POST COMMENT', + '你可能还喜欢' => 'Recommended for you', + '链接复制成功' => 'Link copied successfully', ], - 'footer_navigation' => [ - 'product_categorys' => 'Product' + + // 附件页 - 软件下载 + 'attachment/index' => [ + '软件和驱动程序' => 'Software and Drivers', + '视频' => 'Videos', + '支持型号' => 'Supported Models', + '支持系统' => 'Supported Systems', + '搜索型号' => 'Search model', + '查询无结果!' => 'No Result!', ], - 'footer_contact' => 'Contact', - 'index' => [ - 'featured_products' => 'Featured Products', - 'view_all' => 'View All', - 'learn_more' => 'Learn More', - 'orico_technology' => 'ORICO Technology', - 'orico_technology_desc' => 'Designed to be just as easy to learn as iPhone.Chatting with friends.', - 'faq' => 'FAQ', - 'faq_short_desc' => 'What are you most concerned about', - 'faq_desc' => 'Our customer support is available Manday to Friday 9am600pmAverage arswer time 24h', + + // 附件页 - 视频 + 'attachment/video' => [ + '软件和驱动程序' => 'Software and Drivers', + '搜索型号' => 'Search model', + '视频' => 'Videos', + '查询无此视频!' => 'No Video!', ], - 'article' => [ - 'detail_share' => 'SHARE', - 'detail_leave_reply' => 'Leave a Reply', - 'detail_leave_reply_name' => 'Name', - 'detail_leave_reply_email' => 'Email', - 'detail_leave_reply_email_tip' => 'Your email address will not be pulished.', - 'detail_leave_reply_comment' => 'Comment', - 'detail_leave_reply_submit' => 'POST COMMENT', - 'detail_recommend' => 'Recommended for you', + + // 关于我们 - 品牌介绍 + 'aboutus/introduction' => [ + '品牌介绍' => 'Introduction of the Brand', + '选择我们的理由' => 'Why Choose Us', + '为您提供专属定制服务' => 'How We Can Help with Customization', + '对于不同的情况' => 'For Different Situation', ], - 'attachment' => [ - 'software_drives' => 'Software and Drivers', - 'video' => 'Videos', - 'support_model' => 'Supported Models', - 'support_platform' => 'Supported Systems', - 'search_placeholder' => 'Search model', - 'no_data' => 'No Result!', - 'no_video' => 'No Video!', + + // 关于我们 - 品牌历程 + 'aboutus/mileage' => [ + 'ORICO荣耀' => 'Our Achievement', + '品牌里程' => 'Brand Events', + '品牌活动' => 'Tech Development', ], - 'aboutus_introduction' => [ - 'title' => 'Introduction of the Brand', - 'section_why_title' => 'Why Choose Us', - 'section_service_title' => 'How We Can Help with Customization', - 'section_difference_title' => 'For Different Situation', + + // 关于我们 - 售后政策 + 'aboutus/policy' => [ + '售后政策_注意事项' => 'After-Sales Policy', + '售后政策' => 'After-sale Policy', + 'ORICO/奥睿科商城为您提供七天包退、15天换新、1年保修、终身维护的服务承诺' => 'ORICO commits to provide 7-day Refund, 15-day Exchange, 1-year Quality Warranty. ', + '为了保障您的合法权益,敬请关注以下信息' => 'For your own benefits, please mind the following information', + '为了得到深圳市元创时代科技有限公司给予您的“包修、包换、包退”的权益,请您:' => 'For a smooth return and refund, quality warranty, please follow these steps:', + '特别说明' => 'ORICO is not liable for:' ], - 'aboutus_mileage' => [ - 'achievement' => 'Our Achievement', - 'events' => 'Brand Events', - 'development' => 'Tech Development', + + // 关于我们 - 文化介绍 + 'aboutus/culture' => [ + '文化介绍' => 'Culture Introduction', ], - 'aboutus_policy' => [ - 'title' => 'After-Sales Policy', - 'banner_1_title' => 'After-sale Policy', - 'banner_1_desc' => 'ORICO commits to provide 7-day Refund, 15-day Exchange, 1-year Quality Warranty. ', - 'banner_3_title' => 'For your own benefits, please mind the following information', - 'banner_3_desc' => 'For a smooth return and refund, quality warranty, please follow these steps:', - 'banner_5_title' => 'ORICO is not liable for:' + + // 联系我们 + 'contactus/index' => [ + '客户服务' => 'contact us', ], - 'contact_index' => [ - 'title' => 'contact us', + + // 联系我们 - 留言 + 'contactus/message' => [ + '联系我们' => 'contact us', + '我们的信息' => 'Our Information', + '提交您的问题' => 'Send Us Your Question', + '姓名' => 'Yuor Name', + '请输入你的姓名' => 'This is your placeholder text', + '电子邮箱' => 'Your Email', + '请输入你的邮箱' => 'This is your placeholder text', + '您的问题' => 'Your Message', + '请输入你的问题' => 'This is your placeholder text', + '发送' => 'SEND', + '成为经销商' => 'Become a Distributor', ], - 'contact_message' => [ - 'title' => 'contact us', - 'our_information' => 'Our Information', - 'send_question' => 'Send Us Your Question', - 'form_name' => 'Yuor Name', - 'form_name_placeholder' => 'This is your placeholder text', - 'form_email' => 'Your Email', - 'form_email_placeholder' => 'This is your placeholder text', - 'form_question' => 'Your Message', - 'form_question_placeholder' => 'This is your placeholder text', - 'form_submit' => 'SEND', - 'become_a_distributor' => 'Become a Distributor', - // 验证器中文本 - 'validate_name_required' => 'Name is required', - 'validate_name_max' => 'Name cannot exceed 64 characters', - 'validate_email_required' => 'Email is required', - 'validate_email_email' => 'Email format is incorrect', - 'validate_email_max' => 'Email cannot exceed 128 characters', - 'validate_content_required' => 'Message is required', - 'validate_content_max' => 'Message cannot exceed 1024 characters', - // 返回文本 - 'send_success' => 'success', - 'send_fail' => 'fail', + + // 联系我们 - 成为经销商 + 'contactus/distributor' => [ + '成为经销商' => 'To Be Our Distributor', + '准备好加入我们了吗?' => 'Ready to join us?', + '在下面输入您的详细信息,我们的销售团队将在2个工作日内回复您。' => 'Enter your details below and our Sales team will get back to you within 2 business days.', + '公司名称' => 'Company Name', + '请输入公司名称' => 'Enter your Company Name', + '电子邮箱' => 'Contact Email', + '请输入邮箱' => 'Enter your Email', + '电话号码' => 'Phone Number', + '请输入电话号码' => 'This is your placeholder text', + '业务类型' => 'Type of Business', + '在线商店网址' => 'Online Shop URL', + '请输入网址' => 'This is your placeholder URL', + '企业规模' => 'Enterprise size', + '公司地址' => 'Company Address', + '请输入地址' => 'Enter Address', + '留言' => 'Message', + '请输入留言' => 'Enter your message', + '提交' => 'SUBMIT', ], - 'contact_distributor' => [ - 'title' => 'Become a Distributor', - 'section_title' => 'To Be Our Distributor', - 'section_desc_1' => 'Ready to join us?', - 'section_desc_2' => 'Enter your details below and our Sales team will get back to you within 2 business days.', - 'form_corp_name' => 'Company Name', - 'form_corp_name_placeholder' => 'Enter your Company Name', - 'form_email' => 'Contact Email', - 'form_email_placeholder' => 'Enter your Email', - 'form_phone' => 'Phone Number', - 'form_phone_placeholder' => 'This is your placeholder text', - 'form_business_type' => 'Type of Business', - 'form_online_shop_url' => 'Online Shop URL', - 'form_online_shop_url_placeholder' => 'This is your placeholder URL', - 'form_enterprise_size' => 'Enterprise size', - 'form_corp_address' => 'Company Address', - 'form_corp_address_placeholder' => 'Enter Address', - 'form_message' => 'Message', - 'form_message_placeholder' => 'Enter your message', - 'form_submit' => 'SUBMIT', - // 验证器中文本 - 'validate_name_required' => 'Company Name is required', - 'validate_name_max' => 'Company Name cannot exceed 64 characters', - 'validate_email_required' => 'Email is required', - 'validate_email_email' => 'Email format is incorrect', - 'validate_email_max' => 'Email cannot exceed 128 characters', - 'validate_phone_required' => 'Phone Number is required', - 'validate_phone_max' => 'Phone Number cannot exceed 64 characters', - 'validate_business_type_required' => 'Type of Business is required', - 'validate_business_type_max' => 'Type of Business cannot exceed 128 characters', - 'validate_enterprise_size_required' => 'Enterprise size is required', - 'validate_enterprise_size_max' => 'Enterprise size cannot exceed 128 characters', - 'validate_address_required' => 'Company Address is required', - 'validate_address_max' => 'Company Address cannot exceed 255 characters', - 'validate_message_required' => 'Message is required', - // 返回文本 - 'send_success' => 'Add Success!', - 'send_fail' => 'Add Fail!', + + // 联系我们 - 批量购买 + 'contactus/bulkbuy' => [ + '商务订单' => 'Bulk Buy', + '批量购买' => 'Bulk Buy', + '公司名称' => 'Company Name', + '法定营业名称' => 'Legal business name', + '官方网站' => 'Official website', + '请粘贴网址' => 'Please paste the URL', + '姓名' => 'Your Name', + '名' => 'First name', + '姓' => 'Last name', + '电子邮箱' => 'Email', + '请输入邮箱' => 'Please enter your email', + '电话号码' => 'Phone Numbe', + '请输入电话号码' => 'Please enter your phone number', + '您对哪个产品品类感兴趣?' => 'Products you are interested in?', + '留言' => 'Message', + '请输入留言' => 'Methods used', + '提交' => 'SUBMIT', ], - 'contact_bulkbuy' => [ - 'title' => '', - 'form_title' => 'Bulk Buy', - 'form_corp_name_label' => 'Company Name', - 'form_corp_name_placeholder' => 'Legal business name', - 'form_website_url_label' => 'Official website', - 'form_website_url_placeholder' => 'Please paste the URL', - 'form_username_label' => 'Your Name', - 'form_firstname_placeholder' => 'First name', - 'form_lastname_placeholder' => 'Last name', - 'form_email_label' => 'Email', - 'form_email_placeholder' => 'Please enter your email', - 'form_phone_label' => 'Phone Numbe', - 'form_phone_placeholder' => 'Please enter your phone number', - 'form_checkbox_label' => 'Products you are interested in?', - 'form_message_label' => 'Message', - 'form_message_placeholder' => 'Methods used', - 'form_submit' => 'SUBMIT', - // 验证器中文本 - 'validate_corp_name_require' => 'Company Name is required', - 'validate_corp_name_max' => 'Company Name cannot exceed 128 characters', - 'validate_url_max' => 'URL cannot exceed 255 characters', - 'validate_first_name_require' => 'First Name is required', - 'validate_first_name_max' => 'First Name cannot exceed 64 characters', - 'validate_last_name_require' => 'Last Name is required', - 'validate_last_name_max' => 'Last Name cannot exceed 64 characters', - 'validate_email_require' => 'Email is required', - 'validate_email_email' => 'Email format is incorrect', - 'validate_email_max' => 'Email cannot exceed 128 characters', - 'validate_phone_max' => 'Phone Number cannot exceed 32 characters', - 'validate_interested_max' => 'Interested in cannot exceed 255 characters', - 'validate_message_require' => 'Message is required', - 'validate_message_max' => 'Message cannot exceed 1024 characters', - // 返回文本 - 'send_success' => 'Add Success!', - 'send_fail' => 'Add Fail!', + + // 产品 - 产品详情页 + 'product/detail' => [ + '产品详情' => 'Product Description', + '相关产品' => 'Related Products', + '发送查询' => 'Send Inquiry', + '姓名' => 'Name', + '请输入您的姓' => 'First name', + '请输入您的名' => 'Last name', + '公司/组织' => 'Company/Organization', + '电子邮箱' => 'Email Address', + '电话号码' => 'Phone Number', + '国家' => 'Country', + '请选择所属国家' => '--- Select your country ---', + '行业' => 'Industry', + '询问内容' => 'Inquiry', + '提交' => 'SUBMIT', ], - 'product_newpro' => [ - 'view_all' => 'View all' + + // 产品 - 分类 + 'product/category' => [ + '查看全部' => 'View All', ], - 'product_detail' => [ - 'detail_section_title' => 'Product Description', - 'related_products' => 'Related Products', - 'display_form' => 'Send Inquiry', - 'form_name' => 'Name', - 'form_first_name_placeholder' => 'First name', - 'form_last_name_placeholder' => 'Last name', - 'form_corp' => 'Company/Organization', - 'form_email' => 'Email Address', - 'form_phone' => 'Phone Number', - 'form_country' => 'Country', - 'form_country_placeholder' => '--- Select your country ---', - 'form_industry' => 'Industry', - 'form_inquiry' => 'Inquiry', - 'form_submit' => 'SUBMIT', - // 验证器中文本 - 'validate_first_name_require' => 'First Name is required', - 'validate_first_name_max' => 'First Name cannot exceed 64 characters', - 'validate_last_name_require' => 'Last Name is required', - 'validate_last_name_max' => 'Last Name cannot exceed 64 characters', - 'validate_email_require' => 'Email is required', - 'validate_email_email' => 'Email format is incorrect', - 'validate_email_max' => 'Email cannot exceed 128 characters', - 'validate_phone_max' => 'Phone Number cannot exceed 32 characters', - 'validate_country_name_require' => 'Country is required', - 'validate_country_name_max' => 'Country cannot exceed 128 characters', - 'validate_corp_name_require' => 'Company/Organization is required', - 'validate_corp_name_max' => 'Company/Organization cannot exceed 128 characters', - 'validate_industry_require' => 'Industry is required', - 'validate_industry_max' => 'Industry cannot exceed 64 characters', - 'validate_message_require' => 'Message is required', - 'validate_message_max' => 'Message cannot exceed 1024 characters', - // 返回文本 - 'send_success' => 'Add Success!', - 'send_fail' => 'Add Fail!', + + // nas主题 - 首页 + 'topicnas/index' => [ + '网络存储解决方案' => 'Network Storage Solutions', + '配套软件' => 'Software', ], - 'topic_nas_index' => [ - 'solution_section_title' => 'ORICO网络存储解决方案', - 'software_section_title' => 'NAS配套软件', + + // nas主题 - 客户合作页 + 'topicnas/cooperation' => [ + '合作优势' => 'Cooperation advantages', + '期待与您的合作' => 'Looking forward to working with you' ], - 'topic_nas_cooperation' => [ - 'advantages_section_title' => 'Cooperation advantages', - 'contacts_section_title' => 'Looking forward to working with you' + + // nas主题 - 下载页 + 'topicnas/download' => [ + 'CyberData赛博云空间' => 'CyberData', + 'Weline微链接' => 'Weline' ], - 'topic_nas_download' => [ - 'cyber_tab_title' => 'CyberData', - 'weline_tab_title' => 'Weline' + + // nas主题 - 帮助页 + 'topicnas/help' => [ + '帮助中心' => 'Quick Start Guide', + '请输入搜索关键字,如安装赛博云空间,影视库' => 'What are you looking for?', + '使用教程' => 'User\' s Guide', + '查看更多' => 'Click to view more', + '联系我们' => 'Contact US', + '目录' => 'Content' + ], + + // nas主题 - 帮助详情页 + 'topicnas/helpdetail' => [ + '帮助中心' => 'Quick Start Guide', + '请输入搜索关键字,如安装赛博云空间,影视库' => 'What are you looking for?', + '使用教程' => 'User\' s Guide', + '联系我们' => 'Contact US', + '目录' => 'Content' ], - 'topic_nas_help' => [ - 'module_title' => 'Quick Start Guide', - 'search_input_placeholder' => 'What are you looking for?', - 'article_section_title' => 'User\' s Guide', - 'contact_section_title' => 'Contact US', - 'view_more' => 'Click to view more', - 'content' => 'Content' - ] ]; \ No newline at end of file diff --git a/app/index/lang/zh-cn/pc.php b/app/index/lang/zh-cn/pc.php deleted file mode 100644 index a0f867e1..00000000 --- a/app/index/lang/zh-cn/pc.php +++ /dev/null @@ -1,226 +0,0 @@ - [ - 'product_categorys' => '产品列表', - 'store' => '店铺' - ], - 'header_search' => [ - 'hot_product' => '热销产品', - 'history' => '搜索记录', - ], - 'footer_navigation' => [ - 'product_categorys' => '产品' - ], - 'footer_contact' => '联系我们', - 'index' => [ - 'featured_products' => '明星产品/热点产品', - 'view_all' => '查看所有', - 'learn_more' => '了解更多', - 'orico_technology' => 'ORICO 技术', - 'orico_technology_desc' => '强大功能、简单使用', - 'faq' => '常见问题', - 'faq_short_desc' => '回答您最关心的问题', - 'faq_desc' => '客服团队的工作时间:周一到周五,早9点到晚6点 平均应答时间:24小时内', - ], - 'article' => [ - 'detail_share' => '分享', - 'detail_leave_reply' => '留言', - 'detail_leave_reply_name' => '名称', - 'detail_leave_reply_email' => '电子邮箱', - 'detail_leave_reply_email_tip' => '您的电子邮件地址不会被公开', - 'detail_leave_reply_comment' => '留言', - 'detail_leave_reply_submit' => '提交留言', - 'detail_recommend' => '你可能还喜欢', - ], - 'attachment' => [ - 'software_drives' => '软件和驱动程序', - 'video' => '视频', - 'support_model' => '支持型号', - 'support_platform' => '支持系统', - 'search_placeholder' => '搜索型号', - 'no_data' => '查询无结果!', - 'no_video' => '查询无此视频!', - ], - 'aboutus_introduction' => [ - 'title' => '品牌介绍', - 'section_why_title' => '选择我们的理由', - 'section_service_title' => '为您提供专属定制服务', - 'section_difference_title' => '对于不同的情况', - ], - 'aboutus_mileage' => [ - 'achievement' => 'ORICO荣耀', - 'events' => '品牌里程', - 'development' => '品牌活动', - ], - 'aboutus_policy' => [ - 'title' => '售后政策_注意事项', - 'banner_1_title' => '售后政策', - 'banner_1_desc' => 'ORICO/奥睿科商城为您提供七天包退、15天换新、1年保修、终身维护的服务承诺', - 'banner_3_title' => '为了保障您的合法权益,敬请关注以下信息', - 'banner_3_desc' => '为了得到深圳市元创时代科技有限公司给予您的“包修、包换、包退”的权益,请您:', - 'banner_5_title' => '特别说明' - ], - 'contact_index' => [ - 'title' => '客户服务', - ], - 'contact_message' => [ - 'title' => '联系我们', - 'our_information' => '我们的信息', - 'send_question' => '提交您的问题', - 'form_name' => '姓名', - 'form_name_placeholder' => '请输入你的姓名', - 'form_email' => '电子邮箱', - 'form_email_placeholder' => '请输入你的邮箱', - 'form_question' => '您的问题', - 'form_question_placeholder' => '请输入你的问题', - 'form_submit' => '发送', - 'become_a_distributor' => '成为经销商', - // 验证器中文本 - 'validate_name_required' => '姓名不能为空', - 'validate_name_max' => '姓名不能超过64个字符', - 'validate_email_required' => '邮箱不能为空', - 'validate_email_email' => '邮箱格式不正确', - 'validate_email_max' => '邮箱不能超过128个字符', - 'validate_content_required' => '问题不能为空', - 'validate_content_max' => '问题不能超过1024个字符', - // 返回文本 - 'send_success' => '提交成功', - 'send_fail' => '提交失败', - ], - 'contact_distributor' => [ - 'title' => '成为经销商', - 'section_title' => '成为经销商', - 'section_desc_1' => '准备好加入我们了吗?', - 'section_desc_2' => '在下面输入您的详细信息,我们的销售团队将在2个工作日内回复您。', - 'form_corp_name' => '公司名称', - 'form_corp_name_placeholder' => '请输入公司名称', - 'form_email' => '电子邮箱', - 'form_email_placeholder' => '请输入邮箱', - 'form_phone' => '电话号码', - 'form_phone_placeholder' => '请输入电话号码', - 'form_business_type' => '业务类型', - 'form_online_shop_url' => '在线商店网址', - 'form_online_shop_url_placeholder' => '请输入网址', - 'form_enterprise_size' => '企业规模', - 'form_corp_address' => '公司地址', - 'form_corp_address_placeholder' => '请输入地址', - 'form_message' => '留言', - 'form_message_placeholder' => '请输入留言', - 'form_submit' => '提交', - // 验证器中文本 - 'validate_name_required' => '公司名称不能为空', - 'validate_name_max' => '公司名称不能超过64个字符', - 'validate_email_required' => '邮箱不能为空', - 'validate_email_email' => '邮箱格式不正确', - 'validate_email_max' => '邮箱不能超过128个字符', - 'validate_phone_required' => '电话号码不能为空', - 'validate_phone_max' => '电话号码不能超过64个字符', - 'validate_business_type_required' => '业务类型不能为空', - 'validate_business_type_max' => '业务类型不能超过128个字符', - 'validate_enterprise_size_required' => '企业规模不能为空', - 'validate_enterprise_size_max' => '企业规模不能超过128个字符', - 'validate_address_required' => '公司地址不能为空', - 'validate_address_max' => '公司地址不能超过255个字符', - 'validate_message_required' => '留言内容不能为空', - // 返回文本 - 'send_success' => '信息已成功提交', - 'send_fail' => '信息提交失败', - ], - 'contact_bulkbuy' => [ - 'title' => '商务订单', - 'form_title' => '批量购买', - 'form_corp_name_label' => '公司名称', - 'form_corp_name_placeholder' => '法定营业名称', - 'form_website_url_label' => '官方网站', - 'form_website_url_placeholder' => '请粘贴网址', - 'form_username_label' => '姓名', - 'form_firstname_placeholder' => '名', - 'form_lastname_placeholder' => '姓', - 'form_email_label' => '电子邮箱', - 'form_email_placeholder' => '请输入邮箱', - 'form_phone_label' => '电话号码', - 'form_phone_placeholder' => '请输入电话号码', - 'form_checkbox_label' => '您对哪个产品品类感兴趣?', - 'form_message_label' => '留言', - 'form_message_placeholder' => '请输入留言', - 'form_submit' => '提交', - // 验证器中文本 - 'validate_corp_name_require' => '公司名称不能为空', - 'validate_corp_name_max' => '公司名称不能超过128个字符', - 'validate_url_max' => '网址不能超过255个字符', - 'validate_first_name_require' => '名不能为空', - 'validate_first_name_max' => '名不能超过64个字符', - 'validate_last_name_require' => '姓不能为空', - 'validate_last_name_max' => '姓不能超过64个字符', - 'validate_email_require' => '邮箱不能为空', - 'validate_email_email' => '邮箱格式不正确', - 'validate_email_max' => '邮箱不能超过128个字符', - 'validate_phone_max' => '电话号码不能超过32个字符', - 'validate_interested_max' => '感兴趣的产品种类不能超过255个字符', - 'validate_message_require' => '留言内容不能为空', - 'validate_message_max' => '留言内容不能超过1024个字符', - // 返回文本 - 'send_success' => '信息已成功提交', - 'send_fail' => '信息提交失败', - ], - 'product_newpro' => [ - 'view_all' => '查看全部' - ], - 'product_detail' => [ - 'detail_section_title' => '产品详情', - 'related_products' => '相关产品', - 'display_form' => '发送查询', - 'form_name' => '姓名', - 'form_first_name_placeholder' => '请输入您的姓', - 'form_last_name_placeholder' => '请输入您的名', - 'form_corp' => '公司/组织', - 'form_email' => '电子邮箱', - 'form_phone' => '电话号码', - 'form_country' => '国家', - 'form_country_placeholder' => '请选择所属国家', - 'form_industry' => '行业', - 'form_inquiry' => '询问内容', - 'form_submit' => '提交', - // 验证器中文本 - 'validate_first_name_require' => '名不能为空', - 'validate_first_name_max' => '名不能超过64个字符', - 'validate_last_name_require' => '姓不能为空', - 'validate_last_name_max' => '姓不能超过64个字符', - 'validate_email_require' => '邮箱不能为空', - 'validate_email_email' => '邮箱格式不正确', - 'validate_email_max' => '邮箱不能超过128个字符', - 'validate_phone_max' => '电话号码不能超过32个字符', - 'validate_country_name_require' => '国家不能为空', - 'validate_country_name_max' => '国家不能超过128个字符', - 'validate_corp_name_require' => '公司/组织不能为空', - 'validate_corp_name_max' => '公司/组织不能超过128个字符', - 'validate_industry_require' => '行业不能为空', - 'validate_industry_max' => '行业不能超过64个字符', - 'validate_message_require' => '询问内容不能为空', - 'validate_message_max' => '询问内容不能超过1024个字符', - // 返回文本 - 'send_success' => '信息已成功提交', - 'send_fail' => '信息提交失败', - ], - 'topic_nas_index' => [ - 'solution_section_title' => 'ORICO网络存储解决方案', - 'software_section_title' => 'NAS配套软件', - ], - 'topic_nas_cooperation' => [ - 'advantages_section_title' => '合作优势', - 'contacts_section_title' => '期待与您的合作' - ], - 'topic_nas_download' => [ - 'cyber_tab_title' => 'CyberData赛博云空间', - 'weline_tab_title' => 'Weline微链接' - ], - 'topic_nas_help' => [ - 'module_title' => '帮助中心', - 'search_input_placeholder' => '请输入搜索关键字,如安装赛博云空间,影视库', - 'article_section_title' => '使用教程', - 'contact_section_title' => '联系我们', - 'view_more' => '查看更多', - 'content' => '目录' - ] -]; \ No newline at end of file diff --git a/app/index/view/pc/about_us/culture.html b/app/index/view/pc/about_us/culture.html index fc94afe4..ee165929 100644 --- a/app/index/view/pc/about_us/culture.html +++ b/app/index/view/pc/about_us/culture.html @@ -1,6 +1,6 @@ {extend name="public/base" /} {block name="title"} -{notempty name=":lang('aboutus_culture.title')"}{:lang('aboutus_culture.title')} +{notempty name=":lang_i18n('文化介绍')"}{:lang_i18n('文化介绍')} {else/}{__BLOCK__}{/notempty} {/block} {block name="style"} diff --git a/app/index/view/pc/about_us/introduction.html b/app/index/view/pc/about_us/introduction.html index 5c5f9f53..7072781d 100644 --- a/app/index/view/pc/about_us/introduction.html +++ b/app/index/view/pc/about_us/introduction.html @@ -1,6 +1,6 @@ {extend name="public/base" /} {block name="title"} -{notempty name=":lang('aboutus_introduction.title')"}{:lang('aboutus_introduction.title')}{else/}{__BLOCK__}{/notempty} +{notempty name=":lang_i18n('品牌介绍')"}{:lang_i18n('品牌介绍')}{else/}{__BLOCK__}{/notempty} {/block} {block name="style"} @@ -14,7 +14,7 @@ {/notempty}
-

{:lang('aboutus_introduction.section_why_title')}

+

{:lang_i18n('选择我们的理由')}

{notempty name="why"} {volist name="why" id="wh"} @@ -28,7 +28,7 @@
-

{:lang('aboutus_introduction.section_service_title')}

+

{:lang_i18n('为您提供专属定制服务')}

{notempty name="service"} {volist name="service" id="se"}
@@ -45,7 +45,7 @@
-

{:lang('aboutus_introduction.section_difference_title')}

+

{:lang_i18n('对于不同的情况')}

{notempty name="difference"} {volist name="difference" id="diff"}
diff --git a/app/index/view/pc/about_us/mileage.html b/app/index/view/pc/about_us/mileage.html index 1449ed21..5451b5b3 100644 --- a/app/index/view/pc/about_us/mileage.html +++ b/app/index/view/pc/about_us/mileage.html @@ -7,7 +7,7 @@
-
{:lang('aboutus_mileage.achievement')}
+
{:lang_i18n('ORICO荣耀')}
{notempty name="achievement"}
{volist name="achievement" id="ac"} @@ -22,7 +22,7 @@
{notempty name="events"}
-
{:lang('aboutus_mileage.events')}
+
{:lang_i18n('品牌里程')}
    @@ -58,7 +58,7 @@
    {notempty name="development"}
    -
    {:lang('aboutus_mileage.development')}
    +
    {:lang_i18n('品牌活动')}
    {volist name="development" id="de"}
    diff --git a/app/index/view/pc/about_us/policy.html b/app/index/view/pc/about_us/policy.html index 0f44dd15..b59537e3 100644 --- a/app/index/view/pc/about_us/policy.html +++ b/app/index/view/pc/about_us/policy.html @@ -1,6 +1,6 @@ {extend name="public/base" /} {block name="title"} -{:lang('aboutus_policy.title')} +{:lang_i18n('售后政策_注意事项')} {/block} {block name="style"} @@ -18,8 +18,8 @@ {/notempty}
    {/notempty} -
    {:lang('aboutus_policy.banner_1_title')}
    -
    {:lang('aboutus_policy.banner_1_desc')}
    +
    {:lang_i18n('售后政策')}
    +
    {:lang_i18n('ORICO/奥睿科商城为您提供七天包退、15天换新、1年保修、终身维护的服务承诺')}
    {notempty name="policy.banner_1"} @@ -47,8 +47,8 @@
    {/volist} {/notempty} -
    {:lang('aboutus_policy.banner_3_title')}
    -
    {:lang('aboutus_policy.banner_3_desc')}
    +
    {:lang_i18n('为了保障您的合法权益,敬请关注以下信息')}
    +
    {:lang_i18n('为了得到深圳市元创时代科技有限公司给予您的“包修、包换、包退”的权益,请您:')}
    {notempty name="policy.banner_3"}
      @@ -72,7 +72,7 @@
    {/volist} {/notempty} -
    {:lang('aboutus_policy.banner_5_title')}
    +
    {:lang_i18n('特别说明')}
    {notempty name="policy.banner_5"}
      diff --git a/app/index/view/pc/article/detail.html b/app/index/view/pc/article/detail.html index a852fa02..2dba0bff 100644 --- a/app/index/view/pc/article/detail.html +++ b/app/index/view/pc/article/detail.html @@ -28,7 +28,7 @@
      {notempty name="share_config"} @@ -63,7 +63,7 @@
      -

      {:lang('article.detail_recommend')}

      +

      {:lang_i18n('你可能还喜欢')}

        @@ -131,7 +131,7 @@ input.select() if (document.execCommand('copy')) { document.execCommand('copy') - alert('链接复制成功') + alert("{:lang_i18n('链接复制成功')}") } document.body.removeChild(input) } diff --git a/app/index/view/pc/attachment/index.html b/app/index/view/pc/attachment/index.html index 02a9d114..7932f0ca 100644 --- a/app/index/view/pc/attachment/index.html +++ b/app/index/view/pc/attachment/index.html @@ -8,14 +8,14 @@
        - +
        @@ -46,9 +46,9 @@

        {$att.name}

        -

        {:lang('attachment.support_model')}:

        +

        {:lang_i18n('支持型号')}:

        {$att.applicable_to}

        -

        {:lang('attachment.support_platform')}:

        +

        {:lang_i18n('支持系统')}:

        {$att.support_platform}

        {notempty name="att.attach"} @@ -64,7 +64,7 @@ {/volist}

        {$page|raw}
        {else/} -
        {:lang('attachment.no_data')}
        +
        {:lang_i18n('查询无结果!')}
        {/notempty}
        diff --git a/app/index/view/pc/attachment/video.html b/app/index/view/pc/attachment/video.html index 02302065..e03a15e3 100644 --- a/app/index/view/pc/attachment/video.html +++ b/app/index/view/pc/attachment/video.html @@ -8,13 +8,13 @@
        - +
        - +
        @@ -29,7 +29,7 @@ {/volist} {/notempty} -
        {:lang('attachment.video')}
        +
        {:lang_i18n('视频')}
        @@ -69,7 +69,7 @@ {/volist}
        {$page|raw}
        {else/} -
          {:lang('attachment.no_video')}
        +
          {:lang_i18n('查询无此视频!')}
        {/notempty}
        diff --git a/app/index/view/pc/contact_us/bulkbuy.html b/app/index/view/pc/contact_us/bulkbuy.html index 3d351454..2cfc09f7 100644 --- a/app/index/view/pc/contact_us/bulkbuy.html +++ b/app/index/view/pc/contact_us/bulkbuy.html @@ -1,6 +1,6 @@ {extend name="public/base" /} {block name="title"} -{notempty name=":lang('contact_bulkbuy.title')"}{:lang('contact_bulkbuy.title')}{else /}{__BLOCK__}{/notempty} +{notempty name=":lang_i18n('商务订单')"}{:lang_i18n('商务订单')}{else /}{__BLOCK__}{/notempty} {/block} {block name="style"} @@ -10,47 +10,47 @@
        -

        {:lang('contact_bulkbuy.form_title')}

        +

        {:lang_i18n('批量购买')}

        - - + +
        - - + +
        - - + +
        - +
        - - + +
        - - + +
        - +
        {notempty name="interested"} @@ -66,14 +66,14 @@
        - - + +
        -
        {:lang('contact_bulkbuy.form_submit')}
        +
        {:lang_i18n('提交')}
        diff --git a/app/index/view/pc/contact_us/distributor.html b/app/index/view/pc/contact_us/distributor.html index 103f3d00..c6893a16 100644 --- a/app/index/view/pc/contact_us/distributor.html +++ b/app/index/view/pc/contact_us/distributor.html @@ -1,6 +1,6 @@ {extend name="public/base" /} {block name="title"} -{:lang('contact_distributor.title')} +{:lang_i18n('成为经销商')} {/block} {block name="style"} @@ -9,9 +9,9 @@
        -

        {:lang('contact_distributor.section_title')}

        -

        {:lang('contact_distributor.section_desc_1')}

        -

        {:lang('contact_distributor.section_desc_2')}

        +

        {:lang_i18n('成为经销商')}

        +

        {:lang_i18n('准备好加入我们了吗?')}

        +

        {:lang_i18n('在下面输入您的详细信息,我们的销售团队将在2个工作日内回复您。')}

        @@ -21,23 +21,23 @@
        - - + +
        - - + +
        - - + +
        - +
        - - + +
        - + + +
        - - + +
        -
        {:lang('contact_distributor.form_submit')}
        +
        {:lang_i18n('提交')}
        diff --git a/app/index/view/pc/contact_us/index.html b/app/index/view/pc/contact_us/index.html index 3c8f6967..3b54de1d 100644 --- a/app/index/view/pc/contact_us/index.html +++ b/app/index/view/pc/contact_us/index.html @@ -1,6 +1,6 @@ {extend name="public/base" /} {block name="title"} -{:lang('contact_index.title')} +{:lang_i18n('客户服务')} {/block} {block name="style"} diff --git a/app/index/view/pc/contact_us/message.html b/app/index/view/pc/contact_us/message.html index e6b86972..d794eebe 100644 --- a/app/index/view/pc/contact_us/message.html +++ b/app/index/view/pc/contact_us/message.html @@ -1,5 +1,5 @@ {extend name="public/base" /} -{block name="title"}{:lang('contact_message.title')}{/block} +{block name="title"}{:lang_i18n('联系我们')}{/block} {block name="style"} {/block} @@ -15,7 +15,7 @@
        -
        {:lang('contact_message.our_information')}
        +
        {:lang_i18n('我们的信息')}
        {notempty name="our_information[0]"}
        {assign name="first_info" value="$our_information|array_shift" /} @@ -47,36 +47,36 @@ {/notempty}
        -
        {:lang('contact_message.send_question')}
        +
        {:lang_i18n('提交您的问题')}
        -
        {:lang('contact_message.form_name')}*
        +
        {:lang_i18n('姓名')}*
        - +
        -
        {:lang('contact_message.form_email')} *
        +
        {:lang_i18n('电子邮箱')} *
        - +
        -
        {:lang('contact_message.form_question')} *
        +
        {:lang_i18n('您的问题')} *
        - +
        -
        {:lang('contact_message.form_submit')}
        +
        {:lang_i18n('发送')}
        diff --git a/app/index/view/pc/index/index.html b/app/index/view/pc/index/index.html index 285ca03c..652da3eb 100644 --- a/app/index/view/pc/index/index.html +++ b/app/index/view/pc/index/index.html @@ -49,7 +49,7 @@

        {$topic.title}

        - {:lang('index.view_all')} + {:lang_i18n('查看所有')}
        @@ -57,7 +57,7 @@

        {$topic.title}

        - {:lang('index.view_all')} + {:lang_i18n('查看所有')}
        @@ -73,7 +73,7 @@ {notempty name="featured_products"}
        -

        {:lang('index.featured_products')}

        +

        {:lang_i18n('明星产品/热点产品')}

        {volist name="featured_products" id="product"} @@ -83,7 +83,7 @@
        {$product.name}
        {$product.short_name}
        - {:lang('index.learn_more')} > + {:lang_i18n('了解更多')} >
        {/volist}
        @@ -124,7 +124,7 @@ {/notempty}>{$scene.title}

        {$scene.desc|raw}

        - {:lang('index.learn_more')} > + {:lang_i18n('了解更多')} >
        @@ -133,8 +133,8 @@ {/notempty}
        -

        {:lang('index.orico_technology')}

        - {:lang('index.orico_technology_desc')} +

        {:lang_i18n('ORICO 技术')}

        + {:lang_i18n('强大功能、简单使用')}
        @@ -161,7 +161,7 @@ {/notempty}>{$story.title}
        {$story.desc|raw}
        - {:lang('index.learn_more')} > + {:lang_i18n('了解更多')} >
        {/volist} @@ -224,9 +224,9 @@ {notempty name="recommend_faq"}
        -

        {:lang('index.faq')}

        -

        {:lang('index.faq_short_desc')}

        -

        {:lang('index.faq_desc')}

        +

        {:lang_i18n('常见问题')}

        +

        {:lang_i18n('回答您最关心的问题')}

        +

        {:lang_i18n('客服团队的工作时间:周一到周五,早9点到晚6点 平均应答时间:24小时内')}

      @@ -129,7 +129,7 @@ {notempty name="product_related"}