OsmAnd/DataExtractionOSM/src/com/osmand/Messages.java
Victor Shcherb 56427dc8ba externalize strings
git-svn-id: https://osmand.googlecode.com/svn/trunk@186 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
2010-06-20 11:58:23 +00:00

16 lines
446 B
Java

package com.osmand;
import java.util.ResourceBundle;
public class Messages {
private static ResourceBundle bundle = ResourceBundle.getBundle("messages"); //$NON-NLS-1$
public static final String KEY_M = "m"; //$NON-NLS-1$
public static final String KEY_KM = "km"; //$NON-NLS-1$
public static final String KEY_KM_H = "km_h"; //$NON-NLS-1$
public static String getMessage(String key){
return bundle.getString(key);
}
}