This commit is contained in:
Mirco Wittrien 2021-07-11 18:51:40 +02:00
parent a6acc97df0
commit 14f5256313
11 changed files with 71 additions and 65 deletions

View File

@ -1,6 +1,7 @@
{
"PluginNameMap": {
"BadgesEverywhere": "ShowBadgesInChat",
"GoogleTranslateOption": "Translator",
"OwnerTag": "StaffTag",
"RemoveBlockedMessages": "RemoveBlockedUsers",
"RevealAllSpoilersOption": "RevealAllSpoilers"
@ -886,12 +887,6 @@
"GameActivityToggle": {
"added": "gameActivityToggleAdded-Yd-YxC"
},
"GoogleTranslateOption": {
"configButton": "configButton-lLgMs2",
"translateButton": "translateButton-DhP9x8",
"translated": "translated-5YO8i3",
"translating": "translating-Yi-YxC"
},
"ImageUtilities": {
"details": "details-9dkFPc",
"detailsAdded": "detailsAdded-fHiJlm",
@ -1042,6 +1037,12 @@
"tag": "tag-wWVHyf",
"voiceTag": "voiceTag-0F4Ss0"
},
"Translator": {
"configButton": "configButton-lLgMs2",
"translateButton": "translateButton-DhP9x8",
"translated": "translated-5YO8i3",
"translating": "translating-Yi-YxC"
},
"NotFound": {
"_": "",
"badgeWrapper": "wrapper-232cHJ",
@ -1398,10 +1399,6 @@
"_friendnotificationstimelogmodal": ["FriendNotifications", "timeLogModal"],
"_friendnotificationstypelabel": ["FriendNotifications", "typeLabel"],
"_gameactivitytoggleadded": ["GameActivityToggle", "added"],
"_googletranslateoptionconfigbutton": ["GoogleTranslateOption", "configButton"],
"_googletranslateoptiontranslatebutton": ["GoogleTranslateOption", "translateButton"],
"_googletranslateoptiontranslated": ["GoogleTranslateOption", "translated"],
"_googletranslateoptiontranslating": ["GoogleTranslateOption", "translating"],
"_imageutilitiesdetails": ["ImageUtilities", "details"],
"_imageutilitiesdetailsadded": ["ImageUtilities", "detailsAdded"],
"_imageutilitiesdetailslabel": ["ImageUtilities", "detailsLabel"],
@ -1513,6 +1510,10 @@
"_toproleseverywhererolestyle": ["TopRolesEverywhere", "roleStyle"],
"_toproleseverywheretag": ["TopRolesEverywhere", "tag"],
"_toproleseverywherevoicetag": ["TopRolesEverywhere", "voiceTag"],
"_translatorconfigbutton": ["Translator", "configButton"],
"_translatortranslatebutton": ["Translator", "translateButton"],
"_translatortranslated": ["Translator", "translated"],
"_translatortranslating": ["Translator", "translating"],
"_repoauthor": ["BD", "bdAuthor"],
"_repobutton": ["BD", "bdButton"],
"_repobuttondanger": ["BD", "bdButtonDanger"],

View File

@ -2,7 +2,7 @@
* @name MessageUtilities
* @author DevilBro
* @authorId 278543574059057154
* @version 1.9.1
* @version 1.9.2
* @description Adds several Quick Actions for Messages (Delete, Edit, Pin, etc.)
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -17,7 +17,7 @@ module.exports = (_ => {
"info": {
"name": "MessageUtilities",
"author": "DevilBro",
"version": "1.9.1",
"version": "1.9.2",
"description": "Adds several Quick Actions for Messages (Delete, Edit, Pin, etc.)"
}
};
@ -95,7 +95,7 @@ module.exports = (_ => {
"Copy_Link": {name: "Copy Message Link", func: this.doCopyLink, value: {click: 0, keycombo: [17,81]} },
"__Quote_Message": {name: "Quote Message", func: this.doQuote, value: {click: 0, keycombo: [17,87]}, plugin: "CustomQuoter"},
"__Note_Message": {name: "Note Message", func: this.doNote, value: {click: 0, keycombo: [16]}, plugin: "PersonalPins"},
"__Translate_Message": {name: "Translate Message", func: this.doTranslate, value: {click: 0, keycombo: [20]}, plugin: "GoogleTranslateOption"}
"__Translate_Message": {name: "Translate Message", func: this.doTranslate, value: {click: 0, keycombo: [20]}, plugin: "Translator"}
}
};

View File

@ -31,7 +31,7 @@
- [Friend Notifications](https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/FriendNotifications) - Shows a Notification when a Friend or a User, you choose to observe, changes their Status
- [Game Activity Toggle](https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/GameActivityToggle) - Adds a Quick-Toggle Game Activity Button
- [Google Search Replace](https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/GoogleSearchReplace) - Replaces the default Google Text Search with a custom Search Engine
- [Google Translate Option](https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/GoogleTranslateOption) - Allows you to translate Messages and your outgoing Message within Discord
- [Translator](https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/Translator) - Allows you to translate Messages and your outgoing Messages within Discord
- [Hide Muted Categories](https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/HideMutedCategories) - Hides muted Categories, if muted Channels are hidden
- [Image Utilities](https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/ImageUtilities) - Adds several Utilities for Images/Videos (Gallery, Download, Reverse Search, Zoom, Copy, etc.)
- [Joined At Date](https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/JoinedAtDate) - Displays the Joined At Date of a Member in the UserPopout and UserModal

View File

@ -1,7 +1,7 @@
# Google Translate Option [![Download][download-badge]][download-link] [![Support][support-badge]][support-link] [![PayPal][paypal-badge]][paypal-link] [![Patreon][patreon-badge]][patreon-link]
# Translator [![Download][download-badge]][download-link] [![Support][support-badge]][support-link] [![PayPal][paypal-badge]][paypal-link] [![Patreon][patreon-badge]][patreon-link]
[download-badge]: https://img.shields.io/badge/Download-%233a71c1.svg?style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAgCAYAAAAIXrg4AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAd5gAAHeYBMKt3fAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAE9SURBVEiJ7ZQ7TsNAFEWv06IAShOkEDD5UNCwB8RCWEYWAqkIYiEgZQERoqLgFz4hUIaC+tCM4cmyk4mxCyRfaSRL8+49781YI3kKOASmwBtw4OvzFnDJry58fZUlGGvme70IQCaVgBLwXwBADegDp0AjaxjQAAbACVCzG+fmGRgDYYJ5ZGpGCfuh80Ya/EwgqWpqQ0lDoLVE5y1JQ+eNVLUFXfdSWr0A7UUTAG1XazUFuvEudoFJrPAd2EsDuMZeY56PyJM0aqohDljU0Lzz7KSMbMMmJB9px/fStoFH/PWMuS9fyBbw4Bnu/cclQe7nhD8BO5nCDaQJ3CWEj/8cbiAbwI0JvwU2cwk3kDpw7FY91/BShSoAmpKOJK3knP0l6SwAriXt5xwe6SoAPiWtFgSYVST1JM2KCJfU+wadgFl0/0HGbQAAAABJRU5ErkJggg==
[download-link]: https://mwittrien.github.io/downloader/?plugin=GoogleTranslateOption
[download-link]: https://mwittrien.github.io/downloader/?plugin=Translator
[support-badge]: https://img.shields.io/badge/Support-%2343b581.svg?style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAC4UlEQVRYR8WXS4jNcRTHP195bEgWkoVsCAspNcVoLGblsaAoFCalBqU8BhuPPDZeQ5LBRmHBYsok7KYor5TyKDI2UiQLZWwojs6d351+85977+93J7q/uqt7Hp/fOed3zvmLzGNm44BWYAUwB5gafm7hc/i9AXqAXkk/c0wrJWRmU4BDwHpgQko+/N8PXAcOS/pSS6cqgJmNBfYBe4HxmY6LYj+AE8BxSb8q2agIEG7dDSwaoeOi2kNgVaVoDAMws7nAHWDaP3JeNvMRWC7pVWx3CEC4+bMM533AE+B5MDYfWADMTEA7RFMciUGAkPPeRNi9svcDnZL+xM7MbBSwCzgG+IupdjwdreWaiAEOAEdqKLrzZknlW1cUNTOPxqMExEFJR91ACSCE/n2i2vdIOpVTF2bWAZysIeuvY4anogxwAdhaQ8FzPjsOu5lNAjYFnSuSvpX1QzreJmqiS9I2hQ73NdFkrknaGDlw5x8iHW880wsQV4ENNS7lOpMdYClwNxHanZLORgBebKcLOrsldUYyO4AzCbvLHOAi0J4QbJd0OTJ+D1iSANgOnEvYveQA94HFCcHvgDv1M7GC80op6AK2JOw+cIB3GQ2kmh1/Oe6oWISjgdfArARAnwM4fb3D5jew0lu2JCs6MbOc8Lvaj5EC9EhygGHHzFqA2yFVqbZRAhhJCtok+TMbPGY2BmgDzie6YKxWSkFOERZvsk7SjehVbA4zwJeXek6pCHOeYdHoWkk3IwCHWVOP5yBbeoY5jahoO6cv5PCUGpGPzlQrLhpL9YUc5wOt2CXNLDWMKhn0ifYSWFieqjleI5mBYRQAvHhS4zi2/wJokdRvZk3A0zohho7jAJFaSGKADkmDw8jMfMtpriMCQxeSAOBreGolK/volrQ66Pm3wqc6umnllSxKRc5S6q34FvA4zPx5mbevvpRGb7pxa3kE4UXZmA+TCKJxn2ZxPhv2cVosqv/1ef4XvUY7+DQzteEAAAAASUVORK5CYII=
[support-link]: https://discord.com/invite/Jx3TjNS
@ -12,22 +12,22 @@
[patreon-badge]: https://img.shields.io/badge/Patreon-%23F96854.svg?style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAdhwAAHYcBj+XxZQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAGBSURBVFiF7Za9ThtBFEbPBUpERWMwCorfJjY4aVLxBFHCKyCl4hWQUqVMBULmbfiRCNACqSJsDsXakjHGO8Y7ovFXrmbmO3NnZ74bqrzUeUR8HPP9mdQ60AZawCZQBwK4BC6ADnAUEZeTFhmnsxLjdfVAfXhl/rB66h/1QyUAalu9TzAe1Z26NROAutvf0VvVU7+/CUD9PKP5MMT2VADqhvqvAvOB7tQ1gIXXznpEP4HlxLEpWgH2AEInX0OLv/cUWKwQAKALbKZU4EsGc4AloJ0C8CmD+UDNFIBGRoBGCkAtI8B66i3IpccUgJuMANcpAKcZAc5SAE4yAnRSAA6BXgbzLnBUChARF8DvDAC/IuIqNYzqFYfRrVqDxDCKiL/AV6o5ikdgJyJuBrsrrcBQJX44W0/QVb+NLpoM0B/f6pdwWt2qL3NlWoD+nFV1X/2fYPxg0cCOfdJL+4ESkBqwDTQpQmuNoi2/onjAOsBxRFxPWmTqClSp9w6jOcAcYA7AE1OMk5ulhBZCAAAAAElFTkSuQmCC
[patreon-link]: https://patreon.com/MircoWittrien
Allows you to translate Messages and your outgoing Message within Discord
Allows you to translate Messages and your outgoing Messages within Discord
Translate Message Option:
![screenshot1](https://mwittrien.github.io/BetterDiscordAddons/Plugins/GoogleTranslateOption/_res/screenshot1.png)
![screenshot2](https://mwittrien.github.io/BetterDiscordAddons/Plugins/GoogleTranslateOption/_res/screenshot2.png)
![screenshot1](https://mwittrien.github.io/BetterDiscordAddons/Plugins/Translator/_res/screenshot1.png)
![screenshot2](https://mwittrien.github.io/BetterDiscordAddons/Plugins/Translator/_res/screenshot2.png)
Search Translation Option:
![screenshot3](https://mwittrien.github.io/BetterDiscordAddons/Plugins/GoogleTranslateOption/_res/screenshot3.png)
![screenshot3](https://mwittrien.github.io/BetterDiscordAddons/Plugins/Translator/_res/screenshot3.png)
Translation Options Button:
![screenshot4](https://mwittrien.github.io/BetterDiscordAddons/Plugins/GoogleTranslateOption/_res/screenshot4.png)
![screenshot4](https://mwittrien.github.io/BetterDiscordAddons/Plugins/Translator/_res/screenshot4.png)
Translation Options:
![screenshot5](https://mwittrien.github.io/BetterDiscordAddons/Plugins/GoogleTranslateOption/_res/screenshot5.png)
![screenshot5](https://mwittrien.github.io/BetterDiscordAddons/Plugins/Translator/_res/screenshot5.png)

View File

@ -1,24 +1,29 @@
/**
* @name GoogleTranslateOption
* @name Translator
* @author DevilBro
* @authorId 278543574059057154
* @version 2.2.8
* @description Allows you to translate Messages and your outgoing Message within Discord
* @version 2.2.9
* @description Allows you to translate Messages and your outgoing Messages within Discord
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
* @patreon https://www.patreon.com/MircoWittrien
* @website https://mwittrien.github.io/
* @source https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/GoogleTranslateOption/
* @updateUrl https://mwittrien.github.io/BetterDiscordAddons/Plugins/GoogleTranslateOption/GoogleTranslateOption.plugin.js
* @source https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/Translator/
* @updateUrl https://mwittrien.github.io/BetterDiscordAddons/Plugins/Translator/Translator.plugin.js
*/
module.exports = (_ => {
const config = {
"info": {
"name": "GoogleTranslateOption",
"name": "Translator",
"author": "DevilBro",
"version": "2.2.8",
"description": "Allows you to translate Messages and your outgoing Message within Discord"
"version": "2.2.9",
"description": "Allows you to translate Messages and your outgoing Messages within Discord"
},
"changeLog": {
"improved": {
"Plugin Name": "Changed to clarify the Usage"
}
}
};
@ -79,7 +84,7 @@ module.exports = (_ => {
render() {
const enabled = _this.isTranslationEnabled(this.props.channelId);
return BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ChannelTextAreaButton, {
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN._googletranslateoptiontranslatebutton, _this.isTranslationEnabled(this.props.channelId) && BDFDB.disCN._googletranslateoptiontranslating, BDFDB.disCN.textareapickerbutton),
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN._translatortranslatebutton, _this.isTranslationEnabled(this.props.channelId) && BDFDB.disCN._translatortranslating, BDFDB.disCN.textareapickerbutton),
isActive: this.props.isActive,
iconSVG: translateIcon,
nativeClass: true,
@ -176,7 +181,7 @@ module.exports = (_ => {
}
}].map(data => {
const icon = BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Clickable, {
className: BDFDB.disCN._googletranslateoptionconfigbutton,
className: BDFDB.disCN._translatorconfigbutton,
onClick: data.onClick,
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, {
width: 24,
@ -337,7 +342,7 @@ module.exports = (_ => {
SENT: "sent",
};
return class GoogleTranslateOption extends Plugin {
return class Translator extends Plugin {
onLoad () {
_this = this;
@ -374,10 +379,10 @@ module.exports = (_ => {
};
this.css = `
${BDFDB.dotCN._googletranslateoptiontranslatebutton + BDFDB.dotCNS._googletranslateoptiontranslating + BDFDB.dotCN.textareaicon} {
${BDFDB.dotCN._translatortranslatebutton + BDFDB.dotCNS._translatortranslating + BDFDB.dotCN.textareaicon} {
color: var(--bdfdb-red) !important;
}
${BDFDB.dotCN._googletranslateoptionconfigbutton} {
${BDFDB.dotCN._translatorconfigbutton} {
margin: 2px 3px 0 6px;
}
`;
@ -507,7 +512,7 @@ module.exports = (_ => {
children: BDFDB.ContextMenuUtils.createItem(BDFDB.LibraryComponents.MenuItems.MenuItem, {
id: BDFDB.ContextMenuUtils.createItemId(this.name, "search-translation"),
disabled: isTranslating,
label: this.labels.context_googletranslateoption,
label: this.labels.context_translator,
persisting: true,
action: event => {
let item = BDFDB.DOMUtils.getParent(BDFDB.dotCN.menuitem, event.target);
@ -656,7 +661,7 @@ module.exports = (_ => {
text: `${BDFDB.LanguageUtils.getName(translation.input)}${BDFDB.LanguageUtils.LibraryStrings.to} ${BDFDB.LanguageUtils.getName(translation.output)}`,
tooltipConfig: {style: "max-width: 400px"},
children: BDFDB.ReactUtils.createElement("span", {
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.messagetimestamp, BDFDB.disCN.messagetimestampinline, BDFDB.disCN._googletranslateoptiontranslated),
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.messagetimestamp, BDFDB.disCN.messagetimestampinline, BDFDB.disCN._translatortranslated),
children: BDFDB.ReactUtils.createElement("span", {
className: BDFDB.disCN.messageedited,
children: `(${this.labels.translated_watermark})`
@ -680,7 +685,7 @@ module.exports = (_ => {
text: `${BDFDB.LanguageUtils.getName(translation.input)}${BDFDB.LanguageUtils.getName(translation.output)}`,
tooltipConfig: {style: "max-width: 400px"},
children: BDFDB.ReactUtils.createElement("span", {
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.messagetimestamp, BDFDB.disCN.messagetimestampinline, BDFDB.disCN._googletranslateoptiontranslated),
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.messagetimestamp, BDFDB.disCN.messagetimestampinline, BDFDB.disCN._translatortranslated),
children: BDFDB.ReactUtils.createElement("span", {
className: BDFDB.disCN.messageedited,
children: `(${this.labels.translated_watermark})`
@ -1194,7 +1199,7 @@ module.exports = (_ => {
switch (BDFDB.LanguageUtils.getLanguage().id) {
case "bg": // Bulgarian
return {
context_googletranslateoption: "Търсене превод",
context_translator: "Търсене превод",
context_messagetranslateoption: "Превод на съобщението",
context_messageuntranslateoption: "Превод на съобщението",
popout_translateoption: "Превод",
@ -1206,7 +1211,7 @@ module.exports = (_ => {
};
case "da": // Danish
return {
context_googletranslateoption: "Søg oversættelse",
context_translator: "Søg oversættelse",
context_messagetranslateoption: "Oversæt besked",
context_messageuntranslateoption: "Ikke-oversat besked",
popout_translateoption: "Oversætte",
@ -1218,7 +1223,7 @@ module.exports = (_ => {
};
case "de": // German
return {
context_googletranslateoption: "Übersetzung suchen",
context_translator: "Übersetzung suchen",
context_messagetranslateoption: "Nachricht übersetzen",
context_messageuntranslateoption: "Nachricht unübersetzen",
popout_translateoption: "Übersetzen",
@ -1230,7 +1235,7 @@ module.exports = (_ => {
};
case "el": // Greek
return {
context_googletranslateoption: "Αναζήτηση μετάφρασης",
context_translator: "Αναζήτηση μετάφρασης",
context_messagetranslateoption: "Μετάφραση μηνύματος",
context_messageuntranslateoption: "Μη μετάφραση μηνύματος",
popout_translateoption: "Μεταφράζω",
@ -1242,7 +1247,7 @@ module.exports = (_ => {
};
case "es": // Spanish
return {
context_googletranslateoption: "Buscar traducción",
context_translator: "Buscar traducción",
context_messagetranslateoption: "Traducir mensaje",
context_messageuntranslateoption: "Mensaje sin traducir",
popout_translateoption: "Traducir",
@ -1254,7 +1259,7 @@ module.exports = (_ => {
};
case "fi": // Finnish
return {
context_googletranslateoption: "Hae käännöstä",
context_translator: "Hae käännöstä",
context_messagetranslateoption: "Käännä viesti",
context_messageuntranslateoption: "Käännä viesti",
popout_translateoption: "Kääntää",
@ -1266,7 +1271,7 @@ module.exports = (_ => {
};
case "fr": // French
return {
context_googletranslateoption: "Recherche de traduction",
context_translator: "Recherche de traduction",
context_messagetranslateoption: "Traduire le message",
context_messageuntranslateoption: "Message non traduit",
popout_translateoption: "Traduire",
@ -1278,7 +1283,7 @@ module.exports = (_ => {
};
case "hr": // Croatian
return {
context_googletranslateoption: "Pretraži prijevod",
context_translator: "Pretraži prijevod",
context_messagetranslateoption: "Prevedi poruku",
context_messageuntranslateoption: "Prevedi poruku",
popout_translateoption: "Prevedi",
@ -1290,7 +1295,7 @@ module.exports = (_ => {
};
case "hu": // Hungarian
return {
context_googletranslateoption: "Keresés a fordításban",
context_translator: "Keresés a fordításban",
context_messagetranslateoption: "Üzenet lefordítása",
context_messageuntranslateoption: "Az üzenet lefordítása",
popout_translateoption: "fordít",
@ -1302,7 +1307,7 @@ module.exports = (_ => {
};
case "it": // Italian
return {
context_googletranslateoption: "Cerca traduzione",
context_translator: "Cerca traduzione",
context_messagetranslateoption: "Traduci messaggio",
context_messageuntranslateoption: "Annulla traduzione messaggio",
popout_translateoption: "Tradurre",
@ -1314,7 +1319,7 @@ module.exports = (_ => {
};
case "ja": // Japanese
return {
context_googletranslateoption: "翻訳を検索",
context_translator: "翻訳を検索",
context_messagetranslateoption: "メッセージの翻訳",
context_messageuntranslateoption: "メッセージの翻訳解除",
popout_translateoption: "翻訳する",
@ -1326,7 +1331,7 @@ module.exports = (_ => {
};
case "ko": // Korean
return {
context_googletranslateoption: "번역 검색",
context_translator: "번역 검색",
context_messagetranslateoption: "메시지 번역",
context_messageuntranslateoption: "메시지 번역 취소",
popout_translateoption: "옮기다",
@ -1338,7 +1343,7 @@ module.exports = (_ => {
};
case "lt": // Lithuanian
return {
context_googletranslateoption: "Paieškos vertimas",
context_translator: "Paieškos vertimas",
context_messagetranslateoption: "Versti pranešimą",
context_messageuntranslateoption: "Išversti pranešimą",
popout_translateoption: "Išversti",
@ -1350,7 +1355,7 @@ module.exports = (_ => {
};
case "nl": // Dutch
return {
context_googletranslateoption: "Zoek vertaling",
context_translator: "Zoek vertaling",
context_messagetranslateoption: "Bericht vertalen",
context_messageuntranslateoption: "Bericht onvertalen",
popout_translateoption: "Vertalen",
@ -1362,7 +1367,7 @@ module.exports = (_ => {
};
case "no": // Norwegian
return {
context_googletranslateoption: "Søk i oversettelse",
context_translator: "Søk i oversettelse",
context_messagetranslateoption: "Oversett melding",
context_messageuntranslateoption: "Ikke oversett melding",
popout_translateoption: "Oversette",
@ -1374,7 +1379,7 @@ module.exports = (_ => {
};
case "pl": // Polish
return {
context_googletranslateoption: "Wyszukaj tłumaczenie",
context_translator: "Wyszukaj tłumaczenie",
context_messagetranslateoption: "Przetłumacz wiadomość",
context_messageuntranslateoption: "Nieprzetłumacz wiadomość",
popout_translateoption: "Tłumaczyć",
@ -1386,7 +1391,7 @@ module.exports = (_ => {
};
case "pt-BR": // Portuguese (Brazil)
return {
context_googletranslateoption: "Tradução de pesquisa",
context_translator: "Tradução de pesquisa",
context_messagetranslateoption: "Traduzir mensagem",
context_messageuntranslateoption: "Mensagem não traduzida",
popout_translateoption: "Traduzir",
@ -1398,7 +1403,7 @@ module.exports = (_ => {
};
case "ro": // Romanian
return {
context_googletranslateoption: "Căutare traducere",
context_translator: "Căutare traducere",
context_messagetranslateoption: "Traduceți mesajul",
context_messageuntranslateoption: "Untraduceți mesajul",
popout_translateoption: "Traduceți",
@ -1410,7 +1415,7 @@ module.exports = (_ => {
};
case "ru": // Russian
return {
context_googletranslateoption: "Искать перевод",
context_translator: "Искать перевод",
context_messagetranslateoption: "Перевести сообщение",
context_messageuntranslateoption: "Непереведенное сообщение",
popout_translateoption: "Переведите",
@ -1422,7 +1427,7 @@ module.exports = (_ => {
};
case "sv": // Swedish
return {
context_googletranslateoption: "Sök översättning",
context_translator: "Sök översättning",
context_messagetranslateoption: "Översätt meddelande",
context_messageuntranslateoption: "Untranslate meddelande",
popout_translateoption: "Översätt",
@ -1434,7 +1439,7 @@ module.exports = (_ => {
};
case "th": // Thai
return {
context_googletranslateoption: "ค้นหาคำแปล",
context_translator: "ค้นหาคำแปล",
context_messagetranslateoption: "แปลข้อความ",
context_messageuntranslateoption: "ยกเลิกการแปลข้อความ",
popout_translateoption: "แปลภาษา",
@ -1446,7 +1451,7 @@ module.exports = (_ => {
};
case "tr": // Turkish
return {
context_googletranslateoption: "Çeviri ara",
context_translator: "Çeviri ara",
context_messagetranslateoption: "Mesajı Çevir",
context_messageuntranslateoption: "Çeviriyi Kaldır Mesajı",
popout_translateoption: "Çevirmek",
@ -1458,7 +1463,7 @@ module.exports = (_ => {
};
case "uk": // Ukrainian
return {
context_googletranslateoption: "Пошук перекладу",
context_translator: "Пошук перекладу",
context_messagetranslateoption: "Перекласти повідомлення",
context_messageuntranslateoption: "Неперекладене повідомлення",
popout_translateoption: "Перекласти",
@ -1470,7 +1475,7 @@ module.exports = (_ => {
};
case "vi": // Vietnamese
return {
context_googletranslateoption: "Tìm kiếm bản dịch",
context_translator: "Tìm kiếm bản dịch",
context_messagetranslateoption: "Dịch tin nhắn",
context_messageuntranslateoption: "Thư chưa dịch",
popout_translateoption: "Phiên dịch",
@ -1482,7 +1487,7 @@ module.exports = (_ => {
};
case "zh-CN": // Chinese (China)
return {
context_googletranslateoption: "搜索翻译",
context_translator: "搜索翻译",
context_messagetranslateoption: "翻译消息",
context_messageuntranslateoption: "取消翻译消息",
popout_translateoption: "翻译",
@ -1494,7 +1499,7 @@ module.exports = (_ => {
};
case "zh-TW": // Chinese (Taiwan)
return {
context_googletranslateoption: "搜索翻譯",
context_translator: "搜索翻譯",
context_messagetranslateoption: "翻譯訊息",
context_messageuntranslateoption: "取消翻譯訊息",
popout_translateoption: "翻譯",
@ -1506,7 +1511,7 @@ module.exports = (_ => {
};
default: // English
return {
context_googletranslateoption: "Search Translation",
context_translator: "Search Translation",
context_messagetranslateoption: "Translate Message",
context_messageuntranslateoption: "Untranslate Message",
popout_translateoption: "Translate",

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB