]> git.0d.be Git - django-panik-newsletter.git/commitdiff
mark strings for translation
authorFrédéric Péters <fpeters@0d.be>
Sun, 16 Jan 2022 13:26:26 +0000 (14:26 +0100)
committerFrédéric Péters <fpeters@0d.be>
Sun, 16 Jan 2022 13:26:26 +0000 (14:26 +0100)
newsletter/templates/newsletter/subscriber_form_content.html

index 3561bf93d386d493a6c7dce155227e03a2087814..1b39de7a2630ffd55d126eedd35383c4322ffcc7 100644 (file)
@@ -2,10 +2,13 @@
 
 {% csrf_token %}
 <p>{% trans 'Every Monday, the news of the Panik week:' %}</p>
-<input required name="email" type="email" placeholder="votre adresse email">
+
+<input required name="email" type="email" placeholder="{% trans "your email address" %}">
 <div style="display: none;">
-<label><input type="checkbox" name="validation">Cocher empêchera la création.</label>
-<label><input type="checkbox" name="validation2" id="validation2">Celle-ci doit par contre être cochée (déso les personnes sans js).</label>
+        <label><input type="checkbox" name="validation"
+                >{% trans "Checking this will prevent subscribing." %}</label>
+        <label><input type="checkbox" name="validation2" id="validation2"
+                >{% trans "On the other hand this checkbox must be checked (sorry if you have javascript disabled)" %}</label>
 <script>
 (function() {
   const checkbox = document.getElementById('validation2');