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 Nov 14, 2024
1 parent 24a4c13 commit 0a190a5
Show file tree
Hide file tree
Showing 20 changed files with 2,917 additions and 1,761 deletions.
157 changes: 111 additions & 46 deletions dist/chrome/background.js

Large diffs are not rendered by default.

467 changes: 268 additions & 199 deletions dist/chrome/content_script.js

Large diffs are not rendered by default.

167 changes: 116 additions & 51 deletions dist/chrome/content_start.js

Large diffs are not rendered by default.

48 changes: 32 additions & 16 deletions dist/chrome/locales.json
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,8 @@
"image.toolsDelayTime": "تأخير زر الترجمة السريعة (مللي ثانية)",
"image.toolsDelayTimeDes": "قم بالتمرير لتأخير قبل إظهار زر الترجمة",
"imageState.pending": "Queueing...",
"imageState.gifNotSupported": "GIF not supported"
"imageState.gifNotSupported": "GIF not supported",
"orCustom": "or custom"
},
"pt-PT": {
"nologin": "não conectado",
Expand Down Expand Up @@ -1617,7 +1618,8 @@
"image.toolsDelayTimeDes": "Atraso ao passar o rato antes de mostrar o botão de tradução",
"image.toolsDelayTime": "Atraso do botão de tradução rápida (ms)",
"imageState.pending": "Queueing...",
"imageState.gifNotSupported": "GIF not supported"
"imageState.gifNotSupported": "GIF not supported",
"orCustom": "or custom"
},
"es": {
"nologin": "no conectado",
Expand Down Expand Up @@ -2427,7 +2429,8 @@
"image.toolsDelayTimeDes": "Retraso al pasar el ratón por encima antes de mostrar el botón de traducción",
"image.toolsDelayTime": "Retardo del botón de traducción rápida (ms)",
"imageState.pending": "Queueing...",
"imageState.gifNotSupported": "GIF not supported"
"imageState.gifNotSupported": "GIF not supported",
"orCustom": "or custom"
},
"ko": {
"nologin": "로그인하지 않음",
Expand Down Expand Up @@ -3237,7 +3240,8 @@
"image.toolsDelayTimeDes": "번역 버튼 표시 전 호버링 지연",
"image.toolsDelayTime": "빠른 번역 버튼 지연(ms)",
"imageState.pending": "Queueing...",
"imageState.gifNotSupported": "GIF not supported"
"imageState.gifNotSupported": "GIF not supported",
"orCustom": "or custom"
},
"tr": {
"browser.shortBrandName": "Immersive Translate",
Expand Down Expand Up @@ -4047,7 +4051,8 @@
"image.toolsDelayTimeDes": "Çeviri düğmesini göstermeden önce üzerine gelme gecikmesi",
"image.toolsDelayTime": "Hızlı Çeviri Düğmesi Gecikmesi (ms)",
"imageState.pending": "Queueing...",
"imageState.gifNotSupported": "GIF not supported"
"imageState.gifNotSupported": "GIF not supported",
"orCustom": "or custom"
},
"en": {
"nologin": "Not logged in",
Expand Down Expand Up @@ -4858,7 +4863,8 @@
"image.toolsDelayTime": "Quick Translation Button Delay (ms)",
"image.toolsDelayTimeDes": "Hover delay before showing translation button",
"imageState.pending": "Queueing...",
"imageState.gifNotSupported": "GIF not supported"
"imageState.gifNotSupported": "GIF not supported",
"orCustom": "or custom"
},
"fa": {
"nologin": "وارد نشده اید",
Expand Down Expand Up @@ -5668,7 +5674,8 @@
"image.toolsDelayTime": "تاخیر دکمه ترجمه سریع (ms)",
"image.toolsDelayTimeDes": "قبل از نمایش دکمه ترجمه، تأخیر ماوس را نگه دارید",
"imageState.pending": "Queueing...",
"imageState.gifNotSupported": "GIF not supported"
"imageState.gifNotSupported": "GIF not supported",
"orCustom": "or custom"
},
"zh-TW": {
"nologin": "未登錄",
Expand Down Expand Up @@ -6509,7 +6516,8 @@
"image.toolsDelayTimeDes": "滑鼠懸停多久後顯示圖片翻譯按鈕",
"image.toolsDelayTime": "顯示圖片快速翻譯按鈕的延遲時間(毫秒)",
"imageState.pending": "排隊中",
"imageState.gifNotSupported": "不支援 GIF"
"imageState.gifNotSupported": "不支援 GIF",
"orCustom": "或自訂義"
},
"it": {
"nologin": "non è stato effettuato l'accesso",
Expand Down Expand Up @@ -7319,7 +7327,8 @@
"image.toolsDelayTime": "Ritardo del pulsante di traduzione rapida (ms)",
"image.toolsDelayTimeDes": "Ritardo del passaggio del mouse prima di mostrare il pulsante di traduzione",
"imageState.pending": "Queueing...",
"imageState.gifNotSupported": "GIF not supported"
"imageState.gifNotSupported": "GIF not supported",
"orCustom": "or custom"
},
"zh-CN": {
"nologin": "未登录",
Expand Down Expand Up @@ -8160,7 +8169,8 @@
"image.toolsDelayTime": "显示图片快捷翻译按钮的延迟时间(毫秒)",
"image.toolsDelayTimeDes": "鼠标悬停多久后显示图片翻译按钮",
"imageState.pending": "排队中",
"imageState.gifNotSupported": "不支持 GIF"
"imageState.gifNotSupported": "不支持 GIF",
"orCustom": "或自定义"
},
"hi": {
"nologin": "अंदर प्रवेश की अनुमति नहीं है",
Expand Down Expand Up @@ -8970,7 +8980,8 @@
"image.toolsDelayTimeDes": "अनुवाद बटन दिखाने से पहले विलंब पर होवर करें",
"image.toolsDelayTime": "त्वरित अनुवाद बटन विलंब (एमएस)",
"imageState.pending": "Queueing...",
"imageState.gifNotSupported": "GIF not supported"
"imageState.gifNotSupported": "GIF not supported",
"orCustom": "or custom"
},
"ru": {
"nologin": "Не авторизирован",
Expand Down Expand Up @@ -9780,7 +9791,8 @@
"image.toolsDelayTimeDes": "Задержка при наведении курсора перед показом кнопки перевода",
"image.toolsDelayTime": "Задержка кнопки быстрого перевода (мс)",
"imageState.pending": "Queueing...",
"imageState.gifNotSupported": "GIF not supported"
"imageState.gifNotSupported": "GIF not supported",
"orCustom": "or custom"
},
"pt-BR": {
"nologin": "Não conectado",
Expand Down Expand Up @@ -10591,7 +10603,8 @@
"image.toolsDelayTimeDes": "Atraso ao passar o mouse antes de mostrar o botão de tradução",
"image.toolsDelayTime": "Atraso do botão de tradução rápida (ms)",
"imageState.pending": "Queueing...",
"imageState.gifNotSupported": "GIF not supported"
"imageState.gifNotSupported": "GIF not supported",
"orCustom": "or custom"
},
"de": {
"nologin": "nicht eingeloggt",
Expand Down Expand Up @@ -11401,7 +11414,8 @@
"image.toolsDelayTime": "Schnellübersetzung Taste Verzögerung (ms)",
"image.toolsDelayTimeDes": "Verzögerung vor der Anzeige der Übersetzungsschaltfläche beim Verweilen",
"imageState.pending": "Queueing...",
"imageState.gifNotSupported": "GIF not supported"
"imageState.gifNotSupported": "GIF not supported",
"orCustom": "or custom"
},
"ja": {
"nologin": "ログインしていない",
Expand Down Expand Up @@ -12211,7 +12225,8 @@
"image.toolsDelayTime": "クイック翻訳ボタン遅延(ms)",
"image.toolsDelayTimeDes": "翻訳ボタンを表示するまでのホバー遅延",
"imageState.pending": "Queueing...",
"imageState.gifNotSupported": "GIF not supported"
"imageState.gifNotSupported": "GIF not supported",
"orCustom": "or custom"
},
"fr": {
"nologin": "non connecté",
Expand Down Expand Up @@ -13021,6 +13036,7 @@
"image.toolsDelayTime": "Délai de la touche de traduction rapide (ms)",
"image.toolsDelayTimeDes": "Délai d'affichage du bouton de traduction au passage du curseur",
"imageState.pending": "Queueing...",
"imageState.gifNotSupported": "GIF not supported"
"imageState.gifNotSupported": "GIF not supported",
"orCustom": "or custom"
}
}
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.11.1",
"version": "1.11.2",
"default_locale": "en",
"background": {
"service_worker": "background.js"
Expand Down
429 changes: 249 additions & 180 deletions dist/chrome/options.js

Large diffs are not rendered by default.

465 changes: 267 additions & 198 deletions dist/chrome/popup.js

Large diffs are not rendered by default.

78 changes: 78 additions & 0 deletions dist/chrome/styles/popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ body {
--text-gray-6: #666666;
--text-gray-9: #999999;
--text-gray-c2: #c2c2c2;
--service-select-content-shadow: 0px 2px 12px 0px rgba(75, 76, 77, 0.20);
--service-select-border-color: #FAFAFA;
--service-select-selected-background-color: #F3F5F6;
}

@media only screen and (prefers-color-scheme: dark) {
Expand All @@ -91,6 +94,9 @@ body {
--text-gray-6: #b3b3b3;
--text-gray-9: #777777;
--text-gray-c2: #5b5b5b;
--service-select-content-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.90);
--service-select-border-color: #2C2C2C;
--service-select-selected-background-color: #333333;
}
}

Expand All @@ -105,6 +111,9 @@ body {
--text-gray-6: #b3b3b3;
--text-gray-9: #777777;
--text-gray-c2: #5b5b5b;
--service-select-content-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.90);
--service-select-border-color: #2C2C2C;
--service-select-selected-background-color: #333333;
}

.text-balck {
Expand Down Expand Up @@ -506,6 +515,7 @@ select.more {
select.transform-padding-left {
padding-left: 12px;
transform: translateX(-12px);
background-position: center right 0px;
}

select.translate-service {
Expand Down Expand Up @@ -842,3 +852,71 @@ select.text-gray-6 {
text-decoration: unset;
background: linear-gradient(90deg, #E2FFFE 11.33%, #E6FF91 63.75%, #FFDF93 100%);
}


.custom-select-container {
width: 200px;
position: relative;
flex: 1;
}

.custom-select-content {
border-radius: 12px;
background: var(--popup-content-background-color);
box-shadow: var(--service-select-content-shadow);
border: 1px solid var(--service-select-border-color);
padding: 4px 5px;
position: absolute;
left: 0;
right: 0;
z-index: 100;
overflow-y: auto;
}

.custom-select-item {
font-size: 13px;
padding: 5px 6px;
border-radius: 8px;
display: flex;
align-items: center;
cursor: pointer;
color: var(--text-black-2);
width: 100%;
overflow: hidden;
height: 30px;
line-height: 30px;
}

.custom-select-item-img {
width: 20px;
height: 20px;
margin-right: 4px;
}

@media (prefers-color-scheme: dark) {
.custom-select-item-img {
margin-right: 6px;
}
}


.custom-select-content .custom-select-item.selected, .custom-select-content .custom-select-item:hover {
background: var(--service-select-selected-background-color);
}

.custom-select-item > span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.custom-select-item-pro {
font-size: 12px;
margin-left: 6px;
}

.custom-select-item-pro img {
margin: 0 3px;
width: 20px;
}

Loading

0 comments on commit 0a190a5

Please sign in to comment.