Changeset 8115 in josm for trunk/src


Ignore:
Timestamp:
2015-03-04T19:48:29+01:00 (5 years ago)
Author:
Don-vip
Message:

fix #11192 - missing notes translations

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadNotesTask.java

    r7749 r8115  
    5959    @Override
    6060    public String getTitle() {
    61         return "Download OSM Notes";
     61        return tr("Download OSM Notes");
    6262    }
    6363
     
    8383        @Override
    8484        protected void finish() {
    85             Main.debug("finish called in DownloadNotesTask");
    8685            if (isCanceled() || isFailed()) {
    87                 Main.debug("was cancelled or failed");
    8886                return;
    8987            }
     
    9290                return;
    9391            }
    94             Main.debug("Notes downloaded: " + notesData.size());
     92            if (Main.isDebugEnabled()) {
     93                Main.debug("Notes downloaded: " + notesData.size());
     94            }
    9595
    9696            List<NoteLayer> noteLayers = null;
     
    103103                layer.getNoteData().addNotes(notesData);
    104104            } else {
    105                 layer = new NoteLayer(notesData, "Notes");
     105                layer = new NoteLayer(notesData, tr("Notes"));
    106106                Main.main.addLayer(layer);
    107107            }
     
    197197        }
    198198    }
    199 
    200199}
  • trunk/src/org/openstreetmap/josm/gui/dialogs/NotesDialog.java

    r8078 r8115  
    8787    /** Creates a new toggle dialog for notes */
    8888    public NotesDialog() {
    89         super("Notes", "notes/note_open", "List of notes", null, 150);
     89        super(tr("Notes"), "notes/note_open", tr("List of notes"), null, 150);
    9090        addCommentAction = new AddCommentAction();
    9191        closeAction = new CloseAction();
Note: See TracChangeset for help on using the changeset viewer.