2010-08-17 00:36:24 +02:00
|
|
|
package net.osmand;
|
2010-06-19 14:49:27 +02:00
|
|
|
|
|
|
|
import java.util.ResourceBundle;
|
|
|
|
|
|
|
|
public class Messages {
|
|
|
|
|
2010-06-19 19:01:40 +02:00
|
|
|
private static ResourceBundle bundle = ResourceBundle.getBundle("messages"); //$NON-NLS-1$
|
2010-06-20 13:41:55 +02:00
|
|
|
public static final String KEY_M = "m"; //$NON-NLS-1$
|
|
|
|
public static final String KEY_KM = "km"; //$NON-NLS-1$
|
2010-06-20 13:58:23 +02:00
|
|
|
public static final String KEY_KM_H = "km_h"; //$NON-NLS-1$
|
2010-06-19 14:49:27 +02:00
|
|
|
|
|
|
|
public static String getMessage(String key){
|
|
|
|
return bundle.getString(key);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|