Changeset 1066 in josm
- Timestamp:
- 2008-11-04T23:21:43+01:00 (16 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AboutAction.java
r1054 r1066 56 56 Pattern versionPattern = Pattern.compile(".*?Revision: ([0-9]*).*", Pattern.CASE_INSENSITIVE|Pattern.DOTALL); 57 57 Matcher match = versionPattern.matcher(revision.getText()); 58 version = match.matches() ? match.group(1) : "UNKNOWN"; 58 version = match.matches() ? match.group(1) : tr("UNKNOWN"); 59 59 60 60 Pattern timePattern = Pattern.compile(".*?Last Changed Date: ([^\n]*).*", Pattern.CASE_INSENSITIVE|Pattern.DOTALL); 61 61 match = timePattern.matcher(revision.getText()); 62 time = match.matches() ? match.group(1) : "UNKNOWN"; 62 time = match.matches() ? match.group(1) : tr("UNKNOWN"); 63 63 } 64 64 … … 149 149 } catch (IOException x) { 150 150 x.printStackTrace(); 151 return "UNKNOWN"; 151 return tr("UNKNOWN"); 152 152 } 153 153 return latest; -
trunk/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java
r1054 r1066 44 44 "delete", 45 45 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), 47 47 mapFrame, 48 48 ImageProvider.getCursor("normal", "delete")); -
trunk/src/org/openstreetmap/josm/gui/preferences/LanguagePreference.java
r1065 r1066 47 47 Locale l = (Locale) value; 48 48 return oldRenderer.getListCellRendererComponent(list, 49 l == AUTO_LANGUAGE ? "Default (Auto determined)" : l.getDisplayName(), 49 l == AUTO_LANGUAGE ? tr("Default (Auto determined)") : l.getDisplayName(), 50 50 index, isSelected, cellHasFocus); 51 51 }
Note:
See TracChangeset
for help on using the changeset viewer.