Changeset 30053 in osm for applications/editors
- Timestamp:
- 2013-11-17T10:21:17+01:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/tracer2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/tracer2/LanguageGen/messages.po
r30049 r30053 9 9 "Project-Id-Version: PACKAGE VERSION\n" 10 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2013-11-1 3 21:53+0100\n"11 "POT-Creation-Date: 2013-11-17 10:17+0100\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 51 51 msgid "" 52 52 "The Tracer2Server version isn''t compatible with this plugin. Please " 53 "download version {0} from" 53 "download version {0} from\n" 54 "{1}." 54 55 msgstr "" 55 56 … … 65 66 #, java-format 66 67 msgid "" 67 "New version of Tracer2Server is ava libel. For best results please upgrade to"68 " version {0}."68 "New version of Tracer2Server is available. For best results please upgrade " 69 "to version {0}." 69 70 msgstr "" 70 71 … … 74 75 75 76 #: ..\src\org\openstreetmap\josm\plugins\tracer2\TracerAction.java:248 76 msgid "No set of parameter is activ !"77 msgid "No set of parameter is active!" 77 78 msgstr "" 78 79 … … 83 84 #: ..\src\org\openstreetmap\josm\plugins\tracer2\TracerAction.java:333 84 85 #, java-format 85 msgid "Tracer2 add a Way with {0} points"86 msgid "Tracer2: add a way with {0} points" 86 87 msgstr "" 87 88 88 89 #: ..\src\org\openstreetmap\josm\plugins\tracer2\TracerAction.java:335 89 90 #, java-format 90 msgid "Tracer2 modified Way to {0} points"91 msgid "Tracer2: modify way to {0} points" 91 92 msgstr "" 92 93 … … 194 195 195 196 #: ..\src\org\openstreetmap\josm\plugins\tracer2\server\Request.java:55 196 msgid "" 197 "Tracer2Server isn''t running. Pleas start the Server.\n" 198 "If you don''t have the Server please download it at\n" 199 "http://sourceforge.net/projects/tracer2server/." 197 #, java-format 198 msgid "" 199 "Tracer2Server isn''t running. Please start the Server.\n" 200 "If you don''t have the server, please download it from\n" 201 "{1}." 200 202 msgstr "" 201 203 202 204 #: ..\src\org\openstreetmap\josm\plugins\tracer2\server\Request.java:59 203 msgid "Tracer2Server has nothing found."205 msgid "Tracer2Server hasn''t found anything." 204 206 msgstr "" 205 207 206 208 #: ..\src\org\openstreetmap\josm\plugins\tracer2\server\Request.java:73 207 msgid "Tracer2Server has an Error detected."208 msgstr "" 209 msgid "Tracer2Server has detected an error." 210 msgstr "" -
applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/server/GetVersion.java
r30047 r30053 23 23 public int m_nVersionMajor = -1; 24 24 public int m_nVersionMinor = -1; 25 public int m_nVersionBuild = -1; 26 public int m_nVersionRevision = -1; 25 27 26 28 /** … … 46 48 47 49 String[] astrParts = strResponse.split(":"); 48 if (astrParts.length !=2) {50 if (astrParts.length < 2) { 49 51 return; 50 52 } 51 i ntnMajor = Integer.parseInt(astrParts[0]);52 i ntnMinor = Integer.parseInt(astrParts[1]);53 m_nVersionMajor = nMajor;54 m_nVersionMinor = nMinor;53 if (astrParts.length > 0) m_nVersionMajor = Integer.parseInt(astrParts[0]); 54 if (astrParts.length > 1) m_nVersionMinor = Integer.parseInt(astrParts[1]); 55 if (astrParts.length > 2) m_nVersionBuild = Integer.parseInt(astrParts[2]); 56 if (astrParts.length > 3) m_nVersionMinor = Integer.parseInt(astrParts[3]); 55 57 } catch (Exception e) { 56 58 }
Note:
See TracChangeset
for help on using the changeset viewer.