Bug 1605467 - Migrate text action keys to Fluent. r=fluent-reviewers,Gijs,flod

Differential Revision: https://phabricator.services.mozilla.com/D59272
This commit is contained in:
Zibi Braniecki
2020-01-17 11:43:39 +00:00
parent 48e5f991ad
commit cd25170590
7 changed files with 82 additions and 28 deletions

View File

@@ -172,24 +172,28 @@
<key id="key_closeWindow" key="&closeCmd.key;" command="cmd_closeWindow" modifiers="accel,shift" reserved="true"/>
<key id="key_toggleMute" key="&toggleMuteCmd.key;" command="cmd_toggleMute" modifiers="control"/>
<key id="key_undo"
key="&undoCmd.key;"
data-l10n-id="text-action-undo-shortcut"
modifiers="accel"/>
<key id="key_redo"
#ifdef XP_UNIX
<key id="key_redo" key="&undoCmd.key;" modifiers="accel,shift"/>
data-l10n-id="text-action-undo-shortcut"
modifiers="accel,shift"
#else
<key id="key_redo" key="&redoCmd.key;" modifiers="accel"/>
data-l10n-id="text-action-redo-shortcut"
modifiers="accel"
#endif
/>
<key id="key_cut"
key="&cutCmd.key;"
data-l10n-id="text-action-cut-shortcut"
modifiers="accel"/>
<key id="key_copy"
key="&copyCmd.key;"
data-l10n-id="text-action-copy-shortcut"
modifiers="accel"/>
<key id="key_paste"
key="&pasteCmd.key;"
data-l10n-id="text-action-paste-shortcut"
modifiers="accel"/>
<key id="key_delete" keycode="VK_DELETE" command="cmd_delete"/>
<key id="key_selectAll" key="&selectAllCmd.key;" modifiers="accel"/>
<key id="key_selectAll" data-l10n-id="text-action-select-all-shortcut" modifiers="accel"/>
<key keycode="VK_BACK" command="cmd_handleBackspace" reserved="false"/>
<key keycode="VK_BACK" command="cmd_handleShiftBackspace" modifiers="shift" reserved="false"/>