Revision 38062 trunk/extensions/extI18n/src/org/gvsig/i18n/impl/I18nManagerImpl.java
I18nManagerImpl.java | ||
---|---|---|
26 | 26 |
*/ |
27 | 27 |
package org.gvsig.i18n.impl; |
28 | 28 |
|
29 |
import java.io.*; |
|
29 |
import java.io.BufferedReader; |
|
30 |
import java.io.BufferedWriter; |
|
31 |
import java.io.File; |
|
32 |
import java.io.FileOutputStream; |
|
33 |
import java.io.FileWriter; |
|
34 |
import java.io.IOException; |
|
35 |
import java.io.InputStream; |
|
36 |
import java.io.InputStreamReader; |
|
37 |
import java.io.OutputStreamWriter; |
|
38 |
import java.io.PrintStream; |
|
30 | 39 |
import java.security.AccessController; |
31 |
import java.util.*; |
|
40 |
import java.util.ArrayList; |
|
41 |
import java.util.HashMap; |
|
42 |
import java.util.HashSet; |
|
43 |
import java.util.Iterator; |
|
44 |
import java.util.LinkedHashSet; |
|
45 |
import java.util.List; |
|
46 |
import java.util.Locale; |
|
47 |
import java.util.Map; |
|
32 | 48 |
import java.util.Map.Entry; |
33 |
import java.util.zip.*; |
|
49 |
import java.util.Set; |
|
50 |
import java.util.StringTokenizer; |
|
51 |
import java.util.zip.ZipEntry; |
|
52 |
import java.util.zip.ZipFile; |
|
53 |
import java.util.zip.ZipOutputStream; |
|
34 | 54 |
|
35 |
import org.gvsig.i18n.*; |
|
55 |
import org.gvsig.i18n.I18nException; |
|
56 |
import org.gvsig.i18n.I18nManager; |
|
57 |
import org.gvsig.i18n.Messages; |
|
36 | 58 |
|
37 | 59 |
import sun.security.action.GetPropertyAction; |
38 | 60 |
|
... | ... | |
96 | 118 |
new Locale("pl"), // Polish |
97 | 119 |
new Locale("tr"), // Turkish |
98 | 120 |
new Locale("sr"), // Serbio |
99 |
new Locale("sw") // Swahili |
|
121 |
new Locale("sw"), // Swahili |
|
122 |
new Locale("km") // Khmer |
|
100 | 123 |
}; |
101 | 124 |
|
102 | 125 |
/** |
... | ... | |
222 | 245 |
// displayName = Messages.getText("__catalan"); |
223 | 246 |
// } |
224 | 247 |
displayName = "Valenci?"; |
225 |
}
|
|
226 |
// Correction for the Galician language display name.
|
|
227 |
else if ("gl".equals(locale.getLanguage())
|
|
248 |
} |
|
249 |
// Correction for the Galician language display name. |
|
250 |
else if ("gl".equals(locale.getLanguage()) |
|
228 | 251 |
&& "gallegan".equalsIgnoreCase(locale |
229 | 252 |
.getDisplayLanguage(displayLocale))) { |
230 | 253 |
displayName = "Galego"; |
... | ... | |
435 | 458 |
/** |
436 | 459 |
* Adds the keys of the set to the map that aren't still contained in it |
437 | 460 |
* with a related empty String. |
438 |
*
|
|
461 |
* |
|
439 | 462 |
* @param texts |
440 | 463 |
* the map to complete with the keys |
441 | 464 |
* @param allReferenceKeys |
Also available in: Unified diff