- private static synchronized FlightDataType newType(String s, String symbol, UnitGroup u, int priority) {
- FlightDataType type = new FlightDataType(s, symbol, u, priority);
+
+ private static FlightDataType newType( String key , String symbol, UnitGroup u, int priority ) {
+ String name = trans.get("FlightDataType." + key );
+ return newType( key, name, symbol, u, priority );
+ }
+
+ private static synchronized FlightDataType newType(String key, String s, String symbol, UnitGroup u, int priority) {
+ FlightDataType type = new FlightDataType(key, s, symbol, u, priority);