Rename for consistency - these are called "annotations" elsewhere

This commit is contained in:
Bryan Housel
2019-02-11 13:36:02 -05:00
parent ac23ac8fd2
commit a6e05b8ac5
6 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -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')
);
}
}));
+1 -1
View File
@@ -389,7 +389,7 @@ export function validationCrossingWays() {
return graph;
},
t('issues.fix.add_connection_vertex.undo_redo')
t('issues.fix.add_connection_vertex.annotation')
);
}
}));
+1 -1
View File
@@ -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')
);
}
})
+1 -1
View File
@@ -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')
);
}
})
+1 -1
View File
@@ -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')
);
}
})
+3 -3
View File
@@ -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')
);
}
}));