Move strings to no translate
This commit is contained in:
parent
ca1ff03223
commit
351218faf4
4 changed files with 10 additions and 6 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue