Abandon du domaine i18n cmf_default
[Plinn.git] / skins / custom_generic / personalize_form.pt
index 6836348..dc608bf 100755 (executable)
@@ -4,7 +4,7 @@
   </head>
 
   <body>
-    <div metal:fill-slot="main_no_tabs" i18n:domain="cmf_default">
+    <div metal:fill-slot="main_no_tabs" i18n:domain="plinn">
       <div tal:define="purl here/portal_url;
                   mtool here/portal_membership;
                   member mtool/getAuthenticatedMember;
                   <input type="text" name="email" value="" tal:attributes="value python:member.getProperty('email', None)" />
                 </td>
               </tr>
+              <tr>
+                <th i18n:translate="">Preferred languages</th>
+                <td>
+                  <input type="text" name="preferred_languages:tokens"
+                         tal:attributes="value python:' '.join(member.getProperty('preferred_languages', []))"/>
+                  <dl class="FieldHelp">
+                    <dd i18n:translate="">Please enter language codes separated by spaces.</dd>
+                  </dl>
+                </td>
+              </tr>
               <tr>
                 <td><br /></td>
                 <td>