Changeset 6296 in josm for trunk/src/org/openstreetmap/josm/gui/help
- Timestamp:
- 2013-10-04T03:27:01+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/help
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/help/HelpBrowser.java
r6248 r6296 471 471 class ReloadAction extends AbstractAction { 472 472 public ReloadAction() { 473 //putValue(NAME, tr("Reload"));474 473 putValue(SHORT_DESCRIPTION, tr("Reload the current help page")); 475 474 putValue(SMALL_ICON, ImageProvider.get("dialogs", "refresh")); … … 487 486 this.history = history; 488 487 history.addObserver(this); 489 //putValue(NAME, tr("Back"));490 488 putValue(SHORT_DESCRIPTION, tr("Go to the previous page")); 491 489 putValue(SMALL_ICON, ImageProvider.get("help", "previous")); … … 508 506 this.history = history; 509 507 history.addObserver(this); 510 //putValue(NAME, tr("Forward"));511 508 putValue(SHORT_DESCRIPTION, tr("Go to the next page")); 512 509 putValue(SMALL_ICON, ImageProvider.get("help", "next")); … … 526 523 class HomeAction extends AbstractAction { 527 524 public HomeAction() { 528 //putValue(NAME, tr("Home"));529 525 putValue(SHORT_DESCRIPTION, tr("Go to the JOSM help home page")); 530 526 putValue(SMALL_ICON, ImageProvider.get("help", "home")); -
trunk/src/org/openstreetmap/josm/gui/help/HelpUtil.java
r6143 r6296 119 119 if(ret == null) 120 120 return ret; 121 ret = "/" + ret + Main.pref.get("help.pathhelp", "/Help").replaceAll("^\\/+", ""); // remove leading / ;121 ret = "/" + ret + Main.pref.get("help.pathhelp", "/Help").replaceAll("^\\/+", ""); // remove leading / 122 122 return ret.replaceAll("\\/+", "\\/"); // collapse sequences of // 123 123 }
Note:
See TracChangeset
for help on using the changeset viewer.