Small fixes
This commit is contained in:
parent
cb5495e21d
commit
90821ab59c
2 changed files with 2 additions and 2 deletions
|
@ -467,7 +467,7 @@
|
|||
<string name="favourites_context_menu_delete">Delete favorite</string>
|
||||
<string name="favourites_edit_dialog_title">Rename favorite</string>
|
||||
|
||||
<string name="favourites_remove_dialog_title">Are you sure?</string>
|
||||
<string name="favourites_remove_dialog_title">Are you sure about removing favourite point?</string>
|
||||
<string name="favourites_remove_dialog_success">Favourite point {0} was succesfully deleted.</string>
|
||||
|
||||
<string name="osb_add_dialog_title">Enter bug text</string>
|
||||
|
|
|
@ -29,7 +29,7 @@ public class OsmAndFormatter {
|
|||
}
|
||||
|
||||
if (meters >= 100 * mainUnitInMeters) {
|
||||
return meters / mainUnitInMeters + " " + ctx.getString(mainUnitStr); //$NON-NLS-1$
|
||||
return ((int) meters / mainUnitInMeters) + " " + ctx.getString(mainUnitStr); //$NON-NLS-1$
|
||||
} else if (meters > 1.5f * mainUnitInMeters) {
|
||||
return MessageFormat.format("{0,number,#.#} " + ctx.getString(mainUnitStr), ((float) meters) / mainUnitInMeters); //$NON-NLS-1$
|
||||
} else if (meters > 0.9f * mainUnitInMeters) {
|
||||
|
|
Loading…
Reference in a new issue