Changeset 27527 in osm for applications/editors/josm


Ignore:
Timestamp:
2012-01-21T14:42:52+01:00 (13 years ago)
Author:
stoecker
Message:

fix i18n issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/VideoPlugin.java

    r25896 r27527  
    9999        };       
    100100        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) {           
    102102            public void actionPerformed(ActionEvent e) {
    103103                gpsVideoPlayer.pause();               
     
    105105        };
    106106        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) {
    108108            public void actionPerformed(ActionEvent e) {
    109109                gpsVideoPlayer.backward();
     
    111111        };
    112112        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) {           
    114114            public void actionPerformed(ActionEvent e) {
    115115                gpsVideoPlayer.forward();
     
    118118        };
    119119        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) {
    121121           
    122122            public void actionPerformed(ActionEvent e) {
     
    126126        };
    127127        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) {
    129129           
    130130            public void actionPerformed(ActionEvent e) {
     
    141141        };
    142142        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) {           
    144144            public void actionPerformed(ActionEvent e) {
    145145                gpsVideoPlayer.toggleLooping();
Note: See TracChangeset for help on using the changeset viewer.