some string work

This commit is contained in:
sonora 2015-12-05 20:32:31 +01:00
parent 46e4ce060e
commit 58137dd0bf
3 changed files with 7 additions and 6 deletions

View file

@ -1,5 +1,6 @@
<?xml version='1.0' encoding='utf-8'?>
<?xml version='1.0' encoding='utf-8'?>
<resources>
<string name="no_address_found">Keine Adresse bekannt</string>
<string name="shared_string_near">Nähe</string>
<string name="regions">Regionen</string>
<string name="region_maps">Regionsweite Karten</string>
@ -2055,7 +2056,7 @@ Afghanistan, Ägypten, Albanien, Algerien, Andorra, Angola, Anguilla, Antigua an
<string name="si_min_m">Minuten pro Meile</string>
<string name="si_nm_h">Nautische Meilen pro Stunde (Knoten)</string>
<string name="shared_string_navigation">Navigation</string>
<string name="address_unknown">Adresse noch unbekannt</string>
<string name="looking_up_address">Adresse wird gesucht</string>
<string name="favourites_context_menu_add">Favorit hinzufügen</string>
<string name="poi_action_delete">löschen</string>
<string name="show_on_start">Beim Start anzeigen</string>

View file

@ -9,7 +9,7 @@
3. All your modified/created strings are in the top of the file (to make easier find what\'s translated).
PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy
-->
<string name="no_address_determined">No address determined</string>
<string name="no_address_found">No address determined</string>
<string name="shared_string_near">Near</string>
<string name="shared_string_hide">Hide</string>
<string name="av_video_quality_low">Lowest resolution</string>
@ -117,7 +117,7 @@
<string name="favourites_edit_dialog_title">Favorite information</string>
<string name="simulate_your_location_stop_descr">Stop simulating your position</string>
<string name="simulate_your_location_descr">Simulate using a calculated route or a recorded GPX</string>
<string name="address_unknown">Address is not known yet</string>
<string name="looking_up_address">Looking up address</string>
<string name="av_locations_descr">GPX file with note locations</string>
<string name="av_locations">Locations</string>
<string name="plugin_settings">Plugins</string>

View file

@ -73,7 +73,7 @@ public abstract class MenuTitleController {
}
protected void initTitle() {
addressNotKnownStr = getMapActivity().getString(R.string.address_unknown);
addressNotKnownStr = getMapActivity().getString(R.string.looking_up_address) + getMapActivity().getString(R.string.shared_string_ellipsis);
acquireIcons();
acquireNameAndType();
if (needStreetName()) {
@ -175,7 +175,7 @@ public abstract class MenuTitleController {
if (!Algorithms.isEmpty(streetStr) && object.getDistance() > 100) {
streetStr = getMapActivity().getString(R.string.shared_string_near) + " " + streetStr;
} else if (Algorithms.isEmpty(streetStr)) {
streetStr = getMapActivity().getString(R.string.no_address_determined);
streetStr = getMapActivity().getString(R.string.no_address_found);
}
MenuController menuController = getMenuController();