forked from 0x2620/oxjs
wrap more strings in Ox._
This commit is contained in:
parent
42cb002c5f
commit
535c04d386
5 changed files with 44 additions and 44 deletions
|
|
@ -455,42 +455,42 @@ Ox.VideoEditor = function(options, self) {
|
|||
|
||||
self.$keyboardShortcuts = $('<div>').css({margin: '16px'});
|
||||
[
|
||||
{key: Ox.UI.symbols.space, action: 'Play/Pause'},
|
||||
{key: 'P', action: 'Play In to Out'},
|
||||
{key: '0', action: 'Mute/Unmute'},
|
||||
{key: '-', action: 'Turn Volume Down'},
|
||||
{key: '+', action: 'Turn Volume Up'},
|
||||
{key: Ox.UI.symbols.shift + '-', action: 'Small Player'},
|
||||
{key: Ox.UI.symbols.shift + '+', action: 'Large Player'},
|
||||
{key: Ox.UI.symbols.arrow_left, action: 'Go One Frame Back'},
|
||||
{key: Ox.UI.symbols.arrow_right, action: 'Go One Frame Forward'},
|
||||
{key: Ox.UI.symbols.shift + Ox.UI.symbols.arrow_left, action: 'Go One Second Back'},
|
||||
{key: Ox.UI.symbols.shift + Ox.UI.symbols.arrow_right, action: 'Go One Second Forward'},
|
||||
{key: Ox.UI.symbols.arrow_up, action: 'Go One Line Up'},
|
||||
{key: Ox.UI.symbols.arrow_down, action: 'Go One Line Down'},
|
||||
{key: Ox.UI.symbols.shift + Ox.UI.symbols.arrow_up, action: 'Go to First Frame'},
|
||||
{key: Ox.UI.symbols.shift + Ox.UI.symbols.arrow_down, action: 'Go to Last Frame'},
|
||||
{key: 'I', action: 'Set In Point'},
|
||||
{key: 'O', action: 'Set Out Point'},
|
||||
{key: Ox.UI.symbols.shift + 'I', action: 'Go to In Point'},
|
||||
{key: Ox.UI.symbols.shift + 'O', action: 'Go to Out Point'},
|
||||
{key: '[', action: 'Go to Previous Annotation'},
|
||||
{key: ']', action: 'Go to Next Annotation'},
|
||||
{key: '\\', action: 'Select Current Annotation'},
|
||||
{key: 'B', action: 'Select Previous Annotation'},
|
||||
{key: 'N', action: 'Select Next Annotation'},
|
||||
{key: '<', action: 'Go to Previous Cut'},
|
||||
{key: '>', action: 'Go to Next Cut'},
|
||||
{key: '/', action: 'Select Current Cut'},
|
||||
{key: 'F', action: 'Find'},
|
||||
{key: Ox.UI.symbols.shift + 'G', action: 'Go to Previous Result'},
|
||||
{key: 'G', action: 'Go to Next Result'},
|
||||
{key: Ox.UI.symbols['return'], action: 'Edit/Submit'},
|
||||
{key: Ox.UI.symbols.escape, action: 'Cancel/Deselect'}
|
||||
{key: Ox.UI.symbols.space, action: Ox._('Play/Pause')},
|
||||
{key: 'P', action: Ox._('Play In to Out')},
|
||||
{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: '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: '[', action: Ox._('Go to Previous Annotation')},
|
||||
{key: ']', action: Ox._('Go to Next Annotation')},
|
||||
{key: '\\', action: Ox._('Select Current Annotation')},
|
||||
{key: 'B', action: Ox._('Select Previous Annotation')},
|
||||
{key: 'N', action: Ox._('Select Next Annotation')},
|
||||
{key: '<', action: Ox._('Go to Previous Cut')},
|
||||
{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: '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')}
|
||||
].concat(
|
||||
Ox.filter(self.options.layers.map(function(layer, i) {
|
||||
return layer.editable
|
||||
? {key: i + 1, action: 'Add ' + layer.item}
|
||||
? {key: i + 1, action: Ox._('Add {0}', [layer.item])}
|
||||
: null;
|
||||
}))
|
||||
).forEach(function(shortcut) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue