Add new categories

This commit is contained in:
Victor Shcherb 2012-01-08 15:35:44 +01:00
parent 87fff487dc
commit 780274071d
2 changed files with 6 additions and 0 deletions

View file

@ -1,5 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?> <?xml version="1.0" encoding="utf-8" standalone="no"?>
<resources> <resources>
<string name="amenity_type_wikiosm">Wikipedia</string>
<string name="amenity_type_user_defined">User defined</string>
<string name="fav_export_confirmation">File with previously exported favorites already exist. Do you want to replace it? </string> <string name="fav_export_confirmation">File with previously exported favorites already exist. Do you want to replace it? </string>
<!-- this block re-worked for new menu structure --> <!-- this block re-worked for new menu structure -->
<string name="profile_settings">Profile Specific Settings</string> <string name="profile_settings">Profile Specific Settings</string>

View file

@ -139,6 +139,10 @@ public class OsmAndFormatter {
return ctx.getString(R.string.amenity_type_historic); return ctx.getString(R.string.amenity_type_historic);
case NATURAL: case NATURAL:
return ctx.getString(R.string.amenity_type_natural); return ctx.getString(R.string.amenity_type_natural);
case USER_DEFINED:
return ctx.getString(R.string.amenity_type_user_defined);
case OSMWIKI :
return ctx.getString(R.string.amenity_type_wikiosm);
case SHOP: case SHOP:
return ctx.getString(R.string.amenity_type_shop); return ctx.getString(R.string.amenity_type_shop);
case LEISURE: case LEISURE: