- Timestamp:
- 2015-03-04T19:48:29+01:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadNotesTask.java
r7749 r8115 59 59 @Override 60 60 public String getTitle() { 61 return "Download OSM Notes";61 return tr("Download OSM Notes"); 62 62 } 63 63 … … 83 83 @Override 84 84 protected void finish() { 85 Main.debug("finish called in DownloadNotesTask");86 85 if (isCanceled() || isFailed()) { 87 Main.debug("was cancelled or failed");88 86 return; 89 87 } … … 92 90 return; 93 91 } 94 Main.debug("Notes downloaded: " + notesData.size()); 92 if (Main.isDebugEnabled()) { 93 Main.debug("Notes downloaded: " + notesData.size()); 94 } 95 95 96 96 List<NoteLayer> noteLayers = null; … … 103 103 layer.getNoteData().addNotes(notesData); 104 104 } else { 105 layer = new NoteLayer(notesData, "Notes");105 layer = new NoteLayer(notesData, tr("Notes")); 106 106 Main.main.addLayer(layer); 107 107 } … … 197 197 } 198 198 } 199 200 199 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/NotesDialog.java
r8078 r8115 87 87 /** Creates a new toggle dialog for notes */ 88 88 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); 90 90 addCommentAction = new AddCommentAction(); 91 91 closeAction = new CloseAction();
Note:
See TracChangeset
for help on using the changeset viewer.