manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1229317 - in /incubator/lcf/trunk: ./ connectors/gts/connector/src/main/java/org/apache/manifoldcf/agents/output/gts/ connectors/gts/connector/src/main/native2ascii/org/apache/manifoldcf/agents/output/gts/
Date Mon, 09 Jan 2012 19:23:27 GMT
Author: kwright
Date: Mon Jan  9 19:23:27 2012
New Revision: 1229317

URL: http://svn.apache.org/viewvc?rev=1229317&view=rev
Log:
Finish CONNECTORS-360.

Modified:
    incubator/lcf/trunk/CHANGES.txt
    incubator/lcf/trunk/connectors/gts/connector/src/main/java/org/apache/manifoldcf/agents/output/gts/GTSConnector.java
    incubator/lcf/trunk/connectors/gts/connector/src/main/native2ascii/org/apache/manifoldcf/agents/output/gts/common_en_US.properties
    incubator/lcf/trunk/connectors/gts/connector/src/main/native2ascii/org/apache/manifoldcf/agents/output/gts/common_ja_JP.properties

Modified: incubator/lcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/CHANGES.txt?rev=1229317&r1=1229316&r2=1229317&view=diff
==============================================================================
--- incubator/lcf/trunk/CHANGES.txt (original)
+++ incubator/lcf/trunk/CHANGES.txt Mon Jan  9 19:23:27 2012
@@ -3,6 +3,9 @@ $Id$
 
 ======================= 0.5-dev =====================
 
+CONNECTORS-360: Internationalize GTS connector fully.
+(Hitoshi Ozawa, Karl Wright)
+
 CONNECTORS-359: Internationalize FileSystem connector fully.
 (Hitoshi Ozawa, Karl Wright)
 

Modified: incubator/lcf/trunk/connectors/gts/connector/src/main/java/org/apache/manifoldcf/agents/output/gts/GTSConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/gts/connector/src/main/java/org/apache/manifoldcf/agents/output/gts/GTSConnector.java?rev=1229317&r1=1229316&r2=1229317&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/gts/connector/src/main/java/org/apache/manifoldcf/agents/output/gts/GTSConnector.java
(original)
+++ incubator/lcf/trunk/connectors/gts/connector/src/main/java/org/apache/manifoldcf/agents/output/gts/GTSConnector.java
Mon Jan  9 19:23:27 2012
@@ -374,7 +374,7 @@ public class GTSConnector extends org.ap
 "{\n"+
 "  if (editconnection.ingesturi.value == \"\")\n"+
 "  {\n"+
-"    alert(" + Messages.getString(locale,"GTSConnector.PleaseSupplyAValidIngestionURI") +
");\n"+
+"    alert(\"" + Messages.getBodyJavascriptString(locale,"GTSConnector.PleaseSupplyAValidIngestionURI")
+ "\");\n"+
 "    editconnection.ingesturi.focus();\n"+
 "    return false;\n"+
 "  }\n"+
@@ -385,7 +385,7 @@ public class GTSConnector extends org.ap
 "{\n"+
 "  if (editconnection.ingesturi.value == \"\")\n"+
 "  {\n"+
-"    alert(" + Messages.getString(locale,"GTSConnector.PleaseSupplyAValidIngestionURI") +
");\n"+
+"    alert(\"" + Messages.getBodyJavascriptString(locale,"GTSConnector.PleaseSupplyAValidIngestionURI")
+ "\");\n"+
 "    SelectTab(\"" + Messages.getBodyJavascriptString(locale,"GTSConnector.Appliance") +
"\");\n"+
 "    editconnection.ingesturi.focus();\n"+
 "    return false;\n"+
@@ -521,7 +521,7 @@ public class GTSConnector extends org.ap
 "\n"+
 "<table class=\"displaytable\">\n"+
 "  <tr>\n"+
-"    <td class=\"description\" colspan=\"1\"><nobr>" + Messages.getString(locale,"GTSConnector.Parameters")
+ "</nobr></td>\n"+
+"    <td class=\"description\" colspan=\"1\"><nobr>" + Messages.getBodyString(locale,"GTSConnector.Parameters")
+ "</nobr></td>\n"+
 "    <td class=\"value\" colspan=\"3\">\n"
     );
     
@@ -579,7 +579,7 @@ public class GTSConnector extends org.ap
 "{\n"+
 "  if (editjob.gts_collectionname.value.length > 230)\n"+
 "  {\n"+
-"    alert(" + Messages.getString(locale,"GTSConnector.CollectionNameMustBeLessThanOrEqualToCharacters")
+ ");\n"+
+"    alert(\"" + Messages.getBodyJavascriptString(locale,"GTSConnector.CollectionNameMustBeLessThanOrEqualToCharacters")
+ "\");\n"+
 "    editjob.gts_collectionname.focus();\n"+
 "    return false;\n"+
 "  }\n"+

Modified: incubator/lcf/trunk/connectors/gts/connector/src/main/native2ascii/org/apache/manifoldcf/agents/output/gts/common_en_US.properties
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/gts/connector/src/main/native2ascii/org/apache/manifoldcf/agents/output/gts/common_en_US.properties?rev=1229317&r1=1229316&r2=1229317&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/gts/connector/src/main/native2ascii/org/apache/manifoldcf/agents/output/gts/common_en_US.properties
(original)
+++ incubator/lcf/trunk/connectors/gts/connector/src/main/native2ascii/org/apache/manifoldcf/agents/output/gts/common_en_US.properties
Mon Jan  9 19:23:27 2012
@@ -23,7 +23,7 @@ GTSConnector.GTSCollections=GTS Collecti
 GTSConnector.GTSTemplate=GTS Template
 GTSConnector.DocumentTemplate=Document template:
 GTSConnector.Collection=Collection:
-GTSConnector.PleaseSupplyAValidIngestionURI=\"Please supply a valid ingestion URI\"
+GTSConnector.PleaseSupplyAValidIngestionURI=Please supply a valid ingestion URI
 GTSConnector.Parameters=Parameters:
-GTSConnector.CollectionNameMustBeLessThanOrEqualToCharacters=\"Collection name must be less
than or equal to 230 characters\"
+GTSConnector.CollectionNameMustBeLessThanOrEqualToCharacters=Collection name must be less
than or equal to 230 characters
 

Modified: incubator/lcf/trunk/connectors/gts/connector/src/main/native2ascii/org/apache/manifoldcf/agents/output/gts/common_ja_JP.properties
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/gts/connector/src/main/native2ascii/org/apache/manifoldcf/agents/output/gts/common_ja_JP.properties?rev=1229317&r1=1229316&r2=1229317&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/gts/connector/src/main/native2ascii/org/apache/manifoldcf/agents/output/gts/common_ja_JP.properties
(original)
+++ incubator/lcf/trunk/connectors/gts/connector/src/main/native2ascii/org/apache/manifoldcf/agents/output/gts/common_ja_JP.properties
Mon Jan  9 19:23:27 2012
@@ -23,6 +23,6 @@ GTSConnector.GTSCollections=GTSコã�
 GTSConnector.GTSTemplate=GTSテンプレート
 GTSConnector.DocumentTemplate=コンテンツテンプレート:
 GTSConnector.Collection=コレクション:
-GTSConnector.PleaseSupplyAValidIngestionURI=\"正しいコンテンツ読込みURIを指定してください\"
+GTSConnector.PleaseSupplyAValidIngestionURI=正しいコンテンツ読込みURIを指定してください
 GTSConnector.Parameters=引数:
-GTSConnector.CollectionNameMustBeLessThanOrEqualToCharacters=\"コレクション名は230文字以下にしてください\"
+GTSConnector.CollectionNameMustBeLessThanOrEqualToCharacters=コレクション名は230文字以下にしてください



Mime
View raw message