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 Feb 4, 2024
1 parent 77b3635 commit 65d0355
Show file tree
Hide file tree
Showing 50 changed files with 1,616 additions and 1,168 deletions.
2 changes: 1 addition & 1 deletion dist/chrome/_locales/ar/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"message": "ترجمة جميع مناطق الصفحة/عرض النص الأصلي"
},
"toggleOnlyTransation": {
"message": "ترجمة وإخفاء النص الأصلي/إظهار النص الأصلي"
"message": "تبديل الوضع ثنائي اللغة / الترجمة فقط"
},
"toggleTranslateToThePageEndImmediately": {
"message": "ترجمة فورية إلى أسفل الصفحة/إظهار النص الأصلي"
Expand Down
2 changes: 1 addition & 1 deletion dist/chrome/_locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"message": "Alle Bereiche der Seite übersetzen/den Originaltext anzeigen"
},
"toggleOnlyTransation": {
"message": "Übersetzen und Ausblenden des Originaltextes/Einblenden des Originaltextes"
"message": "Wechseln Sie in den Zweisprachen-/Nur-Übersetzungsmodus"
},
"toggleTranslateToThePageEndImmediately": {
"message": "Sofortige Übersetzung am Ende der Seite/Anzeige des Originaltextes"
Expand Down
2 changes: 1 addition & 1 deletion dist/chrome/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"message": "Translate the content of the current input box"
},
"toggleOnlyTransation": {
"message": "Translate page/show original text (translation-only mode)"
"message": "Switch to bilingual/translation-only mode"
},
"toggleTranslationMask": {
"message": "Toggle blur effect on translated text (learning mode) for the current page"
Expand Down
2 changes: 1 addition & 1 deletion dist/chrome/_locales/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"message": "Traducir todas las áreas de la página/visualizar el texto original"
},
"toggleOnlyTransation": {
"message": "Traducir y ocultar el texto original/mostrar el texto original"
"message": "Cambiar al modo bilingüe/solo texto traducido"
},
"toggleTranslateToThePageEndImmediately": {
"message": "Traducción inmediata al final de la página/visualización del texto original"
Expand Down
2 changes: 1 addition & 1 deletion dist/chrome/_locales/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"message": "Traduire toutes les zones de la page/afficher le texte original"
},
"toggleOnlyTransation": {
"message": "Traduire et masquer le texte original/afficher le texte original"
"message": "Basculer en mode bilingue / mode traduction uniquement"
},
"toggleTranslateToThePageEndImmediately": {
"message": "Traduction immédiate en bas de page/affichage du texte original"
Expand Down
2 changes: 1 addition & 1 deletion dist/chrome/_locales/hi/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"message": "पृष्ठ के सभी क्षेत्रों का अनुवाद करें/मूल पाठ प्रदर्शित करें"
},
"toggleOnlyTransation": {
"message": "मूल पाठ का अनुवाद करें और छुपाएं/मूल पाठ दिखाएं"
"message": "द्विभाषी/केवल अनुवाद मोड पर स्विच करें"
},
"toggleTranslateToThePageEndImmediately": {
"message": "तुरंत पृष्ठ के नीचे अनुवाद करें/मूल पाठ दिखाएं"
Expand Down
2 changes: 1 addition & 1 deletion dist/chrome/_locales/it/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"message": "Tradurre tutte le aree della pagina/visualizzare il testo originale"
},
"toggleOnlyTransation": {
"message": "Tradurre e nascondere il testo originale/mostrare il testo originale"
"message": "Cambia modalità bilingue/solo traduzione"
},
"toggleTranslateToThePageEndImmediately": {
"message": "Traduzione immediata a fondo pagina/visualizzazione del testo originale"
Expand Down
2 changes: 1 addition & 1 deletion dist/chrome/_locales/ja/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"message": "ページの全領域を翻訳する/原文を表示する"
},
"toggleOnlyTransation": {
"message": "原文を翻訳して隠す/原文を表示する"
"message": "バイリンガル/翻訳テキストのみモードに切り替えてください"
},
"toggleTranslateToThePageEndImmediately": {
"message": "ページ下部への即時翻訳/原文の表示"
Expand Down
2 changes: 1 addition & 1 deletion dist/chrome/_locales/ko/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"message": "페이지의 모든 영역 번역/원문 텍스트 표시"
},
"toggleOnlyTransation": {
"message": "원본 텍스트 번역 및 숨기기/원본 텍스트 표시"
"message": "양언어/번역문만 모드로 전환"
},
"toggleTranslateToThePageEndImmediately": {
"message": "페이지 하단으로 즉시 번역/원문 표시"
Expand Down
2 changes: 1 addition & 1 deletion dist/chrome/_locales/pt/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"message": "Traduzir todas as áreas da página/apresentar o texto original"
},
"toggleOnlyTransation": {
"message": "Traduzir e ocultar o texto original/mostrar o texto original"
"message": "Alternar entre o modo bilíngue / apenas tradução"
},
"toggleTranslateToThePageEndImmediately": {
"message": "Tradução imediata para o fim da página/visualização do texto original"
Expand Down
2 changes: 1 addition & 1 deletion dist/chrome/_locales/ru/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"message": "Перевести все области страницы/отобразить оригинальный текст"
},
"toggleOnlyTransation": {
"message": "Перевод и скрытие оригинального текста/показ оригинального текста"
"message": "Переключить на двуязычный / только перевод режим"
},
"toggleTranslateToThePageEndImmediately": {
"message": "Немедленный перевод в нижнюю часть страницы/отображение оригинального текста"
Expand Down
6 changes: 3 additions & 3 deletions dist/chrome/_locales/zh_CN/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@
"translateInputBox": {
"message": "翻译当前输入框内容"
},
"toggleOnlyTransation": {
"message": "翻译页面/显示原文(仅译文模式)"
},
"toggleTranslationMask": {
"message": "切换当前页面译文为模糊效果(学习模式)"
},
"toggleVideoSubtitlePreTranslation": {
"message": "切换双语字幕优先使用沉浸式翻译设置"
},
"toggleOnlyTransation": {
"message": "切换双语/仅译文模式"
}
}
2 changes: 1 addition & 1 deletion dist/chrome/_locales/zh_TW/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"message": "翻譯當前輸入框內容"
},
"toggleOnlyTransation": {
"message": "翻譯頁面/顯示原文(僅譯文模式)"
"message": "切換雙語/僅譯文模式"
},
"toggleTranslationMask": {
"message": "切換當前頁面譯文為模糊效果(學習模式)"
Expand Down
103 changes: 65 additions & 38 deletions dist/chrome/background.js

Large diffs are not rendered by default.

251 changes: 139 additions & 112 deletions dist/chrome/content_script.js

Large diffs are not rendered by default.

105 changes: 66 additions & 39 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.1.9",
"version": "1.2.0",
"default_locale": "en",
"background": {
"service_worker": "background.js"
Expand Down
255 changes: 141 additions & 114 deletions dist/chrome/options.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/chrome/pdf/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<iframe
src="https://app.immersivetranslate.com/pdf/?file=emptyfile"
width="100%"
style="min-height: 100vh"
style="min-height: 100vh;border-width: 0px;"
></iframe>
<div id="loading" class="loading loading-fixed"></div>

Expand Down
231 changes: 129 additions & 102 deletions dist/chrome/popup.js

Large diffs are not rendered by default.

78 changes: 53 additions & 25 deletions dist/chrome/styles/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -107,21 +107,24 @@
position: relative;
font-size: 16px;
}

.immersive-translate-search-enhancement-en-title {
color: #4d5156;
}

/* dark */
@media (prefers-color-scheme: dark) {
.immersive-translate-search-recomend {
border: 1px solid #3c4043;
}

.immersive-translate-close-action svg {
fill: #bdc1c6;
}

.immersive-translate-search-enhancement-en-title {
color: #bdc1c6;
}
.immersive-translate-search-enhancement-en-title {
color: #bdc1c6;
}
}


Expand Down Expand Up @@ -171,38 +174,60 @@
overflow: auto;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.4);
font-size:15px;
font-size: 15px;
}

.immersive-translate-modal-content {
background-color: #fefefe;
margin: 15% auto;
padding: 20px;
margin: 10% auto;
padding: 40px 24px 24px;
border: 1px solid #888;
border-radius: 10px;
width: 80%;
max-width: 500px;
max-width: 270px;
font-family: system-ui, -apple-system, "Segoe UI", "Roboto", "Ubuntu",
"Cantarell", "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol", "Noto Color Emoji";
position: relative
}

.immersive-translate-modal .immersive-translate-modal-content-in-input {
max-width: 500px;
}
.immersive-translate-modal-content-in-input .immersive-translate-modal-body {
text-align: left;
max-height: unset;
}

.immersive-translate-modal-title {
font-size: 1.3rem;
font-weight: 500;
margin-bottom: 20px;
color: hsl(205, 20%, 32%);
text-align: center;
font-size: 16px;
font-weight: 700;
color: #333333;
}

.immersive-translate-modal-body {
color: hsl(205, 20%, 32%);
text-align: center;
font-size: 14px;
font-weight: 400;
color: #333333;
word-break: break-all;
margin-top: 24px;
}

@media screen and (max-width: 768px) {
.immersive-translate-modal-body {
max-height: 250px;
overflow-y: auto;
}
}

.immersive-translate-close {
color: #aaa;
float: right;
font-size: 28px;
color: #666666;
position: absolute;
right: 16px;
top: 16px;
font-size: 20px;
font-weight: bold;
}

Expand All @@ -215,30 +240,31 @@

.immersive-translate-modal-footer {
display: flex;
justify-content: flex-end;
justify-content: center;
flex-wrap: wrap;
margin-top: 20px;
margin-top: 24px;
}

.immersive-translate-btn {
width: fit-content;
color: #fff;
background-color: #ea4c89;
border: none;
font-size: 14px;
margin: 5px;
padding: 10px 20px;
font-size: 1rem;
font-size: 16px;
margin: 0 8px;
padding: 9px 30px;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background-color 0.3s ease;
}

.immersive-translate-btn:hover {
background-color: #f082ac;
}

.immersive-translate-cancel-btn {
/* gray color */
background-color: rgb(89, 107, 120);
Expand All @@ -249,6 +275,11 @@
background-color: hsl(205, 20%, 32%);
}

.immersive-translate-action-btn {
background-color: transparent;
color: #EA4C89;
border: 1px solid #EA4C89
}

.immersive-translate-btn svg {
margin-right: 5px;
Expand Down Expand Up @@ -286,7 +317,4 @@
top: 2px;
right: 0px;
cursor: pointer;
}



}
3 changes: 3 additions & 0 deletions dist/chrome/styles/options.css
Original file line number Diff line number Diff line change
Expand Up @@ -651,3 +651,6 @@ article {
margin-left: -2rem;
}
}
.display-none {
display: none;
}
2 changes: 1 addition & 1 deletion dist/firefox/_locales/ar/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"message": "ترجمة جميع مناطق الصفحة/عرض النص الأصلي"
},
"toggleOnlyTransation": {
"message": "ترجمة وإخفاء النص الأصلي/إظهار النص الأصلي"
"message": "تبديل الوضع ثنائي اللغة / الترجمة فقط"
},
"toggleTranslateToThePageEndImmediately": {
"message": "ترجمة فورية إلى أسفل الصفحة/إظهار النص الأصلي"
Expand Down
2 changes: 1 addition & 1 deletion dist/firefox/_locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"message": "Alle Bereiche der Seite übersetzen/den Originaltext anzeigen"
},
"toggleOnlyTransation": {
"message": "Übersetzen und Ausblenden des Originaltextes/Einblenden des Originaltextes"
"message": "Wechseln Sie in den Zweisprachen-/Nur-Übersetzungsmodus"
},
"toggleTranslateToThePageEndImmediately": {
"message": "Sofortige Übersetzung am Ende der Seite/Anzeige des Originaltextes"
Expand Down
2 changes: 1 addition & 1 deletion dist/firefox/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"message": "Translate the content of the current input box"
},
"toggleOnlyTransation": {
"message": "Translate page/show original text (translation-only mode)"
"message": "Switch to bilingual/translation-only mode"
},
"toggleTranslationMask": {
"message": "Toggle blur effect on translated text (learning mode) for the current page"
Expand Down
2 changes: 1 addition & 1 deletion dist/firefox/_locales/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"message": "Traducir todas las áreas de la página/visualizar el texto original"
},
"toggleOnlyTransation": {
"message": "Traducir y ocultar el texto original/mostrar el texto original"
"message": "Cambiar al modo bilingüe/solo texto traducido"
},
"toggleTranslateToThePageEndImmediately": {
"message": "Traducción inmediata al final de la página/visualización del texto original"
Expand Down
2 changes: 1 addition & 1 deletion dist/firefox/_locales/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"message": "Traduire toutes les zones de la page/afficher le texte original"
},
"toggleOnlyTransation": {
"message": "Traduire et masquer le texte original/afficher le texte original"
"message": "Basculer en mode bilingue / mode traduction uniquement"
},
"toggleTranslateToThePageEndImmediately": {
"message": "Traduction immédiate en bas de page/affichage du texte original"
Expand Down
2 changes: 1 addition & 1 deletion dist/firefox/_locales/hi/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"message": "पृष्ठ के सभी क्षेत्रों का अनुवाद करें/मूल पाठ प्रदर्शित करें"
},
"toggleOnlyTransation": {
"message": "मूल पाठ का अनुवाद करें और छुपाएं/मूल पाठ दिखाएं"
"message": "द्विभाषी/केवल अनुवाद मोड पर स्विच करें"
},
"toggleTranslateToThePageEndImmediately": {
"message": "तुरंत पृष्ठ के नीचे अनुवाद करें/मूल पाठ दिखाएं"
Expand Down
2 changes: 1 addition & 1 deletion dist/firefox/_locales/it/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"message": "Tradurre tutte le aree della pagina/visualizzare il testo originale"
},
"toggleOnlyTransation": {
"message": "Tradurre e nascondere il testo originale/mostrare il testo originale"
"message": "Cambia modalità bilingue/solo traduzione"
},
"toggleTranslateToThePageEndImmediately": {
"message": "Traduzione immediata a fondo pagina/visualizzazione del testo originale"
Expand Down
2 changes: 1 addition & 1 deletion dist/firefox/_locales/ja/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"message": "ページの全領域を翻訳する/原文を表示する"
},
"toggleOnlyTransation": {
"message": "原文を翻訳して隠す/原文を表示する"
"message": "バイリンガル/翻訳テキストのみモードに切り替えてください"
},
"toggleTranslateToThePageEndImmediately": {
"message": "ページ下部への即時翻訳/原文の表示"
Expand Down
2 changes: 1 addition & 1 deletion dist/firefox/_locales/ko/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"message": "페이지의 모든 영역 번역/원문 텍스트 표시"
},
"toggleOnlyTransation": {
"message": "원본 텍스트 번역 및 숨기기/원본 텍스트 표시"
"message": "양언어/번역문만 모드로 전환"
},
"toggleTranslateToThePageEndImmediately": {
"message": "페이지 하단으로 즉시 번역/원문 표시"
Expand Down
Loading

0 comments on commit 65d0355

Please sign in to comment.