Merge pull request #2830 from arthurnn/master

i18N press enter on spell view
This commit is contained in:
Nick Winter 2015-06-18 18:37:24 -07:00
commit 8ef4a9ddde
2 changed files with 2 additions and 1 deletions

View file

@ -748,6 +748,7 @@
keyboard_shortcuts: "Keyboard Shortcuts"
space: "Space"
enter: "Enter"
press_enter: "press enter"
escape: "Escape"
shift: "Shift"
run_code: "Run current code."

View file

@ -432,7 +432,7 @@ module.exports = class SpellView extends CocoView
else content
entry =
content: content
meta: 'press enter'
meta: $.i18n.t('keyboard_shortcuts.press_enter', defaultValue: 'press enter')
name: doc.name
tabTrigger: doc.snippets[e.language].tab
haveFindNearestEnemy ||= doc.name is 'findNearestEnemy'