products/CPSSubscriptions
changeset 1070:132326f47969 CPS-3.5
#2049: i18n and a bit more of styling
author | Georges Racinet on purity.racinet.fr <georges@racinet.fr> |
---|---|
date | Thu, 06 Oct 2011 21:34:27 +0200 |
parents | 292786ddfaf0 |
children | 0ff62dd2aa3b |
files | i18n/all.pot i18n/en.po i18n/fr.po skins/cps_subscriptions/subscriptions_lib_display_detailed_recipients.pt |
diffstat | 4 files changed, 68 insertions(+), 10 deletions(-) [+] |
line diff
1.1 --- a/i18n/all.pot 1.2 +++ b/i18n/all.pot 1.3 @@ -638,6 +638,21 @@ 1.4 msgid "mode_real_time" 1.5 msgstr "" 1.6 1.7 +msgid "heading_subscriptions_recipient" 1.8 +msgstr "" 1.9 + 1.10 +msgid "heading_subscriptions_notif_types" 1.11 +msgstr "" 1.12 + 1.13 +msgid "label_user_groups" 1.14 +msgstr "" 1.15 + 1.16 +msgid "label_simple_users" 1.17 +msgstr "" 1.18 + 1.19 +msgid "heading_subscriptions_other_recipients" 1.20 +msgstr "" 1.21 + 1.22 # ## LABELS ####################################### 1.23 msgid "label_workspace_manager" 1.24 msgstr ""
2.1 --- a/i18n/en.po 2.2 +++ b/i18n/en.po 2.3 @@ -10,14 +10,15 @@ 2.4 "PO-Revision-Date: 2005-10-30 18:11+0100\n" 2.5 "Last-Translator: Julien Anguenot <ja@nuxeo.com>\n" 2.6 "Language-Team: <en@li.org>\n" 2.7 +"Language: \n" 2.8 "MIME-Version: 1.0\n" 2.9 +"Content-Type: text/plain; charset=UTF-8\n" 2.10 "Content-Transfer-Encoding: 8bit\n" 2.11 "Plural-Forms: nplurals=1; plural=0;\n" 2.12 "X-Generator: KBabel 1.10.2\n" 2.13 "Language-Code: en\n" 2.14 "Language-Name: English\n" 2.15 "Domain: default\n" 2.16 -"Content-Type: text/plain; charset=UTF-8\n" 2.17 "Preferred-Encodings: utf-8\n" 2.18 2.19 #. <block> 2.20 @@ -579,9 +580,26 @@ 2.21 #. <label for="senderEmailAddress">Email address of sender:</label> 2.22 #: from 2.23 #: ../skins/cps_subscriptions/subscriptions_lib_display_subscriptions_table.pt 2.24 + 2.25 msgid "label_sender_email_address" 2.26 msgstr "Sender email address" 2.27 2.28 +msgid "heading_subscriptions_recipient" 2.29 +msgstr "Recipient" 2.30 + 2.31 +msgid "heading_subscriptions_notif_types" 2.32 +msgstr "Alert types" 2.33 + 2.34 +msgid "label_user_groups" 2.35 +msgstr "User groups" 2.36 + 2.37 +msgid "label_simple_users" 2.38 +msgstr "Individual users" 2.39 + 2.40 +msgid "heading_subscriptions_other_recipients" 2.41 +msgstr "Other recipients" 2.42 + 2.43 + 2.44 # ## LABELS ####################################### 2.45 #. <span> 2.46 #. Full Name
3.1 --- a/i18n/fr.po 3.2 +++ b/i18n/fr.po 3.3 @@ -588,6 +588,21 @@ 3.4 msgid "label_sender_email_address" 3.5 msgstr "Adresse électronique de l'émetteur" 3.6 3.7 +msgid "heading_subscriptions_recipient" 3.8 +msgstr "Destinataire" 3.9 + 3.10 +msgid "heading_subscriptions_notif_types" 3.11 +msgstr "Types d'alertes" 3.12 + 3.13 +msgid "label_user_groups" 3.14 +msgstr "Groupes d'utilisateurs" 3.15 + 3.16 +msgid "label_simple_users" 3.17 +msgstr "Utilisateurs individuels" 3.18 + 3.19 +msgid "heading_subscriptions_other_recipients" 3.20 +msgstr "Autres destinataires" 3.21 + 3.22 # ## LABELS ####################################### 3.23 #. <span> 3.24 #. Full Name
4.1 --- a/skins/cps_subscriptions/subscriptions_lib_display_detailed_recipients.pt 4.2 +++ b/skins/cps_subscriptions/subscriptions_lib_display_detailed_recipients.pt 4.3 @@ -23,16 +23,19 @@ 4.4 <table class="subscriptionsSummary"> 4.5 <thead> 4.6 <tr> 4.7 - <th i18n:translate="label_subscriptions_fullname">Full Name</th> 4.8 - <th i18n:translate="">Notification type</th> 4.9 + <th i18n:translate="heading_subscriptions_recipient">Recipient</th> 4.10 + <th i18n:translate="heading_subscriptions_notif_types"> 4.11 + Notification types 4.12 + </th> 4.13 </tr> 4.14 </thead> 4.15 <tbody tal:condition="groups"> 4.16 - <tr><th class="recipientCategory" colspan="0">Groups</th></tr> 4.17 + <tr><th class="recipientCategory" colspan="0" 4.18 + i18n:translate="label_user_groups">Groups</th></tr> 4.19 <tr tal:repeat="item python:groups.values()" 4.20 tal:attributes="class python:test(repeat['item'].even(), 'even', 'odd')" 4.21 > 4.22 - <td> 4.23 + <td class="recipient"> 4.24 <metal:block use-macro="here/subscriptions_lib_display_detailed_recipients/macros/recipient"/> 4.25 </td> 4.26 <td class="recipientEvents"> 4.27 @@ -42,11 +45,14 @@ 4.28 </tbody> 4.29 4.30 <tbody tal:condition="members"> 4.31 - <tr><th class="recipientCategory" colspan="0">Users</th></tr> 4.32 + <tr><th class="recipientCategory" colspan="0" 4.33 + i18n:translate="label_simple_users"> 4.34 + Users 4.35 + </th></tr> 4.36 <tr tal:repeat="item python:members.values()" 4.37 tal:attributes="class python:test(repeat['item'].even(), 'even', 'odd')" 4.38 > 4.39 - <td> 4.40 + <td class="recipient"> 4.41 <metal:block use-macro="here/subscriptions_lib_display_detailed_recipients/macros/recipient"/> 4.42 </td> 4.43 4.44 @@ -57,14 +63,18 @@ 4.45 </tbody> 4.46 4.47 <tbody tal:condition="other"> 4.48 - <tr><th class="recipientCategory" colspan="0">Others</th></tr> 4.49 + <tr><th class="recipientCategory" colspan="0" 4.50 + i18n:translate="heading_subscriptions_other_recipients"> 4.51 + Others 4.52 + </th> 4.53 + </tr> 4.54 <tr tal:repeat="item python:members.items()" 4.55 tal:attributes="class python:test(repeat['item'].even(), 'even', 'odd')" 4.56 > 4.57 - <td class="recipientEvents"> 4.58 + <td class="recipient"> 4.59 <metal:block use-macro="here/subscriptions_lib_display_detailed_recipients/macros/recipient"/> 4.60 </td> 4.61 - <td> 4.62 + <td class="recipientEvents"> 4.63 <metal:block use-macro="here/subscriptions_lib_display_detailed_recipients/macros/events_in_div"/> 4.64 </td> 4.65 </tr>