manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1536731 - in /manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main: native2ascii/org/apache/manifoldcf/crawler/connectors/email/ resources/org/apache/manifoldcf/crawler/connectors/email/
Date Tue, 29 Oct 2013 14:17:03 GMT
Author: kwright
Date: Tue Oct 29 14:17:03 2013
New Revision: 1536731

URL: http://svn.apache.org/r1536731
Log:
Internationalize metadata tab

Modified:
    manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/email/common_en_US.properties
    manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/email/common_ja_JP.properties
    manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/email/Configuration_Server.html
    manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/email/Specification_Filter.html

Modified: manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/email/common_en_US.properties
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/email/common_en_US.properties?rev=1536731&r1=1536730&r2=1536731&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/email/common_en_US.properties
(original)
+++ manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/email/common_en_US.properties
Tue Oct 29 14:17:03 2013
@@ -32,6 +32,12 @@ EmailConnector.Value=Value
 EmailConnector.NoServerPropertiesSpecified=No server properties specified
 EmailConnector.AddNewMatch=Add new match
 EmailConnector.Add=Add
+EmailConnector.DeleteMatchNumber=Delete match #
+EmailConnector.Delete=Delete
+EmailConnector.MetadataName=Metadata name
+EmailConnector.NoMetadataSpecified=No metadata specified
+EmailConnector.SelectMetadataName=--Select metadata name --
+
 
 
 

Modified: manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/email/common_ja_JP.properties
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/email/common_ja_JP.properties?rev=1536731&r1=1536730&r2=1536731&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/email/common_ja_JP.properties
(original)
+++ manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/email/common_ja_JP.properties
Tue Oct 29 14:17:03 2013
@@ -32,6 +32,12 @@ EmailConnector.Value=Value
 EmailConnector.NoServerPropertiesSpecified=No server properties specified
 EmailConnector.AddNewMatch=Add new match
 EmailConnector.Add=Add
+EmailConnector.DeleteMatchNumber=Delete match #
+EmailConnector.Delete=Delete
+EmailConnector.MetadataName=Metadata name
+EmailConnector.NoMetadataSpecified=No metadata specified
+EmailConnector.SelectMetadataName=--Select metadata name --
+
 
 
 

Modified: manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/email/Configuration_Server.html
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/email/Configuration_Server.html?rev=1536731&r1=1536730&r2=1536731&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/email/Configuration_Server.html
(original)
+++ manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/email/Configuration_Server.html
Tue Oct 29 14:17:03 2013
@@ -104,7 +104,7 @@ limitations under the License.
             <input type="hidden" name="findname_$k" value="$Encoder.attributeEscape($property.get('name'))"/>
             <input type="hidden" name="findvalue_$k" value="$Encoder.attributeEscape($property.get('value'))"/>
             <a name="find_$k">
-              <input type="button" value="Delete" onClick='Javascript:FindDelete("$k")'
alt="Delete match #$k"/>
+              <input type="button" value="$Encoder.attributeEscape($ResourceBundle.getString('EmailConnector.Delete'))"
onClick='Javascript:FindDelete("$k")' alt="$Encoder.attributeEscape($ResourceBundle.getString('EmailConnector.DeleteMatchNumber'))$k"/>
             </a>
           </td>
           <td class="formcolumncell">

Modified: manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/email/Specification_Filter.html
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/email/Specification_Filter.html?rev=1536731&r1=1536730&r2=1536731&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/email/Specification_Filter.html
(original)
+++ manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/email/Specification_Filter.html
Tue Oct 29 14:17:03 2013
@@ -18,114 +18,97 @@ limitations under the License.
 #if($TabName == $ResourceBundle.getString('EmailConnector.Filter'))
 
 <table class="displaytable">
-    <tr>
-        <td class="separator" colspan="2">
-            <hr/>
-        </td>
-    </tr>
-    <tr>
-        <td class="description">
-            <nobr>Matches:</nobr>
-        </td>
-        <td class="boxcell">
-            <table class="formtable">
-                <tr class="formheaderrow">
-                    <td class="formcolumnheader"></td>
-                    <td class="formcolumnheader">
-                        <nobr>Metadata name</nobr>
-                    </td>
-                    <td class="formcolumnheader">
-                        <nobr>Value</nobr>
-                    </td>
-                </tr>
-
-                #set($k = 0)
-                #foreach($match in $MATCHES)
-
-                #if(($k % 2) == 0)
-                <tr class="evenformrow">
-                    #else
-                <tr class="oddformrow">
-                    #end
-
-                    <td class="formcolumncell">
-                        <input type="hidden" name="findop_$k" value=""/>
-                        <input type="hidden" name="findname_$k" value="$Encoder.attributeEscape($match.get('name'))"/>
-                        <input type="hidden" name="findvalue_$k" value="$Encoder.attributeEscape($match.get('value'))"/>
-                        <a name="find_$k">
-                            <input type="button" value="Delete" onClick='Javascript:FindDelete("$k")'
-                                   alt="Delete match #$k"/>
-                        </a>
-                    </td>
-                    <td class="formcolumncell">
-                        <nobr>
-                            $Encoder.bodyEscape($match.get('name'))
-                        </nobr>
-                    </td>
-                    <td class="formcolumncell">
-                        <nobr>
-                            $Encoder.bodyEscape($match.get('value'))
-                        </nobr>
-                    </td>
-                </tr>
-
-                #set($k = $k + 1)
-                #end
-
-                #if($k == 0)
-                <tr class="formrow">
-                    <td class="formcolumnmessage" colspan="3">No metadata specified</td>
-                </tr>
-                #end
-
-                <tr class="formrow">
-                    <td class="formseparator" colspan="3">
-                        <hr/>
-                    </td>
-                </tr>
-                #set($nextk = $k + 1)
-
-                <tr class="formrow">
-                    <td class="formcolumncell">
-                        <nobr>
-                            <a name="find_$k">
-                                <input type="button" value="Add" onClick='Javascript:FindAdd("$nextk")'
-                                       alt="Add new match"/>
-                                <input type="hidden" name="findcount" value="$k"/>
-                                <input type="hidden" name="findop" value=""/>
-                            </a>
-                        </nobr>
-                    </td>
-                    <td class="formcolumncell">
-                        <select name="findname">
-                            <option value="" selected="true">--Select metadata name
--</option>
-                            #foreach($name in $SEARCHABLEATTRIBUTES)
-                            <option value="$Encoder.attributeEscape($name)">$Encoder.bodyEscape($name)</option>
-                            #end
-                        </select>
-                    </td>
-                    <td class="formcolumncell">
-                        <nobr>
-                            <input type="text" size="32" name="findvalue" value=""/>
-                        </nobr>
-                    </td>
-                </tr>
-
-            </table>
-        </td>
-    </tr>
+  <tr><td class="separator" colspan="2"><hr/></td></tr>
+  <tr>
+    <td class="description">
+      <nobr>$Encoder.bodyEscape($ResourceBundle.getString('EmailConnector.MatchesColon'))</nobr>
+    </td>
+    <td class="boxcell">
+      <table class="formtable">
+        <tr class="formheaderrow">
+          <td class="formcolumnheader"></td>
+          <td class="formcolumnheader">
+            <nobr>$Encoder.bodyEscape($ResourceBundle.getString('EmailConnector.MetadataName'))</nobr>
+          </td>
+          <td class="formcolumnheader">
+            <nobr>$Encoder.bodyEscape($ResourceBundle.getString('EmailConnector.Value'))</nobr>
+          </td>
+        </tr>
+
+  #set($k = 0)
+  #foreach($match in $MATCHES)
+
+    #if(($k % 2) == 0)
+        <tr class="evenformrow">
+    #else
+        <tr class="oddformrow">
+    #end
+          <td class="formcolumncell">
+            <input type="hidden" name="findop_$k" value=""/>
+            <input type="hidden" name="findname_$k" value="$Encoder.attributeEscape($match.get('name'))"/>
+            <input type="hidden" name="findvalue_$k" value="$Encoder.attributeEscape($match.get('value'))"/>
+            <a name="find_$k">
+              <input type="button" value="$Encoder.attributeEscape($ResourceBundle.getString('EmailConnector.Delete'))"
onClick='Javascript:FindDelete("$k")' alt="$Encoder.attributeEscape($ResourceBundle.getString('EmailConnector.DeleteMatchNumber'))$k"/>
+            </a>
+          </td>
+          <td class="formcolumncell">
+            <nobr>$Encoder.bodyEscape($match.get('name'))</nobr>
+          </td>
+          <td class="formcolumncell">
+            <nobr>$Encoder.bodyEscape($match.get('value'))</nobr>
+          </td>
+        </tr>
+
+    #set($k = $k + 1)
+  #end
+
+  #if($k == 0)
+        <tr class="formrow">
+          <td class="formcolumnmessage" colspan="3">$Encoder.bodyEscape($ResourceBundle.getString('EmailConnector.NoMetadataSpecified'))</td>
+        </tr>
+  #end
+
+        <tr class="formrow"><td class="formseparator" colspan="3"><hr/></td></tr>
+  #set($nextk = $k + 1)
+
+        <tr class="formrow">
+          <td class="formcolumncell">
+            <nobr>
+              <a name="find_$k">
+                <input type="button" value="$Encoder.attributeEscape($ResourceBundle.getString('EmailConnector.Add'))"
onClick='Javascript:FindAdd("$nextk")' alt="$Encoder.attributeEscape($ResourceBundle.getString('EmailConnector.AddNewMatch'))"/>
+                <input type="hidden" name="findcount" value="$k"/>
+                <input type="hidden" name="findop" value=""/>
+              </a>
+            </nobr>
+          </td>
+          <td class="formcolumncell">
+            <select name="findname">
+              <option value="" selected="true">$Encoder.bodyEscape($ResourceBundle.getString('EmailConnector.SelectMetadataName'))</option>
+  #foreach($name in $SEARCHABLEATTRIBUTES)
+              <option value="$Encoder.attributeEscape($name)">$Encoder.bodyEscape($name)</option>
+  #end
+            </select>
+          </td>
+          <td class="formcolumncell">
+            <nobr><input type="text" size="32" name="findvalue" value=""/></nobr>
+          </td>
+        </tr>
+
+      </table>
+    </td>
+  </tr>
 </table>
 
 #else
 
-#set($k = 0)
-#foreach($match in $MATCHES)
+  #set($k = 0)
+  #foreach($match in $MATCHES)
 
 <input type="hidden" name="findname_$k" value="$Encoder.attributeEscape($match.get('name'))"/>
 <input type="hidden" name="findvalue_$k" value="$Encoder.attributeEscape($match.get('value'))"/>
 
-#set($k = $k + 1)
-#end
+    #set($k = $k + 1)
+  #end
 
 <input type="hidden" name="findcount" value="$k"/>
 



Mime
View raw message