Add a link of amazon gift cards to options page
This commit is contained in:
parent
2795eda187
commit
efa227fb1f
|
@ -143,9 +143,15 @@
|
|||
"donationCaptionLabel": {
|
||||
"message": "Thank you for using Simple Translate.<br>Your support will be a big encouragement, as I continue to develop the add-on.<br>If you like Simple Translate, I would be pleased if you could consider donating."
|
||||
},
|
||||
"amazonTitleLabel": {
|
||||
"message": "amazon.co.jp eGift Cards"
|
||||
},
|
||||
"addonPageLabel": {
|
||||
"message": "Add-on page"
|
||||
},
|
||||
"amazonUrl": {
|
||||
"message": "https://www.amazon.co.jp/dp/B004N3APGO?language=en_US"
|
||||
},
|
||||
"addonUrl": {
|
||||
"message": "https:\/\/addons.mozilla.org\/en-US\/firefox\/addon\/simple-translate\/?src=optionpage"
|
||||
},
|
||||
|
|
|
@ -333,6 +333,17 @@
|
|||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class=optionContainer>
|
||||
<div class="optionText">
|
||||
<a class=amazonUrl href="https://www.amazon.co.jp/dp/B004N3APGO?language=ja_JP" target="_blank">
|
||||
<span class="amazonTitleLabel pageLink caption">amazonギフト券 Eメールタイプ</span>
|
||||
</a>
|
||||
<p class=caption>email: sienori.firefox+st@gmail.com</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<hr>
|
||||
|
||||
<li>
|
||||
|
|
|
@ -42,3 +42,4 @@ function readHash(e) {
|
|||
}
|
||||
|
||||
document.getElementsByClassName("addonUrl")[0].href = browser.i18n.getMessage("addonUrl");
|
||||
document.getElementsByClassName("amazonUrl")[0].href = browser.i18n.getMessage("amazonUrl");
|
||||
|
|
Loading…
Reference in a new issue