incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1229277 - in /incubator/lcf/trunk: ./ connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/ connectors/activedirectory/connector/src/main/native2ascii/org/apache/manifoldcf/author...
Date Mon, 09 Jan 2012 17:55:46 GMT
Author: kwright
Date: Mon Jan  9 17:55:45 2012
New Revision: 1229277

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

Modified:
    incubator/lcf/trunk/CHANGES.txt
    incubator/lcf/trunk/connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/ActiveDirectoryAuthority.java
    incubator/lcf/trunk/connectors/activedirectory/connector/src/main/native2ascii/org/apache/manifoldcf/authorities/authorities/activedirectory/common_en_US.properties
    incubator/lcf/trunk/connectors/activedirectory/connector/src/main/native2ascii/org/apache/manifoldcf/authorities/authorities/activedirectory/common_ja_JP.properties

Modified: incubator/lcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/CHANGES.txt?rev=1229277&r1=1229276&r2=1229277&view=diff
==============================================================================
--- incubator/lcf/trunk/CHANGES.txt (original)
+++ incubator/lcf/trunk/CHANGES.txt Mon Jan  9 17:55:45 2012
@@ -3,6 +3,9 @@ $Id$
 
 ======================= 0.5-dev =====================
 
+CONNECTORS-356: Internationalize ActiveDirectory connector fully.
+(Hitoshi Ozawa, Karl Wright)
+
 CONNECTORS-366: Internationalized Solr connector fully.
 (Hitoshi Ozawa, Karl Wright)
 

Modified: incubator/lcf/trunk/connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/ActiveDirectoryAuthority.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/ActiveDirectoryAuthority.java?rev=1229277&r1=1229276&r2=1229277&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/ActiveDirectoryAuthority.java
(original)
+++ incubator/lcf/trunk/connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/ActiveDirectoryAuthority.java
Mon Jan  9 17:55:45 2012
@@ -357,50 +357,50 @@ public class ActiveDirectoryAuthority ex
 "{\n"+
 "  if (editconnection.domaincontrollername.value == \"\")\n"+
 "  {\n"+
-"    alert(" + Messages.getString(locale,"ActiveDirectoryAuthority.EnterADomainControllerServerName")
+ ");\n"+
-"    SelectTab(" + Messages.getString(locale,"ActiveDirectoryAuthority.DomainController")
+ ");\n"+
+"    alert(\"" + Messages.getBodyJavascriptString(locale,"ActiveDirectoryAuthority.EnterADomainControllerServerName")
+ "\");\n"+
+"    SelectTab(\"" + Messages.getBodyJavascriptString(locale,"ActiveDirectoryAuthority.DomainController")
+ "\");\n"+
 "    editconnection.domaincontrollername.focus();\n"+
 "    return false;\n"+
 "  }\n"+
 "  if (editconnection.username.value == \"\")\n"+
 "  {\n"+
-"    alert(" + Messages.getString(locale,"ActiveDirectoryAuthority.AdministrativeUserNameCannotBeNull")
+ ");\n"+
-"    SelectTab(" + Messages.getString(locale,"ActiveDirectoryAuthority.DomainController")
+ ");\n"+
+"    alert(\"" + Messages.getBodyJavascriptString(locale,"ActiveDirectoryAuthority.AdministrativeUserNameCannotBeNull")
+ "\");\n"+
+"    SelectTab(\"" + Messages.getBodyJavascriptString(locale,"ActiveDirectoryAuthority.DomainController")
+ "\");\n"+
 "    editconnection.username.focus();\n"+
 "    return false;\n"+
 "  }\n"+
 "  if (editconnection.authentication.value == \"\")\n"+
 "  {\n"+
-"    alert(" + Messages.getString(locale,"ActiveDirectoryAuthority.AuthenticationCannotBeNull")
+ ");\n"+
-"    SelectTab(" + Messages.getString(locale,"ActiveDirectoryAuthority.DomainController")
+ ");\n"+
+"    alert(\"" + Messages.getBodyJavascriptString(locale,"ActiveDirectoryAuthority.AuthenticationCannotBeNull")
+ "\");\n"+
+"    SelectTab(\"" + Messages.getBodyJavascriptString(locale,"ActiveDirectoryAuthority.DomainController")
+ "\");\n"+
 "    editconnection.authentication.focus();\n"+
 "    return false;\n"+
 "  }\n"+
 "  if (editconnection.cachelifetime.value == \"\")\n"+
 "  {\n"+
-"    alert(" + Messages.getString(locale,"ActiveDirectoryAuthority.CacheLifetimeCannotBeNull")
+ ");\n"+
-"    SelectTab(" + Messages.getString(locale,"ActiveDirectoryAuthority.Cache") + ");\n"+
+"    alert(\"" + Messages.getBodyJavascriptString(locale,"ActiveDirectoryAuthority.CacheLifetimeCannotBeNull")
+ "\");\n"+
+"    SelectTab(\"" + Messages.getBodyJavascriptString(locale,"ActiveDirectoryAuthority.Cache")
+ "\");\n"+
 "    editconnection.cachelifetime.focus();\n"+
 "    return false;\n"+
 "  }\n"+
 "  if (editconnection.cachelifetime.value != \"\" && !isInteger(editconnection.cachelifetime.value))\n"+
 "  {\n"+
-"    alert(" + Messages.getString(locale,"ActiveDirectoryAuthority.CacheLifetimeMustBeAnInteger")
+ ");\n"+
-"    SelectTab(" + Messages.getString(locale,"ActiveDirectoryAuthority.Cache") + ");\n"+
+"    alert(\"" + Messages.getBodyJavascriptString(locale,"ActiveDirectoryAuthority.CacheLifetimeMustBeAnInteger")
+ "\");\n"+
+"    SelectTab(\"" + Messages.getBodyJavascriptString(locale,"ActiveDirectoryAuthority.Cache")
+ "\");\n"+
 "    editconnection.cachelifetime.focus();\n"+
 "    return false;\n"+
 "  }\n"+
 "  if (editconnection.cachelrusize.value == \"\")\n"+
 "  {\n"+
-"    alert(" + Messages.getString(locale,"ActiveDirectoryAuthority.CacheLRUSizeCannotBeNull")
+ ");\n"+
-"    SelectTab(" + Messages.getString(locale,"ActiveDirectoryAuthority.Cache") + ");\n"+
+"    alert(\"" + Messages.getBodyJavascriptString(locale,"ActiveDirectoryAuthority.CacheLRUSizeCannotBeNull")
+ "\");\n"+
+"    SelectTab(\"" + Messages.getBodyJavascriptString(locale,"ActiveDirectoryAuthority.Cache")
+ "\");\n"+
 "    editconnection.cachelrusize.focus();\n"+
 "    return false;\n"+
 "  }\n"+
 "  if (editconnection.cachelrusize.value != \"\" && !isInteger(editconnection.cachelrusize.value))\n"+
 "  {\n"+
-"    alert(" + Messages.getString(locale,"ActiveDirectoryAuthority.CacheLRUSizeMustBeAnInteger")
+ ");\n"+
-"    SelectTab(" + Messages.getString(locale,"ActiveDirectoryAuthority.Cache") + ");\n"+
+"    alert(\"" + Messages.getBodyJavascriptString(locale,"ActiveDirectoryAuthority.CacheLRUSizeMustBeAnInteger")
+ "\");\n"+
+"    SelectTab(\"" + Messages.getBodyJavascriptString(locale,"ActiveDirectoryAuthority.Cache")
+ "\");\n"+
 "    editconnection.cachelrusize.focus();\n"+
 "    return false;\n"+
 "  }\n"+

Modified: incubator/lcf/trunk/connectors/activedirectory/connector/src/main/native2ascii/org/apache/manifoldcf/authorities/authorities/activedirectory/common_en_US.properties
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/activedirectory/connector/src/main/native2ascii/org/apache/manifoldcf/authorities/authorities/activedirectory/common_en_US.properties?rev=1229277&r1=1229276&r2=1229277&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/activedirectory/connector/src/main/native2ascii/org/apache/manifoldcf/authorities/authorities/activedirectory/common_en_US.properties
(original)
+++ incubator/lcf/trunk/connectors/activedirectory/connector/src/main/native2ascii/org/apache/manifoldcf/authorities/authorities/activedirectory/common_en_US.properties
Mon Jan  9 17:55:45 2012
@@ -24,14 +24,14 @@ ActiveDirectoryAuthority.CacheLifetime=C
 ActiveDirectoryAuthority.CacheLRUSize=Cache LRU size:
 ActiveDirectoryAuthority.Parameters=Parameters:
 ActiveDirectoryAuthority.minutes=minutes
-ActiveDirectoryAuthority.EnterADomainControllerServerName=\"Enter a domain controller server
name\"
-ActiveDirectoryAuthority.Domain Controller2=\"Domain Controller\"
-ActiveDirectoryAuthority.AdministrativeUserNameCannotBeNull=\"Administrative user name cannot
be null\"
-ActiveDirectoryAuthority.AuthenticationCannotBeNull=\"Authentication cannot be null\"
-ActiveDirectoryAuthority.CacheLifetimeCannotBeNull=\"Cache lifetime cannot be null\"
-ActiveDirectoryAuthority.CacheLifetimeMustBeAnInteger=\"Cache lifetime must be an integer\"
-ActiveDirectoryAuthority.CacheLRUSizeCannotBeNull=\"Cache LRU size cannot be null\"
-ActiveDirectoryAuthority.CacheLRUSizeMustBeAnInteger=\"Cache LRU size must be an integer\"
+ActiveDirectoryAuthority.EnterADomainControllerServerName=Enter a domain controller server
name
+ActiveDirectoryAuthority.Domain Controller2=Domain Controller
+ActiveDirectoryAuthority.AdministrativeUserNameCannotBeNull=Administrative user name cannot
be null
+ActiveDirectoryAuthority.AuthenticationCannotBeNull=Authentication cannot be null
+ActiveDirectoryAuthority.CacheLifetimeCannotBeNull=Cache lifetime cannot be null
+ActiveDirectoryAuthority.CacheLifetimeMustBeAnInteger=Cache lifetime must be an integer
+ActiveDirectoryAuthority.CacheLRUSizeCannotBeNull=Cache LRU size cannot be null
+ActiveDirectoryAuthority.CacheLRUSizeMustBeAnInteger=Cache LRU size must be an integer
 ActiveDirectoryAuthority.certificate=certificate(s)
 
 

Modified: incubator/lcf/trunk/connectors/activedirectory/connector/src/main/native2ascii/org/apache/manifoldcf/authorities/authorities/activedirectory/common_ja_JP.properties
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/activedirectory/connector/src/main/native2ascii/org/apache/manifoldcf/authorities/authorities/activedirectory/common_ja_JP.properties?rev=1229277&r1=1229276&r2=1229277&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/activedirectory/connector/src/main/native2ascii/org/apache/manifoldcf/authorities/authorities/activedirectory/common_ja_JP.properties
(original)
+++ incubator/lcf/trunk/connectors/activedirectory/connector/src/main/native2ascii/org/apache/manifoldcf/authorities/authorities/activedirectory/common_ja_JP.properties
Mon Jan  9 17:55:45 2012
@@ -24,12 +24,12 @@ ActiveDirectoryAuthority.CacheLifetime=�
 ActiveDirectoryAuthority.CacheLRUSize=キャッシュLRUサイズ:
 ActiveDirectoryAuthority.Parameters=引数:
 ActiveDirectoryAuthority.minutes=分
-ActiveDirectoryAuthority.EnterADomainControllerServerName=\"ドメインコントローラ名を入力してください\"
-ActiveDirectoryAuthority.Domain Controller2=\"ドメインコントローラ\"
-ActiveDirectoryAuthority.AdministrativeUserNameCannotBeNull=\"管理者名を入力してください\"
-ActiveDirectoryAuthority.AuthenticationCannotBeNull=\"認証情報を入力してください\"
-ActiveDirectoryAuthority.CacheLifetimeCannotBeNull=\"キャッシュライフタイムを入力してください\"
-ActiveDirectoryAuthority.CacheLifetimeMustBeAnInteger=\"キャッシュライフタイムには整数を入力してください\"
-ActiveDirectoryAuthority.CacheLRUSizeCannotBeNull=\"キャッシュLRUサイズを入力してください\"
-ActiveDirectoryAuthority.CacheLRUSizeMustBeAnInteger=\"キャッシュLRUサイズには整数を入力してください\"
+ActiveDirectoryAuthority.EnterADomainControllerServerName=ドメインコントローラ名を入力してください
+ActiveDirectoryAuthority.Domain Controller2=ドメインコントローラ
+ActiveDirectoryAuthority.AdministrativeUserNameCannotBeNull=管理者名を入力してください
+ActiveDirectoryAuthority.AuthenticationCannotBeNull=認証情報を入力してください
+ActiveDirectoryAuthority.CacheLifetimeCannotBeNull=キャッシュライフタイムを入力してください
+ActiveDirectoryAuthority.CacheLifetimeMustBeAnInteger=キャッシュライフタイムには整数を入力してください
+ActiveDirectoryAuthority.CacheLRUSizeCannotBeNull=キャッシュLRUサイズを入力してください
+ActiveDirectoryAuthority.CacheLRUSizeMustBeAnInteger=キャッシュLRUサイズには整数を入力してください
 ActiveDirectoryAuthority.certificate=証明書



Mime
View raw message