1
0
Fork 0
forked from 0x2620/oxjs

Ox.UI.symbols -> Ox.SYMBOLS

This commit is contained in:
rlx 2014-09-25 11:50:41 +02:00
commit 0119a2d466
3 changed files with 22 additions and 22 deletions

View file

@ -538,26 +538,26 @@ Ox.VideoAnnotationPanel = function(options, self) {
self.$keyboardShortcuts = $('<div>').css({margin: '16px'});
[
{key: Ox.UI.symbols.space, action: Ox._('Play/Pause')},
{key: Ox.SYMBOLS.space, action: Ox._('Play/Pause')},
{key: 'P', action: Ox._('Play In to Out')},
{key: 'L', action: Ox._('Loop')},
{key: '0', action: Ox._('Mute/Unmute')},
{key: '-', action: Ox._('Turn Volume Down')},
{key: '+', action: Ox._('Turn Volume Up')},
{key: Ox.UI.symbols.shift + '-', action: Ox._('Small Player')},
{key: Ox.UI.symbols.shift + '+', action: Ox._('Large Player')},
{key: Ox.UI.symbols.arrow_left, action: Ox._('Go One Frame Back')},
{key: Ox.UI.symbols.arrow_right, action: Ox._('Go One Frame Forward')},
{key: Ox.UI.symbols.shift + Ox.UI.symbols.arrow_left, action: Ox._('Go One Second Back')},
{key: Ox.UI.symbols.shift + Ox.UI.symbols.arrow_right, action: Ox._('Go One Second Forward')},
{key: Ox.UI.symbols.arrow_up, action: Ox._('Go One Line Up')},
{key: Ox.UI.symbols.arrow_down, action: Ox._('Go One Line Down')},
{key: Ox.UI.symbols.shift + Ox.UI.symbols.arrow_up, action: Ox._('Go to First Frame')},
{key: Ox.UI.symbols.shift + Ox.UI.symbols.arrow_down, action: Ox._('Go to Last Frame')},
{key: Ox.SYMBOLS.shift + '-', action: Ox._('Small Player')},
{key: Ox.SYMBOLS.shift + '+', action: Ox._('Large Player')},
{key: Ox.SYMBOLS.arrow_left, action: Ox._('Go One Frame Back')},
{key: Ox.SYMBOLS.arrow_right, action: Ox._('Go One Frame Forward')},
{key: Ox.SYMBOLS.shift + Ox.SYMBOLS.arrow_left, action: Ox._('Go One Second Back')},
{key: Ox.SYMBOLS.shift + Ox.SYMBOLS.arrow_right, action: Ox._('Go One Second Forward')},
{key: Ox.SYMBOLS.arrow_up, action: Ox._('Go One Line Up')},
{key: Ox.SYMBOLS.arrow_down, action: Ox._('Go One Line Down')},
{key: Ox.SYMBOLS.shift + Ox.SYMBOLS.arrow_up, action: Ox._('Go to First Frame')},
{key: Ox.SYMBOLS.shift + Ox.SYMBOLS.arrow_down, action: Ox._('Go to Last Frame')},
{key: 'I', action: Ox._('Set In Point')},
{key: 'O', action: Ox._('Set Out Point')},
{key: Ox.UI.symbols.shift + 'I', action: Ox._('Go to In Point')},
{key: Ox.UI.symbols.shift + 'O', action: Ox._('Go to Out Point')},
{key: Ox.SYMBOLS.shift + 'I', action: Ox._('Go to In Point')},
{key: Ox.SYMBOLS.shift + 'O', action: Ox._('Go to Out Point')},
{key: '[', action: Ox._('Go to Previous Annotation')},
{key: ']', action: Ox._('Go to Next Annotation')},
{key: '\\', action: Ox._('Select Current Annotation')},
@ -567,10 +567,10 @@ Ox.VideoAnnotationPanel = function(options, self) {
{key: '>', action: Ox._('Go to Next Cut')},
{key: '/', action: Ox._('Select Current Cut')},
{key: 'F', action: Ox._('Find')},
{key: Ox.UI.symbols.shift + 'G', action: Ox._('Go to Previous Result')},
{key: Ox.SYMBOLS.shift + 'G', action: Ox._('Go to Previous Result')},
{key: 'G', action: Ox._('Go to Next Result')},
{key: Ox.UI.symbols['return'], action: Ox._('Edit/Submit')},
{key: Ox.UI.symbols.escape, action: Ox._('Cancel/Deselect')}
{key: Ox.SYMBOLS['return'], action: Ox._('Edit/Submit')},
{key: Ox.SYMBOLS.escape, action: Ox._('Cancel/Deselect')}
].concat(
Ox.filter(self.options.layers.map(function(layer, i) {
return layer.editable