Sumana Harihareswara has proposed merging lp:~sumanah/postorius/bug-1157947 
into lp:postorius.

Requested reviews:
  Terri (terriko)
  Florian Fuchs (flo-fuchs)
Related bugs:
  Bug #1157947 in Postorius: "HTML templates need to be prepared for 
translation"
  https://bugs.launchpad.net/postorius/+bug/1157947

For more details, see:
https://code.launchpad.net/~sumanah/postorius/bug-1157947/+merge/245979

This branch fixes bug # 1157947 by finding all user-visible occurrences of 
hard-coded English strings in the src/postorius/templates/postorius/ directory 
and templatizing them as follows:

  {% trans 'English message' %}

(In this branch I also made three very trivial grammar, spelling, and 
capitalization fixes to the templates.)

Templates I inspected (in many cases no change was needed):

base_ajax.html
base.html
confirm_dialog.html
domain_confirm_delete.html
domain_index.html
domain_new.html
errors/
    generic.html
lists/
    confirm_delete.html
    confirm_remove_role.html
    held_messages.html
    index.html
    mass_subscribe.html
    memberoptions.html
    members.html
    metrics.html
    new.html
    settings.html
    subscribe.html
    subscriptions.html
    summary.html
    unsubscribe.html
login.html
menu/
    general.html
    info.html
    list_nav.html
    maintanance.html
    mm_user_nav.html
    settings_nav.html
    subscriptions.html
    user_nav.html
    user_options.html
    users_nav.html
more_info_display.html
site_settings.html
user_address_activation.html
user_address_activation_link.html
user_address_activation_sent.html
user_address_preferences.html
user_mailmansettings.html
user_profile.html
user_settings.html
user_subscription_preferences.html
user_subscriptions.html
user_tasks.html

-- 
Your team Mailman Coders is subscribed to branch lp:postorius.
=== modified file 'src/postorius/templates/postorius/lists/confirm_delete.html'
--- src/postorius/templates/postorius/lists/confirm_delete.html	2013-05-31 02:21:03 +0000
+++ src/postorius/templates/postorius/lists/confirm_delete.html	2015-01-09 16:16:31 +0000
@@ -4,7 +4,7 @@
 {% load nav_helpers %}
 
 {% block main %}
-    {% list_nav 'list_delete' 'Delete List' %}
+    {% list_nav 'list_delete' {% trans "Delete List" %} %}
 
     <p>{% trans "Are you sure you want to permanently delete this list?" %}</p>
     <p>{% trans "All settings and membership data will be lost!" %}</p>

=== modified file 'src/postorius/templates/postorius/lists/held_messages.html'
--- src/postorius/templates/postorius/lists/held_messages.html	2013-05-31 02:21:03 +0000
+++ src/postorius/templates/postorius/lists/held_messages.html	2015-01-09 16:16:31 +0000
@@ -6,7 +6,7 @@
 {% block body_class %}list_summary{% endblock %}
 
 {% block main %}
-    {% list_nav 'list_held_messages' 'Held Messages' %}
+    {% list_nav 'list_held_messages' {% trans "Held Messages" %} %}
 
     <table class="table table-bordered table-striped">
     	<thead>

=== modified file 'src/postorius/templates/postorius/lists/mass_subscribe.html'
--- src/postorius/templates/postorius/lists/mass_subscribe.html	2013-05-31 02:21:03 +0000
+++ src/postorius/templates/postorius/lists/mass_subscribe.html	2015-01-09 16:16:31 +0000
@@ -4,7 +4,7 @@
 {% load nav_helpers %}
 
 {% block main %}
-    {% list_nav 'mass_subscribe' 'Mass Subscription' %}
+    {% list_nav 'mass_subscribe' {% trans "Mass Subscription" %} %}
 
     <form action="{% url 'mass_subscribe' list.fqdn_listname %}" method="post" class="well"> {% csrf_token %}
         {{ form.as_p }}

=== modified file 'src/postorius/templates/postorius/lists/memberoptions.html'
--- src/postorius/templates/postorius/lists/memberoptions.html	2014-04-22 12:49:50 +0000
+++ src/postorius/templates/postorius/lists/memberoptions.html	2015-01-09 16:16:31 +0000
@@ -27,7 +27,7 @@
              <td>
                 <p>{% trans 'Mail Delivery:' %} </p>
                 </p>
-                [<span class="more_info"><a href="#" target="_blank">More info</a><span>{{ settingsform.delivery_status.help_text }}
+                [<span class="more_info"><a href="#" target="_blank">{% trans "More info" %}</a><span>{{ settingsform.delivery_status.help_text }}
                 </span></span>] </p> 
              </td>
              <td> {{settingsform.delivery_status }} </td>
@@ -36,7 +36,7 @@
              <td>
                 <p>{% trans 'Mode of Delivery:' %}</p>
                 <p>
-                [<span class="more_info"><a href="#" target="_blank">More info</a><span>{{ settingsform.delivery_mode.help_text }}
+                [<span class="more_info"><a href="#" target="_blank">{% trans "More info" %}</a><span>{{ settingsform.delivery_mode.help_text }}
                 </span></span>] </p>
              </td>
              <td> {{settingsform.delivery_mode }} </td>
@@ -45,7 +45,7 @@
              <td>
                 <p>{% trans 'Receive own posts to the list?' %}</p>
                 <p>
-                [<span class="more_info"><a href="#" target="_blank">More info</a><span>{{ settingsform.receive_own_postings.help_text }}
+                [<span class="more_info"><a href="#" target="_blank">{% trans "More info" %}</a><span>{{ settingsform.receive_own_postings.help_text }}
                 </span></span>] </p>
              </td>
              <td> {{settingsform.receive_own_postings }} </td>
@@ -54,7 +54,7 @@
              <td>
                 <p>{% trans 'Receive acknowledgement mails?' %}</p>
                 </p>
-                [<span class="more_info"><a href="#" target="_blank">More info</a><span>{{ settingsform.acknowledge_posts.help_text }}
+                [<span class="more_info"><a href="#" target="_blank">{% trans "More info" %}</a><span>{{ settingsform.acknowledge_posts.help_text }}
                 </span></span>] </p>
              </td>
              <td> {{settingsform.acknowledge_posts }} </td>
@@ -63,7 +63,7 @@
              <td>
                 <p>{% trans 'Conceal address from the subscriber list?' %}</p>
                 </p>
-                [<span class="more_info"><a href="#" target="_blank">More info</a><span>{{ settingsform.hide_address.help_text }}
+                [<span class="more_info"><a href="#" target="_blank">{% trans "More info" %}</a><span>{{ settingsform.hide_address.help_text }}
                 </span></span>] </p>
              </td>
              <td> {{settingsform.hide_address }} </td>
@@ -71,7 +71,7 @@
           <tr>
              <td>
                 <p>{% trans 'Avoid duplicate copies of messages? ' %}</p>
-                </p>                 [<span class="more_info"><a href="#" target="_blank">More info</a><span>{{ settingsform.receive_list_copy.help_text }}
+                </p>                 [<span class="more_info"><a href="#" target="_blank">{% trans "More info" %}</a><span>{{ settingsform.receive_list_copy.help_text }}
                 </span></span>] </p>
              </td>
              <td> {{settingsform.receive_list_copy }} </td>

=== modified file 'src/postorius/templates/postorius/lists/members.html'
--- src/postorius/templates/postorius/lists/members.html	2014-04-22 12:49:50 +0000
+++ src/postorius/templates/postorius/lists/members.html	2015-01-09 16:16:31 +0000
@@ -4,7 +4,7 @@
 {% load nav_helpers %}
 
 {% block main %}
-    {% list_nav 'list_members' 'List Members' %}
+    {% list_nav 'list_members' {% trans "List Members" %} %}
 
     <h2>{% trans "Owners" %}</h2>
 
@@ -12,7 +12,7 @@
     <form action="{% url 'list_members' list.fqdn_listname %}" method="POST" class="form-inline">{% csrf_token %}
         <label for="id_email">{% trans 'Email Address' %}</label>
         {{ owner_form.owner_email }}
-        <button type="submit" class="btn">Add Owner</button>
+        <button type="submit" class="btn">{% trans 'Add Owner' %}</button>
     </form>
     <table class="table table-bordered table-striped">
         <thead>
@@ -26,7 +26,7 @@
                 <tr>
                     <td>{{ member }}</td>
                     <td>
-                      <a href="{% url 'remove_role' list.fqdn_listname 'owner' member %}" class="btn btn-mini btn-danger">Delete</a>
+                      <a href="{% url 'remove_role' list.fqdn_listname 'owner' member %}" class="btn btn-mini btn-danger">{% trans 'Delete' %}</a>
                     </td>
                 </tr>
             {% endfor %}
@@ -38,7 +38,7 @@
     <form action="{% url 'list_members' list.fqdn_listname %}" method="POST" class="form-inline">{% csrf_token %}
         <label for="bla">{% trans 'Email Address' %}</label>
         {{ moderator_form.moderator_email }}
-        <button type="submit" class="btn">Add Moderator</button>
+        <button type="submit" class="btn">{% trans 'Add Moderator' %}</button>
     </form>
 
     <table class="table table-bordered table-striped">
@@ -53,7 +53,7 @@
                 <tr>
                     <td>{{ member }}</td>
                     <td>
-                      <a href="{% url 'remove_role' list.fqdn_listname 'moderator' member %}" class="btn btn-mini btn-danger">Delete</a>
+                      <a href="{% url 'remove_role' list.fqdn_listname 'moderator' member %}" class="btn btn-mini btn-danger">{% trans 'Delete' %}</a>
                     </td>
                 </tr>
             {% endfor %}

=== modified file 'src/postorius/templates/postorius/lists/metrics.html'
--- src/postorius/templates/postorius/lists/metrics.html	2013-05-31 02:21:03 +0000
+++ src/postorius/templates/postorius/lists/metrics.html	2015-01-09 16:16:31 +0000
@@ -4,7 +4,7 @@
 {% load nav_helpers %}
 
 {% block main %}
-    {% list_nav 'list_metrics' 'Metrics' %}
+    {% list_nav 'list_metrics' {% trans 'Metrics' %} %}
 
     <table class="table table-bordered table-striped mm_userData">
     	<tbody>

=== modified file 'src/postorius/templates/postorius/lists/settings.html'
--- src/postorius/templates/postorius/lists/settings.html	2014-04-14 19:54:42 +0000
+++ src/postorius/templates/postorius/lists/settings.html	2015-01-09 16:16:31 +0000
@@ -5,7 +5,7 @@
 
 {% block main %}
     {% if message %}<p class="alert">{{ message }}</p>{% endif %}
-    {% list_nav 'list_settings' 'Settings' %}
+    {% list_nav 'list_settings' {% trans 'Settings' %} %}
     <ul class="nav nav-tabs">
         {% for section in form_sections %}
         <li {% if section.0 == visible_section %}class="active"{% endif %}><a href="{% url 'list_settings' fqdn_listname=list.fqdn_listname visible_section=section.0 visible_option=None %}">{{section.0}}</a></li>
@@ -20,12 +20,12 @@
             <tr><td>
                 {{ field.errors }}
                 {{ field.label_tag }} <br />
-                [<span class="more_info"><a href="{% url 'more_info_tab'  formid='list_settings' helpid=field.name %}" target="_blank">More info</a><span>{{ field.help_text }}
+                [<span class="more_info"><a href="{% url 'more_info_tab'  formid='list_settings' helpid=field.name %}" target="_blank">{% trans "More info" %}</a><span>{{ field.help_text }}
                 </span></span>]
             </td><td>{{ field }}</td></tr>
         {% endfor %}
         <tr><td colspan="2">
-	         <button class="btn btn-primary" type="submit">{%trans "Save changes" %}</button>
+	         <button class="btn btn-primary" type="submit">{% trans "Save changes" %}</button>
         </td></tr>
         </form>
         </table>

=== modified file 'src/postorius/templates/postorius/lists/summary.html'
--- src/postorius/templates/postorius/lists/summary.html	2014-03-21 14:22:57 +0000
+++ src/postorius/templates/postorius/lists/summary.html	2015-01-09 16:16:31 +0000
@@ -17,7 +17,7 @@
   
     {% if user.is_authenticated %}
     {% if userSubscribed %}
-    <a href="{% url 'list_unsubscribe' list.fqdn_listname user.email %}" class="btn btn-danger">Unsubscribe</a>
+    <a href="{% url 'list_unsubscribe' list.fqdn_listname user.email %}" class="btn btn-danger">{% trans "Unsubscribe" %}</a>
     {% else %}
     <h2>{% trans 'Subscribe to this list' %}</h2>
     <form action="{% url 'list_subscribe' list.fqdn_listname %}" method="post" class="list_subscribe"> {% csrf_token %}
@@ -26,7 +26,7 @@
     </form>
     {% endif %}
     {% else %}
-        <p>To subscribe or unsubscribe this list you have to be logged in.</p>
-        <p><a href="{% url 'user_login' %}"class="btn btn-primary">Log In</a></p>
+        <p>{% trans "To subscribe to or unsubscribe from this list you have to be logged in." %}</p>
+        <p><a href="{% url 'user_login' %}"class="btn btn-primary">{% trans "Log In" %}</a></p>
     {% endif %}
 {% endblock %}

=== modified file 'src/postorius/templates/postorius/login.html'
--- src/postorius/templates/postorius/login.html	2014-04-14 15:25:26 +0000
+++ src/postorius/templates/postorius/login.html	2015-01-09 16:16:31 +0000
@@ -5,7 +5,7 @@
 {% block main %}
 
 <div id="container">
-    <p><strong>Login with username and password or with Mozilla Persona</strong></p>
+    <p><strong>{% trans "Login with username and password or with Mozilla Persona" %}</strong></p>
 
   <div class="mm_login">
     <form action="" method="post" class="login mm_clear well"> {% csrf_token %}
@@ -19,13 +19,13 @@
   <div class="mm_login_b">  
     <form method="post" action="{% url 'socialauth_complete' "browserid" %}"> {% csrf_token %}
       <input type="hidden" name="assertion" value="" />
-      <a rel="nofollow" id="browserid" href="#"><img src="{% static 'postorius/img/sign_in_blue.png' %}" alt="Login using BrowserID" /></a>
+      <a rel="nofollow" id="browserid" href="#"><img src="{% static 'postorius/img/sign_in_blue.png' %}" alt="{% trans 'Login using BrowserID' %}" /></a>
     </form>
-    <p>Mozilla Persona is an easy way to sign into multiple websites, while
+    <p>{% trans "Mozilla Persona is an easy way to sign into multiple websites, while
 still controlling your personal data. For more information <a
-href="http://www.mozilla.org/en-US/persona";>see the mozilla website</a>.</p>
-    <noscript><p class="text-error">Mozilla Persona requires the use of
-JavaScript.</p></noscript>
+href='http://www.mozilla.org/en-US/persona'>see the Mozilla website</a>" %}.</p>
+    <noscript><p class="text-error">{% trans "Mozilla Persona requires the use of
+JavaScript." %}</p></noscript>
   </div>
 <div style="clear:both">
 </div>

=== modified file 'src/postorius/templates/postorius/site_settings.html'
--- src/postorius/templates/postorius/site_settings.html	2013-05-31 02:21:03 +0000
+++ src/postorius/templates/postorius/site_settings.html	2015-01-09 16:16:31 +0000
@@ -3,5 +3,5 @@
 
 {% block main %}
     {% include 'postorius/menu/settings_nav.html' %}
-    <h1>General Settings</h1>
+    <h1>{% trans "General Settings" %}</h1>
 {% endblock main %}

=== modified file 'src/postorius/templates/postorius/user_address_activation_sent.html'
--- src/postorius/templates/postorius/user_address_activation_sent.html	2014-04-17 22:05:24 +0000
+++ src/postorius/templates/postorius/user_address_activation_sent.html	2015-01-09 16:16:31 +0000
@@ -5,6 +5,6 @@
 {% include 'postorius/menu/user_nav.html' %}
 
     <h1>{% trans 'Email address activation sent' %}</h1>
-    <p>A confirmation link has been sent to the email address you submitted. Please check your email account an click on the confirmation link to add this address for your account.</p>
+    <p>{% trans "A confirmation link has been sent to the email address you submitted. Please check your email account and click on the confirmation link to add this address for your account." %}</p>
 {% endblock main %}
 

=== modified file 'src/postorius/templates/postorius/user_address_preferences.html'
--- src/postorius/templates/postorius/user_address_preferences.html	2013-10-22 18:52:15 +0000
+++ src/postorius/templates/postorius/user_address_preferences.html	2015-01-09 16:16:31 +0000
@@ -21,7 +21,7 @@
        <table class="table table-bordered table-striped" border = "2">
           <thead>
              <tr>
-                <th> Preferences </th>
+                <th> {% trans 'Preferences' %} </th>
                 {% for form,address in zipped_data %}
                 <th> {{address}} </th>
                 {% endfor %}
@@ -29,8 +29,8 @@
           </thead >
           <tr>
              <td>
-                <p>Mail Delivery: </p>
-                <p>[<span class="more_info"><a href="#" target="_blank">More info</a><span>{{ helperform.delivery_status.help_text }}
+                <p>{% trans 'Mail Delivery' %}: </p>
+                <p>[<span class="more_info"><a href="#" target="_blank">{% trans 'More info' %}</a><span>{{ helperform.delivery_status.help_text }}
                    </span></span>] 
                 </p>
              </td>
@@ -40,8 +40,8 @@
           </tr>
           <tr>
              <td>
-                <p> Select a Mode of Delivery:  </p>
-                <p>[<span class="more_info"><a href="#" target="_blank">More info</a><span>{{ helperform.delivery_mode.help_text }}
+                <p> {% trans 'Select a Mode of Delivery' %}:  </p>
+                <p>[<span class="more_info"><a href="#" target="_blank">{% trans 'More info' %}</a><span>{{ helperform.delivery_mode.help_text }}
                    </span></span>] 
                 </p>
              </td>
@@ -51,8 +51,8 @@
           </tr>
           <tr>
              <td>
-                <p> Receive your own posts to the list? </p>
-                <p>[<span class="more_info"><a href="#" target="_blank">More info</a><span>{{ helperform.receive_own_postings.help_text }}
+                <p> {% trans 'Receive your own posts to the list?' %} </p>
+                <p>[<span class="more_info"><a href="#" target="_blank">{% trans 'More info' %}</a><span>{{ helperform.receive_own_postings.help_text }}
                    </span></span>] 
                 </p>
              </td>
@@ -62,8 +62,8 @@
           </tr>
           <tr>
              <td>
-                <p> Receive acknowledgement mails? </p>
-                <p>[<span class="more_info"><a href="#" target="_blank">More info</a><span>{{ helperform.acknowledge_posts.help_text }}
+                <p> {% trans 'Receive acknowledgement mails?' %} </p>
+                <p>[<span class="more_info"><a href="#" target="_blank">{% trans 'More info' %}</a><span>{{ helperform.acknowledge_posts.help_text }}
                    </span></span>]
                 </p>
              </td>
@@ -73,8 +73,8 @@
           </tr>
           <tr>
              <td>
-                <p> Conceal yourself from the subscriber list? </p>
-                <p>[<span class="more_info"><a href="#" target="_blank">More info</a><span>{{ helperform.hide_address.help_text }}
+                <p> {% trans 'Conceal yourself from the subscriber list?' %} </p>
+                <p>[<span class="more_info"><a href="#" target="_blank">{% trans 'More info' %}</a><span>{{ helperform.hide_address.help_text }}
                    </span></span>]
                 </p>
              </td>
@@ -84,8 +84,8 @@
           </tr>
           <tr>
              <td>
-                <p> Avoid duplicate copies of messages? </p>
-                <p>[<span class="more_info"><a href="#" target="_blank">More info</a><span>{{ helperform.receive_list_copy.help_text }}
+                <p> {% trans 'Avoid duplicate copies of messages?' %} </p>
+                <p>[<span class="more_info"><a href="#" target="_blank">{% trans 'More info' %}</a><span>{{ helperform.receive_list_copy.help_text }}
                    </span></span>]
                 </p>
              </td>

=== modified file 'src/postorius/templates/postorius/user_mailmansettings.html'
--- src/postorius/templates/postorius/user_mailmansettings.html	2013-10-22 18:52:15 +0000
+++ src/postorius/templates/postorius/user_mailmansettings.html	2015-01-09 16:16:31 +0000
@@ -19,59 +19,59 @@
        <table class="table table-bordered table-striped" border="2">
           <thead>
              <tr>
-                <th> Preferences </th>
-                <th> Global </th>
+                <th> {% trans "Preferences" %} </th>
+                <th> {% trans "Global" %} </th>
              </tr>
           </thead >
           <tr>
              <td>
-                <p > Mail Delivery: </p>
+                <p> {% trans "Mail Delivery" %}: </p>
                 </p>
-                [<span class="more_info"><a href="#" target="_blank">More info</a><span>{{ settingsform.delivery_status.help_text }}
+                [<span class="more_info"><a href="#" target="_blank">{% trans 'More info' %}</a><span>{{ settingsform.delivery_status.help_text }}
                 </span></span>] </p> 
              </td>
              <td> {{settingsform.delivery_status }} </td>
           </tr>
           <tr>
              <td>
-                <p> Select a Mode of Delivery: </p>
+                <p> {% trans "Select a Mode of Delivery" %}: </p>
                 </p>
-                [<span class="more_info"><a href="#" target="_blank">More info</a><span>{{ settingsform.delivery_mode.help_text }}
+                [<span class="more_info"><a href="#" target="_blank">{% trans 'More info' %}</a><span>{{ settingsform.delivery_mode.help_text }}
                 </span></span>] </p>
              </td>
              <td> {{settingsform.delivery_mode }} </td>
           </tr>
           <tr>
              <td>
-                <p > Receive your own posts to the list? </p>
+                <p> {% trans "Receive your own posts to the list?" %} </p>
                 </p>
-                [<span class="more_info"><a href="#" target="_blank">More info</a><span>{{ settingsform.receive_own_postings.help_text }}
+                [<span class="more_info"><a href="#" target="_blank">{% trans 'More info' %}</a><span>{{ settingsform.receive_own_postings.help_text }}
                 </span></span>] </p>
              </td>
              <td> {{settingsform.receive_own_postings }} </td>
           </tr>
           <tr>
              <td>
-                <p > Receive acknowledgement mails? </p>
+                <p> {% trans "Receive acknowledgement mails?" %} </p>
                 </p>
-                [<span class="more_info"><a href="#" target="_blank">More info</a><span>{{ settingsform.acknowledge_posts.help_text }}
+                [<span class="more_info"><a href="#" target="_blank">{% trans 'More info' %}</a><span>{{ settingsform.acknowledge_posts.help_text }}
                 </span></span>] </p>
              </td>
              <td> {{settingsform.acknowledge_posts }} </td>
           </tr>
           <tr>
              <td>
-                <p>Conceal yourself from the subscriber list? </p>
+                <p>{% trans "Conceal yourself from the subscriber list?" %} </p>
                 </p>
-                [<span class="more_info"><a href="#" target="_blank">More info</a><span>{{ settingsform.hide_address.help_text }}
+                [<span class="more_info"><a href="#" target="_blank">{% trans 'More info' %}</a><span>{{ settingsform.hide_address.help_text }}
                 </span></span>] </p>
              </td>
              <td> {{settingsform.hide_address }} </td>
           </tr>
           <tr>
              <td>
-                <p >Avoid duplicate copies of messages?</p>
-                </p>                 [<span class="more_info"><a href="#" target="_blank">More info</a><span>{{ settingsform.receive_list_copy.help_text }}
+                <p>{% trans "Avoid duplicate copies of messages?" %}</p>
+                </p>                 [<span class="more_info"><a href="#" target="_blank">{% trans 'More info' %}</a><span>{{ settingsform.receive_list_copy.help_text }}
                 </span></span>] </p>
              </td>
              <td> {{settingsform.receive_list_copy }} </td>

=== modified file 'src/postorius/templates/postorius/user_settings.html'
--- src/postorius/templates/postorius/user_settings.html	2013-05-31 02:21:03 +0000
+++ src/postorius/templates/postorius/user_settings.html	2015-01-09 16:16:31 +0000
@@ -5,7 +5,7 @@
 
 {% block main %}
     {% include 'postorius/menu/user_nav.html' %}
-    <h1>Membership</h1>
+    <h1>{% trans "Membership" %}</h1>
     {% ifequal tab "membership"%}
         {% trans "Membership Settings" %} 
         {% if list %}<span>{% trans "for"%}{% endif %} {{ list.fqdn_listname }}</span>
@@ -17,7 +17,7 @@
         <div class="mm_boxHeader">
         {% trans "Content" %}
         </div>  
-        <p>{%trans "Use this page to manage your account. You'll be able to see a list of your subscribed lists, modify these membership settings of the list and your personal preferences in user_settings <a href='https://bugs.launchpad.net/mailman/+bug/821438' >LP:821438</a> is solved <br>" %}</p>
+        <p>{% trans "Use this page to manage your account. You'll be able to see a list of your subscribed lists, modify these membership settings of the list and your personal preferences in user_settings <a href='https://bugs.launchpad.net/mailman/+bug/821438' >LP:821438</a> is solved <br>" %}</p>
         {% if form %}
             <form action="" method="post" class="user" name="user"> {% csrf_token %}
             <ul class="">
@@ -39,14 +39,14 @@
         {% for list in membership_lists %}
         <div class="mm_box mm_smallBox {% cycle 'mm_clear' '' %}">
             <div class="mm_boxHeader">
-                <a href="{% url 'list_summary' fqdn_listname=list.fqdn_listname%}">
+                <a href="{% url 'list_summary' fqdn_listname=list.fqdn_listname %}">
                     {{ list.display_name }} {% if not list.settings.advertised %}(non-public){% endif %}
                 </a>
             </div>
             <ul>
-                <li><a href="{% url 'membership_settings' fqdn_listname=list.fqdn_listname%}"> My Membership</li>
+                <li><a href="{% url 'membership_settings' fqdn_listname=list.fqdn_listname%}"> {% trans "My Membership" %}</li>
                 <li><a href="{% url 'membership_settings' fqdn_listname=list.fqdn_listname %}"> 
-                My Subscription</a></li>
+                {% trans "My Subscription" %}</a></li>
             </ul>
         </div>
         {% endfor %}

=== modified file 'src/postorius/templates/postorius/user_subscription_preferences.html'
--- src/postorius/templates/postorius/user_subscription_preferences.html	2013-10-22 18:52:15 +0000
+++ src/postorius/templates/postorius/user_subscription_preferences.html	2015-01-09 16:16:31 +0000
@@ -23,9 +23,9 @@
           {% if forloop.first %}
           <thead>
              <tr>
-                <th> Subscription </th>
+                <th> {% trans 'Subscription' %} </th>
                 {% for field in form.visible_fields %}
-                <th>{{field.label}} <p><span class="more_info">[<a href="#" target="_blank">More info</a><span>{{ field.help_text }}
+                <th>{{field.label}} <p><span class="more_info">[<a href="#" target="_blank">{% trans 'More info' %}</a><span>{{ field.help_text }}
                     </span>]</span></p></th>
                 {% endfor %}
              </tr >

_______________________________________________
Mailman-coders mailing list
Mailman-coders@python.org
https://mail.python.org/mailman/listinfo/mailman-coders

Reply via email to