Changeset 22204 in osm for applications
- Timestamp:
- 2010-07-06T17:42:20+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/validator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/validator/build.xml
r22065 r22204 26 26 ** update before publishing 27 27 --> 28 <property name="commit.message" value=" fixed josm bug 4220" />28 <property name="commit.message" value="i18n fix" /> 29 29 <property name="plugin.main.version" value="3289" /> 30 30 -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/UntaggedNode.java
r22043 r22204 74 74 String value = tag.getValue(); 75 75 if (contains(tag, "fixme") || contains(tag, "FIXME")) { 76 String msg = marktr("Has tag containing ''fixme'' or ''FIXME''"); // translation note: don't translate quoted words 76 /* translation note: don't translate quoted words */ 77 String msg = marktr("Has tag containing ''fixme'' or ''FIXME''"); 77 78 errors.add(new TestError(this, Severity.OTHER, tr("Unconnected nodes without physical tags"), 78 79 tr(msg), msg, UNTAGGED_NODE_FIXME, n)); … … 83 84 int code = 0; 84 85 if (key.startsWith("note") || key.startsWith("comment") || key.startsWith("description")) { 85 msg = marktr("Has key ''note'' or ''comment'' or ''description''"); // translation note: don't translate quoted words 86 /* translation note: don't translate quoted words */ 87 msg = marktr("Has key ''note'' or ''comment'' or ''description''"); 86 88 code = UNTAGGED_NODE_NOTE; 87 89 } else if (key.startsWith("created_by") || key.startsWith("converted_by")) { 88 msg = marktr("Has key ''created_by'' or ''converted_by''"); // translation note: don't translate quoted words 90 /* translation note: don't translate quoted words */ 91 msg = marktr("Has key ''created_by'' or ''converted_by''"); 89 92 code = UNTAGGED_NODE_CREATED_BY; 90 93 } else if (key.startsWith("watch")) { 91 msg = marktr("Has key ''watch''"); // translation note: don't translate quoted words 94 /* translation note: don't translate quoted words */ 95 msg = marktr("Has key ''watch''"); 92 96 code = UNTAGGED_NODE_WATCH; 93 97 } else if (key.startsWith("source")) { 94 msg = marktr("Has key ''source''"); // translation note: don't translate quoted words 98 /* translation note: don't translate quoted words */ 99 msg = marktr("Has key ''source''"); 95 100 code = UNTAGGED_NODE_SOURCE; 96 101 }
Note:
See TracChangeset
for help on using the changeset viewer.