Browse Source

优化翻译,优化拼写

gavin.chen 1 year ago
parent
commit
f159d8e7f2

+ 1 - 1
dev_tool/i18n_special_rule.json

@@ -1,5 +1,5 @@
 {
   "sale_email": "vinno@vinno.com",
-  "servide_email": "vinnoservide@vinno.com",
+  "service_email": "vinnoservice@vinno.com",
   "copyright": "@2017 Vinno Corporation. All rights reserved."
 }

+ 0 - 24
src/assets/imgs/svg_logos/android.svg

@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
-<svg fill="#000000" height="800px" width="800px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 
-	 viewBox="0 0 299.679 299.679" xml:space="preserve">
-<g id="XMLID_197_">
-	<path id="XMLID_221_" d="M181.122,299.679c10.02,0,18.758-8.738,18.758-18.758v-43.808h12.525c7.516,0,12.525-5.011,12.525-12.525
-		V99.466H74.749v125.123c0,7.515,5.01,12.525,12.525,12.525H99.8v43.808c0,10.02,8.736,18.758,18.758,18.758
-		c10.019,0,18.756-8.738,18.756-18.758v-43.808h25.051v43.808C162.364,290.941,171.102,299.679,181.122,299.679z"/>
-	<path id="XMLID_222_" d="M256.214,224.589c10.02,0,18.756-8.737,18.756-18.758v-87.615c0-9.967-8.736-18.75-18.756-18.75
-		c-10.021,0-18.758,8.783-18.758,18.75v87.615C237.456,215.851,246.192,224.589,256.214,224.589z"/>
-	<path id="XMLID_223_" d="M43.466,224.589c10.021,0,18.758-8.737,18.758-18.758v-87.615c0-9.967-8.736-18.75-18.758-18.75
-		c-10.02,0-18.756,8.783-18.756,18.75v87.615C24.71,215.851,33.446,224.589,43.466,224.589z"/>
-	<path id="XMLID_224_" d="M209.899,1.89c-2.504-2.52-6.232-2.52-8.736,0l-16.799,16.743l-0.775,0.774
-		c-9.961-4.988-21.129-7.479-33.566-7.503c-0.061,0-0.121-0.002-0.182-0.002h-0.002c-0.063,0-0.121,0.002-0.184,0.002
-		c-12.436,0.024-23.604,2.515-33.564,7.503l-0.777-0.774L98.516,1.89c-2.506-2.52-6.232-2.52-8.736,0
-		c-2.506,2.506-2.506,6.225,0,8.729l16.25,16.253c-5.236,3.496-9.984,7.774-14.113,12.667C82.032,51.256,75.727,66.505,74.86,83.027
-		c-0.008,0.172-0.025,0.342-0.033,0.514c-0.053,1.125-0.078,2.256-0.078,3.391H224.93c0-1.135-0.027-2.266-0.078-3.391
-		c-0.008-0.172-0.025-0.342-0.035-0.514c-0.865-16.522-7.172-31.772-17.057-43.487c-4.127-4.893-8.877-9.171-14.113-12.667
-		l16.252-16.253C212.405,8.115,212.405,4.396,209.899,1.89z M118.534,65.063c-5.182,0-9.383-4.201-9.383-9.383
-		c0-5.182,4.201-9.383,9.383-9.383c5.182,0,9.383,4.201,9.383,9.383C127.917,60.862,123.716,65.063,118.534,65.063z M181.145,65.063
-		c-5.182,0-9.383-4.201-9.383-9.383c0-5.182,4.201-9.383,9.383-9.383c5.182,0,9.383,4.201,9.383,9.383
-		C190.528,60.862,186.327,65.063,181.145,65.063z"/>
-</g>
-</svg>

+ 0 - 1
src/assets/imgs/svg_logos/apple.svg

@@ -1 +0,0 @@
-<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Apple</title><path d="M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701"/></svg>

+ 0 - 5
src/assets/imgs/svg_logos/windows.svg

@@ -1,5 +0,0 @@
-<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
-  <title>Windows</title>
-  <path
-    d="M0 3.449L9.75 2.1v9.451H0m10.949-9.602L24 0v11.4H10.949M0 12.6h9.75v9.451L0 20.699M10.949 12.6H24V24l-12.9-1.801" />
-</svg>

+ 2 - 2
src/components/home/SectionAbout.jsx

@@ -47,7 +47,7 @@ const SectionAbout = ({ t }) => {
               t('sale_email') +
               ' / ' +
               t('客服邮箱:') +
-              t('servide_email')}
+              t('service_email')}
           </div>
           {/* 移动端 */}
           <div className='md:hidden font-thin text-white text-sm mt-1 duration-300 tracking-widest-cn'>
@@ -60,7 +60,7 @@ const SectionAbout = ({ t }) => {
             {t('销售邮箱:') + t('sale_email')}
           </div>
           <div className='md:hidden font-thin text-white text-sm mt-1 duration-300 tracking-widest-cn'>
-            {t('客服邮箱:') + t('servide_email')}
+            {t('客服邮箱:') + t('service_email')}
           </div>
         </div>
       </div>

+ 6 - 8
src/components/home/SectionHome.jsx

@@ -4,7 +4,7 @@ import { scroller } from 'react-scroll';
 
 import home_1 from '../../assets/imgs/home_1.png';
 
-const SectionHome = ({ t, isCN }) => {
+const SectionHome = ({ t }) => {
   // 导航动态跳转
   const scrollTo = (element) => {
     scroller.scrollTo(element, {
@@ -22,12 +22,10 @@ const SectionHome = ({ t, isCN }) => {
           className='animate-displayFromTransparent z-0 w-full min-h-full object-cover grayscale-[20%]'
         />
       </div>
-      <div className='animate-slideLeftFromOut absolute md:left-[16%] flex flex-col'>
-        {isCN && (
-          <div className='ml-2 font-bold text-white text-4xl md:text-6xl duration-300 tracking-widest-cn drop-shadow-text'>
-            {t('智能超声 · 一触即达')}
-          </div>
-        )}
+      <div className='animate-slideLeftFromOut absolute md:left-[13%] flex flex-col'>
+        <div className='ml-2 font-bold text-white text-4xl md:text-6xl duration-300 tracking-widest-cn drop-shadow-text'>
+          {t('智能超声 · 一触即达')}
+        </div>
         <div className='mt-2 font-thin text-white text-3xl md:text-5xl duration-300 drop-shadow-text italic'>
           {t('More than Ultrasound')}
         </div>
@@ -36,7 +34,7 @@ const SectionHome = ({ t, isCN }) => {
         <button
           className='z-10 custom-btn rounded-full cursor-pointer duration-300'
           onClick={() => scrollTo('download')}>
-          <span className='relative block px-10 py-2 text-white text-xl tracking-widest-cn'>
+          <span className='font-medium relative block px-10 py-2 text-white text-xl tracking-widest-cn'>
             {t('立即体验')}
           </span>
         </button>

+ 2 - 2
src/i18n/en.json

@@ -11,7 +11,7 @@
     "ios": "ios",
     "mac": "mac",
     "sale_email": "vinno@vinno.com",
-    "servide_email": "vinnoservide@vinno.com",
+    "service_email": "vinnoservice@vinno.com",
     "web": "web",
     "win": "win",
     "• 专家实时在线,远程指导": "• Expert real-time remote guidance",
@@ -41,7 +41,7 @@
     "扫描二维码下载手机客户端": "Scan QR code to download mobile client",
     "新版本": "New Version",
     "旧版本": "Old Version",
-    "智能超声 · 一触即达": "__TRANSLATION__",
+    "智能超声 · 一触即达": "Intelligent Sonic · Instant Reach",
     "智能超控": "Remote Control",
     "更新时间": "update time",
     "最终版本不会存在此控件": "__TRANSLATION__",

+ 2 - 2
src/i18n/zh.json

@@ -11,7 +11,7 @@
     "ios": "ios",
     "mac": "mac",
     "sale_email": "vinno@vinno.com",
-    "servide_email": "vinnoservide@vinno.com",
+    "service_email": "vinnoservice@vinno.com",
     "web": "web",
     "win": "win",
     "• 专家实时在线,远程指导": "• 专家实时在线,远程指导",
@@ -66,4 +66,4 @@
     "飞依诺科技股份有限公司": "飞依诺科技股份有限公司",
     "首页": "首页"
   }
-}
+}