Ignore:
Timestamp:
2008-11-04T23:21:43+01:00 (16 years ago)
Author:
mfloryan
Message:

Small fixes of some translations.

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

Legend:

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

    r1054 r1066  
    5656                Pattern versionPattern = Pattern.compile(".*?Revision: ([0-9]*).*", Pattern.CASE_INSENSITIVE|Pattern.DOTALL);
    5757                Matcher match = versionPattern.matcher(revision.getText());
    58                 version = match.matches() ? match.group(1) : "UNKNOWN";
     58                version = match.matches() ? match.group(1) : tr("UNKNOWN");
    5959
    6060                Pattern timePattern = Pattern.compile(".*?Last Changed Date: ([^\n]*).*", Pattern.CASE_INSENSITIVE|Pattern.DOTALL);
    6161                match = timePattern.matcher(revision.getText());
    62                 time = match.matches() ? match.group(1) : "UNKNOWN";
     62                time = match.matches() ? match.group(1) : tr("UNKNOWN");
    6363        }
    6464
     
    149149                } catch (IOException x) {
    150150                        x.printStackTrace();
    151                         return "UNKNOWN";
     151                        return tr("UNKNOWN");
    152152                }
    153153                return latest;
  • trunk/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java

    r1054 r1066  
    4444                                "delete",
    4545                                tr("Delete nodes or ways."),
    46                                 ShortCut.registerShortCut("mapmode:delete", tr("Mode: Delete"), KeyEvent.VK_D, ShortCut.GROUP_EDIT),
     46                                ShortCut.registerShortCut("mapmode:delete", tr("Mode: {0}",tr("Delete")), KeyEvent.VK_D, ShortCut.GROUP_EDIT),
    4747                                mapFrame,
    4848                                ImageProvider.getCursor("normal", "delete"));
Note: See TracChangeset for help on using the changeset viewer.