Ignore:
Timestamp:
2006-07-03T00:31:24+02:00 (18 years ago)
Author:
imi
Message:
  • started i18n
  • started "download incomplete ways" action
  • added straight line selection mode
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/actions/ExitAction.java

    r68 r104  
    11package org.openstreetmap.josm.actions;
     2
     3import static org.openstreetmap.josm.tools.I18n.tr;
    24
    35import java.awt.event.ActionEvent;
     
    1012 */
    1113public class ExitAction extends JosmAction {
    12 
    1314        /**
    1415         * Construct the action with "Exit" as label
    1516         */
    1617        public ExitAction() {
    17                 super("Exit", "exit", "Exit the application.", KeyEvent.VK_X);
     18                super(tr("Exit"), "exit", tr("Exit the application."), KeyEvent.VK_X);
    1819        }
    1920       
    2021        public void actionPerformed(ActionEvent e) {
    21                 // todo: check for modified windows before exiting
    2222                System.exit(0);
    2323        }
    24 
    2524}
Note: See TracChangeset for help on using the changeset viewer.