]> CRI, Mines Paris - PSL - Plinn.git/commitdiff
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 50045ab89ca69ba723b40ae95c455cb7edcb7d55..d9105274813109bebf4f23d515ba1af7a4be0943 100755 (executable)
@@ -6,7 +6,7 @@
     <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>
index f73eb878d9119deb0467568989523b07f696ba20..bc684eed87f1616ee9496a5af2358f388494615f 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="main" i18n:domain="cmf_default">
+<div metal:fill-slot="main" i18n:domain="plinn">
 <div class="Desktop">
 
 <form action="folder_edit" method="post"
index 737ffbbc8db0b31712c456f6869c88b846303efe..3cd268a5cb4fce75ee9f7141045ec36b21c3fd61 100755 (executable)
@@ -6,7 +6,7 @@
   </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"
index 042fcc0a063c8ab9c05aa32baa62836bc376ee0b..464135cd2338e670ce5e648c49ab953c8bd335e5 100755 (executable)
@@ -6,7 +6,7 @@
   </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
index 43b663043bbf31542dab1ac18250bd66e2ade2d3..48dcef3c0cf29ac741a9da78c3350b62a6b83e79 100644 (file)
@@ -9,7 +9,7 @@
         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">
index 6fd5ee5b1f4d1d88cc7e79c81e38c3a1110d27e0..96e024dd98bfcab4764e6b787f50b6cc15b21b90 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="main" i18n:domain="cmf_default">
+<div metal:fill-slot="main" i18n:domain="plinn">
 <div class="Desktop">
 <div class="Link">
 
index c089edbe319c9d6bfd8cd6fcd6976f7c65595641..ae725bd7ba4864c9146fdf847265c65118da5a11 100755 (executable)
@@ -5,7 +5,7 @@
     <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"
index ed7c952a2d314652d57910ceb0ffc48c988f1e24..61774d76c00a8a7c1cdef67282f8c3f81660256e 100644 (file)
@@ -7,7 +7,7 @@
   </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
index c661a6b4b8e859ef9ada6f9bcc7d7c7be6008a2d..77e9ea3abaaa6ee20aac681b7cba827ca58ee81d 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 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">
index e14c13f36e90bb1ae175775eb8e34ac0901ade8c..7b4e8b2621767840bd1c7906c97aeb4767de388c 100755 (executable)
@@ -14,7 +14,7 @@
         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 } );
@@ -39,7 +39,7 @@
         </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;
@@ -65,7 +65,7 @@
         </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;
@@ -91,7 +91,7 @@
         </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;
index c8aa939cbc1aa9dba2993eed681739d5b473eb7b..5b0f17bf89a4be2c09c996d7941f35f24252ff9d 100644 (file)
@@ -5,7 +5,7 @@
 <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">
index 1099fa4440c193d35372aa78d199ad9c64d7d88c..d97853aada3bfb3bb85ca0561a7376d108ab6c3b 100644 (file)
@@ -5,7 +5,7 @@
   <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>
index a9bdf65d3bd3f3de6b943830953bee08a643baf7..3554f99d083798ce8f6f694f0e9dfbaa02c6b4f8 100755 (executable)
@@ -6,7 +6,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 class="Desktop"
       tal:define="ptool here/portal_properties">
index 83680061a2771b4e2aee6453b25ad8b4106b2b59..d15c808161d8c1c2f2a4a6e98f908b8a4e1cc201 100644 (file)
@@ -5,7 +5,7 @@
   <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>
index ce447f3c92ac44589896e2abeb1030f832c6c5d1..ae276cf0e03e52ff0b7363a34fe5b095e7248040 100755 (executable)
@@ -4,7 +4,7 @@
   <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"
index 149f1dcc84557ee9569e214c4d5f1724ea86249a..dc608bfbe16ec8b2269c809525b65161c6d12497 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;
index 075d511a2528a2bce7e17528c837e3cb15ce449e..65adf82b465c6b033d44dbe33063b99d4dc2caca 100644 (file)
@@ -2,7 +2,7 @@
 <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>
 
index 886c63bd530503fb7073e36860d5cbc041e7e87f..bf8d2b7eae6dbe2cae75d0447401a4a6b8ee4db4 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"
-      i18n:domain="cmf_default">
+      i18n:domain="plinn">
 
 <head>
   <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
index 9611e1f3af65dc1e45a03cde6394da08208f3175..3362e66c76cc5105fa6ddc032a1e3c7f80eb223a 100644 (file)
@@ -4,7 +4,7 @@
                <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) ;
index 4a6bc0406353dc8e77d9eaea9dde3b4359615f72..009a3e23466ce5320b2b6397267a0a994bce6690 100644 (file)
@@ -7,7 +7,7 @@
     <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;
index ba60bc64421d5c211beb274680328e496d7f1339..ae4b14898077970bad99429ec1273dd3204f49ba 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 -->
-                       <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>
@@ -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]">
-       <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>
index d1307988d64fec2f703ed4b39a58b2f2799d11f4..ce15c5c8e1af6a678a11c971355482866c690d37 100644 (file)
@@ -6,7 +6,7 @@
     <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>
index f90d3b57c5669fa23b451ed5db00931bc62dde68..b64b641796553b998278086ad0beef27e98a7640 100644 (file)
@@ -5,7 +5,7 @@
     <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">
 
 
index 0d7e245f092a6e6f0bc288319dcfba7e8921586a..0ec4f49d6437b1d8781347a37a14a845d18a3b49 100644 (file)
@@ -35,7 +35,7 @@
           </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>
index 71c04a07d798a458f33445d0cab6152d31dec77e..56eb548a92ef00481772bf0cc58dae3b83a3f4e2 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">
-       <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>
index 3f021e57e8a097122a2968ebb2edb9207be814e3..e19c053a5834b919bffa9687e8f0f5ec30e68a3a 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 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" />
index 8d90e1b7c65482377af4b53036e4855508b4981e..29f41943fd241906a59ad3cf27150071df66e9ed 100644 (file)
@@ -8,7 +8,7 @@
     </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>