diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 18e11ac..af599e6 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -60,7 +60,10 @@ "message": "Unblock Youku is now offering RIFT VPN for your phone, enjoy your favorite TV shows and music anytime, anywhere." }, "rift_scan_message":{ - "message": "Scan the QR code to download Android app: " + "message": "Scan for Android" + }, + "rift_scan_ios_message":{ + "message": "Scan for iOS" }, "rift_qr_title":{ "message": "Want to use it on your phone? " diff --git a/_locales/zh_CN/messages.json b/_locales/zh_CN/messages.json index eaffa3e..35f454d 100644 --- a/_locales/zh_CN/messages.json +++ b/_locales/zh_CN/messages.json @@ -60,7 +60,10 @@ "message": "Unblock Youku 现在为您的手机提供 RIFT VPN,随时随地畅享您喜爱的电视节目和音乐。" }, "rift_scan_message":{ - "message": "扫描二维码下载安卓应用:" + "message": "扫描下载安卓客户端:" + }, + "rift_scan_ios_message":{ + "message": "扫描下载苹果客户端:" }, "rift_qr_title":{ "message": "想在手机上使用 Unblock Youku?" diff --git a/_locales/zh_TW/messages.json b/_locales/zh_TW/messages.json index f1b5e95..d7d645a 100644 --- a/_locales/zh_TW/messages.json +++ b/_locales/zh_TW/messages.json @@ -60,7 +60,10 @@ "message": "Unblock Youku 现在为您的手机提供 RIFT VPN,随时随地畅享您喜爱的电视节目和音乐。" }, "rift_scan_message": { - "message": "扫描二维码下载安卓应用:" + "message": "掃描下載安卓應用: " + }, + "rift_scan_ios_message":{ + "message": "掃描下載iOS應用: " }, "rift_qr_title": { "message": "想在手机上使用 Unblock Youku?" diff --git a/src/img/rift-vpn-qr-ios.jpg b/src/img/rift-vpn-qr-ios.jpg new file mode 100644 index 0000000..b5e63fa Binary files /dev/null and b/src/img/rift-vpn-qr-ios.jpg differ diff --git a/src/popup.html b/src/popup.html index c185f44..f8fbfa8 100644 --- a/src/popup.html +++ b/src/popup.html @@ -15,13 +15,26 @@
-
+
+
NEW
-
-

- Rift VPN QR code + + +
+ +
+

+ Rift VPN QR code +
+ + +
+

+ Rift VPN iOS QR code +
+

diff --git a/src/popup.mjs b/src/popup.mjs index 1057c86..8a89f09 100644 --- a/src/popup.mjs +++ b/src/popup.mjs @@ -8,12 +8,13 @@ import * as Icon from './modules/_icon.mjs'; // Set the translated texts for the options page (function() { const getMsg = chrome.i18n.getMessage; - $('div#rift_qr strong').html(getMsg('rift_qr_title')); + $('div#qr_codes_container strong').html(getMsg('rift_qr_title')); $('div#support strong').html(getMsg('support_title')); $('p#support_message').html(getMsg('support_message')); $('button#learn_rift_button').html(getMsg('learn_rift_button')); $('p#rift_intro_message').html(getMsg('rift_intro_message')); $('p#rift_scan_message').html(getMsg('rift_scan_message')); + $('p#rift_scan_ios_message').html(getMsg('rift_scan_ios_message')); $('a#support_link').attr('href', getMsg('donation_url')); $('button#support_button').html(getMsg('support_button'));