From 33227c2b539d1cd68b72c2904f950805deab40e3 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Wed, 15 Feb 2017 16:37:37 -0500 Subject: [PATCH] Adjust text for Reflect operation messages --- data/core.yaml | 8 +++++--- dist/locales/en.json | 9 ++++++--- modules/operations/reflect.js | 2 +- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/data/core.yaml b/data/core.yaml index 3aa09cd67..7373e5a16 100644 --- a/data/core.yaml +++ b/data/core.yaml @@ -146,7 +146,9 @@ en: single: This feature can't be moved because it is connected to a hidden feature. multiple: These features can't be moved because some are connected to hidden features. reflect: - title: reflect + title: + long: Reflect Long + short: Reflect Short description: long: single: Reflect this feature across its long axis. @@ -159,10 +161,10 @@ en: short: Y annotation: long: - single: Reflected an feature across its long axis. + single: Reflected a feature across its long axis. multiple: Reflected multiple features across their long axis. short: - single: Reflected an feature across its short axis. + single: Reflected a feature across its short axis. multiple: Reflected multiple features across their short axis. incomplete_relation: single: This feature can't be reflected because it hasn't been fully downloaded. diff --git a/dist/locales/en.json b/dist/locales/en.json index 52fe9bcc0..d4f072c16 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -188,7 +188,10 @@ } }, "reflect": { - "title": "reflect", + "title": { + "long": "Reflect Long", + "short": "Reflect Short" + }, "description": { "long": { "single": "Reflect this feature across its long axis.", @@ -205,11 +208,11 @@ }, "annotation": { "long": { - "single": "Reflected an feature across its long axis.", + "single": "Reflected a feature across its long axis.", "multiple": "Reflected multiple features across their long axis." }, "short": { - "single": "Reflected an feature across its short axis.", + "single": "Reflected a feature across its short axis.", "multiple": "Reflected multiple features across their short axis." } }, diff --git a/modules/operations/reflect.js b/modules/operations/reflect.js index 9a3ffad97..ce224d9d2 100644 --- a/modules/operations/reflect.js +++ b/modules/operations/reflect.js @@ -69,7 +69,7 @@ export function operationReflect(selectedIDs, context, axis) { operation.id = 'reflect-' + axis; operation.keys = [t('operations.reflect.key.' + axis)]; - operation.title = t('operations.reflect.title'); + operation.title = t('operations.reflect.title.' + axis); operation.behavior = behaviorOperation(context).which(operation); return operation;