From 50e7fa5933e5a734c5deb672eaf5af5d7a1c87b0 Mon Sep 17 00:00:00 2001 From: sienori Date: Sat, 2 Jun 2018 22:14:43 +0900 Subject: [PATCH] Replace setting icon with svg --- simple-translate/icons/setting.png | Bin 4341 -> 0 bytes simple-translate/popup/popup.css | 36 +++++++++++++++++++++++++---- simple-translate/popup/popup.html | 36 ++++++++++++++++++++++++++--- simple-translate/popup/popup.js | 5 ++++ 4 files changed, 69 insertions(+), 8 deletions(-) delete mode 100644 simple-translate/icons/setting.png diff --git a/simple-translate/icons/setting.png b/simple-translate/icons/setting.png deleted file mode 100644 index 25b339d38c79d2f792d5e468a626ddb9cea3c515..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4341 zcmY*dc{mhY`#!T6riLa=*=OF0gqUOrVNjM3S)#HG$}XZ%mKkNso;78QLey)ktQj#9 zW#1{wpjE?E%wUY)yua_euJ8N)IrllwdCvA+=Un%5pSzZ4jrezo?E(Psn;4(60sz9T zLI59v3l4$h?pzSPe%k)JwZHrI5SPF!K<~1@>lK`dpNq#8t1B*-Z(i%ZauNV^j>#!K zo6xD{e2Vo!qkUarR1U=Vv+rqrN50(Sr#{O;O((AyPdZZ5Hx49xNFje!G`ReQ&yO(2 zchB+FuBtO{YDrN`A9Ab2FNR&b0Ns92z}$?`v9)flFHOlEU)lOOuKh_n24*WEDfx06 zdzdpN6zl^dIez-|>4ulIws15dd9{8U%Y?@0zULEoy*J5Ibz_7tN=zkwwll1ytPu|; zd?zVoU$dDsZ5RTG&za3@7Y_J}0N>cA_OO|fNj$Kpu>ECQL(BjSbodHEQ2^ipXyYCp zMvi$Jv_ggu!AC730Ay}>xS^Yx!bZfacH~%!e(aK<0y*IwWg+wN2WEt@K(DY^BtxmEAXuneRB-1p(n0>_ zh=ltfGjnldEuGfi4)=ab)h&Jg4vtG^jXy<=J|OfKu@0Nhsl_RapYJbAgZU&lzeJ8C zC6LVa329WH*HKkJ`SDzqg=z<_-xbBXXg!9o40JPB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EN?Dch8VvAgzH3e7xY~EI$w=YK9wE_N-={>U-wDC#gSc+K65K7@4$3QnL5!nt{hq zj|;T%-E#)58izs}LiexZ;RBP1h5nCw0>gYV^C6c#Jqz<@4tCr|Ql4N$p>5w!%C&~* z@W%a@LgtF%Ht5L!u6+KFYUbJ&dk-=NL;&J{%(FRhD*G`Y(;E4L`#S)wjKZ +
diff --git a/simple-translate/popup/popup.js b/simple-translate/popup/popup.js index b4b3e13..279149b 100644 --- a/simple-translate/popup/popup.js +++ b/simple-translate/popup/popup.js @@ -48,6 +48,11 @@ function setLangList() { langList.innerHTML = langListHtml; } +setTitles(); +function setTitles(){ + document.getElementById("setting").title = browser.i18n.getMessage('settingsLabel'); +} + function alphabeticallySort(a, b) { if (a[1].toString() > b[1].toString()) { return 1;