mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-26 09:57:50 +02:00
Show count and use plural forms for more operation strings (re: #8014)
This commit is contained in:
@@ -39,7 +39,7 @@ export function modeMove(context, entityIDs, baseGraph) {
|
||||
];
|
||||
var annotation = entityIDs.length === 1 ?
|
||||
t('operations.move.annotation.' + context.graph().geometry(entityIDs[0])) :
|
||||
t('operations.move.annotation.multiple');
|
||||
t('operations.move.annotation.feature', { n: entityIDs.length });
|
||||
|
||||
var _prevGraph;
|
||||
var _cache;
|
||||
|
||||
@@ -43,7 +43,7 @@ export function modeRotate(context, entityIDs) {
|
||||
];
|
||||
var annotation = entityIDs.length === 1 ?
|
||||
t('operations.rotate.annotation.' + context.graph().geometry(entityIDs[0])) :
|
||||
t('operations.rotate.annotation.multiple');
|
||||
t('operations.rotate.annotation.feature', { n: entityIDs.length });
|
||||
|
||||
var _prevGraph;
|
||||
var _prevAngle;
|
||||
|
||||
Reference in New Issue
Block a user