Merge in l10n changes.
This commit is contained in:
parent
26cfe854f5
commit
8f9dc93705
1576
core/resources/l10n/messages_pt.properties
Normal file
1576
core/resources/l10n/messages_pt.properties
Normal file
File diff suppressed because it is too large
Load Diff
@ -38,7 +38,7 @@ public class SwingPreferences extends net.sf.openrocket.startup.Preferences {
|
|||||||
private static final List<Locale> SUPPORTED_LOCALES;
|
private static final List<Locale> SUPPORTED_LOCALES;
|
||||||
static {
|
static {
|
||||||
List<Locale> list = new ArrayList<Locale>();
|
List<Locale> list = new ArrayList<Locale>();
|
||||||
for (String lang : new String[] { "en", "de", "es", "fr", "it", "ru", "cs", "pl" }) {
|
for (String lang : new String[] { "en", "de", "es", "fr", "it", "ru", "cs", "pl", "ja", "pt" }) {
|
||||||
list.add(new Locale(lang));
|
list.add(new Locale(lang));
|
||||||
}
|
}
|
||||||
SUPPORTED_LOCALES = Collections.unmodifiableList(list);
|
SUPPORTED_LOCALES = Collections.unmodifiableList(list);
|
||||||
@ -232,10 +232,10 @@ public class SwingPreferences extends net.sf.openrocket.startup.Preferences {
|
|||||||
compdir.mkdirs();
|
compdir.mkdirs();
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !compdir.isDirectory() ) {
|
if (!compdir.isDirectory()) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if( !compdir.canRead() ) {
|
if (!compdir.canRead()) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return compdir;
|
return compdir;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user