Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: includes/index.tmpl

Issue 29424810: Issue 5191 - Add Terms of Use to adblockplus.org homepage (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Left Patch Set: Fixed has_string Created May 2, 2017, 8:43 a.m.
Right Patch Set: Removed '>' from selector Created May 2, 2017, 2:54 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | static/css/index.css » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 title=Adblock Plus - Surf the web without annoying ads! 1 title=Adblock Plus - Surf the web without annoying ads!
2 noheading=True 2 noheading=True
3 localefile=index 3 localefile=index
4 4
5 {# 5 {#
6 # This file is part of the Adblock Plus website, 6 # This file is part of the Adblock Plus website,
7 # Copyright (C) 2006-2017 eyeo GmbH 7 # Copyright (C) 2006-2017 eyeo GmbH
8 # 8 #
9 # Adblock Plus is free software: you can redistribute it and/or modify 9 # Adblock Plus is free software: you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 3 as 10 # it under the terms of the GNU General Public License version 3 as
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 <div class="sprite"></div> 60 <div class="sprite"></div>
61 {{"It's free for users and open source (<a href=\"https://www.gnu.org/ licenses/gpl.html\">GPLv3</a>)"|translate("gplv3-license")}} 61 {{"It's free for users and open source (<a href=\"https://www.gnu.org/ licenses/gpl.html\">GPLv3</a>)"|translate("gplv3-license")}}
62 </li> 62 </li>
63 <li id="feature-maxthon" itemprop="featureList"> 63 <li id="feature-maxthon" itemprop="featureList">
64 <div class="sprite"></div> 64 <div class="sprite"></div>
65 {{"Integrated by default in"|translate("s11")}} <a href="http://www.ma xthon.com/" target="_blank">{{"Maxthon Cloud Browser"|translate("s12")}}</a> 65 {{"Integrated by default in"|translate("s11")}} <a href="http://www.ma xthon.com/" target="_blank">{{"Maxthon Cloud Browser"|translate("s12")}}</a>
66 </li> 66 </li>
67 </ul> 67 </ul>
68 </div> 68 </div>
69 69
70 {% if locale == "en" or has_string("terms-message", "index") %} 70 <p id="terms-message">
saroyanm 2017/05/02 09:26:37 We should check against "defaultlocale" I think in
saroyanm 2017/05/02 09:26:37 This is wrong, the string can be translated while
juliandoucette 2017/05/02 10:22:12 I agree. But I don't know how to do this without c
juliandoucette 2017/05/02 10:22:12 Acknowledged.
juliandoucette 2017/05/02 10:32:01 Done.
juliandoucette 2017/05/02 10:32:01 Detail: I think that we have to check if the messa
71 <p class="terms-message"> 71 {{ "By clicking the Agree and Install button below, you agree to our <a hr ef=\"terms\">Terms of Use</a>." | translate("terms-message", "Terms of use messa ge") }}
72 {{ "By clicking the Agree and Install button below, you agree to our <a href='terms'>Terms of Use</a>." | translate("terms-message", "Terms of use messa ge") }} 72 </p>
73 </p>
74 {% endif %}
75 73
76 <h3 class="edge-message"> 74 <h3 class="edge-message">
77 {{"Adblock Plus for Microsoft Edge requires Windows 10 Anniversary Update" |translate("edge-message")}} 75 {{"Adblock Plus for Microsoft Edge requires Windows 10 Anniversary Update" |translate("edge-message")}}
78 </h3> 76 </h3>
79 77
80 <div id="install"> 78 <div id="install">
81 {% for platform_id in platforms %} 79 <a class="install-button" href="https://update.adblockplus.org/latest/adbl ockplusfirefox.xpi" id="install-firefox">{{"Agree and Install for Firefox"|trans late("s13")}}</a>
82 {% set platform = platforms[platform_id] %} 80 <a class="install-button" href="https://chrome.google.com/webstore/detail/ cfhdojbkjhnklbpkdaibdccddilifddb" id="install-chrome" onclick="chrome.webstore.i nstall(); return false;">{{"Agree and Install for Chrome"|translate("s14")}}</a>
83 <a 81 <a class="install-button" href="https://addons.opera.com/extensions/detail s/opera-adblock/?display=en-US" id="install-opera">{{"Agree and Install for Oper a"|translate("s15")}}</a>
84 id="install-{{ platform_id }}" 82 <a class="install-button" href="android-install" id="install-android">{{"A gree and Install for Android"|translate("s16")}}</a>
85 class="install-button" 83 <a class="install-button" href="https://update.adblockplus.org/latest/adbl ockplusie.exe" id="install-internet-explorer">{{"Agree and Install for Internet Explorer"|translate("s17")}}</a>
86 {% if platform_id in ('chrome', 'yandex-browser') %} 84 <a class="install-button" href="https://update.adblockplus.org/latest/adbl ockplussafari.safariextz" id="install-safari">{{"Agree and Install for Safari"|t ranslate("s18")}}</a>
87 onclick="chrome.webstore.install(); return false;" 85 <a class="install-button" href="https://chrome.google.com/webstore/detail/ cfhdojbkjhnklbpkdaibdccddilifddb" id="install-yandex-browser" onclick="chrome.we bstore.install(); return false;">{{"Agree and Install for Yandex Browser"|transl ate("s19")}}</a>
88 {% endif %} 86 <a class="install-button" href="ms-windows-store://pdp/?ProductId=9nblggh4 r9nz" id="install-edge">{{"Agree and Install for Microsoft Edge"|translate("inst all-edge")}}</a>
89 href="{{ platform.href }}">
90 {% if locale == "en" or has_string(("agree-install-%s" % platform_id), "index") %}
91 {{ ("Agree and Install for <fix>%s</fix>" % platform.label) | transl ate(("agree-install-%s" % platform_id), "button label") }}
92 {% else %}
93 {{ ("Install for <fix>%s</fix>" % platform.label) | translate(("inst all-%s" % platform_id), "button label") }}
94 {% endif %}
95 </a>
96 {% endfor %}
97 </div> 87 </div>
98 88
99 <div id="other-platform"> 89 <div id="other-platform">
100 <div>{{"Download Adblock Plus for another platform"|translate("other-pla tform")}}</div> 90 <div>{{"Download Adblock Plus for another platform"|translate("other-pla tform")}}</div>
101 <ul> 91 <ul>
102 <li> 92 <li>
103 <a class="sprite" href="firefox" id="platform-firefox" title="{{"Adb lock Plus for Firefox"|translate("s20")}}"></a> 93 <a class="sprite" href="firefox" id="platform-firefox" title="{{"Adb lock Plus for Firefox"|translate("s20")}}"></a>
104 </li> 94 </li>
105 <li> 95 <li>
106 <a class="sprite" href="chrome" id="platform-chrome" title="{{"Adblo ck Plus for Chrome"|translate("s21")}}"></a> 96 <a class="sprite" href="chrome" id="platform-chrome" title="{{"Adblo ck Plus for Chrome"|translate("s21")}}"></a>
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 </div> 243 </div>
254 244
255 <div class="more-tab" id="tab-chrome"> 245 <div class="more-tab" id="tab-chrome">
256 <h2>{{"Ad Blocker for Chrome"|translate("s64")}}</h2> 246 <h2>{{"Ad Blocker for Chrome"|translate("s64")}}</h2>
257 247
258 <p> 248 <p>
259 {{"Adblock Plus is the most advanced adblocker for the Google Chrome bro wser. Are you fed up with advertisers infringing on your browsing experience? Si mply install the extension and all annoying ads will be automatically blocked fr om the internet. Blinking banners, popups, video commercials on YouTube and Face book ads: The Chrome Adblock Plus extension will automatically remove any unwant ed ad from every website you visit. Want more? You can easily activate additiona l privacy and security <a href=\"features\">features</a> such as tracking and ma lware protection."|translate("s65")}} 249 {{"Adblock Plus is the most advanced adblocker for the Google Chrome bro wser. Are you fed up with advertisers infringing on your browsing experience? Si mply install the extension and all annoying ads will be automatically blocked fr om the internet. Blinking banners, popups, video commercials on YouTube and Face book ads: The Chrome Adblock Plus extension will automatically remove any unwant ed ad from every website you visit. Want more? You can easily activate additiona l privacy and security <a href=\"features\">features</a> such as tracking and ma lware protection."|translate("s65")}}
260 </p> 250 </p>
261 251
262 <p> 252 <p>
263 {{"Installing the Chrome Adblock Plus add-on to your browser only takes a few seconds. Simply click the \"Install for Chrome\" button above and confirm the installation by clicking the \"Add\" button. Please note: The Chrome browser displays a warning that Adblock Plus can access the data on any website you vis it. This is a standard warning for Chrome extensions running on every tab. We pr omise to never collect any data about you."|translate("s66")}} 253 {{"Installing the Chrome Adblock Plus add-on to your browser only takes a few seconds. Simply click the \"Agree and Install for Chrome\" button above an d confirm the installation by clicking the \"Add\" button. Please note: The Chro me browser displays a warning that Adblock Plus can access the data on any websi te you visit. This is a standard warning for Chrome extensions running on every tab. We promise to never collect any data about you."|translate("s66")}}
264 </p> 254 </p>
265 255
266 <p> 256 <p>
267 {{"The add-on is developed by the open source community and free to use for everybody. With more than <fix>100</fix> million active devices, <fix>Adbloc k Plus</fix> is one of the most popular browser extensions for <fix>Google Chrom e</fix>."|translate("s67")}} 257 {{"The add-on is developed by the open source community and free to use for everybody. With more than <fix>100</fix> million active devices, <fix>Adbloc k Plus</fix> is one of the most popular browser extensions for <fix>Google Chrom e</fix>."|translate("s67")}}
268 </p> 258 </p>
269 </div> 259 </div>
270 260
271 <div class="more-tab" id="tab-opera"> 261 <div class="more-tab" id="tab-opera">
272 <h2>{{"Blocking ads on Opera"|translate("s72")}}</h2> 262 <h2>{{"Blocking ads on Opera"|translate("s72")}}</h2>
273 263
274 <p> 264 <p>
275 {{"<fix>Adblock Plus</fix> is one of the most popular add-ons available, and is used on over <fix>100</fix> million devices. The installation of <fix>Op era</fix> extensions only takes a few seconds. By adding <fix>Adblock Plus</fix> to your <fix>Opera</fix> browser, you can remove all online advertising such as banners, pop-ups, 30-second <fix>YouTube</fix> commercials, <fix>Facebook</fix> ads and any other unwanted online ad. After installing this extension, all anno ying ads will automatically be removed from all websites, which makes browsing t he internet less distracting and more enjoyable."|translate("s73")}} 265 {{"<fix>Adblock Plus</fix> is one of the most popular add-ons available, and is used on over <fix>100</fix> million devices. The installation of <fix>Op era</fix> extensions only takes a few seconds. By adding <fix>Adblock Plus</fix> to your <fix>Opera</fix> browser, you can remove all online advertising such as banners, pop-ups, 30-second <fix>YouTube</fix> commercials, <fix>Facebook</fix> ads and any other unwanted online ad. After installing this extension, all anno ying ads will automatically be removed from all websites, which makes browsing t he internet less distracting and more enjoyable."|translate("s73")}}
276 </p> 266 </p>
277 267
278 <p> 268 <p>
279 {{"Besides blocking all obtrusive advertising from your browsing experie nce, Adblock Plus significantly increases the speed of your Opera browser. By pr eventing advertisements from being loaded by your browser, the ad blocker helps you to save bandwidth and makes surfing the internet faster, especially if you a re on a slow internet connection."|translate("s74")}} 269 {{"Besides blocking all obtrusive advertising from your browsing experie nce, Adblock Plus significantly increases the speed of your Opera browser. By pr eventing advertisements from being loaded by your browser, the ad blocker helps you to save bandwidth and makes surfing the internet faster, especially if you a re on a slow internet connection."|translate("s74")}}
280 </p> 270 </p>
281 271
282 <p> 272 <p>
283 {{"Add Adblock Plus to your Opera browser by clicking on the green butto n \"Install for Opera\" above. Click \"Install\" to confirm the installation and to add the extension to Opera. There are no additional steps or configurations necessary, you will automatically be protected against all obtrusive online adve rtising."|translate("s75")}} 273 {{"Add Adblock Plus to your Opera browser by clicking on the green butto n \"Agree and Install for Opera\" above. Click \"Install\" to confirm the instal lation and to add the extension to Opera. There are no additional steps or confi gurations necessary, you will automatically be protected against all obtrusive o nline advertising."|translate("s75")}}
284 </p> 274 </p>
285 275
286 <p> 276 <p>
287 {{"Adblock Plus for Opera works great. Don't believe us? Don't just take our word for it. Here is what the popular download portal Softpedia has to say: \"Adblock Plus for Opera is a very useful add-on that was especially designed t o help users get rid of nuisances like pop-up ads, flashing banners and other su ch things.\""|translate("s76")}} 277 {{"Adblock Plus for Opera works great. Don't believe us? Don't just take our word for it. Here is what the popular download portal Softpedia has to say: \"Adblock Plus for Opera is a very useful add-on that was especially designed t o help users get rid of nuisances like pop-up ads, flashing banners and other su ch things.\""|translate("s76")}}
288 </p> 278 </p>
289 </div> 279 </div>
290 280
291 <div class="more-tab" id="tab-android"> 281 <div class="more-tab" id="tab-android">
292 <h2>{{"Android Adblock app"|translate("s77")}}</h2> 282 <h2>{{"Android Adblock app"|translate("s77")}}</h2>
293 283
(...skipping 11 matching lines...) Expand all
305 </div> 295 </div>
306 296
307 <div class="more-tab" id="tab-internet-explorer"> 297 <div class="more-tab" id="tab-internet-explorer">
308 <h2>{{"Adblock Plus for Internet Explorer"|translate("s81")}}</h2> 298 <h2>{{"Adblock Plus for Internet Explorer"|translate("s81")}}</h2>
309 299
310 <p> 300 <p>
311 {{"Although you might not expect it, Internet Explorer is still the worl d's second most popular browser with hundreds of millions of daily users. We dev eloped Adblock Plus for Internet Explorer precisely for those users — so that th ey can finally experience the web without annoying ads."|translate("s82")}} 301 {{"Although you might not expect it, Internet Explorer is still the worl d's second most popular browser with hundreds of millions of daily users. We dev eloped Adblock Plus for Internet Explorer precisely for those users — so that th ey can finally experience the web without annoying ads."|translate("s82")}}
312 </p> 302 </p>
313 303
314 <p> 304 <p>
315 {{"Developing an extension for Internet Explorer is challenging — that’s one of the reasons there are not as many extensions on Internet Explorer as on Mozilla Firefox, Google Chrome and Opera. The installation of Adblock Plus for I nternet Explorer is different than on other browsers. Usually, the extension is directly added to the browser; however, for Internet Explorer you need to instal l it through a so-called setup program. But don’t worry: it takes under 30 secon ds to install Adblock Plus for Internet Explorer. Just click on the green button above called “Install for Internet Explorer” to protect yourself from annoying advertising."|translate("s83")}} 305 {{"Developing an extension for Internet Explorer is challenging — that’s one of the reasons there are not as many extensions on Internet Explorer as on Mozilla Firefox, Google Chrome and Opera. The installation of Adblock Plus for I nternet Explorer is different than on other browsers. Usually, the extension is directly added to the browser; however, for Internet Explorer you need to instal l it through a so-called setup program. But don’t worry: it takes under 30 secon ds to install Adblock Plus for Internet Explorer. Just click on the green button above called “Agree and Install for Internet Explorer” to protect yourself from annoying advertising."|translate("s83")}}
316 </p> 306 </p>
317 307
318 <p> 308 <p>
319 {{"Current limitations: Due to the limitations of some of the fragmented versions of Internet Explorer, Adblock Plus currently doesn’t work for:"|transl ate("s84")}} 309 {{"Current limitations: Due to the limitations of some of the fragmented versions of Internet Explorer, Adblock Plus currently doesn’t work for:"|transl ate("s84")}}
320 </p> 310 </p>
321 311
322 <ul> 312 <ul>
323 <li>{{"Metro Mode of Internet Explorer in Windows 8"|translate("s85")}}< /li> 313 <li>{{"Metro Mode of Internet Explorer in Windows 8"|translate("s85")}}< /li>
324 <li>{{"Internet Explorer in Windows RT"|translate("s86")}}</li> 314 <li>{{"Internet Explorer in Windows RT"|translate("s86")}}</li>
325 </ul> 315 </ul>
(...skipping 24 matching lines...) Expand all
350 </div> 340 </div>
351 341
352 <div class="more-tab" id="tab-yandex-browser"> 342 <div class="more-tab" id="tab-yandex-browser">
353 <h2>{{"Ad Blocker for Yandex Browser"|translate("s93")}}</h2> 343 <h2>{{"Ad Blocker for Yandex Browser"|translate("s93")}}</h2>
354 344
355 <p> 345 <p>
356 {{"Adblock Plus is the most advanced adblocker for Yandex Browser. Are y ou fed up with advertisers infringing on your browsing experience? Simply instal l the extension and all annoying ads will be automatically blocked from the inte rnet. Blinking banners, popups, video commercials on YouTube, Facebook and Vkont akte ads: The Yandex Browser Adblock Plus extension will automatically remove an y unwanted ad from every website you visit. Want more? You can easily activate a dditional privacy and security <a href=\"features\">features</a> such as trackin g and malware protection."|translate("s94")}} 346 {{"Adblock Plus is the most advanced adblocker for Yandex Browser. Are y ou fed up with advertisers infringing on your browsing experience? Simply instal l the extension and all annoying ads will be automatically blocked from the inte rnet. Blinking banners, popups, video commercials on YouTube, Facebook and Vkont akte ads: The Yandex Browser Adblock Plus extension will automatically remove an y unwanted ad from every website you visit. Want more? You can easily activate a dditional privacy and security <a href=\"features\">features</a> such as trackin g and malware protection."|translate("s94")}}
357 </p> 347 </p>
358 348
359 <p> 349 <p>
360 {{"Installing the Yandex Browser Adblock Plus add-on to your browser onl y takes a few seconds. Simply click the \"Install for Yandex Browser\" button ab ove and confirm the installation by clicking the \"Add\" button. Please note: Ya ndex Browser displays a warning that Adblock Plus can access the data on any web site you visit. This is a standard warning for Yandex Browser extensions running on every tab. We promise to never collect any data about you."|translate("s95") }} 350 {{"Installing the Yandex Browser Adblock Plus add-on to your browser onl y takes a few seconds. Simply click the \"Agree and Install Yandex Browser\" but ton above and confirm the installation by clicking the \"Add\" button. Please no te: Yandex Browser displays a warning that Adblock Plus can access the data on a ny website you visit. This is a standard warning for Yandex Browser extensions r unning on every tab. We promise to never collect any data about you."|translate( "s95")}}
361 </p> 351 </p>
362 352
363 <p> 353 <p>
364 {{"The add-on is developed by the open source community and free to use for everybody. With more than <fix>100</fix> million devices, it is the most pop ular browser extension ever."|translate("s96")}} 354 {{"The add-on is developed by the open source community and free to use for everybody. With more than <fix>100</fix> million devices, it is the most pop ular browser extension ever."|translate("s96")}}
365 </p> 355 </p>
366 </div> 356 </div>
367 357
368 <div class="more-tab" id="tab-maxthon"> 358 <div class="more-tab" id="tab-maxthon">
369 <h2>{{"Adblock Plus for Maxthon"|translate("s97")}}</h2> 359 <h2>{{"Adblock Plus for Maxthon"|translate("s97")}}</h2>
370 360
371 <p> 361 <p>
372 {{"Different from being as an extension on other browsers, Adblock Plus has been integrated by default for Maxthon users, and as an opt-in option for Ch inese users. Are you fed up with advertisers infringing on your browsing experie nce? Simply install Maxthon Cloud Browser and all annoying ads will be automatic ally blocked from the internet. Blinking banners, popups, video commercials on Y ouTube and Facebook ads: Maxthon Cloud Browser with Adblock Plus integrated will automatically remove any unwanted ad from every website you visit. Want more? Y ou can easily activate additional privacy and security features such as tracking and malware protection."|translate("s98")}} 362 {{"Different from being as an extension on other browsers, Adblock Plus has been integrated by default for Maxthon users, and as an opt-in option for Ch inese users. Are you fed up with advertisers infringing on your browsing experie nce? Simply install Maxthon Cloud Browser and all annoying ads will be automatic ally blocked from the internet. Blinking banners, popups, video commercials on Y ouTube and Facebook ads: Maxthon Cloud Browser with Adblock Plus integrated will automatically remove any unwanted ad from every website you visit. Want more? Y ou can easily activate additional privacy and security features such as tracking and malware protection."|translate("s98")}}
373 </p> 363 </p>
374 </div> 364 </div>
375 <div class="more-tab" id="tab-edge"> 365 <div class="more-tab" id="tab-edge">
376 <h2>{{"Be notified when Adblock Plus for Microsoft Edge is available!"|tra nslate("abp-for-edge-be-notified")}}</h2> 366 <h2>{{"Be notified when Adblock Plus for Microsoft Edge is available!"|tra nslate("abp-for-edge-be-notified")}}</h2>
377 367
378 <p> 368 <p>
379 {{"Microsoft Edge <a href='https://wpdev.uservoice.com/forums/257854-mic rosoft-edge-developer/suggestions/6508820-javascript-browser-extensions'>does no t yet support extensions</a>. However, you can be sure that a version of Adblock Plus for Microsoft Edge will be released as soon as possible. While you're wait ing, you may want to try the latest version of Adblock Plus for Internet Explore r."|translate("ms-edge-description")}} 369 {{"Microsoft Edge <a href='https://wpdev.uservoice.com/forums/257854-mic rosoft-edge-developer/suggestions/6508820-javascript-browser-extensions'>does no t yet support extensions</a>. However, you can be sure that a version of Adblock Plus for Microsoft Edge will be released as soon as possible. While you're wait ing, you may want to try the latest version of Adblock Plus for Internet Explore r."|translate("ms-edge-description")}}
380 </p> 370 </p>
381 </div> 371 </div>
382 </div> 372 </div>
383 </section> 373 </section>
384 374
385 <script src="/js/index.js"></script> 375 <script src="/js/index.js"></script>
LEFTRIGHT

Powered by Google App Engine
This is Rietveld