Skip to content

Commit

Permalink
update dist
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 9, 2024
1 parent 7716d1f commit c892d0e
Show file tree
Hide file tree
Showing 17 changed files with 1,493 additions and 1,207 deletions.
6 changes: 3 additions & 3 deletions dist/chrome/_locales/ja/messages.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"shortBrandName": {
"message": "イマージョン翻訳"
"message": "没入型翻訳"
},
"brandName": {
"message": "イマージョン翻訳: 二ヶ国語ウェブページ翻訳 & PDF文書翻訳"
"message": "没入型翻訳 - Webページ翻訳拡張機能 | PDF翻訳 | 無料"
},
"brandDescription": {
"message": "Deepl、Google、YouDao、Tencent Translateなど、複数の翻訳サービスをサポートしています"
"message": "無料で使用できる(原文/翻訳)対訳Webページ翻訳拡張機能、PDF翻訳(元の文書のフォーマットを保持)、動画字幕翻訳(YouTube、Netflixなど)、EPUB電子書籍の翻訳"
},
"toggleTranslatePage": {
"message": "ページを翻訳する/原文を表示する"
Expand Down
106 changes: 65 additions & 41 deletions dist/chrome/background.js

Large diffs are not rendered by default.

324 changes: 174 additions & 150 deletions dist/chrome/content_script.js

Large diffs are not rendered by default.

98 changes: 61 additions & 37 deletions dist/chrome/content_start.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/chrome/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "__MSG_brandName__",
"description": "__MSG_brandDescription__",
"version": "1.5.1",
"version": "1.5.2",
"default_locale": "en",
"background": {
"service_worker": "background.js"
Expand Down
334 changes: 179 additions & 155 deletions dist/chrome/options.js

Large diffs are not rendered by default.

318 changes: 171 additions & 147 deletions dist/chrome/popup.js

Large diffs are not rendered by default.

35 changes: 23 additions & 12 deletions dist/chrome/styles/assistant.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
padding: 15px;
position: relative;
flex-shrink: 0;
width: 47%;
width: 48.3%;
padding-bottom: 28px;
cursor: pointer;
}
Expand Down Expand Up @@ -40,7 +40,8 @@
.assistant-btn button {
color: var(--primary);
--border-color: var(--primary);
max-width: 140px;
max-width: 130px;
overflow: hidden;
}

.tipMsg {
Expand All @@ -67,9 +68,13 @@
background-color: var(--primary);
}

.assistant-name {
.assistant-content {
max-width: 150px;
}

.assistant-text {
white-space: nowrap;
max-width: 9vw;
max-width: 140px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
Expand All @@ -80,23 +85,32 @@
background-color: #333;
}

.assistant-name {
.assistant-text {
color: rgb(213 220 225);
}
}

@media screen and (max-width: 1200px) {
@media screen and (max-width: 2000px) {
.assistant-content {
max-width: 150px;
max-width: none;
}
}

@media screen and (max-width: 1200px) {
.assistant-container {
width: 47.8%;
}
.install-uninstall {
display: none;
}

.assistant-text {
max-width: 100px;
}
}

@media screen and (max-width: 990px) {
.assistant-name {
.assistant-text {
max-width: 15vw;
}
}
Expand All @@ -107,10 +121,7 @@
max-width: 100%;
}

.assistant-content {
max-width: none;
}
.assistant-name {
.assistant-text {
white-space: nowrap;
max-width: 35vw;
}
Expand Down
6 changes: 3 additions & 3 deletions dist/firefox/_locales/ja/messages.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"shortBrandName": {
"message": "イマージョン翻訳"
"message": "没入型翻訳"
},
"brandName": {
"message": "イマージョン翻訳: 二ヶ国語ウェブページ翻訳 & PDF文書翻訳"
"message": "没入型翻訳 - Webページ翻訳拡張機能 | PDF翻訳 | 無料"
},
"brandDescription": {
"message": "Deepl、Google、YouDao、Tencent Translateなど、複数の翻訳サービスをサポートしています"
"message": "無料で使用できる(原文/翻訳)対訳Webページ翻訳拡張機能、PDF翻訳(元の文書のフォーマットを保持)、動画字幕翻訳(YouTube、Netflixなど)、EPUB電子書籍の翻訳"
},
"toggleTranslatePage": {
"message": "ページを翻訳する/原文を表示する"
Expand Down
106 changes: 65 additions & 41 deletions dist/firefox/background.js

Large diffs are not rendered by default.

324 changes: 174 additions & 150 deletions dist/firefox/content_script.js

Large diffs are not rendered by default.

98 changes: 61 additions & 37 deletions dist/firefox/content_start.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/firefox/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "__MSG_brandName__",
"description": "__MSG_brandDescription__",
"version": "1.5.1",
"version": "1.5.2",
"default_locale": "en",
"background": {
"scripts": [
Expand Down
334 changes: 179 additions & 155 deletions dist/firefox/options.js

Large diffs are not rendered by default.

318 changes: 171 additions & 147 deletions dist/firefox/popup.js

Large diffs are not rendered by default.

35 changes: 23 additions & 12 deletions dist/firefox/styles/assistant.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
padding: 15px;
position: relative;
flex-shrink: 0;
width: 47%;
width: 48.3%;
padding-bottom: 28px;
cursor: pointer;
}
Expand Down Expand Up @@ -40,7 +40,8 @@
.assistant-btn button {
color: var(--primary);
--border-color: var(--primary);
max-width: 140px;
max-width: 130px;
overflow: hidden;
}

.tipMsg {
Expand All @@ -67,9 +68,13 @@
background-color: var(--primary);
}

.assistant-name {
.assistant-content {
max-width: 150px;
}

.assistant-text {
white-space: nowrap;
max-width: 9vw;
max-width: 140px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
Expand All @@ -80,23 +85,32 @@
background-color: #333;
}

.assistant-name {
.assistant-text {
color: rgb(213 220 225);
}
}

@media screen and (max-width: 1200px) {
@media screen and (max-width: 2000px) {
.assistant-content {
max-width: 150px;
max-width: none;
}
}

@media screen and (max-width: 1200px) {
.assistant-container {
width: 47.8%;
}
.install-uninstall {
display: none;
}

.assistant-text {
max-width: 100px;
}
}

@media screen and (max-width: 990px) {
.assistant-name {
.assistant-text {
max-width: 15vw;
}
}
Expand All @@ -107,10 +121,7 @@
max-width: 100%;
}

.assistant-content {
max-width: none;
}
.assistant-name {
.assistant-text {
white-space: nowrap;
max-width: 35vw;
}
Expand Down
254 changes: 139 additions & 115 deletions dist/userscript/immersive-translate.user.js

Large diffs are not rendered by default.

0 comments on commit c892d0e

Please sign in to comment.