Changeset 9854 in osm
- Timestamp:
- 2008-08-15T13:47:07+02:00 (16 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/lang/de/de.po
r9732 r9854 12 12 "Project-Id-Version: de\n" 13 13 "Report-Msgid-Bugs-To: \n" 14 "POT-Creation-Date: 2008-08-1 2 18:22+0200\n"15 "PO-Revision-Date: 2008-08-1 2 18:26+0200\n"14 "POT-Creation-Date: 2008-08-15 13:29+0200\n" 15 "PO-Revision-Date: 2008-08-15 13:37+0200\n" 16 16 "Last-Translator: Dirk Stöcker <lang@dstoecker.de>\n" 17 17 "Language-Team: \n" … … 353 353 #: ../colorscheme/src/at/dallermassl/josm/plugin/colorscheme/ColorSchemePreference.java:93 354 354 #: ../wmsplugin/src/wmsplugin/WMSPreferenceEditor.java:75 355 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:50 8355 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:507 356 356 msgid "Delete" 357 357 msgstr "Löschen" … … 410 410 411 411 #: ../../core/src/org/openstreetmap/josm/gui/dialogs/LayerListDialog.java:77 412 #: ../../core/src/org/openstreetmap/josm/Main.java:41 4412 #: ../../core/src/org/openstreetmap/josm/Main.java:415 413 413 msgid "Unsaved Changes" 414 414 msgstr "Daten nicht gespeichert" … … 484 484 #: ../../core/src/org/openstreetmap/josm/actions/HelpAction.java:105 485 485 #: ../grid/src/grid/GridPlugin.java:43 ../grid/src/grid/GridPlugin.java:49 486 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:47 7486 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:476 487 487 msgid "Edit" 488 488 msgstr "Bearbeiten" … … 568 568 #: ../../core/src/org/openstreetmap/josm/gui/preferences/AdvancedPreference.java:116 569 569 #: ../../core/src/org/openstreetmap/josm/gui/preferences/TaggingPresetPreference.java:65 570 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:49 6570 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:495 571 571 msgid "Please select the row to edit." 572 572 msgstr "Bitte wählen sie eine Zeile zum Bearbeiten." … … 576 576 #: ../../core/src/org/openstreetmap/josm/gui/preferences/TaggingPresetPreference.java:80 577 577 #: ../wmsplugin/src/wmsplugin/WMSPreferenceEditor.java:80 578 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:51 2578 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:511 579 579 msgid "Please select the row to delete." 580 580 msgstr "Bitte wählen Sie die zu löschende Zeile." … … 588 588 #: ../colorscheme/src/at/dallermassl/josm/plugin/colorscheme/ColorSchemePreference.java:79 589 589 #: ../wmsplugin/src/wmsplugin/WMSPreferenceEditor.java:55 590 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:46 7590 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:466 591 591 msgid "Add" 592 592 msgstr "Hinzufügen" … … 1626 1626 1627 1627 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:26 1628 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:10 31628 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:104 1629 1629 msgid "Only interesting direction hints (e.g. with oneway tag)." 1630 1630 msgstr "Nur interessante Richtungspfeile (z.B. bei Einbahnstraßen)." … … 1642 1642 msgstr "Zeichne inaktive Ebenen in anderer Farbe" 1643 1643 1644 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:43 1644 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:30 1645 msgid "Smooth map graphics (antialiasing)" 1646 msgstr "Glätten der Kartengrafik (Anti-Aliasing)" 1647 1648 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:44 1645 1649 msgid "" 1646 1650 "If your gps device draw too few lines, select this to draw lines along your " … … 1650 1654 "werden um die Linien entlang des Weges zu vervollständigen." 1651 1655 1652 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:4 81656 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:49 1653 1657 msgid "Maximum length (in meters) to draw lines. Set to '-1' to draw all lines." 1654 1658 msgstr "Maximallänge zum Linienzeichnen (in Meter). Für alle Linien auf -1 setzen." 1655 1659 1656 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:5 01660 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:51 1657 1661 msgid "Maximum length (meters)" 1658 1662 msgstr "Maximallänge (Meter)" 1659 1663 1660 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:5 41664 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:55 1661 1665 msgid "Force drawing of lines if the imported data contain no line information." 1662 1666 msgstr "" … … 1664 1668 "Informationen enthalten." 1665 1669 1666 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:6 51670 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:66 1667 1671 msgid "Draw direction arrows for lines, connecting GPS points." 1668 1672 msgstr "Zeichne Richtunspfeile für Linien zwischen GPS-Punkten." 1669 1673 1670 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:7 11674 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:72 1671 1675 msgid "Draw the direction arrows using table lookups instead of complex math." 1672 1676 msgstr "" … … 1674 1678 "Mathematik." 1675 1679 1676 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:7 81680 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:79 1677 1681 msgid "Choose the hue for the track color by the velocity at that point." 1678 1682 msgstr "Farbton einer GPS-Spur abhängig von der Geschwindigkeit wählen." 1679 1683 1680 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:8 41684 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:85 1681 1685 msgid "Draw larger dots for the GPS points." 1682 1686 msgstr "Zeichnet größere Punkte für GPS-Punkte." 1683 1687 1684 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:9 81688 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:99 1685 1689 msgid "Draw direction hints for way segments." 1686 1690 msgstr "Zeichne Richtungspfeile für Abschnitte." 1687 1691 1688 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:1 091692 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:110 1689 1693 msgid "Draw the order numbers of all segments within their way." 1690 1694 msgstr "Zeige die Ordnungsnummer für alle Abschnitte innerhalb des Weges." 1691 1695 1692 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:114 1696 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:115 1697 msgid "Apply antialiasing to the map view resulting in a smoother appearance." 1698 msgstr "Anti-Aliasing in der kartenanzeige nutzen, um ein gefälligeres Aussehen zu erreichen." 1699 1700 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:120 1693 1701 msgid "Draw the boundaries of data loaded from the server." 1694 1702 msgstr "Grenze des vom OSM Server geladenen Bereichs anzeigen." 1695 1703 1696 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:1 191704 #: ../../core/src/org/openstreetmap/josm/gui/preferences/DrawingPreference.java:125 1697 1705 msgid "Draw the inactive data layers in a different color." 1698 1706 msgstr "Zeichne inaktive Datenebenen in einer anderen Farbe." … … 1961 1969 1962 1970 #: ../../core/src/org/openstreetmap/josm/gui/preferences/TaggingPresetPreference.java:91 1963 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:52 31971 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:522 1964 1972 msgid "Delete the selected source from the list." 1965 1973 msgstr "Ausgewählte Quelle löschen." … … 2018 2026 msgstr "Drahtdarstellung" 2019 2027 2020 #: ../../core/src/org/openstreetmap/josm/gui/MapView.java:14 12028 #: ../../core/src/org/openstreetmap/josm/gui/MapView.java:143 2021 2029 #: ../../core/src/org/openstreetmap/josm/gui/MainApplication.java:168 2022 2030 msgid "Java OpenStreetMap - Editor" 2023 2031 msgstr "Java OpenStreetMap - Editor" 2024 2032 2025 #: ../../core/src/org/openstreetmap/josm/gui/MapView.java:19 02033 #: ../../core/src/org/openstreetmap/josm/gui/MapView.java:192 2026 2034 msgid "layer not in list." 2027 2035 msgstr "Ebene nicht in der Liste." … … 2380 2388 "information:</html>" 2381 2389 msgstr "" 2382 "<html>Bitte melden Sie einen Fehler unter: {0}<br> " 2383 " Fügen Sie eine (möglichstausführliche) Beschreibung der zum Reproduzieren notwendigen Schritte bei.<br>"2384 "Stellen Sie sicher, dass folgende Informationen enthalten sind:</html>" 2390 "<html>Bitte melden Sie einen Fehler unter: {0}<br> Fügen Sie eine (möglichst " 2391 "ausführliche) Beschreibung der zum Reproduzieren notwendigen Schritte bei." 2392 "<br> Stellen Sie sicher, dass folgende Informationen enthalten sind:</html>" 2385 2393 2386 2394 #: ../../core/src/org/openstreetmap/josm/tools/BugReportExceptionHandler.java:133 … … 2428 2436 "EPSG:4263." 2429 2437 2430 #: ../../core/src/org/openstreetmap/josm/Main.java:41 12438 #: ../../core/src/org/openstreetmap/josm/Main.java:412 2431 2439 msgid "Hint: Some changes came from uploading new data to the server." 2432 2440 msgstr "Hinweis: Einige Änderungen sind durch das Übertragen zum Server enstanden." 2433 2441 2434 #: ../../core/src/org/openstreetmap/josm/Main.java:41 32442 #: ../../core/src/org/openstreetmap/josm/Main.java:414 2435 2443 msgid "There are unsaved changes. Discard the changes and continue?" 2436 2444 msgstr "Es gibt ungesicherte Daten. Änderungen verwerfen und wirklich beenden?" 2437 2445 2438 #: ../../core/src/org/openstreetmap/josm/Main.java:42 62446 #: ../../core/src/org/openstreetmap/josm/Main.java:427 2439 2447 #, java-format 2440 2448 msgid "Ignoring malformed url: \"{0}\"" 2441 2449 msgstr "Ingnoriere die ungültige URL: \"{0}\"" 2442 2450 2443 #: ../../core/src/org/openstreetmap/josm/Main.java:4 392451 #: ../../core/src/org/openstreetmap/josm/Main.java:440 2444 2452 #, java-format 2445 2453 msgid "Ignoring malformed file url: \"{0}\"" … … 3591 3599 msgstr "Raster Ebene:" 3592 3600 3593 #: ../lang/validator.java: 283601 #: ../lang/validator.java:38 3594 3602 msgid "oneway tag on a node" 3595 3603 msgstr "Einbahnschlüssel auf einem Knoten" 3596 3604 3597 #: ../lang/validator.java:29 ../lang/validator.java:30 3605 #: ../lang/validator.java:39 3606 msgid "bridge tag on a node" 3607 msgstr "Brückenschlüssel auf einem Knoten" 3608 3609 #: ../lang/validator.java:40 ../lang/validator.java:41 3610 #: ../lang/validator.java:42 ../lang/validator.java:43 3611 #: ../lang/validator.java:44 3598 3612 msgid "wrong highway tag on a node" 3599 3613 msgstr "Falscher Straßenschlüssel auf einem Knoten" 3600 3614 3601 #: ../lang/validator.java: 31../lang/validator.java:323615 #: ../lang/validator.java:45 ../lang/validator.java:46 3602 3616 msgid "highway without a reference" 3603 3617 msgstr "Straße ohne Referenznummer" 3618 3619 #: ../lang/validator.java:47 3620 msgid "misspelled key name" 3621 msgstr "Falschgeschriebener Schlüssel: name" 3604 3622 3605 3623 #: ../lang/presets.java:11 … … 7045 7063 msgstr "Ähnlich benannte Wege" 7046 7064 7047 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:13 07065 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:135 7048 7066 msgid "Properties checker :" 7049 7067 msgstr "Eigenschaftsprüfer:" 7050 7068 7051 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:13 17069 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:136 7052 7070 msgid "This plugin checks for errors in property keys and values." 7053 7071 msgstr "Dieses Plugin prüft auf Fehler in Schlüsseln und Werten" 7054 7072 7055 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:225 7073 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:207 7074 #, java-format 7075 msgid "Invalid tagchecker line - {0}: {1}" 7076 msgstr "Ungültige Schlüsselprüferzeile - {0}: {1}" 7077 7078 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:220 7079 #, java-format 7080 msgid "Invalid spellcheck line: {0}" 7081 msgstr "Ungülte Rechtschreibprüferzeile: {0}" 7082 7083 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:227 7056 7084 #, java-format 7057 7085 msgid "" … … 7062 7090 "{0}" 7063 7091 7064 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:2 787092 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:280 7065 7093 msgid "Illegal tag/value combinations" 7066 7094 msgstr "Ungültige Schlüssel/Wert-Kombinationen" 7067 7095 7068 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:29 37096 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:295 7069 7097 msgid "Tags with empty values" 7070 7098 msgstr "Tags mit leerem Wert" 7071 7099 7072 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:29 47073 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:30 07074 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:30 67075 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:31 27076 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:32 17100 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:296 7101 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:302 7102 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:308 7103 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:314 7104 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:323 7077 7105 #, java-format 7078 7106 msgid "Key ''{0}'' invalid." 7079 7107 msgstr "Schlüssel \"{0}\" ungültig." 7080 7108 7081 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java: 2997109 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:301 7082 7110 msgid "Invalid property key" 7083 7111 msgstr "Ungültiger Schlüssel" 7084 7112 7085 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:30 57113 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:307 7086 7114 msgid "Invalid white space in property key" 7087 7115 msgstr "Ungültiger Leerraum in Schlüssel" 7088 7116 7089 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:31 17117 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:313 7090 7118 msgid "Property values start or end with white space" 7091 7119 msgstr "Werte beginnen oder enden mit Leerraum" 7092 7120 7093 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:32 07121 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:322 7094 7122 msgid "Unknown property values" 7095 7123 msgstr "Unbekannter Werte" 7096 7124 7097 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:33 07125 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:332 7098 7126 msgid "FIXMES" 7099 7127 msgstr "FIXMEs" … … 7115 7143 msgstr "Prüft die Gültigkeit von Werten und Schlüsseln anhand von komplexen Regeln." 7116 7144 7117 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:4 707118 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:4 907119 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java: 5007145 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:469 7146 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:489 7147 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:499 7120 7148 msgid "TagChecker source" 7121 7149 msgstr "Schlüsselprüferdatenquellen" 7122 7150 7123 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:5 207151 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:519 7124 7152 msgid "" 7125 7153 "The sources (url or filename) of spell check (see http://wiki.openstreetmap." … … 7129 7157 "openstreetmap.org/index.php/User:JLS/speller) oder Schlüsselprüfung." 7130 7158 7131 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:52 17159 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:520 7132 7160 msgid "Add a new source to the list." 7133 7161 msgstr "Eine neue Quelle zur Liste hinzufügen." 7134 7162 7135 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:52 27163 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:521 7136 7164 msgid "Edit the selected source." 7137 7165 msgstr "Ausgewählte Quelle bearbeiten." 7138 7166 7139 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:52 57167 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:524 7140 7168 msgid "Data sources" 7141 7169 msgstr "Datenquellen" 7142 7170 7143 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:54 57171 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:544 7144 7172 msgid "Check property values." 7145 7173 msgstr "Werte überprüfen." 7146 7174 7147 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:54 67175 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:545 7148 7176 msgid "Validate that property values are valid checking against presets." 7149 7177 msgstr "Prüft die Gültigkeit von Werten anhand von Presets." 7150 7178 7151 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:55 37179 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:552 7152 7180 msgid "Check for FIXMES." 7153 7181 msgstr "Prüfe auf FIXMEs" 7154 7182 7155 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:55 47183 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:553 7156 7184 msgid "Looks for nodes or ways with FIXME in any property value." 7157 7185 msgstr "" … … 7159 7187 "haben." 7160 7188 7161 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:56 17189 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:560 7162 7190 msgid "Use default data file." 7163 7191 msgstr "Standarddatendatei nutzen." 7164 7192 7165 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:56 27193 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:561 7166 7194 msgid "Use the default data file (recommended)." 7167 7195 msgstr "Nutzung der Standarddatendatei (empfohlen)." 7168 7196 7169 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:56 57197 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:564 7170 7198 msgid "Use default spellcheck file." 7171 7199 msgstr "Standarddatei für Schreibprüfung nutzen." 7172 7200 7173 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:56 67201 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:565 7174 7202 msgid "Use the default spellcheck file (recommended)." 7175 7203 msgstr "Nutzung der Standarddatei für die Schreibfehlerprüfung (empfohlen)." 7176 7204 7177 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:64 87205 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:647 7178 7206 msgid "Fix properties" 7179 7207 msgstr "Eigenschaften korrigieren" 7180 7208 7181 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:29 7209 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:756 7210 msgid "Could not find element type" 7211 msgstr "Konnte Elementtyp nicht finden" 7212 7213 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:773 7214 msgid "Could not find warning level" 7215 msgstr "Konnte Warnlevel nicht finden" 7216 7217 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:782 7218 #, java-format 7219 msgid "Illegal expression ''{0}''" 7220 msgstr "Ungültiger Ausdruck \"{0}\"" 7221 7222 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java:786 7223 #, java-format 7224 msgid "Illegal regular expression ''{0}''" 7225 msgstr "Ungültiger regulärer Ausdruck \"{0}\"" 7226 7227 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:30 7182 7228 msgid "Unclosed Ways." 7183 7229 msgstr "Nicht geschlossene Wege." 7184 7230 7185 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:3 07231 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:31 7186 7232 msgid "This tests if ways which should be circular are closed." 7187 7233 msgstr "Testen ob zu schließende Wege korrekt geschlossen sind." 7188 7234 7189 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:6 07235 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:61 7190 7236 #, java-format 7191 7237 msgid "natural type {0}" 7192 7238 msgstr "Naturflächentyp {0}" 7193 7239 7194 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:6 77240 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:68 7195 7241 #, java-format 7196 7242 msgid "landuse type {0}" 7197 7243 msgstr "Landnutzungstyp {0}" 7198 7244 7199 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:7 47245 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:75 7200 7246 #, java-format 7201 7247 msgid "amenities type {0}" 7202 7248 msgstr "Einrichtungstyp {0}" 7203 7249 7204 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:8 17250 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:82 7205 7251 #, java-format 7206 7252 msgid "sport type {0}" 7207 7253 msgstr "Sportart {0}" 7208 7254 7209 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:8 87255 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:89 7210 7256 #, java-format 7211 7257 msgid "tourism type {0}" 7212 7258 msgstr "Tourismustyp {0}" 7213 7259 7214 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:9 57260 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:96 7215 7261 #, java-format 7216 7262 msgid "shop type {0}" 7217 7263 msgstr "Geschäftstyp {0}" 7218 7264 7219 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:10 27265 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:103 7220 7266 #, java-format 7221 7267 msgid "leisure type {0}" 7222 7268 msgstr "Erholungstyp {0}" 7223 7269 7224 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:1 097270 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:110 7225 7271 #, java-format 7226 7272 msgid "waterway type {0}" 7227 7273 msgstr "Wasserstraßentyp {0}" 7228 7274 7229 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:11 67275 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:117 7230 7276 msgid "building" 7231 7277 msgstr "Gebäude" 7232 7278 7233 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:12 37279 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:124 7234 7280 msgid "area" 7235 7281 msgstr "Fläche" 7236 7282 7237 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:13 67283 #: ../validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java:137 7238 7284 msgid "Unclosed way" 7239 7285 msgstr "Nicht geschlossener Weg" -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/TagChecker.java
r9755 r9854 42 42 import org.openstreetmap.josm.data.osm.Node; 43 43 import org.openstreetmap.josm.data.osm.OsmPrimitive; 44 import org.openstreetmap.josm.data.osm.OsmUtils; 45 import org.openstreetmap.josm.data.osm.Relation; 44 46 import org.openstreetmap.josm.data.osm.Way; 45 47 import org.openstreetmap.josm.gui.preferences.TaggingPresetPreference; … … 121 123 protected static int INVALID_SPACE = 1204; 122 124 protected static int INVALID_KEY_SPACE = 1205; 123 protected static int TAG_CHECK = 1206;125 /** 1250 and up is used by tagcheck */ 124 126 125 127 /** List of sources for spellcheck data */ … … 276 278 if(d.match(p)) 277 279 { 278 errors.add( new TestError(this, Severity .WARNING, tr("Illegal tag/value combinations"),279 d.getDescription(), TAG_CHECK, p) );280 errors.add( new TestError(this, d.getSeverity(), tr("Illegal tag/value combinations"), 281 d.getDescription(), d.getCode(), p) ); 280 282 withErrors.add(p, "TC"); 281 283 break; … … 662 664 private List<CheckerElement> data = new ArrayList<CheckerElement>(); 663 665 private Integer type = 0; 666 private Integer code; 667 protected Severity severity; 664 668 protected static int NODE = 1; 665 669 protected static int WAY = 2; 666 protected static int ALL = 3; 670 protected static int RELATION = 3; 671 protected static int ALL = 4; 672 protected static int TAG_CHECK_ERROR = 1250; 673 protected static int TAG_CHECK_WARN = 1260; 674 protected static int TAG_CHECK_INFO = 1270; 667 675 668 676 private class CheckerElement { … … 672 680 public Boolean tagAll = false; 673 681 public Boolean valueAll = false; 682 public Boolean valueBool = false; 674 683 private Pattern getPattern(String str) throws IllegalStateException, PatternSyntaxException 675 684 { … … 694 703 if(n.equals("*")) 695 704 valueAll = true; 705 else if(n.equals("BOOLEAN_TRUE")) 706 { 707 valueBool = true; 708 value = OsmUtils.trueval; 709 } 710 else if(n.equals("BOOLEAN_FALSE")) 711 { 712 valueBool = true; 713 value = OsmUtils.falseval; 714 } 696 715 else 697 716 value = n.startsWith("/") ? getPattern(n) : n; 698 717 } 699 public Boolean match(String key, String val) 700 { 701 Boolean tagtrue = tagAll || (tag instanceof Pattern ? ((Pattern)tag).matcher(key).matches() : key.equals(tag)); 702 Boolean valtrue = valueAll || (value instanceof Pattern ? ((Pattern)value).matcher(val).matches() : val.equals(value)); 703 return tagtrue && (noMatch ? !valtrue : valtrue); 718 public Boolean match(OsmPrimitive osm) 719 { 720 for(Entry<String, String> prop: osm.keys.entrySet()) 721 { 722 String key = prop.getKey(); 723 String val = valueBool ? OsmUtils.getNamedOsmBoolean(prop.getValue()) : prop.getValue(); 724 if((tagAll || (tag instanceof Pattern ? ((Pattern)tag).matcher(key).matches() : key.equals(tag))) 725 && (valueAll || (value instanceof Pattern ? ((Pattern)value).matcher(val).matches() : val.equals(value)))) 726 return !noMatch; 727 } 728 return noMatch; 704 729 } 705 730 }; … … 719 744 description = null; 720 745 } 721 String[] n = str.split(" *: *", 2);746 String[] n = str.split(" *: *", 3); 722 747 if(n[0].equals("way")) 723 748 type = WAY; 724 749 else if(n[0].equals("node")) 725 750 type = NODE; 751 else if(n[0].equals("relation")) 752 type = RELATION; 726 753 else if(n[0].equals("*")) 727 754 type = ALL; 728 if(type == 0 || n.length != 2)755 if(type == 0 || n.length != 3) 729 756 return tr("Could not find element type"); 730 for(String exp: n[1].split(" *&& *")) 757 if(n[1].equals("W")) 758 { 759 severity = Severity.WARNING; 760 code = TAG_CHECK_WARN; 761 } 762 else if(n[1].equals("E")) 763 { 764 severity = Severity.ERROR; 765 code = TAG_CHECK_ERROR; 766 } 767 else if(n[1].equals("I")) 768 { 769 severity = Severity.OTHER; 770 code = TAG_CHECK_INFO; 771 } 772 else 773 return tr("Could not find warning level"); 774 for(String exp: n[2].split(" *&& *")) 731 775 { 732 776 try … … 747 791 public Boolean match(OsmPrimitive osm) 748 792 { 749 if(osm.keys == null) 793 if(osm.keys == null || (type == NODE && !(osm instanceof Node)) 794 || (type == RELATION && !(osm instanceof Relation)) || (type == WAY && !(osm instanceof Way))) 750 795 return false; 751 796 for(CheckerElement ce : data) 752 797 { 753 Boolean result = false; 754 for(Entry<String, String> prop: osm.keys.entrySet()) 755 { 756 if(result = ce.match(prop.getKey(), prop.getValue())) 757 break; 758 } 759 if(!result) 798 if(!ce.match(osm)) 760 799 return false; 761 800 } … … 766 805 return tr(description); 767 806 } 807 public Severity getSeverity() 808 { 809 return severity; 810 } 811 public int getCode() 812 { 813 return code + type; 814 } 768 815 } 769 816 } -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java
r9684 r9854 7 7 import org.openstreetmap.josm.data.osm.OsmPrimitive; 8 8 import org.openstreetmap.josm.data.osm.Way; 9 import org.openstreetmap.josm.data.osm.OsmUtils; 9 10 import org.openstreetmap.josm.data.coor.LatLon; 10 11 import org.openstreetmap.josm.plugins.validator.Severity; … … 110 111 mode = 1108; 111 112 } 112 test =w.get("building");113 if (test != null && ("true".equalsIgnoreCase(test) || "yes".equalsIgnoreCase(test) || "1".equals(test)))113 Boolean btest = OsmUtils.getOsmBoolean(w.get("building")); 114 if (btest != null && btest) 114 115 { 115 116 force = true; … … 117 118 mode = 1120; 118 119 } 119 test =w.get("area");120 if (test != null && ("true".equalsIgnoreCase(test) || "yes".equalsIgnoreCase(test) || "1".equals(test)))120 btest = OsmUtils.getOsmBoolean(w.get("area")); 121 if (btest != null && btest) 121 122 { 122 123 force = true; -
applications/editors/josm/plugins/validator/tagchecker.cfg
r9745 r9854 3 3 # format: 4 4 # each line specifies a certain error to be reported 5 # <data type>: <key><expression><value> 5 # <data type> : messagetype : <key><expression><value> 6 6 # 7 7 # data type can be: … … 11 11 # * - all data types 12 12 # 13 # message type can be: 14 # E - an error 15 # W - a warning 16 # I - an low priority informational warning 17 # 13 18 # key and value are expressions describing certain keys and values of these keys 14 19 # regulator expressions are supported. In this case the expressions starts and 15 # ends with // signs. The * sign indicates any string. 20 # ends with // signs. If an i is appended, the regular expression is 21 # case insensitive. 16 22 # 17 # expression can be: 23 # The * sign indicates any string. 24 # The texts BOOLEAN_TRUE and BOOLEAN_FALSE in the value part indicate a special 25 # handling for boolean values (yes, true, 0, false, no, ...). 26 # 27 # Expression can be: 18 28 # != - the key/value combination does not match 19 29 # == - the key/value combination does match … … 26 36 # Empty lines and space signs are ignored 27 37 28 node : oneway == * # oneway tag on a node 29 node : highway == tertiary # wrong highway tag on a node 30 node : highway == secondary # wrong highway tag on a node 31 way : highway == secondary && ref != * # highway without a reference 32 way : highway == tertiary && ref != * # highway without a reference 33 * : / *name */i == * && name != * # misspelled key 38 node : W : oneway == * # oneway tag on a node 39 node : W : bridge == BOOLEAN_TRUE # bridge tag on a node 40 node : W : highway == tertiary # wrong highway tag on a node 41 node : W : highway == secondary # wrong highway tag on a node 42 node : W : highway == residential # wrong highway tag on a node 43 node : W : highway == unclassified # wrong highway tag on a node 44 node : W : highway == track # wrong highway tag on a node 45 way : I : highway == secondary && ref != * # highway without a reference 46 way : I : highway == tertiary && ref != * # highway without a reference 47 * : W : / *name */i == * && name != * # misspelled key name
Note:
See TracChangeset
for help on using the changeset viewer.