You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by fe...@apache.org on 2010/01/21 10:06:59 UTC

svn commit: r901606 - in /directory/sandbox/felixk/apacheds-i18n: i18n/src/main/java/org/apache/directory/server/i18n/ i18n/src/main/resources/org/apache/directory/server/i18n/ i18n/src/test/java/org/apache/directory/server/i18n/ i18n/src/test/resource...

Author: felixk
Date: Thu Jan 21 09:05:26 2010
New Revision: 901606

URL: http://svn.apache.org/viewvc?rev=901606&view=rev
Log:
Some i18n extractions for the commandline tools ...
Add ERR_x to translated error message regarding on "we will be able to build a knowledge base" (DIRSERVER-886)
replace space by underscore for error message key

Modified:
    directory/sandbox/felixk/apacheds-i18n/i18n/src/main/java/org/apache/directory/server/i18n/Err.java
    directory/sandbox/felixk/apacheds-i18n/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties
    directory/sandbox/felixk/apacheds-i18n/i18n/src/test/java/org/apache/directory/server/i18n/GermanLanguageTest.java
    directory/sandbox/felixk/apacheds-i18n/i18n/src/test/java/org/apache/directory/server/i18n/UnknownLanguageTest.java
    directory/sandbox/felixk/apacheds-i18n/i18n/src/test/resources/org/apache/directory/server/i18n/errors.properties
    directory/sandbox/felixk/apacheds-i18n/i18n/src/test/resources/org/apache/directory/server/i18n/errors_de.properties
    directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/ApachedsTools.java
    directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/BaseCommand.java
    directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/CapacityTestCommand.java
    directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/DiagnosticCommand.java
    directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/DisconnectNotificationCommand.java
    directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/DumpCommand.java
    directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/GracefulShutdownCommand.java
    directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/ImportCommand.java
    directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/IndexCommand.java

Modified: directory/sandbox/felixk/apacheds-i18n/i18n/src/main/java/org/apache/directory/server/i18n/Err.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-i18n/i18n/src/main/java/org/apache/directory/server/i18n/Err.java?rev=901606&r1=901605&r2=901606&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-i18n/i18n/src/main/java/org/apache/directory/server/i18n/Err.java (original)
+++ directory/sandbox/felixk/apacheds-i18n/i18n/src/main/java/org/apache/directory/server/i18n/Err.java Thu Jan 21 09:05:26 2010
@@ -35,205 +35,235 @@
 {
     private final static ResourceBundle res = ResourceBundle.getBundle( "org/apache/directory/server/i18n/errors" );
 
-    public static String ERR_1 = "ERR 1";
-    public static String ERR_2 = "ERR 2";
-    public static String ERR_3 = "ERR 3";
-    public static String ERR_4 = "ERR 4";
-    public static String ERR_5 = "ERR 5";
-    public static String ERR_6 = "ERR 6";
-    public static String ERR_7 = "ERR 7";
-    public static String ERR_8 = "ERR 8";
-    public static String ERR_9 = "ERR 9";
-    public static String ERR_10 = "ERR 10";
-    public static String ERR_11 = "ERR 11";
-    public static String ERR_12 = "ERR 12";
-    public static String ERR_13 = "ERR 13";
-    public static String ERR_14 = "ERR 14";
-    public static String ERR_15 = "ERR 15";
-    public static String ERR_16 = "ERR 16";
-    public static String ERR_17 = "ERR 17";
-    public static String ERR_18 = "ERR 18";
-    public static String ERR_19 = "ERR 19";
-    public static String ERR_20 = "ERR 20";
-    public static String ERR_21 = "ERR 21";
-    public static String ERR_22 = "ERR 22";
-    public static String ERR_23 = "ERR 23";
-    public static String ERR_24 = "ERR 24";
-    public static String ERR_25 = "ERR 25";
-    public static String ERR_26 = "ERR 26";
-    public static String ERR_27 = "ERR 27";
-    public static String ERR_28 = "ERR 28";
-    public static String ERR_29 = "ERR 29";
-    public static String ERR_30 = "ERR 30";
-    public static String ERR_31 = "ERR 31";
-    public static String ERR_32 = "ERR 32";
-    public static String ERR_33 = "ERR 33";
-    public static String ERR_34 = "ERR 34";
-    public static String ERR_35 = "ERR 35";
-    public static String ERR_36 = "ERR 36";
-    public static String ERR_37 = "ERR 37";
-    public static String ERR_38 = "ERR 38";
-    public static String ERR_39 = "ERR 39";
-    public static String ERR_40 = "ERR 40";
-    public static String ERR_41 = "ERR 41";
-    public static String ERR_42 = "ERR 42";
-    public static String ERR_43 = "ERR 43";
-    public static String ERR_44 = "ERR 44";
-    public static String ERR_45 = "ERR 45";
-    public static String ERR_46 = "ERR 46";
-    public static String ERR_47 = "ERR 47";
-    public static String ERR_48 = "ERR 48";
-    public static String ERR_49 = "ERR 49";
-    public static String ERR_50 = "ERR 50";
-    public static String ERR_51 = "ERR 51";
-    public static String ERR_52 = "ERR 52";
-    public static String ERR_53 = "ERR 53";
-    public static String ERR_54 = "ERR 54";
-    public static String ERR_55 = "ERR 55";
-    public static String ERR_56 = "ERR 56";
-    public static String ERR_57 = "ERR 57";
-    public static String ERR_58 = "ERR 58";
-    public static String ERR_59 = "ERR 59";
-    public static String ERR_60 = "ERR 60";
-    public static String ERR_61 = "ERR 61";
-    public static String ERR_62 = "ERR 62";
-    public static String ERR_63 = "ERR 63";
-    public static String ERR_64 = "ERR 64";
-    public static String ERR_65 = "ERR 65";
-    public static String ERR_66 = "ERR 66";
-    public static String ERR_67 = "ERR 67";
-    public static String ERR_68 = "ERR 68";
-    public static String ERR_69 = "ERR 69";
-    public static String ERR_70 = "ERR 70";
-    public static String ERR_71 = "ERR 71";
-    public static String ERR_72 = "ERR 72";
-    public static String ERR_73 = "ERR 73";
-    public static String ERR_74 = "ERR 74";
-    public static String ERR_75 = "ERR 75";
-    public static String ERR_76 = "ERR 76";
-    public static String ERR_77 = "ERR 77";
-    public static String ERR_78 = "ERR 78";
-    public static String ERR_79 = "ERR 79";
-    public static String ERR_80 = "ERR 80";
-    public static String ERR_81 = "ERR 81";
-    public static String ERR_82 = "ERR 82";
-    public static String ERR_83 = "ERR 83";
-    public static String ERR_84 = "ERR 84";
-    public static String ERR_85 = "ERR 85";
-    public static String ERR_86 = "ERR 86";
-    public static String ERR_87 = "ERR 87";
-    public static String ERR_88 = "ERR 88";
-    public static String ERR_89 = "ERR 89";
-    public static String ERR_90 = "ERR 90";
-    public static String ERR_91 = "ERR 91";
-    public static String ERR_92 = "ERR 92";
-    public static String ERR_93 = "ERR 93";
-    public static String ERR_94 = "ERR 94";
-    public static String ERR_95 = "ERR 95";
-    public static String ERR_96 = "ERR 96";
-    public static String ERR_97 = "ERR 97";
-    public static String ERR_98 = "ERR 98";
-    public static String ERR_99 = "ERR 99";
-    public static String ERR_100 = "ERR 100";
-    public static String ERR_101 = "ERR 101";
-    public static String ERR_102 = "ERR 102";
-    public static String ERR_103 = "ERR 103";
-    public static String ERR_104 = "ERR 104";
-    public static String ERR_105 = "ERR 105";
-    public static String ERR_106 = "ERR 106";
-    public static String ERR_107 = "ERR 107";
-    public static String ERR_108 = "ERR 108";
-    public static String ERR_109 = "ERR 109";
-    public static String ERR_110 = "ERR 110";
-    public static String ERR_111 = "ERR 111";
-    public static String ERR_112 = "ERR 112";
-    public static String ERR_113 = "ERR 113";
-    public static String ERR_114 = "ERR 114";
-    public static String ERR_115 = "ERR 115";
-    public static String ERR_116 = "ERR 116";
-    public static String ERR_117 = "ERR 117";
-    public static String ERR_118 = "ERR 118";
-    public static String ERR_119 = "ERR 119";
-    public static String ERR_120 = "ERR 120";
-    public static String ERR_121 = "ERR 121";
-    public static String ERR_122 = "ERR 122";
-    public static String ERR_123 = "ERR 123";
-    public static String ERR_124 = "ERR 124";
-    public static String ERR_125 = "ERR 125";
-    public static String ERR_126 = "ERR 126";
-    public static String ERR_127 = "ERR 127";
-    public static String ERR_128 = "ERR 128";
-    public static String ERR_129 = "ERR 129";
-    public static String ERR_130 = "ERR 130";
-    public static String ERR_131 = "ERR 131";
-    public static String ERR_132 = "ERR 132";
-    public static String ERR_133 = "ERR 133";
-    public static String ERR_134 = "ERR 134";
-    public static String ERR_135 = "ERR 135";
-    public static String ERR_136 = "ERR 136";
-    public static String ERR_137 = "ERR 137";
-    public static String ERR_138 = "ERR 138";
-    public static String ERR_139 = "ERR 139";
-    public static String ERR_140 = "ERR 140";
-    public static String ERR_141 = "ERR 141";
-    public static String ERR_142 = "ERR 142";
-    public static String ERR_143 = "ERR 143";
-    public static String ERR_144 = "ERR 144";
-    public static String ERR_145 = "ERR 145";
-    public static String ERR_146 = "ERR 146";
-    public static String ERR_147 = "ERR 147";
-    public static String ERR_148 = "ERR 148";
-    public static String ERR_149 = "ERR 149";
-    public static String ERR_150 = "ERR 150";
-    public static String ERR_151 = "ERR 151";
-    public static String ERR_152 = "ERR 152";
-    public static String ERR_153 = "ERR 153";
-    public static String ERR_154 = "ERR 154";
-    public static String ERR_155 = "ERR 155";
-    public static String ERR_156 = "ERR 156";
-    public static String ERR_157 = "ERR 157";
-    public static String ERR_158 = "ERR 158";
-    public static String ERR_159 = "ERR 159";
-    public static String ERR_160 = "ERR 160";
-    public static String ERR_161 = "ERR 161";
-    public static String ERR_162 = "ERR 162";
-    public static String ERR_163 = "ERR 163";
-    public static String ERR_164 = "ERR 164";
-    public static String ERR_165 = "ERR 165";
-    public static String ERR_166 = "ERR 166";
-    public static String ERR_167 = "ERR 167";
-    public static String ERR_168 = "ERR 168";
-    public static String ERR_169 = "ERR 169";
-    public static String ERR_170 = "ERR 170";
-    public static String ERR_171 = "ERR 171";
-    public static String ERR_172 = "ERR 172";
-    public static String ERR_173 = "ERR 173";
-    public static String ERR_174 = "ERR 174";
-    public static String ERR_175 = "ERR 175";
-    public static String ERR_176 = "ERR 176";
-    public static String ERR_177 = "ERR 177";
-    public static String ERR_178 = "ERR 178";
-    public static String ERR_179 = "ERR 179";
-    public static String ERR_180 = "ERR 180";
-    public static String ERR_181 = "ERR 181";
-    public static String ERR_182 = "ERR 182";
-    public static String ERR_183 = "ERR 183";
-    public static String ERR_184 = "ERR 184";
-    public static String ERR_185 = "ERR 185";
-    public static String ERR_186 = "ERR 186";
-    public static String ERR_187 = "ERR 187";
-    public static String ERR_188 = "ERR 188";
-    public static String ERR_189 = "ERR 189";
-    public static String ERR_190 = "ERR 190";
-    public static String ERR_191 = "ERR 191";
-    public static String ERR_192 = "ERR 192";
-    public static String ERR_193 = "ERR 193";
-    public static String ERR_194 = "ERR 194";
-    public static String ERR_195 = "ERR 195";
-    public static String ERR_196 = "ERR 196";
-    public static String ERR_197 = "ERR 197";
-    public static String ERR_198 = "ERR 198";
-    public static String ERR_199 = "ERR 199";
+    public static String ERR_1 = "ERR_1";
+    public static String ERR_2 = "ERR_2";
+    public static String ERR_3 = "ERR_3";
+    public static String ERR_4 = "ERR_4";
+    public static String ERR_5 = "ERR_5";
+    public static String ERR_6 = "ERR_6";
+    public static String ERR_7 = "ERR_7";
+    public static String ERR_8 = "ERR_8";
+    public static String ERR_9 = "ERR_9";
+    public static String ERR_10 = "ERR_10";
+    public static String ERR_11 = "ERR_11";
+    public static String ERR_12 = "ERR_12";
+    public static String ERR_13 = "ERR_13";
+    public static String ERR_14 = "ERR_14";
+    public static String ERR_15 = "ERR_15";
+    public static String ERR_16 = "ERR_16";
+    public static String ERR_17 = "ERR_17";
+    public static String ERR_18 = "ERR_18";
+    public static String ERR_19 = "ERR_19";
+    public static String ERR_20 = "ERR_20";
+    public static String ERR_21 = "ERR_21";
+    public static String ERR_22 = "ERR_22";
+    public static String ERR_23 = "ERR_23";
+    public static String ERR_24 = "ERR_24";
+    public static String ERR_25 = "ERR_25";
+    public static String ERR_26 = "ERR_26";
+    public static String ERR_27 = "ERR_27";
+    public static String ERR_28 = "ERR_28";
+    public static String ERR_29 = "ERR_29";
+    public static String ERR_30 = "ERR_30";
+    public static String ERR_31 = "ERR_31";
+    public static String ERR_32 = "ERR_32";
+    public static String ERR_33 = "ERR_33";
+    public static String ERR_34 = "ERR_34";
+    public static String ERR_35 = "ERR_35";
+    public static String ERR_36 = "ERR_36";
+    public static String ERR_37 = "ERR_37";
+    public static String ERR_38 = "ERR_38";
+    public static String ERR_39 = "ERR_39";
+    public static String ERR_40 = "ERR_40";
+    public static String ERR_41 = "ERR_41";
+    public static String ERR_42 = "ERR_42";
+    public static String ERR_43 = "ERR_43";
+    public static String ERR_44 = "ERR_44";
+    public static String ERR_45 = "ERR_45";
+    public static String ERR_46 = "ERR_46";
+    public static String ERR_47 = "ERR_47";
+    public static String ERR_48 = "ERR_48";
+    public static String ERR_49 = "ERR_49";
+    public static String ERR_50 = "ERR_50";
+    public static String ERR_51 = "ERR_51";
+    public static String ERR_52 = "ERR_52";
+    public static String ERR_53 = "ERR_53";
+    public static String ERR_54 = "ERR_54";
+    public static String ERR_55 = "ERR_55";
+    public static String ERR_56 = "ERR_56";
+    public static String ERR_57 = "ERR_57";
+    public static String ERR_58 = "ERR_58";
+    public static String ERR_59 = "ERR_59";
+    public static String ERR_60 = "ERR_60";
+    public static String ERR_61 = "ERR_61";
+    public static String ERR_62 = "ERR_62";
+    public static String ERR_63 = "ERR_63";
+    public static String ERR_64 = "ERR_64";
+    public static String ERR_65 = "ERR_65";
+    public static String ERR_66 = "ERR_66";
+    public static String ERR_67 = "ERR_67";
+    public static String ERR_68 = "ERR_68";
+    public static String ERR_69 = "ERR_69";
+    public static String ERR_70 = "ERR_70";
+    public static String ERR_71 = "ERR_71";
+    public static String ERR_72 = "ERR_72";
+    public static String ERR_73 = "ERR_73";
+    public static String ERR_74 = "ERR_74";
+    public static String ERR_75 = "ERR_75";
+    public static String ERR_76 = "ERR_76";
+    public static String ERR_77 = "ERR_77";
+    public static String ERR_78 = "ERR_78";
+    public static String ERR_79 = "ERR_79";
+    public static String ERR_80 = "ERR_80";
+    public static String ERR_81 = "ERR_81";
+    public static String ERR_82 = "ERR_82";
+    public static String ERR_83 = "ERR_83";
+    public static String ERR_84 = "ERR_84";
+    public static String ERR_85 = "ERR_85";
+    public static String ERR_86 = "ERR_86";
+    public static String ERR_87 = "ERR_87";
+    public static String ERR_88 = "ERR_88";
+    public static String ERR_89 = "ERR_89";
+    public static String ERR_90 = "ERR_90";
+    public static String ERR_91 = "ERR_91";
+    public static String ERR_92 = "ERR_92";
+    public static String ERR_93 = "ERR_93";
+    public static String ERR_94 = "ERR_94";
+    public static String ERR_95 = "ERR_95";
+    public static String ERR_96 = "ERR_96";
+    public static String ERR_97 = "ERR_97";
+    public static String ERR_98 = "ERR_98";
+    public static String ERR_99 = "ERR_99";
+    public static String ERR_100 = "ERR_100";
+    public static String ERR_101 = "ERR_101";
+    public static String ERR_102 = "ERR_102";
+    public static String ERR_103 = "ERR_103";
+    public static String ERR_104 = "ERR_104";
+    public static String ERR_105 = "ERR_105";
+    public static String ERR_106 = "ERR_106";
+    public static String ERR_107 = "ERR_107";
+    public static String ERR_108 = "ERR_108";
+    public static String ERR_109 = "ERR_109";
+    public static String ERR_110 = "ERR_110";
+    public static String ERR_111 = "ERR_111";
+    public static String ERR_112 = "ERR_112";
+    public static String ERR_113 = "ERR_113";
+    public static String ERR_114 = "ERR_114";
+    public static String ERR_115 = "ERR_115";
+    public static String ERR_116 = "ERR_116";
+    public static String ERR_117 = "ERR_117";
+    public static String ERR_118 = "ERR_118";
+    public static String ERR_119 = "ERR_119";
+    public static String ERR_120 = "ERR_120";
+    public static String ERR_121 = "ERR_121";
+    public static String ERR_122 = "ERR_122";
+    public static String ERR_123 = "ERR_123";
+    public static String ERR_124 = "ERR_124";
+    public static String ERR_125 = "ERR_125";
+    public static String ERR_126 = "ERR_126";
+    public static String ERR_127 = "ERR_127";
+    public static String ERR_128 = "ERR_128";
+    public static String ERR_129 = "ERR_129";
+    public static String ERR_130 = "ERR_130";
+    public static String ERR_131 = "ERR_131";
+    public static String ERR_132 = "ERR_132";
+    public static String ERR_133 = "ERR_133";
+    public static String ERR_134 = "ERR_134";
+    public static String ERR_135 = "ERR_135";
+    public static String ERR_136 = "ERR_136";
+    public static String ERR_137 = "ERR_137";
+    public static String ERR_138 = "ERR_138";
+    public static String ERR_139 = "ERR_139";
+    public static String ERR_140 = "ERR_140";
+    public static String ERR_141 = "ERR_141";
+    public static String ERR_142 = "ERR_142";
+    public static String ERR_143 = "ERR_143";
+    public static String ERR_144 = "ERR_144";
+    public static String ERR_145 = "ERR_145";
+    public static String ERR_146 = "ERR_146";
+    public static String ERR_147 = "ERR_147";
+    public static String ERR_148 = "ERR_148";
+    public static String ERR_149 = "ERR_149";
+    public static String ERR_150 = "ERR_150";
+    public static String ERR_151 = "ERR_151";
+    public static String ERR_152 = "ERR_152";
+    public static String ERR_153 = "ERR_153";
+    public static String ERR_154 = "ERR_154";
+    public static String ERR_155 = "ERR_155";
+    public static String ERR_156 = "ERR_156";
+    public static String ERR_157 = "ERR_157";
+    public static String ERR_158 = "ERR_158";
+    public static String ERR_159 = "ERR_159";
+    public static String ERR_160 = "ERR_160";
+    public static String ERR_161 = "ERR_161";
+    public static String ERR_162 = "ERR_162";
+    public static String ERR_163 = "ERR_163";
+    public static String ERR_164 = "ERR_164";
+    public static String ERR_165 = "ERR_165";
+    public static String ERR_166 = "ERR_166";
+    public static String ERR_167 = "ERR_167";
+    public static String ERR_168 = "ERR_168";
+    public static String ERR_169 = "ERR_169";
+    public static String ERR_170 = "ERR_170";
+    public static String ERR_171 = "ERR_171";
+    public static String ERR_172 = "ERR_172";
+    public static String ERR_173 = "ERR_173";
+    public static String ERR_174 = "ERR_174";
+    public static String ERR_175 = "ERR_175";
+    public static String ERR_176 = "ERR_176";
+    public static String ERR_177 = "ERR_177";
+    public static String ERR_178 = "ERR_178";
+    public static String ERR_179 = "ERR_179";
+    public static String ERR_180 = "ERR_180";
+    public static String ERR_181 = "ERR_181";
+    public static String ERR_182 = "ERR_182";
+    public static String ERR_183 = "ERR_183";
+    public static String ERR_184 = "ERR_184";
+    public static String ERR_185 = "ERR_185";
+    public static String ERR_186 = "ERR_186";
+    public static String ERR_187 = "ERR_187";
+    public static String ERR_188 = "ERR_188";
+    public static String ERR_189 = "ERR_189";
+    public static String ERR_190 = "ERR_190";
+    public static String ERR_191 = "ERR_191";
+    public static String ERR_192 = "ERR_192";
+    public static String ERR_193 = "ERR_193";
+    public static String ERR_194 = "ERR_194";
+    public static String ERR_195 = "ERR_195";
+    public static String ERR_196 = "ERR_196";
+    public static String ERR_197 = "ERR_197";
+    public static String ERR_198 = "ERR_198";
+    public static String ERR_199 = "ERR_199";
+    public static String ERR_200 = "ERR_200";
+    public static String ERR_201 = "ERR_201";
+    public static String ERR_202 = "ERR_202";
+    public static String ERR_203 = "ERR_203";
+    public static String ERR_204 = "ERR_204";
+    public static String ERR_205 = "ERR_205";
+    public static String ERR_206 = "ERR_206";
+    public static String ERR_207 = "ERR_207";
+    public static String ERR_208 = "ERR_208";
+    public static String ERR_209 = "ERR_209";
+    public static String ERR_210 = "ERR_210";
+    public static String ERR_211 = "ERR_211";
+    public static String ERR_212 = "ERR_212";
+    public static String ERR_213 = "ERR_213";
+    public static String ERR_214 = "ERR_214";
+    public static String ERR_215 = "ERR_215";
+    public static String ERR_216 = "ERR_216";
+    public static String ERR_217 = "ERR_217";
+    public static String ERR_218 = "ERR_218";
+    public static String ERR_219 = "ERR_219";
+    public static String ERR_220 = "ERR_220";
+    public static String ERR_221 = "ERR_221";
+    public static String ERR_222 = "ERR_222";
+    public static String ERR_223 = "ERR_223";
+    public static String ERR_224 = "ERR_224";
+    public static String ERR_225 = "ERR_225";
+    public static String ERR_226 = "ERR_226";
+    public static String ERR_227 = "ERR_227";
+    public static String ERR_228 = "ERR_228";
+    public static String ERR_229 = "ERR_229";
 
 
     /**
@@ -248,7 +278,7 @@
     {
         try
         {
-            return MessageFormat.format( res.getString( err ), args );
+            return err + " " + MessageFormat.format( res.getString( err ), args );
         }
         catch ( Exception e )
         {

Modified: directory/sandbox/felixk/apacheds-i18n/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-i18n/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties?rev=901606&r1=901605&r2=901606&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-i18n/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties (original)
+++ directory/sandbox/felixk/apacheds-i18n/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties Thu Jan 21 09:05:26 2010
@@ -18,202 +18,232 @@
 #
 #
 
-ERR\ 1=Failed to identify OID for: {0}
-ERR\ 2=A system index on attribute {0} ({1}) does not exist!
-ERR\ 3=A user index on attribute {0} ({1}) does not exist!
-ERR\ 4=Cannot build an index for attribute '{0}', no EQUALITY MatchingRule defined
-ERR\ 5=Attempted operation {0} by unauthenticated caller.
-ERR\ 6=Authentication error : {0}
-ERR\ 7=Cannot create a digested password for algorithm '{0}'
-ERR\ 8=The rootDSE cannot be deleted, moved or renamed!
-ERR\ 9=User '{0}' does not have permission to move or rename the admin account.  No one not even the admin can del, move or rename {1}!
-ERR\ 10=failed to parse entryACI: {0}
-ERR\ 11=failed to parse subentryACI: {0}
-ERR\ 12=The rootDSE cannot be deleted!
-ERR\ 13=The Administrators group cannot be deleted!
-ERR\ 14=User {0} does not have permission to delete the admin account. No one not even the admin can delete this account!
-ERR\ 15=User {0} does not have permission to delete the user account: {1}. Only the admin can delete user accounts.
-ERR\ 16=User {0} does not have permission to delete the group entry: {1}. Only the admin can delete groups.
-ERR\ 17=The rootDSE cannot be modified!
-ERR\ 18=User {0} does not have permission to modify the account of the admin user.
-ERR\ 19=User {0} does not have permission to modify the account of the user {1}.\nEven the owner of an account cannot modify it.\nUser accounts can only be modified by the administrator.
-ERR\ 20=User {0} does not have permission to modify the group entry {1}.\nGroups can only be modified by the admin.
-ERR\ 21=The Administrators group cannot be moved or renamed!
-ERR\ 22=User '{0}' does not have permission to move or rename the admin account.  No one not even the admin can move or rename {1}!
-ERR\ 23=User '{0}' does not have permission to move or rename the user account: {1}. Only the admin can move or rename user accounts.
-ERR\ 24=User '{0}' does not have permission to move or rename the group entry {1}.\nGroups can only be moved or renamed by the admin.
-ERR\ 25=Access to user account '{0}' not permitted for user '{1}'.  Only the admin can access user account information
-ERR\ 26=Access to group '{0}' not permitted for user '{1}'.  Only the admin can access group information
-ERR\ 27=Access to admin account not permitted for user '{0}'.  Only the admin can access admin account information
-ERR\ 28=ACIItem parser failure on \n'{0}'\ndue to syntax error. Cannot add ACITuples to TupleCache.\nCheck that the syntax of the ACI item is correct. \nUntil this error is fixed your security settings will not be as expected.
-ERR\ 29=Cannot set a changeLog store when one is already active
-ERR\ 30=The {0} operational attribute cannot be modified by a user
-ERR\ 31=The ModifiersName operational attribute cannot be modified by a user
-ERR\ 32=The ModifyTimestamp operational attribute cannot be modified by a user
-ERR\ 33=failed to LOG version properties
-ERR\ 34=No partition with suffix: {0}
-ERR\ 35=No partition with suffix '{0}' can be found in the NamingContexts
-ERR\ 36=An LDAPURL should not contains a scope
-ERR\ 37=An LDAPURL should not contains filters
-ERR\ 38=An LDAPURL should not contains any description attribute list
-ERR\ 39=An LDAPURL should not contains any extension
-ERR\ 40=An LDAPURL should not contains any critical extension
-ERR\ 41=An LDAPURL should contains a non-empty DN
-ERR\ 42=An entry with a 'referral' ObjectClass must contains a 'ref' Attribute
-ERR\ 43=The id {0} does not have any OID. It should be a wrong AttributeType.
-ERR\ 44=Wrong AttributeType, does not have an associated OID : {0}
-ERR\ 45=The id {0} does not have any OID. It should be a wrong AttributeType.
-ERR\ 46=Wrong AttributeType, does not have an associated OID : {0}
-ERR\ 47=The value stored in an Human Readable attribute as a byte[] should be convertible to a String"
-ERR\ 48=The value stored in a non Human Readable attribute as a String should be convertible to a byte[]
-ERR\ 49=A filter should not be null
-ERR\ 50=A Substring filter should be used only on Human Readable attributes
-ERR\ 51=A Extensible filter should be used only on Human Readable attributes
-ERR\ 52=Cannot modify the attribute : {0}
-ERR\ 53=The new Attribute or one of its value is incorrect : {0}
-ERR\ 54=Cannot add a value which is already present : {0}
-ERR\ 55=Trying to remove an non-existant attribute: {0}
-ERR\ 56=Cannot remove an absent value from attribute : {0}
-ERR\ 57=An ABSTRACT ObjectClass cannot inherit from an objectClass which is not ABSTRACT
-ERR\ 58=An AUXILiARY ObjectClass cannot inherit from an objectClass which is not ABSTRACT or AUXILIARY
-ERR\ 59=Cannot have a superior which does not exist
-ERR\ 60=Entry {0} does not contain a STRUCTURAL ObjectClass
-ERR\ 61=Entry {0} contains more than one STRUCTURAL ObjectClass: {1}
-ERR\ 62=Entry {0} does not have the {1} attributeType, which is part of the RDN";
-ERR\ 63=The value stored in a not Human Readable attribute as a String should be convertible to a byte[]
-ERR\ 64=The value is not valid. It should be a String or a byte[]
-ERR\ 65=Failed to access certificate in DIT.
-ERR\ 66=Failed on attempt to compare certificate bytes to determine alias.
-ERR\ 67=Failed on attempt to compare certificate bytes to determine alias.
-ERR\ 68=Failed on attempt to extract key.
-ERR\ 69=Exception while searching the DIT for class: {0}
-ERR\ 70=Encountered failure while searching directory for class: {0}
-ERR\ 71=failed to parse the new subtreeSpecification
-ERR\ 72=failed to parse entryTrigger: {0}
-ERR\ 73=TriggerSpecification parser failure on '{0}'. Cannot add Trigger Specifications to TriggerSpecCache.
-ERR\ 74=SynchWorker failed to synch directory.
-ERR\ 75=ChangeType unknown
-ERR\ 76=Reverts of change type {0} has not yet been implemented!
-ERR\ 77=Encountered a failure while trying to revert to a previous revision: {0}
-ERR\ 78=Cannot build an entry for '{0}' and this DN :'{1}'
-ERR\ 79=The replicaId must be in [0, 999]
-ERR\ 80=Cannot inject the following entry : {0}. Error : {1}.
-ERR\ 81=Schema entity containers of objectClass organizationalUnit should be 3 name components in length.
-ERR\ 82=Expecting organizationalUnit with one of the following names: {0}
-ERR\ 83=Cannot add an entry on {0}
-ERR\ 84=Unwilling to perform modify on %s:\n\nEntry:\n%s\n\nModifications:\n%s
-ERR\ 85=Unwilling to enable a not loaded schema: {0}
-ERR\ 86=DitContentRule loading NYI
-ERR\ 87=DitStructureRule loading NYI
-ERR\ 88=MatchingRuleUse loading NYI
-ERR\ 89=NameForm loading NYI
-ERR\ 90=Failed to initialize wrapped partition.
-ERR\ 91=Attempt to destroy wrapped partition failed.
-ERR\ 92=The AttributeType parameter should not be null
-ERR\ 93=The value '{0}' can't be normalized, it hasn't been added
-ERR\ 94=The value '{0}' is incorrect, it hasn't been added
-ERR\ 95=The value must be a String, as its AttributeType is H/R
-ERR\ 96=The value must be a byte[], as its AttributeType is not H/R
-ERR\ 97=The upID ({0}) is not an OID or is different from the AttributeType OID ({1})
-ERR\ 98=The ID should not be null or empty
-ERR\ 99=Cannot add an attribute without an ID
-ERR\ 100=We have had an error while adding the '{0}' AttributeType : {1}
-ERR\ 101=The attributeType should not be null
-ERR\ 102=Only String values supported for objectClass attribute
-ERR\ 103=The ServerAttribute list should not contain null elements
-ERR\ 104=The '{0}' id is not compatible with the '{1}' attribute type
-ERR\ 105=Error while adding values into the '{0}' attribute. Error : {1} 
-ERR\ 106=The removal of values for the missing '{0}' attribute is not possible
-ERR\ 107=The removal of values for the bad '{0}' attribute is not possible
-ERR\ 108=The AttributeType list should not contain null values
-ERR\ 109=Failed to compare normalized values for {0} and {1}
-ERR\ 110=I don't really know how to compare anything other than ServerBinaryValues at this point in time.
-ERR\ 111=The attribute '{0}' is incorrect
-ERR\ 112=Cannot normalize the wrapped value {0}
-ERR\ 113=Failed to compare normalized values for {0} and {1}
-ERR\ 114=I don't know what to do if value is not a ServerStringValue
-ERR\ 115=Failed to delete the working directory.
-ERR\ 116=Failed to delete: 
-ERR\ 117=Unsupported changetype found in LDIF: {0}
-ERR\ 118=Error encountered while delivering notifications.
-ERR\ 119=Encountered exception during event handling.
-ERR\ 120=Failed to configure the jetty http server
-ERR\ 121=Failed to configure the web application(s)
-ERR\ 122=Error encoding EncryptionKey.
-ERR\ 123=Cannot build an index for attribute '{0}', no EQUALITY MatchingRule defined
-ERR\ 124=Failed to close an index.
-ERR\ 125=Closed master table for {0} partition.
-ERR\ 126=Failed to close the master.
-ERR\ 127=Failed to close the record manager
-ERR\ 128=Failed to identify OID for: 
-ERR\ 129=A user index on attribute {0} ({1}) does not exist!
-ERR\ 130=A system index on attribute {0} ({1}) does not exist!
-ERR\ 131=Error while adding {0} on table {1}
-ERR\ 132=Error while adding {0}, {1} on table {2}
-ERR\ 133=Exception while removing {0} from index {1}
-ERR\ 134=Cannot deserialize the entry : {0}
-ERR\ 135=Cannot create a ticket for the {0} KerberosPrincipal, error : {1}
-ERR\ 136=Cannot create a ticket : {0}
-ERR\ 137=Cannot encode the Ticket object, the PDU size is {0} when only {1} bytes has been allocated
-ERR\ 138=The PDU buffer size is too small !
-ERR\ 139=Cannot encode the AuthorizationData object, the PDU size is {0} when only {1} bytes has been allocated
-ERR\ 140=Cannot encode the Checksum object, the PDU size is {0} when only {1} bytes has been allocated
-ERR\ 141=Cannot encode the EncryptedData object, the PDU size is {0} when only {1} bytes has been allocated
-ERR\ 142=Cannot encode the EncryptionKey object, the PDU size is {0} when only {1} bytes has been allocated
-ERR\ 143=Cannot encode the HostAddress object, the PDU size is {0} when only {1} bytes has been allocated
-ERR\ 144=Cannot encode the HostAddresses object, the PDU size is {0} when only {1} bytes has been allocated
-ERR\ 145=Cannot encode the PreAuthenticationData object, the PDU size is {0} when only {1} bytes has been allocated
-ERR\ 146=Cannot encode the principalName object, the PDU size is {0} when only {1} bytes has been allocated
-ERR\ 147=Cannot encode the TransitedEncoding object, the PDU size is {0} when only {1} bytes has been allocated
-ERR\ 148=Cannot put a PDU in a null buffer !
-ERR\ 149=More than one server entry found for kerberos principal name {0}: 
-ERR\ 150=Cannot initialize a partition without a valid suffix
-ERR\ 151=The {0} can't be created : {1}
-ERR\ 152=Unexpected exception: {0}
-ERR\ 153=Error in request monitor
-ERR\ 154=Error in context monitor
-ERR\ 155=Error in reply monitor
-ERR\ 156=Failed to get catalog context 
-ERR\ 157=Failed to get initial context 
-ERR\ 158=failed to rebind ldap service
-ERR\ 159=Failed to write GracefulShutdownResponse to client: {0}
-ERR\ 160=Bind error : {0} mechanism not supported. Please check the server.xml configuration file (supportedMechanisms field)
-ERR\ 161=Handler unavailable for {0}
-ERR\ 162=Bind error : Only LDAP v3 is supported.
-ERR\ 163=Only LDAP v3 is supported.
-ERR\ 164=failed to properly abandon this persistent search
-ERR\ 165=Bad URL ({0}) for ref in {1}.  Reference will be ignored.
-ERR\ 166=Failed to close the search cursor for message {0} on abandon request.
-ERR\ 167=Got back more than one entry for search on RootDSE which means Cursor is not functioning properly!
-ERR\ 168=failed on list.close()
-ERR\ 169=failed to unbind session properly
-ERR\ 170=Failed to send a search request with RefreshAndPersist mode
-ERR\ 171=Failed to bind an LDAP service ({0}) to the service registry.
-ERR\ 172=Failing on cursor close : {0}
-ERR\ 173=LDIF file does not exist.
-ERR\ 174=Failed to import LDIF into backing store.
-ERR\ 175=failed to close stream
-ERR\ 176=Error closing NamingEnumeration on PSearchListener
-ERR\ 177=Error closing connection on PSearchListener
-ERR\ 178=PSearchListener encountered error
-ERR\ 179=could not get canonical path
-ERR\ 180=Cannot load the ldif file '{0}', error : {1} 
-ERR\ 181=Failed to run the class {0}
-ERR\ 182=Failed to run the method {0}
-ERR\ 183=Error while scanning index on attribute {0} using a {1} cursor type with a key constraint of '{2}':\n" + {3}
-ERR\ 184=
-ERR\ 185=
-ERR\ 186=
-ERR\ 187=
-ERR\ 188=
-ERR\ 189=
-ERR\ 190=
-ERR\ 191=
-ERR\ 192=
-ERR\ 193=
-ERR\ 194=
-ERR\ 195=
-ERR\ 196=
-ERR\ 197=
-ERR\ 198=
-ERR\ 199=
+ERR_1=Failed to identify OID for: {0}
+ERR_2=A system index on attribute {0} ({1}) does not exist!
+ERR_3=A user index on attribute {0} ({1}) does not exist!
+ERR_4=Cannot build an index for attribute '{0}', no EQUALITY MatchingRule defined
+ERR_5=Attempted operation {0} by unauthenticated caller.
+ERR_6=Authentication error : {0}
+ERR_7=Cannot create a digested password for algorithm '{0}'
+ERR_8=The rootDSE cannot be deleted, moved or renamed!
+ERR_9=User '{0}' does not have permission to move or rename the admin account.  No one not even the admin can del, move or rename {1}!
+ERR_10=failed to parse entryACI: {0}
+ERR_11=failed to parse subentryACI: {0}
+ERR_12=The rootDSE cannot be deleted!
+ERR_13=The Administrators group cannot be deleted!
+ERR_14=User {0} does not have permission to delete the admin account. No one not even the admin can delete this account!
+ERR_15=User {0} does not have permission to delete the user account: {1}. Only the admin can delete user accounts.
+ERR_16=User {0} does not have permission to delete the group entry: {1}. Only the admin can delete groups.
+ERR_17=The rootDSE cannot be modified!
+ERR_18=User {0} does not have permission to modify the account of the admin user.
+ERR_19=User {0} does not have permission to modify the account of the user {1}.\nEven the owner of an account cannot modify it.\nUser accounts can only be modified by the administrator.
+ERR_20=User {0} does not have permission to modify the group entry {1}.\nGroups can only be modified by the admin.
+ERR_21=The Administrators group cannot be moved or renamed!
+ERR_22=User '{0}' does not have permission to move or rename the admin account.  No one not even the admin can move or rename {1}!
+ERR_23=User '{0}' does not have permission to move or rename the user account: {1}. Only the admin can move or rename user accounts.
+ERR_24=User '{0}' does not have permission to move or rename the group entry {1}.\nGroups can only be moved or renamed by the admin.
+ERR_25=Access to user account '{0}' not permitted for user '{1}'.  Only the admin can access user account information
+ERR_26=Access to group '{0}' not permitted for user '{1}'.  Only the admin can access group information
+ERR_27=Access to admin account not permitted for user '{0}'.  Only the admin can access admin account information
+ERR_28=ACIItem parser failure on \n'{0}'\ndue to syntax error. Cannot add ACITuples to TupleCache.\nCheck that the syntax of the ACI item is correct. \nUntil this error is fixed your security settings will not be as expected.
+ERR_29=Cannot set a changeLog store when one is already active
+ERR_30=The {0} operational attribute cannot be modified by a user
+ERR_31=The ModifiersName operational attribute cannot be modified by a user
+ERR_32=The ModifyTimestamp operational attribute cannot be modified by a user
+ERR_33=failed to LOG version properties
+ERR_34=No partition with suffix: {0}
+ERR_35=No partition with suffix '{0}' can be found in the NamingContexts
+ERR_36=An LDAPURL should not contains a scope
+ERR_37=An LDAPURL should not contains filters
+ERR_38=An LDAPURL should not contains any description attribute list
+ERR_39=An LDAPURL should not contains any extension
+ERR_40=An LDAPURL should not contains any critical extension
+ERR_41=An LDAPURL should contains a non-empty DN
+ERR_42=An entry with a 'referral' ObjectClass must contains a 'ref' Attribute
+ERR_43=The id {0} does not have any OID. It should be a wrong AttributeType.
+ERR_44=Wrong AttributeType, does not have an associated OID : {0}
+ERR_45=The id {0} does not have any OID. It should be a wrong AttributeType.
+ERR_46=Wrong AttributeType, does not have an associated OID : {0}
+ERR_47=The value stored in an Human Readable attribute as a byte[] should be convertible to a String"
+ERR_48=The value stored in a non Human Readable attribute as a String should be convertible to a byte[]
+ERR_49=A filter should not be null
+ERR_50=A Substring filter should be used only on Human Readable attributes
+ERR_51=A Extensible filter should be used only on Human Readable attributes
+ERR_52=Cannot modify the attribute : {0}
+ERR_53=The new Attribute or one of its value is incorrect : {0}
+ERR_54=Cannot add a value which is already present : {0}
+ERR_55=Trying to remove an non-existant attribute: {0}
+ERR_56=Cannot remove an absent value from attribute : {0}
+ERR_57=An ABSTRACT ObjectClass cannot inherit from an objectClass which is not ABSTRACT
+ERR_58=An AUXILiARY ObjectClass cannot inherit from an objectClass which is not ABSTRACT or AUXILIARY
+ERR_59=Cannot have a superior which does not exist
+ERR_60=Entry {0} does not contain a STRUCTURAL ObjectClass
+ERR_61=Entry {0} contains more than one STRUCTURAL ObjectClass: {1}
+ERR_62=Entry {0} does not have the {1} attributeType, which is part of the RDN";
+ERR_63=The value stored in a not Human Readable attribute as a String should be convertible to a byte[]
+ERR_64=The value is not valid. It should be a String or a byte[]
+ERR_65=Failed to access certificate in DIT.
+ERR_66=Failed on attempt to compare certificate bytes to determine alias.
+ERR_67=Failed on attempt to compare certificate bytes to determine alias.
+ERR_68=Failed on attempt to extract key.
+ERR_69=Exception while searching the DIT for class: {0}
+ERR_70=Encountered failure while searching directory for class: {0}
+ERR_71=failed to parse the new subtreeSpecification
+ERR_72=failed to parse entryTrigger: {0}
+ERR_73=TriggerSpecification parser failure on '{0}'. Cannot add Trigger Specifications to TriggerSpecCache.
+ERR_74=SynchWorker failed to synch directory.
+ERR_75=ChangeType unknown
+ERR_76=Reverts of change type {0} has not yet been implemented!
+ERR_77=Encountered a failure while trying to revert to a previous revision: {0}
+ERR_78=Cannot build an entry for '{0}' and this DN :'{1}'
+ERR_79=The replicaId must be in [0, 999]
+ERR_80=Cannot inject the following entry : {0}. Error : {1}.
+ERR_81=Schema entity containers of objectClass organizationalUnit should be 3 name components in length.
+ERR_82=Expecting organizationalUnit with one of the following names: {0}
+ERR_83=Cannot add an entry on {0}
+ERR_84=Unwilling to perform modify on %s:\n\nEntry:\n%s\n\nModifications:\n%s
+ERR_85=Unwilling to enable a not loaded schema: {0}
+ERR_86=DitContentRule loading NYI
+ERR_87=DitStructureRule loading NYI
+ERR_88=MatchingRuleUse loading NYI
+ERR_89=NameForm loading NYI
+ERR_90=Failed to initialize wrapped partition.
+ERR_91=Attempt to destroy wrapped partition failed.
+ERR_92=The AttributeType parameter should not be null
+ERR_93=The value '{0}' can't be normalized, it hasn't been added
+ERR_94=The value '{0}' is incorrect, it hasn't been added
+ERR_95=The value must be a String, as its AttributeType is H/R
+ERR_96=The value must be a byte[], as its AttributeType is not H/R
+ERR_97=The upID ({0}) is not an OID or is different from the AttributeType OID ({1})
+ERR_98=The ID should not be null or empty
+ERR_99=Cannot add an attribute without an ID
+ERR_100=We have had an error while adding the '{0}' AttributeType : {1}
+ERR_101=The attributeType should not be null
+ERR_102=Only String values supported for objectClass attribute
+ERR_103=The ServerAttribute list should not contain null elements
+ERR_104=The '{0}' id is not compatible with the '{1}' attribute type
+ERR_105=Error while adding values into the '{0}' attribute. Error : {1} 
+ERR_106=The removal of values for the missing '{0}' attribute is not possible
+ERR_107=The removal of values for the bad '{0}' attribute is not possible
+ERR_108=The AttributeType list should not contain null values
+ERR_109=Failed to compare normalized values for {0} and {1}
+ERR_110=I don't really know how to compare anything other than ServerBinaryValues at this point in time.
+ERR_111=The attribute '{0}' is incorrect
+ERR_112=Cannot normalize the wrapped value {0}
+ERR_113=Failed to compare normalized values for {0} and {1}
+ERR_114=I don't know what to do if value is not a ServerStringValue
+ERR_115=Failed to delete the working directory.
+ERR_116=Failed to delete: 
+ERR_117=Unsupported changetype found in LDIF: {0}
+ERR_118=Error encountered while delivering notifications.
+ERR_119=Encountered exception during event handling.
+ERR_120=Failed to configure the jetty http server
+ERR_121=Failed to configure the web application(s)
+ERR_122=Error encoding EncryptionKey.
+ERR_123=Cannot build an index for attribute '{0}', no EQUALITY MatchingRule defined
+ERR_124=Failed to close an index.
+ERR_125=Closed master table for {0} partition.
+ERR_126=Failed to close the master.
+ERR_127=Failed to close the record manager
+ERR_128=Failed to identify OID for: 
+ERR_129=A user index on attribute {0} ({1}) does not exist!
+ERR_130=A system index on attribute {0} ({1}) does not exist!
+ERR_131=Error while adding {0} on table {1}
+ERR_132=Error while adding {0}, {1} on table {2}
+ERR_133=Exception while removing {0} from index {1}
+ERR_134=Cannot deserialize the entry : {0}
+ERR_135=Cannot create a ticket for the {0} KerberosPrincipal, error : {1}
+ERR_136=Cannot create a ticket : {0}
+ERR_137=Cannot encode the Ticket object, the PDU size is {0} when only {1} bytes has been allocated
+ERR_138=The PDU buffer size is too small !
+ERR_139=Cannot encode the AuthorizationData object, the PDU size is {0} when only {1} bytes has been allocated
+ERR_140=Cannot encode the Checksum object, the PDU size is {0} when only {1} bytes has been allocated
+ERR_141=Cannot encode the EncryptedData object, the PDU size is {0} when only {1} bytes has been allocated
+ERR_142=Cannot encode the EncryptionKey object, the PDU size is {0} when only {1} bytes has been allocated
+ERR_143=Cannot encode the HostAddress object, the PDU size is {0} when only {1} bytes has been allocated
+ERR_144=Cannot encode the HostAddresses object, the PDU size is {0} when only {1} bytes has been allocated
+ERR_145=Cannot encode the PreAuthenticationData object, the PDU size is {0} when only {1} bytes has been allocated
+ERR_146=Cannot encode the principalName object, the PDU size is {0} when only {1} bytes has been allocated
+ERR_147=Cannot encode the TransitedEncoding object, the PDU size is {0} when only {1} bytes has been allocated
+ERR_148=Cannot put a PDU in a null buffer !
+ERR_149=More than one server entry found for kerberos principal name {0}: 
+ERR_150=Cannot initialize a partition without a valid suffix
+ERR_151=The {0} can't be created : {1}
+ERR_152=Unexpected exception: {0}
+ERR_153=Error in request monitor
+ERR_154=Error in context monitor
+ERR_155=Error in reply monitor
+ERR_156=Failed to get catalog context 
+ERR_157=Failed to get initial context 
+ERR_158=failed to rebind ldap service
+ERR_159=Failed to write GracefulShutdownResponse to client: {0}
+ERR_160=Bind error : {0} mechanism not supported. Please check the server.xml configuration file (supportedMechanisms field)
+ERR_161=Handler unavailable for {0}
+ERR_162=Bind error : Only LDAP v3 is supported.
+ERR_163=Only LDAP v3 is supported.
+ERR_164=failed to properly abandon this persistent search
+ERR_165=Bad URL ({0}) for ref in {1}.  Reference will be ignored.
+ERR_166=Failed to close the search cursor for message {0} on abandon request.
+ERR_167=Got back more than one entry for search on RootDSE which means Cursor is not functioning properly!
+ERR_168=failed on list.close()
+ERR_169=failed to unbind session properly
+ERR_170=Failed to send a search request with RefreshAndPersist mode
+ERR_171=Failed to bind an LDAP service ({0}) to the service registry.
+ERR_172=Failing on cursor close : {0}
+ERR_173=LDIF file does not exist.
+ERR_174=Failed to import LDIF into backing store.
+ERR_175=failed to close stream
+ERR_176=Error closing NamingEnumeration on PSearchListener
+ERR_177=Error closing connection on PSearchListener
+ERR_178=PSearchListener encountered error
+ERR_179=could not get canonical path
+ERR_180=Cannot load the ldif file '{0}', error : {1} 
+ERR_181=Failed to run the class {0}
+ERR_182=Failed to run the method {0}
+ERR_183=Error while scanning index on attribute {0} using a {1} cursor type with a key constraint of '{2}':\n" + {3}
+ERR_184=Type {0} help for usage.
+ERR_185=Unknown command: {0}
+ERR_186=forced configuration load (-c) requires the -i option
+ERR_187=Command line parsing failed for {0}. Reason: already selected {1}
+ERR_188="Command line parsing failed for {0}. Reason: missing argument {1}
+ERR_189=Command line parsing failed for {0}. Reason: missing option {1}
+ERR_190=Command line parsing failed for {0}. Reason: unrecognized option {1}
+ERR_191=Command line parsing failed for {0}. Reason: {1}
+ERR_192={0} : unknown command
+ERR_193=port value of '{0}' is not a number
+ERR_194=port value of '{0}' is larger than max port number: {1}
+ERR_195=port value of '{0}' is smaller than the minimum port number: {1}
+ERR_196=Partition directory {0} does not exist!
+ERR_197=delay value of '{0}' is not a number
+ERR_198=delay value of '{0}' is larger than max delay (seconds) allowed: {1}
+ERR_199=delay value of '{0}' is less than zero and makes no sense
+ERR_200=timeOffline value of '{0}' is not a number
+ERR_201=timeOffline value of '{0}' is larger than max timeOffline (minutes) allowed: {1}
+ERR_202=timeOffline value of '{0}' is less than zero and makes no sense
+ERR_203=Add of entry {0} failed for the following reasons provided by the server:\n{1}
+ERR_204=Delete of entry {0} failed for the following reasons provided by the server:\n{1}
+ERR_205=ModifyDn of entry {0} failed for the following reasons provided by the server:\n{1}
+ERR_206=Modify of entry {0} failed for the following reasons provided by the server:\n{1}
+ERR_207=Binding of user {0} failed for the following reasons provided by the server:\n{1}
+ERR_208=Import failed...
+ERR_209=ldif file '{0}' does not exist
+ERR_210=ldif file '{0}' can't be read
+ERR_211=ldif file name must be provided
+ERR_212=
+ERR_213=
+ERR_214=
+ERR_215=
+ERR_216=
+ERR_217=
+ERR_218=
+ERR_219=
+ERR_210=
+ERR_221=
+ERR_222=
+ERR_223=
+ERR_224=
+ERR_225=
+ERR_226=
+ERR_227=
+ERR_228=
+ERR_229=

Modified: directory/sandbox/felixk/apacheds-i18n/i18n/src/test/java/org/apache/directory/server/i18n/GermanLanguageTest.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-i18n/i18n/src/test/java/org/apache/directory/server/i18n/GermanLanguageTest.java?rev=901606&r1=901605&r2=901606&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-i18n/i18n/src/test/java/org/apache/directory/server/i18n/GermanLanguageTest.java (original)
+++ directory/sandbox/felixk/apacheds-i18n/i18n/src/test/java/org/apache/directory/server/i18n/GermanLanguageTest.java Thu Jan 21 09:05:26 2010
@@ -40,9 +40,9 @@
     public void testTranslateDeLocale()
     {
         Locale.setDefault( Locale.GERMAN );
-        assertEquals( "Das ist Fehler 1", Err.i18n( Err.ERR_1 ) );
-        assertEquals( "Das ist Fehler 2 mit 1 Parameter", Err.i18n( Err.ERR_2, 1 ) );
-        assertEquals( "Das ist Fehler 3 mit 2 Parameter", Err.i18n( Err.ERR_3, 3, 2 ) );
-        assertEquals( "Das ist Fehler 4 mit mehr als 2 Parameter", Err.i18n( Err.ERR_4, 4, "mehr", "als", 2 ) );
+        assertEquals( "ERR_1 Das ist Fehler 1", Err.i18n( Err.ERR_1 ) );
+        assertEquals( "ERR_2 Das ist Fehler 2 mit 1 Parameter", Err.i18n( Err.ERR_2, 1 ) );
+        assertEquals( "ERR_3 Das ist Fehler 3 mit 2 Parameter", Err.i18n( Err.ERR_3, 3, 2 ) );
+        assertEquals( "ERR_4 Das ist Fehler 4 mit mehr als 2 Parameter", Err.i18n( Err.ERR_4, 4, "mehr", "als", 2 ) );
     }
 }

Modified: directory/sandbox/felixk/apacheds-i18n/i18n/src/test/java/org/apache/directory/server/i18n/UnknownLanguageTest.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-i18n/i18n/src/test/java/org/apache/directory/server/i18n/UnknownLanguageTest.java?rev=901606&r1=901605&r2=901606&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-i18n/i18n/src/test/java/org/apache/directory/server/i18n/UnknownLanguageTest.java (original)
+++ directory/sandbox/felixk/apacheds-i18n/i18n/src/test/java/org/apache/directory/server/i18n/UnknownLanguageTest.java Thu Jan 21 09:05:26 2010
@@ -40,9 +40,9 @@
     public void testTranslateUnknownLocale()
     {
         Locale.setDefault( Locale.TRADITIONAL_CHINESE );
-        assertEquals( "This is error 1", Err.i18n( Err.ERR_1 ) );
-        assertEquals( "This is error 2 with 1 parameter", Err.i18n( Err.ERR_2, 1 ) );
-        assertEquals( "This is error 3 with 2 parameters", Err.i18n( Err.ERR_3, 3, 2 ) );
-        assertEquals( "This is error 4 with more than 2 parameters", Err.i18n( Err.ERR_4, 4, "more", "than", 2 ) );
+        assertEquals( "ERR_1 This is error 1", Err.i18n( Err.ERR_1 ) );
+        assertEquals( "ERR_2 This is error 2 with 1 parameter", Err.i18n( Err.ERR_2, 1 ) );
+        assertEquals( "ERR_3 This is error 3 with 2 parameters", Err.i18n( Err.ERR_3, 3, 2 ) );
+        assertEquals( "ERR_4 This is error 4 with more than 2 parameters", Err.i18n( Err.ERR_4, 4, "more", "than", 2 ) );
     }
 }

Modified: directory/sandbox/felixk/apacheds-i18n/i18n/src/test/resources/org/apache/directory/server/i18n/errors.properties
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-i18n/i18n/src/test/resources/org/apache/directory/server/i18n/errors.properties?rev=901606&r1=901605&r2=901606&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-i18n/i18n/src/test/resources/org/apache/directory/server/i18n/errors.properties (original)
+++ directory/sandbox/felixk/apacheds-i18n/i18n/src/test/resources/org/apache/directory/server/i18n/errors.properties Thu Jan 21 09:05:26 2010
@@ -18,7 +18,7 @@
 #
 #
 
-ERR\ 1=This is error 1
-ERR\ 2=This is error 2 with {0} parameter
-ERR\ 3=This is error {0} with {1} parameters
-ERR\ 4=This is error {0} with {1} {2} {3} parameters
\ No newline at end of file
+ERR_1=This is error 1
+ERR_2=This is error 2 with {0} parameter
+ERR_3=This is error {0} with {1} parameters
+ERR_4=This is error {0} with {1} {2} {3} parameters
\ No newline at end of file

Modified: directory/sandbox/felixk/apacheds-i18n/i18n/src/test/resources/org/apache/directory/server/i18n/errors_de.properties
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-i18n/i18n/src/test/resources/org/apache/directory/server/i18n/errors_de.properties?rev=901606&r1=901605&r2=901606&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-i18n/i18n/src/test/resources/org/apache/directory/server/i18n/errors_de.properties (original)
+++ directory/sandbox/felixk/apacheds-i18n/i18n/src/test/resources/org/apache/directory/server/i18n/errors_de.properties Thu Jan 21 09:05:26 2010
@@ -18,7 +18,7 @@
 #
 #
 
-ERR\ 1=Das ist Fehler 1
-ERR\ 2=Das ist Fehler 2 mit {0} Parameter
-ERR\ 3=Das ist Fehler {0} mit {1} Parameter
-ERR\ 4=Das ist Fehler {0} mit {1} {2} {3} Parameter
\ No newline at end of file
+ERR_1=Das ist Fehler 1
+ERR_2=Das ist Fehler 2 mit {0} Parameter
+ERR_3=Das ist Fehler {0} mit {1} Parameter
+ERR_4=Das ist Fehler {0} mit {1} {2} {3} Parameter
\ No newline at end of file

Modified: directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/ApachedsTools.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/ApachedsTools.java?rev=901606&r1=901605&r2=901606&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/ApachedsTools.java (original)
+++ directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/ApachedsTools.java Thu Jan 21 09:05:26 2010
@@ -26,6 +26,7 @@
 
 import org.apache.commons.cli.CommandLine;
 import org.apache.directory.daemon.InstanceLayout;
+import org.apache.directory.server.i18n.Err;
 
 
 /**
@@ -47,7 +48,7 @@
 
         if ( args.length == 0 )
         {
-            System.err.println( "Type " + tools.getProductCommand() + " help for usage." );
+            System.err.println( Err.i18n( Err.ERR_184, tools.getProductCommand() ) );
             System.exit( 1 );
         }
 
@@ -76,8 +77,8 @@
         ToolCommand cmd = ( ToolCommand ) tools.getCommands().get( command );
         if ( cmd == null )
         {
-            System.err.println( "Unknown command: " + args[0] );
-            System.err.println( "Type " + tools.getProductCommand() + " help for usage." );
+            System.err.println( Err.i18n( Err.ERR_185, args[0] ) );
+            System.err.println( Err.i18n( Err.ERR_184, tools.getProductCommand() ) );
             System.exit( 1 );
         }
 
@@ -100,7 +101,7 @@
         }
         else if ( cmdline.hasOption( 'c' ) )
         {
-            System.err.println( "forced configuration load (-c) requires the -i option" );
+            System.err.println( Err.i18n( Err.ERR_186 ) );
             System.exit( 1 );
         }
 

Modified: directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/BaseCommand.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/BaseCommand.java?rev=901606&r1=901605&r2=901606&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/BaseCommand.java (original)
+++ directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/BaseCommand.java Thu Jan 21 09:05:26 2010
@@ -37,6 +37,7 @@
 import org.apache.commons.cli.ParseException;
 import org.apache.commons.cli.PosixParser;
 import org.apache.commons.cli.UnrecognizedOptionException;
+import org.apache.directory.server.i18n.Err;
 
 
 /**
@@ -145,31 +146,27 @@
         }
         catch ( AlreadySelectedException ase )
         {
-            System.err.println( "Command line parsing failed for " + command + ".  Reason: already selected "
-                + ase.getLocalizedMessage() );
+            System.err.println( Err.i18n( Err.ERR_187, command, ase.getLocalizedMessage() ) );
             System.exit( 1 );
         }
         catch ( MissingArgumentException mae )
         {
-            System.err.println( "Command line parsing failed for " + command + ".  Reason: missing argument "
-                + mae.getLocalizedMessage() );
+            System.err.println( Err.i18n( Err.ERR_188, command, mae.getLocalizedMessage() ) );
             System.exit( 1 );
         }
         catch ( MissingOptionException moe )
         {
-            System.err.println( "Command line parsing failed for " + command + ".  Reason: missing option "
-                + moe.getLocalizedMessage() );
+            System.err.println( Err.i18n( Err.ERR_189, command, moe.getLocalizedMessage() ) );
             System.exit( 1 );
         }
         catch ( UnrecognizedOptionException uoe )
         {
-            System.err.println( "Command line parsing failed for " + command + ".  Reason: unrecognized option"
-                + uoe.getLocalizedMessage() );
+            System.err.println( Err.i18n( Err.ERR_190, command, uoe.getLocalizedMessage() ) );
             System.exit( 1 );
         }
         catch ( ParseException pe )
         {
-            System.err.println( "Command line parsing failed for " + command + ".  Reason: " + pe.getClass() );
+            System.err.println( Err.i18n( Err.ERR_191, command, pe.getClass() ) );
             System.exit( 1 );
         }
 
@@ -236,7 +233,7 @@
         }
         else
         {
-            System.err.println( command + ": unknown command" );
+            System.err.println( Err.i18n( Err.ERR_192, command ) );
             System.exit( 1 );
         }
     }

Modified: directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/CapacityTestCommand.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/CapacityTestCommand.java?rev=901606&r1=901605&r2=901606&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/CapacityTestCommand.java (original)
+++ directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/CapacityTestCommand.java Thu Jan 21 09:05:26 2010
@@ -37,6 +37,7 @@
 import org.apache.commons.cli.Options;
 import org.apache.commons.lang.RandomStringUtils;
 import org.apache.directory.daemon.AvailablePortFinder;
+import org.apache.directory.server.i18n.Err;
 
 
 /**
@@ -198,20 +199,18 @@
             }
             catch ( NumberFormatException e )
             {
-                System.err.println( "port value of '" + val + "' is not a number" );
+                System.err.println( Err.i18n( Err.ERR_193, val ) );
                 System.exit( 1 );
             }
 
             if ( port > AvailablePortFinder.MAX_PORT_NUMBER )
             {
-                System.err.println( "port value of '" + val + "' is larger than max port number: "
-                    + AvailablePortFinder.MAX_PORT_NUMBER );
+                System.err.println( Err.i18n( Err.ERR_194, val, AvailablePortFinder.MAX_PORT_NUMBER ) );
                 System.exit( 1 );
             }
             else if ( port < AvailablePortFinder.MIN_PORT_NUMBER )
             {
-                System.err.println( "port value of '" + val + "' is smaller than the minimum port number: "
-                    + AvailablePortFinder.MIN_PORT_NUMBER );
+                System.err.println( Err.i18n( Err.ERR_195, val, AvailablePortFinder.MIN_PORT_NUMBER ) );
                 System.exit( 1 );
             }
 

Modified: directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/DiagnosticCommand.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/DiagnosticCommand.java?rev=901606&r1=901605&r2=901606&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/DiagnosticCommand.java (original)
+++ directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/DiagnosticCommand.java Thu Jan 21 09:05:26 2010
@@ -28,6 +28,7 @@
 import org.apache.commons.cli.Option;
 import org.apache.commons.cli.Options;
 import org.apache.directory.daemon.AvailablePortFinder;
+import org.apache.directory.server.i18n.Err;
 import org.apache.directory.shared.ldap.message.extended.LaunchDiagnosticUiRequest;
 
 
@@ -106,20 +107,18 @@
             }
             catch ( NumberFormatException e )
             {
-                System.err.println( "port value of '" + val + "' is not a number" );
+                System.err.println( Err.i18n( Err.ERR_193, val ) );
                 System.exit( 1 );
             }
 
             if ( port > AvailablePortFinder.MAX_PORT_NUMBER )
             {
-                System.err.println( "port value of '" + val + "' is larger than max port number: "
-                    + AvailablePortFinder.MAX_PORT_NUMBER );
+                System.err.println( Err.i18n( Err.ERR_194, val, AvailablePortFinder.MAX_PORT_NUMBER ) );
                 System.exit( 1 );
             }
             else if ( port < AvailablePortFinder.MIN_PORT_NUMBER )
             {
-                System.err.println( "port value of '" + val + "' is smaller than the minimum port number: "
-                    + AvailablePortFinder.MIN_PORT_NUMBER );
+                System.err.println( Err.i18n( Err.ERR_195, val, AvailablePortFinder.MIN_PORT_NUMBER ) );
                 System.exit( 1 );
             }
 

Modified: directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/DisconnectNotificationCommand.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/DisconnectNotificationCommand.java?rev=901606&r1=901605&r2=901606&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/DisconnectNotificationCommand.java (original)
+++ directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/DisconnectNotificationCommand.java Thu Jan 21 09:05:26 2010
@@ -35,6 +35,7 @@
 import org.apache.commons.cli.Option;
 import org.apache.commons.cli.Options;
 import org.apache.directory.daemon.AvailablePortFinder;
+import org.apache.directory.server.i18n.Err;
 import org.apache.directory.shared.asn1.codec.DecoderException;
 import org.apache.directory.shared.ldap.message.extended.GracefulDisconnect;
 import org.apache.directory.shared.ldap.message.extended.NoticeOfDisconnect;
@@ -204,20 +205,18 @@
             }
             catch ( NumberFormatException e )
             {
-                System.err.println( "port value of '" + val + "' is not a number" );
+                System.err.println( Err.i18n( Err.ERR_193, val ) );
                 System.exit( 1 );
             }
 
             if ( port > AvailablePortFinder.MAX_PORT_NUMBER )
             {
-                System.err.println( "port value of '" + val + "' is larger than max port number: "
-                    + AvailablePortFinder.MAX_PORT_NUMBER );
+                System.err.println( Err.i18n( Err.ERR_194, val, AvailablePortFinder.MAX_PORT_NUMBER ) );
                 System.exit( 1 );
             }
             else if ( port < AvailablePortFinder.MIN_PORT_NUMBER )
             {
-                System.err.println( "port value of '" + val + "' is smaller than the minimum port number: "
-                    + AvailablePortFinder.MIN_PORT_NUMBER );
+                System.err.println( Err.i18n( Err.ERR_195, val, AvailablePortFinder.MIN_PORT_NUMBER ) );
                 System.exit( 1 );
             }
 

Modified: directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/DumpCommand.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/DumpCommand.java?rev=901606&r1=901605&r2=901606&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/DumpCommand.java (original)
+++ directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/DumpCommand.java Thu Jan 21 09:05:26 2010
@@ -44,6 +44,7 @@
 import org.apache.directory.server.core.entry.ServerEntry;
 import org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex;
 import org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmMasterTable;
+import org.apache.directory.server.i18n.Err;
 import org.apache.directory.server.xdbm.Tuple;
 import org.apache.directory.shared.ldap.MultiException;
 import org.apache.directory.shared.ldap.cursor.Cursor;
@@ -194,7 +195,7 @@
     {
         if ( !partitionDirectory.exists() )
         {
-            System.err.println( "Partition directory " + partitionDirectory + " does not exist!" );
+            System.err.println( Err.i18n( Err.ERR_196, partitionDirectory ) );
             System.exit( 1 );
         }
 

Modified: directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/GracefulShutdownCommand.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/GracefulShutdownCommand.java?rev=901606&r1=901605&r2=901606&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/GracefulShutdownCommand.java (original)
+++ directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/GracefulShutdownCommand.java Thu Jan 21 09:05:26 2010
@@ -30,6 +30,7 @@
 import org.apache.commons.cli.Option;
 import org.apache.commons.cli.Options;
 import org.apache.directory.daemon.AvailablePortFinder;
+import org.apache.directory.server.i18n.Err;
 import org.apache.directory.shared.ldap.message.extended.GracefulShutdownRequest;
 
 
@@ -198,20 +199,18 @@
             }
             catch ( NumberFormatException e )
             {
-                System.err.println( "port value of '" + val + "' is not a number" );
+                System.err.println( Err.i18n( Err.ERR_193, val ) );
                 System.exit( 1 );
             }
 
             if ( port > AvailablePortFinder.MAX_PORT_NUMBER )
             {
-                System.err.println( "port value of '" + val + "' is larger than max port number: "
-                    + AvailablePortFinder.MAX_PORT_NUMBER );
+                System.err.println( Err.i18n( Err.ERR_194, val, AvailablePortFinder.MAX_PORT_NUMBER ) );
                 System.exit( 1 );
             }
             else if ( port < AvailablePortFinder.MIN_PORT_NUMBER )
             {
-                System.err.println( "port value of '" + val + "' is smaller than the minimum port number: "
-                    + AvailablePortFinder.MIN_PORT_NUMBER );
+                System.err.println( Err.i18n( Err.ERR_195, val, AvailablePortFinder.MIN_PORT_NUMBER ) );
                 System.exit( 1 );
             }
 
@@ -283,19 +282,18 @@
             }
             catch ( NumberFormatException e )
             {
-                System.err.println( "delay value of '" + val + "' is not a number" );
+                System.err.println( Err.i18n( Err.ERR_197, val ) );
                 System.exit( 1 );
             }
 
             if ( delay > DELAY_MAX )
             {
-                System.err.println( "delay value of '" + val + "' is larger than max delay (seconds) allowed: "
-                    + DELAY_MAX );
+                System.err.println( Err.i18n( Err.ERR_198, val, DELAY_MAX ) );
                 System.exit( 1 );
             }
             else if ( delay < 0 )
             {
-                System.err.println( "delay value of '" + val + "' is less than zero and makes no sense" );
+                System.err.println( Err.i18n( Err.ERR_199, val ) );
                 System.exit( 1 );
             }
 
@@ -322,19 +320,18 @@
             }
             catch ( NumberFormatException e )
             {
-                System.err.println( "timeOffline value of '" + val + "' is not a number" );
+                System.err.println( Err.i18n( Err.ERR_200, val ) );
                 System.exit( 1 );
             }
 
             if ( timeOffline > TIME_OFFLINE_MAX )
             {
-                System.err.println( "timeOffline value of '" + val
-                    + "' is larger than max timeOffline (minutes) allowed: " + TIME_OFFLINE_MAX );
+                System.err.println( Err.i18n( Err.ERR_201, val, TIME_OFFLINE_MAX ) );
                 System.exit( 1 );
             }
             else if ( timeOffline < 0 )
             {
-                System.err.println( "timeOffline value of '" + val + "' is less than zero and makes no sense" );
+                System.err.println( Err.i18n( Err.ERR_202, val ) );
                 System.exit( 1 );
             }
 

Modified: directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/ImportCommand.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/ImportCommand.java?rev=901606&r1=901605&r2=901606&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/ImportCommand.java (original)
+++ directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/ImportCommand.java Thu Jan 21 09:05:26 2010
@@ -35,6 +35,7 @@
 import org.apache.commons.cli.Option;
 import org.apache.commons.cli.Options;
 import org.apache.directory.daemon.AvailablePortFinder;
+import org.apache.directory.server.i18n.Err;
 import org.apache.directory.shared.asn1.ber.Asn1Decoder;
 import org.apache.directory.shared.asn1.ber.IAsn1Container;
 import org.apache.directory.shared.asn1.ber.tlv.TLVStateEnum;
@@ -270,8 +271,7 @@
         }
         else
         {
-            System.err.println( "Add of entry " + entry.getDn()
-                + " failed for the following reasons provided by the server:\n" + result.getErrorMessage() );
+            System.err.println( Err.i18n( Err.ERR_203, entry.getDn(), result.getErrorMessage() ) );
 
             return IMPORT_ERROR;
         }
@@ -330,8 +330,7 @@
         }
         else
         {
-            System.err.println( "Delete of entry " + entry.getDn()
-                + " failed for the following reasons provided by the server:\n" + result.getErrorMessage() );
+            System.err.println( Err.i18n( Err.ERR_204, entry.getDn(), result.getErrorMessage() ) );
             return IMPORT_ERROR;
         }
     }
@@ -396,8 +395,7 @@
         }
         else
         {
-            System.err.println( "ModifyDn of entry " + entry.getDn()
-                + " failed for the following reasons provided by the server:\n" + result.getErrorMessage() );
+            System.err.println( Err.i18n( Err.ERR_205, entry.getDn(), result.getErrorMessage() ) );
             return IMPORT_ERROR;
         }
     }
@@ -465,8 +463,7 @@
         }
         else
         {
-            System.err.println( "Modify of entry " + entry.getDn()
-                + " failed for the following reasons provided by the server:\n" + result.getErrorMessage() );
+            System.err.println( Err.i18n( Err.ERR_206, entry.getDn(), result.getErrorMessage() ) );
             return IMPORT_ERROR;
         }
     }
@@ -553,8 +550,7 @@
         }
         else
         {
-            System.err.println( "Binding of user " + user
-                + " failed for the following reasons provided by the server:\n" + result.getErrorMessage() );
+            System.err.println( Err.i18n( Err.ERR_207, user, result.getErrorMessage() ) );
             System.exit( 1 );
         }
     }
@@ -640,7 +636,7 @@
                     {
                         unbind( messageId );
 
-                        System.err.println( "Import failed..." );
+                        System.err.println( Err.i18n( Err.ERR_208 ) );
                         System.exit( 1 );
                     }
                 }
@@ -649,7 +645,7 @@
                 {
                     unbind( messageId );
 
-                    System.err.println( "Import failed..." );
+                    System.err.println( Err.i18n( Err.ERR_208 ) );
                     System.exit( 1 );
                 }
 
@@ -689,7 +685,7 @@
                     {
                         unbind( messageId );
 
-                        System.err.println( "Import failed..." );
+                        System.err.println( Err.i18n( Err.ERR_208 ) );
                         System.exit( 1 );
                     }
                 }
@@ -698,7 +694,7 @@
                 {
                     unbind( messageId );
 
-                    System.err.println( "Import failed..." );
+                    System.err.println( Err.i18n( Err.ERR_208 ) );
                     System.exit( 1 );
                 }
 
@@ -777,20 +773,18 @@
             }
             catch ( NumberFormatException e )
             {
-                System.err.println( "port value of '" + val + "' is not a number" );
+                System.err.println( Err.i18n( Err.ERR_193, val ) );
                 System.exit( 1 );
             }
 
             if ( port > AvailablePortFinder.MAX_PORT_NUMBER )
             {
-                System.err.println( "port value of '" + val + "' is larger than max port number: "
-                    + AvailablePortFinder.MAX_PORT_NUMBER );
+                System.err.println( Err.i18n( Err.ERR_194, val, AvailablePortFinder.MAX_PORT_NUMBER ) );
                 System.exit( 1 );
             }
             else if ( port < AvailablePortFinder.MIN_PORT_NUMBER )
             {
-                System.err.println( "port value of '" + val + "' is smaller than the minimum port number: "
-                    + AvailablePortFinder.MIN_PORT_NUMBER );
+                System.err.println( Err.i18n( Err.ERR_195, val, AvailablePortFinder.MIN_PORT_NUMBER ) );
                 System.exit( 1 );
             }
 
@@ -897,13 +891,13 @@
 
             if ( ldifFile.exists() == false )
             {
-                System.err.println( "ldif file '" + ldifFileName + "' does not exist" );
+                System.err.println( Err.i18n( Err.ERR_209, ldifFileName ) );
                 System.exit( 1 );
             }
 
             if ( ldifFile.canRead() == false )
             {
-                System.err.println( "ldif file '" + ldifFileName + "' can't be read" );
+                System.err.println( Err.i18n( Err.ERR_210, ldifFileName ) );
                 System.exit( 1 );
             }
 
@@ -921,7 +915,7 @@
         }
         else
         {
-            System.err.println( "ldif file name must be provided" );
+            System.err.println( Err.i18n( Err.ERR_211 ) );
             System.exit( 1 );
         }
     }

Modified: directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/IndexCommand.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/IndexCommand.java?rev=901606&r1=901605&r2=901606&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/IndexCommand.java (original)
+++ directory/sandbox/felixk/apacheds-i18n/server-tools/src/main/java/org/apache/directory/server/tools/IndexCommand.java Thu Jan 21 09:05:26 2010
@@ -36,6 +36,7 @@
 import org.apache.directory.server.core.entry.ServerEntry;
 import org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex;
 import org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmMasterTable;
+import org.apache.directory.server.i18n.Err;
 import org.apache.directory.server.xdbm.Tuple;
 import org.apache.directory.server.xdbm.tools.IndexUtils;
 import org.apache.directory.shared.ldap.cursor.Cursor;
@@ -116,7 +117,7 @@
     {
         if ( !partitionDirectory.exists() )
         {
-            System.err.println( "Partition directory " + partitionDirectory + " does not exist!" );
+            System.err.println( Err.i18n( Err.ERR_196, partitionDirectory ) );
             System.exit( 1 );
         }