OLD | NEW |
1 title=Adblock Plus has been uninstalled | 1 title=Adblock Plus has been uninstalled |
2 template=simple | 2 template=simple |
3 | 3 |
| 4 {# reasons[0] is reasonId below and is formatted as follows: |
| 5 # |
| 6 # ${reason_id}v${version_of_wording}-${locale} |
| 7 # |
| 8 # ${reason_id}: Each reason should have it's own unique ID |
| 9 # (because they will appear in random order) |
| 10 # ${version_of_wording}: Each reason wording should be versioned |
| 11 # (in case we update the wording in the future) |
| 12 # ${locale}: Locale (added in loop below) |
| 13 #} |
| 14 |
4 {% set reasons = [ | 15 {% set reasons = [ |
5 ("1v0", "reason-not-installed", "I didn't install Adblock Plus.", ""), | 16 ("1v0", "reason-not-installed", "I didn't install Adblock Plus.", ""), |
6 ("2v0", "reason-slowing-down", "Adblock Plus slowed down my browser.", ""), | 17 ("2v0", "reason-slowing-down", "Adblock Plus slowed down my browser.", ""), |
7 ("3v0", "reason-acceptable-ads", "I don't like the Acceptable Ads program.", "
"), | 18 ("3v0", "reason-acceptable-ads", "I don't like the Acceptable Ads program.", "
"), |
8 ("4v0", "reason-see-ads", "Adblock Plus didn't block all ads.", ""), | 19 ("4v0", "reason-see-ads", "Adblock Plus didn't block all ads.", ""), |
9 ("5v0", "reason-better-adblocker", "I found better ad blocking software.", ["A
dBlock", "uBlock", "uBlock Origin", "Ghostery"]), | 20 ("5v0", "reason-better-adblocker", "I found better ad blocking software.", ["A
dBlock", "uBlock", "uBlock Origin", "Ghostery"]), |
10 ("6v0", "reason-break-websites", "Adblock Plus breaks websites that I visit.",
""), | 21 ("6v0", "reason-break-websites", "Adblock Plus breaks websites that I visit.",
""), |
11 ("7v0", "reason-difficult", "I find it difficult to use Adblock Plus.", ""), | 22 ("7v0", "reason-difficult", "I find it difficult to use Adblock Plus.", ""), |
12 ] %} | 23 ] %} |
13 | 24 |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 {{"index"|linkify}}{{"Reinstall Now"|translate("reinstall", "Reinstall button
text")}}</a> | 126 {{"index"|linkify}}{{"Reinstall Now"|translate("reinstall", "Reinstall button
text")}}</a> |
116 </div> | 127 </div> |
117 <section class="highlighted"> | 128 <section class="highlighted"> |
118 <h1>{{"Please select the reason(s) why you uninstalled Adblock Plus:"|translat
e("reasons-header", "Form heading")}}</h1> | 129 <h1>{{"Please select the reason(s) why you uninstalled Adblock Plus:"|translat
e("reasons-header", "Form heading")}}</h1> |
119 <form id="reasons-form" action="uninstalled-submit" method="get"> | 130 <form id="reasons-form" action="uninstalled-submit" method="get"> |
120 <fieldset> | 131 <fieldset> |
121 <ul id="reasons"> | 132 <ul id="reasons"> |
122 {%- for reasonId, stringId, value, adblockers in reasons %} | 133 {%- for reasonId, stringId, value, adblockers in reasons %} |
123 <li> | 134 <li> |
124 <label> | 135 <label> |
125 <input type="checkbox" name="reason" {% if adblockers %} data-toggle
-view="adblockers" {% endif %} value="{{reasonId}}" /> | 136 <input type="checkbox" name="reason" {% if adblockers %} data-toggle
-view="adblockers" {% endif %} value="{{reasonId}}-{{locale}}" /> |
126 {{value|translate(stringId, "Uninstallation reason")}} | 137 {{value|translate(stringId, "Uninstallation reason")}} |
127 </label> | 138 </label> |
128 {%- if adblockers %} | 139 {%- if adblockers %} |
129 <fieldset class="hidden" id="adblockers"> | 140 <fieldset class="hidden" id="adblockers"> |
130 <select name="otherAdblockerPredefined"> | 141 <select name="otherAdblockerPredefined"> |
131 {%- for name in adblockers %} | 142 {%- for name in adblockers %} |
132 <option data-hide-element="other-adblocker" value="{{name}}">{{nam
e}}</option> | 143 <option data-hide-element="other-adblocker" value="{{name}}">{{nam
e}}</option> |
133 {%- endfor %} | 144 {%- endfor %} |
134 <option data-show-element="other-adblocker" value="Other">{{"Other
"|translate("other", "Option in list of Adblockers")}}</option> | 145 <option data-show-element="other-adblocker" value="Other">{{"Other
"|translate("other", "Option in list of Adblockers")}}</option> |
135 </select> | 146 </select> |
(...skipping 17 matching lines...) Expand all Loading... |
153 </li> | 164 </li> |
154 </ul> | 165 </ul> |
155 </fieldset> | 166 </fieldset> |
156 <button id="submit-form">{{"Submit"|translate("submit", "Submit button text"
)}}</button> | 167 <button id="submit-form">{{"Submit"|translate("submit", "Submit button text"
)}}</button> |
157 <span class="error-label">{{"Please select at least one of the options above
"|translate("error-msg", "Error message, is being shown after submission if no i
tem selected")}}</span> | 168 <span class="error-label">{{"Please select at least one of the options above
"|translate("error-msg", "Error message, is being shown after submission if no i
tem selected")}}</span> |
158 </form> | 169 </form> |
159 <p class="disclaimer"> | 170 <p class="disclaimer"> |
160 {{"By clicking Submit, you are sending your response to Adblock Plus. Please
see our <a href='/privacy'>privacy policy</a>."|translate("disclaimer", "Discla
imer below form")}} | 171 {{"By clicking Submit, you are sending your response to Adblock Plus. Please
see our <a href='/privacy'>privacy policy</a>."|translate("disclaimer", "Discla
imer below form")}} |
161 </p> | 172 </p> |
162 </section> | 173 </section> |
OLD | NEW |