diff --git a/modules/operations/flipHorizontal.js b/modules/operations/flipHorizontal.js index dcf076551..eb7178966 100644 --- a/modules/operations/flipHorizontal.js +++ b/modules/operations/flipHorizontal.js @@ -1,5 +1,6 @@ import { t } from '../util/locale'; import { actionFlip } from '../actions/index'; +import { uiCmd } from '../ui/index'; export function operationFlipHorizontal(selectedIDs, context) { var entityId = selectedIDs[0]; @@ -25,7 +26,7 @@ export function operationFlipHorizontal(selectedIDs, context) { }; operation.id = 'flipHorizontal'; - operation.keys = [t('operations.flipHorizontal.key')]; + operation.keys = [uiCmd('⌥H')]; // Alt-H operation.title = t('operations.flipHorizontal.title'); return operation; diff --git a/modules/operations/flipVertical.js b/modules/operations/flipVertical.js index a08097c04..d0a0bdf04 100644 --- a/modules/operations/flipVertical.js +++ b/modules/operations/flipVertical.js @@ -1,5 +1,6 @@ import { t } from '../util/locale'; import { actionFlip } from '../actions/index'; +import { uiCmd } from '../ui/index'; export function operationFlipVertical(selectedIDs, context) { var entityId = selectedIDs[0]; @@ -25,7 +26,7 @@ export function operationFlipVertical(selectedIDs, context) { }; operation.id = 'flipVertical'; - operation.keys = [t('operations.flipVertical.key')]; + operation.keys = [uiCmd('⌥V')]; // Alt-V operation.title = t('operations.flipVertical.title'); return operation;