Index: applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerPlugin.java
===================================================================
--- applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerPlugin.java	(revision 17327)
+++ applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerPlugin.java	(revision 18404)
@@ -21,4 +21,7 @@
 package org.openstreetmap.josm.plugins.piclayer;
 
+import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
+import static org.openstreetmap.josm.tools.I18n.tr;
+
 import java.awt.event.KeyEvent;
 import javax.swing.JMenu;
@@ -35,44 +38,44 @@
  */
 public class PicLayerPlugin extends Plugin implements LayerChangeListener {
-	
-	// Plugin menu
-	private JMenu m_menu = null;
-	
-	// Toolbar buttons
-	private IconToggleButton m_movePictureButton = null;
-	private IconToggleButton m_rotatePictureButton = null;
-	private IconToggleButton m_scalexPictureButton = null;
-	private IconToggleButton m_scaleyPictureButton = null;
-	private IconToggleButton m_scalexyPictureButton = null;
-	
-	// Menu actions
-	private NewLayerFromFileAction 		m_newFromFileAction = null;  
-	private NewLayerFromClipboardAction m_newFromClipAction = null;
 
-	/**
-	 * Constructor...
-	 */
-	public PicLayerPlugin() {
-		
-		// Create menu entry
-		if ( Main.main.menu != null ) {
-			m_menu = Main.main.menu.addMenu( "PicLayer" , KeyEvent.VK_I, Main.main.menu.defaultMenuPos );
-		}
-		
-		// Add menu items
-		if ( m_menu != null ) {
-			m_menu.add( m_newFromFileAction = new NewLayerFromFileAction() );
-			m_menu.add( m_newFromClipAction = new NewLayerFromClipboardAction() );
-			m_menu.addSeparator();
-			m_menu.add( new HelpAction() );
-			m_newFromFileAction.setEnabled( false );
-			m_newFromClipAction.setEnabled( false );
-		}
-		
-		// Listen to layers
-		Layer.listeners.add( this );
-		
-	}
-	
+    // Plugin menu
+    private JMenu m_menu = null;
+
+    // Toolbar buttons
+    private IconToggleButton m_movePictureButton = null;
+    private IconToggleButton m_rotatePictureButton = null;
+    private IconToggleButton m_scalexPictureButton = null;
+    private IconToggleButton m_scaleyPictureButton = null;
+    private IconToggleButton m_scalexyPictureButton = null;
+
+    // Menu actions
+    private NewLayerFromFileAction      m_newFromFileAction = null;
+    private NewLayerFromClipboardAction m_newFromClipAction = null;
+
+    /**
+     * Constructor...
+     */
+    public PicLayerPlugin() {
+
+        // Create menu entry
+        if ( Main.main.menu != null ) {
+            m_menu = Main.main.menu.addMenu(tr("PicLayer") , KeyEvent.VK_I, Main.main.menu.defaultMenuPos, ht("/Plugin/PicLayer"));
+        }
+
+        // Add menu items
+        if ( m_menu != null ) {
+            m_menu.add( m_newFromFileAction = new NewLayerFromFileAction() );
+            m_menu.add( m_newFromClipAction = new NewLayerFromClipboardAction() );
+            m_menu.addSeparator();
+            m_menu.add( new HelpAction() );
+            m_newFromFileAction.setEnabled( false );
+            m_newFromClipAction.setEnabled( false );
+        }
+
+        // Listen to layers
+        Layer.listeners.add( this );
+
+    }
+
     /**
      * Called when the map is created. Creates the toolbar buttons.
@@ -80,12 +83,12 @@
     public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) {
         if(newFrame != null) {
-        	// Create plugin map modes
-        	MovePictureAction movePictureAction = new MovePictureAction(newFrame);
-        	RotatePictureAction rotatePictureAction = new RotatePictureAction(newFrame);
-        	ScaleXYPictureAction scaleXYPictureAction = new ScaleXYPictureAction(newFrame);
-        	ScaleXPictureAction scaleXPictureAction = new ScaleXPictureAction(newFrame);
-        	ScaleYPictureAction scaleYPictureAction = new ScaleYPictureAction(newFrame);
-        	// Create plugin buttons and add them to the toolbar
-        	m_movePictureButton = new IconToggleButton(movePictureAction);
+            // Create plugin map modes
+            MovePictureAction movePictureAction = new MovePictureAction(newFrame);
+            RotatePictureAction rotatePictureAction = new RotatePictureAction(newFrame);
+            ScaleXYPictureAction scaleXYPictureAction = new ScaleXYPictureAction(newFrame);
+            ScaleXPictureAction scaleXPictureAction = new ScaleXPictureAction(newFrame);
+            ScaleYPictureAction scaleYPictureAction = new ScaleYPictureAction(newFrame);
+            // Create plugin buttons and add them to the toolbar
+            m_movePictureButton = new IconToggleButton(movePictureAction);
             m_rotatePictureButton = new IconToggleButton(rotatePictureAction);
             m_scalexyPictureButton = new IconToggleButton(scaleXYPictureAction);
@@ -109,28 +112,27 @@
     }
 
-	/**
-	 * The toolbar buttons shall be active only when the PicLayer is active.
-	 */
-	public void activeLayerChange(Layer oldLayer, Layer newLayer) {
-	}
+    /**
+     * The toolbar buttons shall be active only when the PicLayer is active.
+     */
+    public void activeLayerChange(Layer oldLayer, Layer newLayer) {
+    }
 
-	/**
-	 * The menu is enabled once another layer is first created. This is needed
-	 * because the picture must be positioned based on the current mapview (so
-	 * one must exist first). User should not be able to load a picture too early.
-	 */
-	public void layerAdded(Layer arg0) {
-		m_newFromFileAction.setEnabled( true );
-		m_newFromClipAction.setEnabled( true );
-	}
+    /**
+     * The menu is enabled once another layer is first created. This is needed
+     * because the picture must be positioned based on the current mapview (so
+     * one must exist first). User should not be able to load a picture too early.
+     */
+    public void layerAdded(Layer arg0) {
+        m_newFromFileAction.setEnabled( true );
+        m_newFromClipAction.setEnabled( true );
+    }
 
-	/**
-	 * When all layers are gone - the menu is gone too.
-	 */
-	public void layerRemoved(Layer arg0) {
-		boolean enable = Main.map.mapView.getAllLayers().size() != 0;
-		m_newFromFileAction.setEnabled( enable );
-		m_newFromClipAction.setEnabled( enable );
-	}	
-	
+    /**
+     * When all layers are gone - the menu is gone too.
+     */
+    public void layerRemoved(Layer arg0) {
+        boolean enable = Main.map.mapView.getAllLayers().size() != 0;
+        m_newFromFileAction.setEnabled( enable );
+        m_newFromClipAction.setEnabled( enable );
+    }
 };
