This repository was archived by the owner on Aug 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Content/components/TranslationItem Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ chrome.contextMenus.create({
7575chrome . 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({
8484chrome . 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({
9393chrome . 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 )
Original file line number Diff line number Diff 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 ` }
You can’t perform that action at this time.
0 commit comments