mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-30 03:39:36 +02:00
Rename for consistency - these are called "annotations" elsewhere
This commit is contained in:
@@ -149,13 +149,13 @@ export function validationAlmostJunction() {
|
||||
if (closestNodeInfo.distance < 0.75) {
|
||||
context.perform(
|
||||
actionMergeNodes([closestNodeInfo.node.id, endNode.id], closestNodeInfo.node.loc),
|
||||
t('issues.fix.connect_almost_junction.undo_redo')
|
||||
t('issues.fix.connect_almost_junction.annotation')
|
||||
);
|
||||
// else add the end node to the edge way
|
||||
} else {
|
||||
context.perform(
|
||||
actionAddMidpoint({loc: crossLoc, edge: targetEdge}, endNode),
|
||||
t('issues.fix.connect_almost_junction.undo_redo')
|
||||
t('issues.fix.connect_almost_junction.annotation')
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -168,7 +168,7 @@ export function validationAlmostJunction() {
|
||||
var nodeID = this.issue.entities[1].id;
|
||||
context.perform(
|
||||
actionChangeTags(nodeID, {noexit: 'yes'}),
|
||||
t('issues.fix.tag_as_disconnected.undo_redo')
|
||||
t('issues.fix.tag_as_disconnected.annotation')
|
||||
);
|
||||
}
|
||||
}));
|
||||
|
||||
@@ -389,7 +389,7 @@ export function validationCrossingWays() {
|
||||
|
||||
return graph;
|
||||
},
|
||||
t('issues.fix.add_connection_vertex.undo_redo')
|
||||
t('issues.fix.add_connection_vertex.annotation')
|
||||
);
|
||||
}
|
||||
}));
|
||||
|
||||
@@ -70,7 +70,7 @@ export function validationDeprecatedTag() {
|
||||
}
|
||||
context.perform(
|
||||
actionChangeTags(entity.id, tags),
|
||||
t('issues.fix.upgrade_tags.undo_redo')
|
||||
t('issues.fix.upgrade_tags.annotation')
|
||||
);
|
||||
}
|
||||
})
|
||||
|
||||
@@ -63,7 +63,7 @@ export function validationGenericName(context) {
|
||||
delete tags.name;
|
||||
context.perform(
|
||||
actionChangeTags(entity.id, tags),
|
||||
t('issues.fix.remove_generic_name.undo_redo')
|
||||
t('issues.fix.remove_generic_name.annotation')
|
||||
);
|
||||
}
|
||||
})
|
||||
|
||||
@@ -53,7 +53,7 @@ export function validationOldMultipolygon() {
|
||||
graph = actionChangeTags(outerWay.id, {})(graph);
|
||||
return graph;
|
||||
},
|
||||
t('issues.fix.move_tags.undo_redo')
|
||||
t('issues.fix.move_tags.annotation')
|
||||
);
|
||||
}
|
||||
})
|
||||
|
||||
@@ -49,7 +49,7 @@ export function validationTagSuggestsArea() {
|
||||
var way = this.issue.entities[0];
|
||||
context.perform(
|
||||
actionMergeNodes([way.nodes[0], way.nodes[way.nodes.length-1]], nodes[0].loc),
|
||||
t('issues.fix.connect_endpoints.undo_redo')
|
||||
t('issues.fix.connect_endpoints.annotation')
|
||||
);
|
||||
};
|
||||
}
|
||||
@@ -66,7 +66,7 @@ export function validationTagSuggestsArea() {
|
||||
var index = way.nodes.length;
|
||||
context.perform(
|
||||
actionAddVertex(way.id, nodeId, index),
|
||||
t('issues.fix.connect_endpoints.undo_redo')
|
||||
t('issues.fix.connect_endpoints.annotation')
|
||||
);
|
||||
};
|
||||
}
|
||||
@@ -87,7 +87,7 @@ export function validationTagSuggestsArea() {
|
||||
}
|
||||
context.perform(
|
||||
actionChangeTags(entity.id, tags),
|
||||
t('issues.fix.remove_tag.undo_redo')
|
||||
t('issues.fix.remove_tag.annotation')
|
||||
);
|
||||
}
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user