mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-05-03 09:23:41 -04:00
Update LevelEditView.coffee
This commit is contained in:
parent
9c0d992868
commit
029b28853f
1 changed files with 2 additions and 2 deletions
|
@ -137,11 +137,11 @@ module.exports = class LevelEditView extends RootView
|
||||||
|
|
||||||
showUndoDescription: ->
|
showUndoDescription: ->
|
||||||
undoDescription = TreemaNode.getLastTreemaWithFocus().getUndoDescription()
|
undoDescription = TreemaNode.getLastTreemaWithFocus().getUndoDescription()
|
||||||
@$el.find('#undo-button').attr('title', 'Undo ' + undoDescription + ' (Ctrl+Z)')
|
@$el.find('#undo-button').attr('title', $.i18n.t("general.undo_prefix";) + " " + undoDescription + " " + $.i18n.t("general.undo_shortcut"))
|
||||||
|
|
||||||
showRedoDescription: ->
|
showRedoDescription: ->
|
||||||
redoDescription = TreemaNode.getLastTreemaWithFocus().getRedoDescription()
|
redoDescription = TreemaNode.getLastTreemaWithFocus().getRedoDescription()
|
||||||
@$el.find('#redo-button').attr('title', 'Redo ' + redoDescription + ' (Ctrl+Shift+Z)')
|
@$el.find('#redo-button').attr('title', $.i18n.t("general.redo_prefix";) + " " + redoDescription + " " + $.i18n.t("general.redo_shortcut"))
|
||||||
|
|
||||||
getCurrentView: ->
|
getCurrentView: ->
|
||||||
currentViewID = @$el.find('.tab-pane.active').attr('id')
|
currentViewID = @$el.find('.tab-pane.active').attr('id')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue