Ticket #784: josm-validator-better-message-unknown-property.txt

File josm-validator-better-message-unknown-property.txt, 892 bytes (added by dnaber, 18 years ago)
Line 
1Index: /home/dnaber/workspace/validator/src/org/openstreetmap/josm/plugins/validator/tests/SpellCheck.java
2===================================================================
3--- /home/dnaber/workspace/validator/src/org/openstreetmap/josm/plugins/validator/tests/SpellCheck.java (revision 7902)
4+++ /home/dnaber/workspace/validator/src/org/openstreetmap/josm/plugins/validator/tests/SpellCheck.java (working copy)
5@@ -236,7 +236,7 @@
6 }
7 if( checkKeys && spellCheckKeyData.containsKey(key) && !withErrors.contains(p, "IPK"))
8 {
9- errors.add( new TestError(this, Severity.WARNING, tr("Invalid property keys"), p, INVALID_KEY) );
10+ errors.add( new TestError(this, Severity.WARNING, tr("Invalid property key ''{0}''", key), p, INVALID_KEY) );
11 withErrors.add(p, "IPK");
12 }
13 if( checkValues && value != null && value.length() > 0 && spellCheckValueData != null)