Index: /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/OsbDialog.java
===================================================================
--- /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/OsbDialog.java	(revision 19365)
+++ /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/OsbDialog.java	(revision 19366)
@@ -97,5 +97,5 @@
     private JTabbedPane tabbedPane = new JTabbedPane();
     private boolean queuePanelVisible = false;
-    
+
     private boolean buttonLabels = Main.pref.getBoolean(ConfigKeys.OSB_BUTTON_LABELS);
 
@@ -118,5 +118,5 @@
         bugList.setCellRenderer(new OsbBugListCellRenderer());
         bugListPanel.add(new JScrollPane(bugList), BorderLayout.CENTER);
-        
+
         // create dialog buttons
         GridLayout layout = buttonLabels ? new GridLayout(3, 2) : new GridLayout(1, 5);
@@ -152,5 +152,4 @@
             toggleConnectionMode.doClick();
         }
-        
 
         AddCommentAction addCommentAction = new AddCommentAction(this);
@@ -174,5 +173,5 @@
         buttonPanel.add(addComment);
         buttonPanel.add(closeIssue);
-        
+
         queuePanel = new JPanel(new BorderLayout());
         queuePanel.setName(tr("Queue"));
@@ -187,5 +186,5 @@
                 try {
                     ActionQueue.getInstance().processQueue();
-    
+
                     // refresh, if the api is enabled
                     if(!Main.pref.getBoolean(ConfigKeys.OSB_API_DISABLED)) {
@@ -226,5 +225,5 @@
             lastNode = listItem.getNode();
         }
-        
+
         // create a new list model
         bugListModel = new DefaultListModel();
@@ -237,5 +236,5 @@
         }
         bugList.setModel(bugListModel);
-        
+
         // restore the last selection 
         if(lastNode != null) {
@@ -377,5 +376,5 @@
         super.showDialog();
     }
-    
+
     public void showQueuePanel() {
         if(!queuePanelVisible) {
@@ -389,5 +388,5 @@
         }
     }
-    
+
     public void hideQueuePanel() {
         if(queuePanelVisible) {
@@ -400,16 +399,16 @@
         }
     }
-    
+
     public Node getSelectedNode() {
         return ((OsbListItem)bugList.getSelectedValue()).getNode();
     }
-    
+
     public void setSelectedNode(Node node) {
         bugList.setSelectedValue(new OsbListItem(node), true);
     }
-    
+
     public void setConnectionMode(boolean offline) {
         refresh.setEnabled(!offline);
-        setTitle("OpenStreetBugs (" + (offline ? "offline" : "online") + ")");
+        setTitle(tr("OpenStreetBugs ({0})", (offline ? tr("offline") : tr("online"))));
         toggleConnectionMode.setSelected(offline);
     }
