Abandon du domaine i18n cmf_default
authorBenoît Pin <pin@cri.ensmp.fr>
Wed, 17 Sep 2014 14:49:33 +0000 (16:49 +0200)
committerBenoît Pin <pin@cri.ensmp.fr>
Wed, 17 Sep 2014 14:49:33 +0000 (16:49 +0200)
27 files changed:
skins/content/file_view_template.pt
skins/content/folder_edit_form.pt
skins/custom_content/favorite_view.pt
skins/custom_content/file_edit_template.pt
skins/custom_content/image_edit_template.pt
skins/custom_content/link_edit_template.pt
skins/custom_content/link_view.pt
skins/custom_content/newsitem_edit_template.pt
skins/custom_generic/folder_contents_template.pt
skins/custom_generic/index_html_utils.pt
skins/custom_generic/join_template.pt
skins/custom_generic/logged_out.pt
skins/custom_generic/mail_password_form.pt
skins/custom_generic/mail_password_response.pt
skins/custom_generic/password_form.pt
skins/custom_generic/personalize_form.pt
skins/custom_generic/reconfig_template.pt
skins/custom_generic/undo_form.pt
skins/generic/content_byline.pt
skins/generic/folder_contents_macros.pt
skins/generic/main_template_macros.pt
skins/generic/search_form.pt
skins/generic/standard_error_message.pt
skins/generic/wf_macros.pt
skins/photo_theme/main_template_macros.pt
skins/photo_theme/photo_main_macros.pt
skins/photo_theme/search.pt

index 50045ab..d910527 100755 (executable)
@@ -6,7 +6,7 @@
     <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
   </head>
   <body>
     <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
   </head>
   <body>
-    <div metal:fill-slot="main" i18n:domain="cmf_default">
+    <div metal:fill-slot="main" i18n:domain="plinn">
       <h2 i18n:translate="">File Properties</h2>
       <table>
         <tr>
       <h2 i18n:translate="">File Properties</h2>
       <table>
         <tr>
index f73eb87..bc684ee 100644 (file)
@@ -7,7 +7,7 @@
 <div metal:fill-slot="header">
   <div metal:use-macro="here/widgets/macros/generic_header"></div>
 </div>
 <div metal:fill-slot="header">
   <div metal:use-macro="here/widgets/macros/generic_header"></div>
 </div>
-<div metal:fill-slot="main" i18n:domain="cmf_default">
+<div metal:fill-slot="main" i18n:domain="plinn">
 <div class="Desktop">
 
 <form action="folder_edit" method="post"
 <div class="Desktop">
 
 <form action="folder_edit" method="post"
index 737ffbb..3cd268a 100755 (executable)
@@ -6,7 +6,7 @@
   </head>
 <body>
 
   </head>
 <body>
 
-<div metal:fill-slot="main" i18n:domain="cmf_default">
+<div metal:fill-slot="main" i18n:domain="plinn">
 
  <p i18n:translate="">Link: <a href=""
               tal:attributes="href here/getRemoteUrl"
 
  <p i18n:translate="">Link: <a href=""
               tal:attributes="href here/getRemoteUrl"
index 042fcc0..464135c 100755 (executable)
@@ -6,7 +6,7 @@
   </head>
 
   <body>
   </head>
 
   <body>
-    <div i18n:domain="cmf_default">
+    <div i18n:domain="plinn">
       <div metal:fill-slot="header">
         <div metal:use-macro="here/widgets/macros/generic_header">
           generic_header
       <div metal:fill-slot="header">
         <div metal:use-macro="here/widgets/macros/generic_header">
           generic_header
index 43b6630..48dcef3 100644 (file)
@@ -9,7 +9,7 @@
         generic_header macro
       </div>
     </div>
         generic_header macro
       </div>
     </div>
-    <div metal:fill-slot="main" i18n:domain="cmf_default" tal:define="form options/form" tal:omit-tag="">
+    <div metal:fill-slot="main" i18n:domain="plinn" tal:define="form options/form" tal:omit-tag="">
       <div class="Desktop">
         <form action="image_edit_form" method="post" enctype="multipart/form-data" tal:attributes="action form/action">
           <table class="FormLayout">
       <div class="Desktop">
         <form action="image_edit_form" method="post" enctype="multipart/form-data" tal:attributes="action form/action">
           <table class="FormLayout">
index 6fd5ee5..96e024d 100644 (file)
@@ -7,7 +7,7 @@
 <div metal:fill-slot="header">
   <div metal:use-macro="here/widgets/macros/generic_header">generic_header</div>
 </div>
 <div metal:fill-slot="header">
   <div metal:use-macro="here/widgets/macros/generic_header">generic_header</div>
 </div>
-<div metal:fill-slot="main" i18n:domain="cmf_default">
+<div metal:fill-slot="main" i18n:domain="plinn">
 <div class="Desktop">
 <div class="Link">
 
 <div class="Desktop">
 <div class="Link">
 
index c089edb..ae725bd 100755 (executable)
@@ -5,7 +5,7 @@
     <base href="" metal:fill-slot="base" tal:attributes="href python: here.absolute_url() + '/'" />
   </head>
   <body>
     <base href="" metal:fill-slot="base" tal:attributes="href python: here.absolute_url() + '/'" />
   </head>
   <body>
-    <div metal:fill-slot="main" i18n:domain="cmf_default">
+    <div metal:fill-slot="main" i18n:domain="plinn">
 
      <p i18n:translate="">Link: <a href=""
                   tal:attributes="href here/remote_url"
 
      <p i18n:translate="">Link: <a href=""
                   tal:attributes="href here/remote_url"
index ed7c952..61774d7 100644 (file)
@@ -7,7 +7,7 @@
   </head>
 
   <body>
   </head>
 
   <body>
-    <div i18n:domain="cmf_default">
+    <div i18n:domain="plinn">
       <div metal:fill-slot="header">
         <div metal:use-macro="here/widgets/macros/generic_header">
           generic_header macro
       <div metal:fill-slot="header">
         <div metal:use-macro="here/widgets/macros/generic_header">
           generic_header macro
index c661a6b..77e9ea3 100644 (file)
@@ -13,7 +13,7 @@
     <div tal:define="hideContentByLine python:1" metal:fill-slot="header">
       <div metal:use-macro="here/widgets/macros/generic_header">generic_header</div>
     </div>
     <div tal:define="hideContentByLine python:1" metal:fill-slot="header">
       <div metal:use-macro="here/widgets/macros/generic_header">generic_header</div>
     </div>
-    <div metal:fill-slot="main" i18n:domain="cmf_default" tal:omit-tag=""
+    <div metal:fill-slot="main" i18n:domain="plinn" tal:omit-tag=""
                 tal:define="form options/form">
       <form method="post" tal:attributes="action string:${here/absolute_url}/folder_contents">
              <div id="FolderListing">
                 tal:define="form options/form">
       <form method="post" tal:attributes="action string:${here/absolute_url}/folder_contents">
              <div id="FolderListing">
index e14c13f..7b4e8b2 100755 (executable)
@@ -14,7 +14,7 @@
         Document Description goes here.
       </div>
     </div>
         Document Description goes here.
       </div>
     </div>
-    <div metal:define-macro="index_content" i18n:domain="cmf_default">
+    <div metal:define-macro="index_content" i18n:domain="plinn">
       <div tal:define="auth_filter nocall: modules/ZTUtils/LazyFilter;
                    types python:here.getTypeInfo().allowed_content_types ;
                    raw_items python: here.contentValues(filter={'portal_type': types } );
       <div tal:define="auth_filter nocall: modules/ZTUtils/LazyFilter;
                    types python:here.getTypeInfo().allowed_content_types ;
                    raw_items python: here.contentValues(filter={'portal_type': types } );
@@ -39,7 +39,7 @@
         </div>
       </div>
     </div>
         </div>
       </div>
     </div>
-    <div metal:define-macro="index_links" i18n:domain="cmf_default">
+    <div metal:define-macro="index_links" i18n:domain="plinn">
       <div tal:define="auth_filter nocall: modules/ZTUtils/LazyFilter;
                    default_types python:( 'Link', 'Favorite', 'Topic');
                    types types | here/show_link_types | default_types;
       <div tal:define="auth_filter nocall: modules/ZTUtils/LazyFilter;
                    default_types python:( 'Link', 'Favorite', 'Topic');
                    types types | here/show_link_types | default_types;
@@ -65,7 +65,7 @@
         </div>
       </div>
     </div>
         </div>
       </div>
     </div>
-    <div metal:define-macro="index_folders" i18n:domain="cmf_default">
+    <div metal:define-macro="index_folders" i18n:domain="plinn">
       <div tal:define="auth_filter nocall: modules/ZTUtils/LazyFilter;
                    default_types python:( 'Folder',);
                    types types | here/show_folder_types | default_types;
       <div tal:define="auth_filter nocall: modules/ZTUtils/LazyFilter;
                    default_types python:( 'Folder',);
                    types types | here/show_folder_types | default_types;
@@ -91,7 +91,7 @@
         </div>
       </div>
     </div>
         </div>
       </div>
     </div>
-    <div metal:define-macro="news_box" i18n:domain="cmf_default">
+    <div metal:define-macro="news_box" i18n:domain="plinn">
       <table class="NewsItems" width="100%" border="0" cellspacing="0" cellpadding="0">
         <tbody tal:define="news python: here.portal_catalog( meta_type='News Item', sort_on='Date', sort_order='reverse', review_state='published');
                     Batch python:modules['ZTUtils'].Batch;
       <table class="NewsItems" width="100%" border="0" cellspacing="0" cellpadding="0">
         <tbody tal:define="news python: here.portal_catalog( meta_type='News Item', sort_on='Date', sort_order='reverse', review_state='published');
                     Batch python:modules['ZTUtils'].Batch;
index c8aa939..5b0f17b 100644 (file)
@@ -5,7 +5,7 @@
 <body>
 
 
 <body>
 
 
-<metal:slot metal:fill-slot="main_no_tabs" i18n:domain="cmf_default"
+<metal:slot metal:fill-slot="main_no_tabs" i18n:domain="plinn"
    tal:define="form options/form">
 <h1 tal:content="options/title" i18n:translate="">Become a member</h1>
 <div class="Desktop">
    tal:define="form options/form">
 <h1 tal:content="options/title" i18n:translate="">Become a member</h1>
 <div class="Desktop">
index 1099fa4..d97853a 100644 (file)
@@ -5,7 +5,7 @@
   <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
 </head>
 <body>
   <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
 </head>
 <body>
-<div metal:fill-slot="main_no_tabs" i18n:domain="cmf_default">
+<div metal:fill-slot="main_no_tabs" i18n:domain="plinn">
 <p tal:condition="python: here.portal_membership.isAnonymousUser()"
    tal:content="string:You have been logged out."
    i18n:translate=""></p>
 <p tal:condition="python: here.portal_membership.isAnonymousUser()"
    tal:content="string:You have been logged out."
    i18n:translate=""></p>
index a9bdf65..3554f99 100755 (executable)
@@ -6,7 +6,7 @@
 </head>
 <body>
 
 </head>
 <body>
 
-<div metal:fill-slot="main_no_tabs" i18n:domain="cmf_default">
+<div metal:fill-slot="main_no_tabs" i18n:domain="plinn">
 
  <div class="Desktop"
       tal:define="ptool here/portal_properties">
 
  <div class="Desktop"
       tal:define="ptool here/portal_properties">
index 8368006..d15c808 100644 (file)
@@ -5,7 +5,7 @@
   <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
 </head>
 <body>
   <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
 </head>
 <body>
-<div metal:fill-slot="main_no_tabs" i18n:domain="cmf_default">
+<div metal:fill-slot="main_no_tabs" i18n:domain="plinn">
 <p id="DesktopStatusBar" i18n:translate="">Your password has been mailed.
 <br />
 It should arrive in your mailbox momentarily.</p>
 <p id="DesktopStatusBar" i18n:translate="">Your password has been mailed.
 <br />
 It should arrive in your mailbox momentarily.</p>
index ce447f3..ae276cf 100755 (executable)
@@ -4,7 +4,7 @@
   <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
 </head>
 <body>
   <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
 </head>
 <body>
-<div class="config" metal:fill-slot="main_no_tabs" i18n:domain="cmf_default" tal:define="member python: here.portal_membership.getAuthenticatedMember()">
+<div class="config" metal:fill-slot="main_no_tabs" i18n:domain="plinn" tal:define="member python: here.portal_membership.getAuthenticatedMember()">
   <h1 i18n:translate="">Change your Password</h1>
 <div class="error"
      tal:replace="request/error"
   <h1 i18n:translate="">Change your Password</h1>
 <div class="error"
      tal:replace="request/error"
index 149f1dc..dc608bf 100755 (executable)
@@ -4,7 +4,7 @@
   </head>
 
   <body>
   </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;
       <div tal:define="purl here/portal_url;
                   mtool here/portal_membership;
                   member mtool/getAuthenticatedMember;
index 075d511..65adf82 100644 (file)
@@ -2,7 +2,7 @@
 <head>
   <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
 </head>
 <head>
   <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
 </head>
-<body metal:fill-slot="main_no_tabs" i18n:domain="cmf_default" tal:omit-tag="" tal:define="form options/form">
+<body metal:fill-slot="main_no_tabs" i18n:domain="plinn" tal:omit-tag="" tal:define="form options/form">
 
 <h1 i18n:translate="">Configure the Portal</h1>
 
 
 <h1 i18n:translate="">Configure the Portal</h1>
 
index 886c63b..bf8d2b7 100644 (file)
@@ -1,7 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
       lang="en"
       metal:use-macro="here/main_template/macros/master"
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
       lang="en"
       metal:use-macro="here/main_template/macros/master"
-      i18n:domain="cmf_default">
+      i18n:domain="plinn">
 
 <head>
   <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
 
 <head>
   <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
index 9611e1f..3362e66 100644 (file)
@@ -4,7 +4,7 @@
                <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
                <title>Content by line</title>
        </head>
                <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
                <title>Content by line</title>
        </head>
-       <body i18n:domain="cmf_default">
+       <body i18n:domain="plinn">
                <div id="ContentByLine" metal:define-macro="byline"
                                 tal:define="creator here/Creator;
                                                                                 creatorFullName python:mtool.getMemberFullNameById(creator, nameBefore=0) ;
                <div id="ContentByLine" metal:define-macro="byline"
                                 tal:define="creator here/Creator;
                                                                                 creatorFullName python:mtool.getMemberFullNameById(creator, nameBefore=0) ;
index 4a6bc04..009a3e2 100644 (file)
@@ -7,7 +7,7 @@
     <title>folder contents macros</title>
   </head>
 
     <title>folder contents macros</title>
   </head>
 
-  <body i18n:domain="cmf_default" metal:define-macro="FolderListing"
+  <body i18n:domain="plinn" metal:define-macro="FolderListing"
         tal:define="batch_dict options/batch;
                     batch batch_dict/batch_obj;
                     listColumnInfos batch_dict/listColumnInfos;
         tal:define="batch_dict options/batch;
                     batch batch_dict/batch_obj;
                     listColumnInfos batch_dict/listColumnInfos;
index ba60bc6..ae4b148 100644 (file)
@@ -42,7 +42,7 @@ global specialCtxHeader options/specialCtxHeader|nothing"
                <tr>
                        <td id="PortalLogo"><a href="#" tal:attributes="href string:${portal_url}?noajax=1; title portal_object/title_or_id"><img src="logo.gif" tal:define="logo here/logo.png" tal:attributes="src logo/absolute_url; alt portal_object/title_or_id; height logo/height; width logo/width" /></a></td>
                        <!-- nav_bar / search_form -->
                <tr>
                        <td id="PortalLogo"><a href="#" tal:attributes="href string:${portal_url}?noajax=1; title portal_object/title_or_id"><img src="logo.gif" tal:define="logo here/logo.png" tal:attributes="src logo/absolute_url; alt portal_object/title_or_id; height logo/height; width logo/width" /></a></td>
                        <!-- nav_bar / search_form -->
-                       <td id="NavBar" align="right" i18n:domain="cmf_default"
+                       <td id="NavBar" align="right" i18n:domain="plinn"
           tal:condition="not:isAnon">
                                <form action="search" method="get" tal:attributes="action string:${portal_url}/search">
                                        <table>
           tal:condition="not:isAnon">
                                <form action="search" method="get" tal:attributes="action string:${portal_url}/search">
                                        <table>
@@ -59,7 +59,7 @@ global specialCtxHeader options/specialCtxHeader|nothing"
   
 <div id="user_menu_bar" metal:define-macro="user_menu_bar"
      tal:define="uname python: (isAnon and [''] or [member.getMemberFullName(nameBefore=0)])[0]">
   
 <div id="user_menu_bar" metal:define-macro="user_menu_bar"
      tal:define="uname python: (isAnon and [''] or [member.getMemberFullName(nameBefore=0)])[0]">
-       <table id="MemberActionsBox" border="0" cellspacing="0" i18n:domain="cmf_default">
+       <table id="MemberActionsBox" border="0" cellspacing="0" i18n:domain="plinn">
                <tr>
                        <td class="ActionTitle" tal:content="uname">Guest</td>
                        <td><img tal:attributes="src here/loading_progress.gif/absolute_url" width="82" height="7" id="loading_progress" alt="Loading progress..." i18n:attributes="alt" style="display:none" /></td>
                <tr>
                        <td class="ActionTitle" tal:content="uname">Guest</td>
                        <td><img tal:attributes="src here/loading_progress.gif/absolute_url" width="82" height="7" id="loading_progress" alt="Loading progress..." i18n:attributes="alt" style="display:none" /></td>
index d130798..ce15c5c 100644 (file)
@@ -6,7 +6,7 @@
     <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
   </head>
   <body>
     <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
   </head>
   <body>
-    <div metal:fill-slot="main_no_tabs" i18n:domain="cmf_default">
+    <div metal:fill-slot="main_no_tabs" i18n:domain="plinn">
       <div class="Desktop">
         <h1 i18n:translate="">Search inside <span tal:replace="here/Title"
             i18n:name="title">portal</span></h1>
       <div class="Desktop">
         <h1 i18n:translate="">Search inside <span tal:replace="here/Title"
             i18n:name="title">portal</span></h1>
index f90d3b5..b64b641 100644 (file)
@@ -5,7 +5,7 @@
     <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
   </head>
 <body>
     <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
   </head>
 <body>
-<div metal:fill-slot="main" i18n:domain="cmf_default">
+<div metal:fill-slot="main" i18n:domain="plinn">
 <div class="Desktop">
 
 
 <div class="Desktop">
 
 
index 0d7e245..0ec4f49 100644 (file)
@@ -35,7 +35,7 @@
           </tr>
         </div>
       </table>
           </tr>
         </div>
       </table>
-      <em i18n:translate="" i18n:domain="cmf_default" tal:condition="not:review_history">This item has not had any status changes.</em>
+      <em i18n:translate="" i18n:domain="plinn" tal:condition="not:review_history">This item has not had any status changes.</em>
     </div>
 
   </body>
     </div>
 
   </body>
index 71c04a0..56eb548 100644 (file)
@@ -70,7 +70,7 @@ global specialCtxHeader options/specialCtxHeader|nothing"
 
   
 <div tal:define="uname python: (isAnon and [''] or [member.getMemberFullName(nameBefore=0)])[0]" metal:define-macro="user_menu_bar">
 
   
 <div tal:define="uname python: (isAnon and [''] or [member.getMemberFullName(nameBefore=0)])[0]" metal:define-macro="user_menu_bar">
-       <table id="MemberActionsBox" border="0" cellspacing="0" i18n:domain="cmf_default">
+       <table id="MemberActionsBox" border="0" cellspacing="0" i18n:domain="plinn">
                <tr>
                        <td class="ActionTitle" tal:content="uname">Guest</td>
                        <td><img tal:attributes="src here/loading_progress.gif/absolute_url" width="82" height="7" id="loading_progress" alt="Loading progress..." i18n:attributes="alt" style="display:none" /></td>
                <tr>
                        <td class="ActionTitle" tal:content="uname">Guest</td>
                        <td><img tal:attributes="src here/loading_progress.gif/absolute_url" width="82" height="7" id="loading_progress" alt="Loading progress..." i18n:attributes="alt" style="display:none" /></td>
index 3f021e5..e19c053 100644 (file)
@@ -7,7 +7,7 @@
     <div metal:define-macro="search_bar"
          style="vertical-align:middle">
       <form action="search" method="get" tal:attributes="action string:${portal_url}/search">
     <div metal:define-macro="search_bar"
          style="vertical-align:middle">
       <form action="search" method="get" tal:attributes="action string:${portal_url}/search">
-        <div id="quicksearch" i18n:domain="cmf_default">
+        <div id="quicksearch" i18n:domain="plinn">
           <span i18n:translate="" tal:omit-tag="">Search</span>
           <input name="SearchableText" type="text" size="16" />
           <input name="portal_type:list" type="hidden" value="Photo" />
           <span i18n:translate="" tal:omit-tag="">Search</span>
           <input name="SearchableText" type="text" size="16" />
           <input name="portal_type:list" type="hidden" value="Photo" />
index 8d90e1b..29f4194 100644 (file)
@@ -8,7 +8,7 @@
     </metal:block>
   </head>
   <body>
     </metal:block>
   </head>
   <body>
-    <div metal:fill-slot="main_no_tabs" i18n:domain="cmf_default">
+    <div metal:fill-slot="main_no_tabs" i18n:domain="plinn">
       <div class="Desktop">
 
       <h2 i18n:translate="">Search Results</h2>
       <div class="Desktop">
 
       <h2 i18n:translate="">Search Results</h2>