diff --git a/simple-translate/_locales/en/messages.json b/simple-translate/_locales/en/messages.json index 48667b4..1269b7e 100644 --- a/simple-translate/_locales/en/messages.json +++ b/simple-translate/_locales/en/messages.json @@ -5,6 +5,10 @@ "extDescription": { "message": "View translations easily as you browse the web." }, + + "donateWithPaypalLabel": { + "message": "Donate with PayPal" + }, "initialTextArea": { "message": "Enter text" }, @@ -17,6 +21,7 @@ "langList": { "message": "af:Afrikaans, sq:Albanian, am:Amharic, ar:Arabic, hy:Armenian, az:Azerbaijani, eu:Basque, be:Belarusian, bn:Bengali, bs:Bosnian, bg:Bulgarian, ca:Catalan, ceb:Cebuano, ny:Chewa, zh-CN:Chinese (PRC), zh-TW:Chinese (Taiwan), co:Corsican, hr:Croatian, cs:Czech, da:Danish, nl:Dutch, en:English, eo:Esperanto, et:Estonian, fi:Finnish, fr:French, fy:Frisian, gl:Galician, ka:Georgian, de:German, el:Greek, gu:Gujarati, ht:Haitian, ha:Hausa, haw:Hawaiian, he:Hebrew, hi:Hindi, hu:Hungarian, is:Icelandic, ig:Igbo, id:Indonesian, ga:Irish, it:Italian, ja:Japanese, jv:Javanese, kn:Kannada, kk:Kazakh, km:Khmer, ky:Kirghiz, ko:Korean, ku:Kurdish, lo:Laotian, la:Latin, lv:Latvian, lt:Lithuanian, lb:Luxembourgish, mk:Macedonian, mg:Malagasy, ms:Malay, ml:Malayalam, mt:Maltese, mi:Maori, mr:Marathi, mn:Mongolian, hmn:Monk, my:Myanmar, ne:Nepali, no:Norwegian, fa:Persian, pl:Polish, pt:Portuguese, pa:Punjabi, ps:Pushto, ro:Romanian, ru:Russian, sm:Samoan, gd:Scottish Gaelic, sr:Serbian, sn:Shona, sd:Sindhi, si:Sinhala, sk:Slovak, sl:Slovenian, so:Somali, sx:Sotho, es:Spanish, su:Sundanese, sw:Swahili, sv:Swedish, tl:Tagalog, tg:Tajiki, ta:Tamil, te:Telugu, th:Thai, tr:Turkish, uk:Ukrainian, ur:Urdu, uz:Uzbek, vi:Vietnamese, cy:Welsh, xh:Xosa, yi:Yiddish, yo:Yoruba, zu:Zulu" }, + "settingsLabel": { "message": "Settings" }, diff --git a/simple-translate/popup/popup.css b/simple-translate/popup/popup.css index 6b26662..d706f5b 100644 --- a/simple-translate/popup/popup.css +++ b/simple-translate/popup/popup.css @@ -5,6 +5,7 @@ --button: #d7d7db; --highlight: #5595ff; --main-bg: #ffffff; + --confirm: #ff4f4f; } body { @@ -56,6 +57,24 @@ svg { justify-content: flex-end; } +#donate { + display: flex; + align-items: center; + cursor: pointer; + margin-right: 8px; +} + +#donate svg { + height: 18px; + width: 18px; + fill: var(--sub-text); + transition: all 100ms; +} + +#donate:hover svg { + fill: var(--confirm); +} + #setting { display: flex; align-items: center; diff --git a/simple-translate/popup/popup.html b/simple-translate/popup/popup.html index b5a8c23..1ecec93 100644 --- a/simple-translate/popup/popup.html +++ b/simple-translate/popup/popup.html @@ -30,11 +30,25 @@ C511.995,216.122,506.472,210.32,499.453,210.004z M256.01,339.618c-46.164,0-83.622-37.438-83.622-83.612 c0-46.184,37.458-83.622,83.622-83.622s83.602,37.438,83.602,83.622C339.612,302.179,302.174,339.618,256.01,339.618z"> + + +