Move strings to no translate

This commit is contained in:
PavelRatushny 2017-07-20 10:43:10 +03:00
parent ca1ff03223
commit 351218faf4
4 changed files with 10 additions and 6 deletions

View file

@ -26,5 +26,10 @@
<string name="twitter_address">https://twitter.com/osmandapp</string>
<string name="facebook_address">https://www.facebook.com/osmandapp</string>
<string name="vk_address">https://vk.com/osmandapp</string>
<string name="default_changeset_add">Add</string>
<string name="default_changeset_edit">Edit</string>
<string name="default_changeset_delete">Delete</string>
<string name="default_changeset_reopen">Reopen</string>
<string name="items_modified">items modified</string>
</resources>

View file

@ -2654,5 +2654,4 @@
<string name="quick_action_btn_tutorial_title">Change button position</string>
<string name="quick_action_btn_tutorial_descr">Long tap and drag the button to change its position on the screen</string>
<string name="shared_string_action_name">Action name</string>
<string name="items_modified">items modified</string>
</resources>

View file

@ -449,7 +449,7 @@ public class EditPoiDialogFragment extends BaseOsmAndDialogFragment {
if (offlineEdit && !Algorithms.isEmpty(poiTypeTag)) {
node.putTagNoLC(EditPoiData.POI_TYPE_TAG, poiTypeTag);
}
String actionString = action == OsmPoint.Action.CREATE ? getString(R.string.shared_string_add) : getString(R.string.shared_string_edit);
String actionString = action == OsmPoint.Action.CREATE ? getString(R.string.default_changeset_add) : getString(R.string.default_changeset_edit);
comment = actionString + " " + poiTypeTag;
}
commitNode(action, node, mOpenstreetmapUtil.getEntityInfo(node.getId()), comment, false,

View file

@ -184,19 +184,19 @@ public class SendPoiDialogFragment extends DialogFragment {
Map<String, Integer> group;
switch (i) {
case 0:
action = getString(R.string.shared_string_add);
action = getString(R.string.default_changeset_add);
group = addGroup;
break;
case 1:
action = getString(R.string.shared_string_edit);
action = getString(R.string.default_changeset_edit);
group = editGroup;
break;
case 2:
action = getString(R.string.shared_string_delete);
action = getString(R.string.default_changeset_delete);
group = deleteGroup;
break;
case 3:
action = getString(R.string.poi_dialog_reopen);;
action = getString(R.string.default_changeset_reopen);;
group = reopenGroup;
break;
default: