Skip to content

Commit

Permalink
improve: add i18n for the short name of translators
Browse files Browse the repository at this point in the history
  • Loading branch information
YunFeng0817 committed May 17, 2021
1 parent d77e48e commit 2e1926c
Show file tree
Hide file tree
Showing 5 changed files with 107 additions and 7 deletions.
28 changes: 24 additions & 4 deletions static/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -319,22 +319,42 @@
"message": "Baidu Translate",
"description": "Baidu Translate."
},
"BaiduTranslateShort": {
"message": "Baidu",
"description": "Abbreviation of Baidu Translate."
},
"BingTranslate": {
"message": "Bing Translate",
"description": "Bing Translate"
"description": "Bing Translate."
},
"BingTranslateShort": {
"message": "Bing",
"description": "Abbreviation of Bing Translate."
},
"GoogleTranslate": {
"message": "Google Translate",
"description": "Google Translate"
"description": "Google Translate."
},
"GoogleTranslateShort": {
"message": "Google",
"description": "Abbreviation of Google Translate."
},
"TencentTranslate": {
"message": "Tencent Translate",
"description": "Tencent Translate"
"description": "Tencent Translate."
},
"TencentTranslateShort": {
"message": "Tencent",
"description": "Abbreviation of Tencent Translate."
},
"HybridTranslate": {
"message": "Hybrid Translate",
"description": "Translate with multiple translators."
},
"HybridTranslateShort": {
"message": "Hybrid",
"description": "Abbreviation of Hybrid Translate."
},
"NOTICE": {
"message": "Notice from Edge Translate",
"description": "Notice from Edge Translate"
Expand Down Expand Up @@ -370,7 +390,7 @@
"EnablePermission": {
"message": "How to enable it?",
"description": "How to enable it"
},
},
"OpenThisPage": {
"message": "Open this page",
"description": "Open this page"
Expand Down
24 changes: 22 additions & 2 deletions static/_locales/ja/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -319,20 +319,40 @@
"message": "Baidu翻訳",
"description": "Baidu Translate"
},
"BaiduTranslateShort": {
"message": "Baidu",
"description": "Baidu Translate"
},
"BingTranslate": {
"message": "ビング翻訳",
"description": "ビング翻訳"
},
"BingTranslateShort": {
"message": "ビング",
"description": "ビング翻訳"
},
"GoogleTranslate": {
"message": "グーグル翻訳",
"description": "グーグル翻訳"
},
"GoogleTranslateShort": {
"message": "グーグル",
"description": "グーグル翻訳"
},
"TencentTranslate": {
"message": "テンセント翻訳",
"description": "テンセント翻訳"
},
"TencentTranslateShort": {
"message": "テンセント",
"description": "テンセント翻訳"
},
"HybridTranslate": {
"message": "ハイブリッド翻訳",
"message": "ブレンド翻訳",
"description": "複数の翻訳ソースを混在させます。"
},
"HybridTranslateShort": {
"message": "ブレンド",
"description": "複数の翻訳ソースを混在させます。"
},
"NOTICE": {
Expand Down Expand Up @@ -370,7 +390,7 @@
"EnablePermission": {
"message": "How to enable it?",
"description": "How to enable it"
},
},
"OpenThisPage": {
"message": "Open this page",
"description": "Open this page"
Expand Down
20 changes: 20 additions & 0 deletions static/_locales/ru/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -319,22 +319,42 @@
"message": "перевод Baidu",
"description": "перевод Baidu"
},
"BaiduTranslateShort": {
"message": "Baidu",
"description": "перевод Baidu"
},
"BingTranslate": {
"message": "перевод Bing",
"description": "перевод Bing"
},
"BingTranslateShort": {
"message": "Bing",
"description": "перевод Bing"
},
"GoogleTranslate": {
"message": "Гугл переводчик",
"description": "Гугл переводчик"
},
"GoogleTranslateShort": {
"message": "Гугл",
"description": "Гугл переводчик"
},
"TencentTranslate": {
"message": "перевод Tencent",
"description": "перевод Tencent"
},
"TencentTranslateShort": {
"message": "Tencent",
"description": "перевод Tencent"
},
"HybridTranslate": {
"message": "cмешанный перевод",
"description": "смешанный с несколькими источниками перевода."
},
"HybridTranslateShort": {
"message": "смесь",
"description": "смешанный с несколькими источниками перевода."
},
"NOTICE": {
"message": "Notice from Edge Translate",
"description": "Notice from Edge Translate"
Expand Down
22 changes: 21 additions & 1 deletion static/_locales/zh_CN/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -319,22 +319,42 @@
"message": "百度翻译",
"description": "百度翻译翻译源。"
},
"BaiduTranslateShort": {
"message": "百度翻译",
"description": "百度翻译翻译源缩写。"
},
"BingTranslate": {
"message": "必应翻译",
"description": "必应翻译翻译源。"
},
"BingTranslateShort": {
"message": "必应翻译",
"description": "必应翻译翻译源缩写。"
},
"GoogleTranslate": {
"message": "谷歌翻译",
"description": "谷歌翻译翻译源。"
},
"GoogleTranslateShort": {
"message": "谷歌翻译",
"description": "谷歌翻译翻译源缩写。"
},
"TencentTranslate": {
"message": "腾讯翻译",
"description": "腾讯翻译翻译源。"
"description": "腾讯翻译翻译源缩写。"
},
"TencentTranslateShort": {
"message": "腾讯翻译",
"description": "腾讯翻译翻译源缩写。"
},
"HybridTranslate": {
"message": "混合翻译",
"description": "混合使用多个翻译源。"
},
"HybridTranslateShort": {
"message": "混合翻译",
"description": "混合使用多个翻译源缩写。"
},
"NOTICE": {
"message": "提示",
"description": "提示"
Expand Down
20 changes: 20 additions & 0 deletions static/_locales/zh_TW/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -319,22 +319,42 @@
"message": "百度翻譯",
"description": "百度翻譯翻譯源。"
},
"BaiduTranslateShort": {
"message": "百度翻譯",
"description": "百度翻譯翻譯源縮寫。"
},
"BingTranslate": {
"message": "必應翻譯",
"description": "必應翻譯翻譯源。"
},
"BingTranslateShort": {
"message": "必應翻譯",
"description": "必應翻譯翻譯源縮寫。"
},
"GoogleTranslate": {
"message": "谷歌翻譯",
"description": "谷歌翻譯翻譯源。"
},
"GoogleTranslateShort": {
"message": "谷歌翻譯",
"description": "谷歌翻譯翻譯源縮寫。"
},
"TencentTranslate": {
"message": "騰訊翻譯",
"description": "騰訊翻譯翻譯源。"
},
"TencentTranslateShort": {
"message": "騰訊翻譯",
"description": "騰訊翻譯翻譯源縮寫。"
},
"HybridTranslate": {
"message": "混合翻譯",
"description": "混合使用多個翻譯源。"
},
"HybridTranslateShort": {
"message": "混合翻譯",
"description": "混合使用多個翻譯源縮寫。"
},
"NOTICE": {
"message": "提示",
"description": "提示"
Expand Down

0 comments on commit 2e1926c

Please sign in to comment.