Changeset 27527 in osm for applications/editors/josm
- Timestamp:
- 2012-01-21T14:42:52+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/VideoPlugin.java
r25896 r27527 99 99 }; 100 100 VStart = new JosmAction(tr("Play/Pause"), "audio-playpause", tr("starts/pauses video playback"), 101 Shortcut.registerShortcut("videomapping:startstop", "Video: "+tr("Play/Pause"),KeyEvent.VK_NUMPAD5, Shortcut.GROUP_DIRECT), false) {101 Shortcut.registerShortcut("videomapping:startstop",tr("Video: {0}", tr("Play/Pause")),KeyEvent.VK_NUMPAD5, Shortcut.GROUP_DIRECT), false) { 102 102 public void actionPerformed(ActionEvent e) { 103 103 gpsVideoPlayer.pause(); … … 105 105 }; 106 106 Vbackward = new JosmAction(tr("Backward"), "audio-prev", tr("jumps n sec back"), 107 Shortcut.registerShortcut("videomapping:backward", "Video: "+tr("Backward"),KeyEvent.VK_NUMPAD4, Shortcut.GROUP_DIRECT), false) {107 Shortcut.registerShortcut("videomapping:backward",tr("Video: {0}", tr("Backward")),KeyEvent.VK_NUMPAD4, Shortcut.GROUP_DIRECT), false) { 108 108 public void actionPerformed(ActionEvent e) { 109 109 gpsVideoPlayer.backward(); … … 111 111 }; 112 112 Vforward= new JosmAction(tr("Forward"), "audio-next", tr("jumps n sec forward"), 113 Shortcut.registerShortcut("videomapping:forward", "Video: "+tr("Forward"),KeyEvent.VK_NUMPAD6, Shortcut.GROUP_DIRECT), false) {113 Shortcut.registerShortcut("videomapping:forward",tr("Video: {0}", tr("Forward")),KeyEvent.VK_NUMPAD6, Shortcut.GROUP_DIRECT), false) { 114 114 public void actionPerformed(ActionEvent e) { 115 115 gpsVideoPlayer.forward(); … … 118 118 }; 119 119 Vfaster= new JosmAction(tr("Faster"), "audio-faster", tr("faster playback"), 120 Shortcut.registerShortcut("videomapping:faster", "Video: "+tr("Faster"),KeyEvent.VK_NUMPAD8, Shortcut.GROUP_DIRECT), false) {120 Shortcut.registerShortcut("videomapping:faster",tr("Video: {0}", tr("Faster")),KeyEvent.VK_NUMPAD8, Shortcut.GROUP_DIRECT), false) { 121 121 122 122 public void actionPerformed(ActionEvent e) { … … 126 126 }; 127 127 Vslower= new JosmAction(tr("Slower"), "audio-slower", tr("slower playback"), 128 Shortcut.registerShortcut("videomapping:slower", "Video: "+tr("Slower"),KeyEvent.VK_NUMPAD2, Shortcut.GROUP_DIRECT), false) {128 Shortcut.registerShortcut("videomapping:slower",tr("Video: {0}", tr("Slower")),KeyEvent.VK_NUMPAD2, Shortcut.GROUP_DIRECT), false) { 129 129 130 130 public void actionPerformed(ActionEvent e) { … … 141 141 }; 142 142 Vloop= new JosmAction(tr("Loop"), "loop", tr("loops n sec around current position"), 143 Shortcut.registerShortcut("videomapping:loop", "Video: "+tr("loop"),KeyEvent.VK_NUMPAD7, Shortcut.GROUP_DIRECT), false) {143 Shortcut.registerShortcut("videomapping:loop",tr("Video: {0}", tr("Loop")),KeyEvent.VK_NUMPAD7, Shortcut.GROUP_DIRECT), false) { 144 144 public void actionPerformed(ActionEvent e) { 145 145 gpsVideoPlayer.toggleLooping();
Note:
See TracChangeset
for help on using the changeset viewer.