Skip to content
This repository was archived by the owner on Aug 16, 2024. It is now read-only.

Commit b3b6188

Browse files
committed
fix: use chinese
1 parent 477de29 commit b3b6188

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@
3939
],
4040
"commands": {
4141
"open_application": {
42-
"description": "Open application",
42+
"description": "打开应用",
4343
"suggested_key": {
4444
"default": "Ctrl+Shift+W",
4545
"mac": "MacCtrl+Command+W"
4646
}
4747
},
4848
"toggle_ocr": {
49-
"description": "Toggle OCR",
49+
"description": "开启 OCR 识别",
5050
"suggested_key": {
5151
"default": "Ctrl+Shift+E",
5252
"mac": "MacCtrl+Command+E"

src/pages/Background/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ chrome.contextMenus.create({
7575
chrome.contextMenus.create({
7676
id: 'ate-open_application',
7777
parentId: 'ate',
78-
title: 'Open application',
78+
title: '打开应用',
7979
onclick() {
8080
openExtension()
8181
},
@@ -84,7 +84,7 @@ chrome.contextMenus.create({
8484
chrome.contextMenus.create({
8585
id: 'ate-toggle_ocr',
8686
parentId: 'ate',
87-
title: 'Toggle OCR',
87+
title: '开启 OCR 识别',
8888
onclick() {
8989
toggleOCR()
9090
},
@@ -93,7 +93,7 @@ chrome.contextMenus.create({
9393
chrome.contextMenus.create({
9494
id: 'ate-translate_selection',
9595
contexts: ['selection'],
96-
title: 'Translate selection',
96+
title: '翻译选中文字',
9797
onclick(payload) {
9898
if (payload.selectionText) {
9999
translateText(payload.selectionText)

src/pages/Content/components/TranslationItem/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ const TranslationItem: React.FC<{
174174
<div tw="h-full">
175175
{config ? (
176176
<select
177-
tw="px-2 py-0 h-full rounded-md truncate border-none bg-blue-50 text-gray-800 text-base text-base"
177+
tw="px-2 py-0 h-full rounded-md truncate border-none bg-blue-50 text-gray-600 text-base text-base"
178178
css={css`
179179
width: 100px;
180180
`}

0 commit comments

Comments
 (0)