Ignore:
Timestamp:
2010-01-13T19:33:42+01:00 (10 years ago)
Author:
mjulius
Message:

fix messages for actions

Location:
trunk/src/org/openstreetmap/josm/actions/audio
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/audio/AudioBackAction.java

    r1245 r2842  
    33
    44import static org.openstreetmap.josm.tools.I18n.tr;
     5import static org.openstreetmap.josm.tools.I18n.trc;
    56
    67import java.awt.event.ActionEvent;
     
    1718    public AudioBackAction() {
    1819        super(tr("Back"), "audio-back", tr("Jump back."),
    19         Shortcut.registerShortcut("audio:back", tr("Audio: {0}", tr("Back")), KeyEvent.VK_F6, Shortcut.GROUP_DIRECT), true);
     20        Shortcut.registerShortcut("audio:back", tr("Audio: {0}", trc("audio", "Back")), KeyEvent.VK_F6, Shortcut.GROUP_DIRECT), true);
    2021        this.putValue("help", "Action/Back");
    2122    }
  • trunk/src/org/openstreetmap/josm/actions/audio/AudioFasterAction.java

    r2017 r2842  
    33
    44import static org.openstreetmap.josm.tools.I18n.tr;
     5import static org.openstreetmap.josm.tools.I18n.trc;
    56
    67import java.awt.event.KeyEvent;
     
    1213    public AudioFasterAction() {
    1314        super(tr("Faster"), "audio-faster", tr("Faster Forward"),
    14         Shortcut.registerShortcut("audio:faster", tr("Audio: {0}", tr("Faster")), KeyEvent.VK_F9, Shortcut.GROUP_DIRECT), true);
     15        Shortcut.registerShortcut("audio:faster", tr("Audio: {0}", trc("audio", "Faster")), KeyEvent.VK_F9, Shortcut.GROUP_DIRECT), true);
    1516    }
    1617}
  • trunk/src/org/openstreetmap/josm/actions/audio/AudioFwdAction.java

    r1245 r2842  
    33
    44import static org.openstreetmap.josm.tools.I18n.tr;
     5import static org.openstreetmap.josm.tools.I18n.trc;
    56
    67import java.awt.event.ActionEvent;
     
    1617    public AudioFwdAction() {
    1718        super(tr("Forward"), "audio-fwd", tr("Jump forward"),
    18         Shortcut.registerShortcut("audio:forward", tr("Audio: {0}", tr("Forward")), KeyEvent.VK_F7, Shortcut.GROUP_DIRECT), true);
     19        Shortcut.registerShortcut("audio:forward", tr("Audio: {0}", trc("audio", "Forward")), KeyEvent.VK_F7, Shortcut.GROUP_DIRECT), true);
    1920    }
    2021
  • trunk/src/org/openstreetmap/josm/actions/audio/AudioNextAction.java

    r1169 r2842  
    33
    44import static org.openstreetmap.josm.tools.I18n.tr;
     5import static org.openstreetmap.josm.tools.I18n.trc;
    56
    67import java.awt.event.ActionEvent;
     
    1516    public AudioNextAction() {
    1617        super(tr("Next Marker"), "audio-next", tr("Play next marker."),
    17         Shortcut.registerShortcut("audio:next", tr("Audio: {0}", tr("Next Marker")), KeyEvent.VK_F8, Shortcut.GROUP_DIRECT), true);
     18        Shortcut.registerShortcut("audio:next", tr("Audio: {0}", trc("audio", "Next Marker")), KeyEvent.VK_F8, Shortcut.GROUP_DIRECT), true);
    1819    }
    1920
  • trunk/src/org/openstreetmap/josm/actions/audio/AudioPlayPauseAction.java

    r1218 r2842  
    33
    44import static org.openstreetmap.josm.tools.I18n.tr;
    5 
     5import static org.openstreetmap.josm.tools.I18n.trc;
    66import java.awt.event.ActionEvent;
    77import java.awt.event.KeyEvent;
     
    1717    public AudioPlayPauseAction() {
    1818        super(tr("Play/Pause"), "audio-playpause", tr("Play/pause audio."),
    19         Shortcut.registerShortcut("audio:pause", tr("Audio: {0}", tr("Play/Pause")), KeyEvent.VK_PERIOD, Shortcut.GROUP_DIRECT), true);
     19        Shortcut.registerShortcut("audio:pause", tr("Audio: {0}", trc("audio", "Play/Pause")), KeyEvent.VK_PERIOD, Shortcut.GROUP_DIRECT), true);
    2020    }
    2121
  • trunk/src/org/openstreetmap/josm/actions/audio/AudioPrevAction.java

    r1169 r2842  
    33
    44import static org.openstreetmap.josm.tools.I18n.tr;
     5import static org.openstreetmap.josm.tools.I18n.trc;
    56
    67import java.awt.event.ActionEvent;
     
    1516    public AudioPrevAction() {
    1617        super(tr("Previous Marker"), "audio-prev", tr("Play previous marker."),
    17         Shortcut.registerShortcut("audio:prev", tr("Audio: {0}", tr("Previous Marker")), KeyEvent.VK_F5, Shortcut.GROUP_DIRECT), true);
     18        Shortcut.registerShortcut("audio:prev", tr("Audio: {0}", trc("audio", "Previous Marker")), KeyEvent.VK_F5, Shortcut.GROUP_DIRECT), true);
    1819    }
    1920
  • trunk/src/org/openstreetmap/josm/actions/audio/AudioSlowerAction.java

    r2017 r2842  
    33
    44import static org.openstreetmap.josm.tools.I18n.tr;
     5import static org.openstreetmap.josm.tools.I18n.trc;
    56
    67import java.awt.event.KeyEvent;
     
    1213    public AudioSlowerAction() {
    1314        super(tr("Slower"), "audio-slower", tr("Slower Forward"),
    14         Shortcut.registerShortcut("audio:slower", tr("Audio: {0}", tr("Slower")), KeyEvent.VK_F4, Shortcut.GROUP_DIRECT), true);
     15        Shortcut.registerShortcut("audio:slower", tr("Audio: {0}", trc("audio", "Slower")), KeyEvent.VK_F4, Shortcut.GROUP_DIRECT), true);
    1516    }
    1617}
Note: See TracChangeset for help on using the changeset viewer.