Changes between Version 37 and Version 38 of De:TaggingPresets


Ignore:
Timestamp:
2025-01-09T11:42:28+01:00 (16 months ago)
Author:
stoecker
Comment:

A bit more

Legend:

Unmodified
Added
Removed
Modified
  • De:TaggingPresets

    v37 v38  
    1212
    1313== Eine neue Objektvorlage erstellen ==
    14 Die Beschreibung einer Objektvorlage geschieht in einem einfachen XML Format. Details siehe [#XML unten].
     14Die Beschreibung einer Objektvorlage geschieht in einem einfachen XML-Format. Details siehe [#XML unten].
    1515
    1616Siehe **[source:/trunk/resources/data/defaultpresets.xml defaultpresets.xml]** als Beispiel, welches die meisten der unten aufgelisteten Möglichkeiten abdeckt.
     
    4242\\
    4343
    44 == XML Format Beschreibung ==#XML
     44== XML-Format Beschreibung ==#XML
    4545
    4646Das vollständige XSD-Schema ist im URI-Namensraum (http://josm.openstreetmap.de/tagging-preset-1.0) sowie [source:trunk/resources/data/tagging-preset.xsd im Quellverzeichnis] verfügbar.
     
    133133Die Attribute der Elemente haben die folgende Bedeutung:
    134134 name="a_name"::
    135    Specify a name for an item. This name will be used in the GUI to display the tagging preset.
     135   Geben Sie einen Namen für ein Element an. Dieser Name wird in der grafischen Benutzeroberfläche verwendet, um die Objektvorlage anzuzeigen.
    136136 name_context="context"::
    137    Translation context for name attribute to separate equals words with different meaning (not required for in-file translations).
     137   Übersetzungskontext für das Attribut name, um gleichbedeutende Wörter mit unterschiedlicher Bedeutung zu trennen (nicht erforderlich für dateiinterne Übersetzungen).
    138138 type="data_type"::
    139    When specified, only objects of the given type will work with this tagging preset. Can be `"node"`, `"way"`, `"closedway"`, `"multipolygon"`, `"relation"` or any comma separated combination of them. Note that `"multipolygon"` is not included in `"relation"`, so if the preset should apply for multipolygons and other relation types, you need to specify both: `"multipolygon,relation"`. Also used in the `<role>` tag to specify which object types are allowed for a specific relation member.
     139   Wenn angegeben, funktionieren nur Objekte des angegebenen Typs mit dieser Objektvorlage. Kann `"node"`, `"way"`, `"closedway"`, `"multipolygon"`, `"relation"` oder eine durch Komma getrennte Kombination davon sein. Beachten Sie, dass `"multipolygon"` nicht in `"relation"` enthalten ist: Wenn die Voreinstellung also für Multipolygone und andere Relationstypen gelten soll, müssen Sie beides angeben: `"multipolygon,relation"`. Wird auch im `<role>`-Element verwendet, um anzugeben, welche Objekttypen für ein bestimmtes Relationselement zulässig sind.
    140140 icon="iconname"::
    141141   A name or link to an icon. The image will be used as icon to display in the selection list and when adding the preset to the toolbar. Icons can also be used in  `<item>`, `<label />`, plus all [#EntrySelectionBoxes attribute entry and selection dialog boxes] (since r17605, before it was only `<list_entry />` and `<check />`).  It is placed in front of `<text />` The icon should be quadratic in size. See [wikitr:/Styles#Iconhandling Icon handling] how icons can be specified.