Changes between Version 39 and Version 40 of De:TaggingPresets


Ignore:
Timestamp:
2025-01-09T14:50:10+01:00 (12 months ago)
Author:
stoecker
Comment:

A bit more

Legend:

Unmodified
Added
Removed
Modified
  • De:TaggingPresets

    v39 v40  
    137137   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.
    138138 icon="iconname"::
    139    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.
     139   Ein Name oder ein Link zu einem Symbolbild. Das Bild wird für die Anzeige in der Auswahlliste und beim Hinzufügen der Vorlage zur Symbolleiste verwendet. Bilder können auch in `<item>`, `<label />`, sowie in allen [#EntrySelectionBoxes Attributeingabe- und Auswahldialogboxen] verwendet werden (seit r17605, vorher waren es nur `<list_entry />` und `<check />`).  Es wird vor `<text />` platziert. Das Symbol sollte eine quadratische Größe haben. Siehe [wikitr:/Styles#Iconhandling Bildbehandlung] wie Bilder angegeben werden können.
    140140 icon_size="a number"::
    141    The maximal size of an icon in px. If no value is given, default is 16 for `<label />` and the default icon size for `<list_entry />` (in `<combo>` and `<multiselect>`).
     141   Die maximale Größe eines Icons in Bildpunkten. Wenn kein Wert angegeben wird, ist der Standardwert 16 für `<label />` und die Standardgröße des Symbols für `<list_entry />` (in `<combo>` und `<multiselect>`).
    142142 key="some_key"::
    143    This specifies the property key that will be modified by the item. In case of `<role>` it is the role name used in a relation.
    144  text="Any text"::
    145    The description, that will be displayed before the gui element, (in case of `<check />` after the gui element and the optional icon). Also used for `<label>` and `<optional>`.
     143   Dies gibt das Merkmal an, welches durch den Eintrag verändert wird. Im Falle von `<role>` ist es der Rollenname, der in einer Relation verwendet wird.
     144 text="Ein Text"::
     145   Die Beschreibung, die vor dem Bedienelement angezeigt wird (im Falle von `<check />` nach dem Element und dem optionalen Bild). Wird auch für `<label>` und `<optional>` verwendet.
    146146 text_context="context"::
    147    Translation context for text attribute to separate equals words with different meaning (not required for in-file translations).
     147   Übersetzungskontext für das Textattribut, um gleichbedeutende Wörter mit unterschiedlicher Bedeutung zu trennen (nicht erforderlich für dateiinterne Übersetzungen).
    148148 default="default_value"::
    149    An explicitly declared default value for the item. This value is ''only'' applied through a preset when the object the preset is applied to has ''zero keys''.
    150   If no value for default is specified, no value is set to the key. Used in `<check />`, `<text />`, `<combo />` and `<multiselect />`. For `<check />` only the values `"on"` and `"off"` are valid.
     149   Ein explizit deklarierter Standardwert für das Objekt. Dieser Wert wird ''nur'' durch eine Vorlage angewendet, wenn das Objekt, auf das die Voreinstellung angewendet wird, ''keine Merkmale'' hat.
     150   Wenn kein Wert für ''default'' angegeben wird, wird das Merkmale nicht gesetzt. Verwendet in `<check />`, `<text />`, `<combo />` und `<multiselect />`. Für `<check />` sind nur die Werte `"on"` und `"off"` gültig.
    151151 values="entry1,entry2,entry3"::
    152152   A list of entries (for the `<combo />` box and `<multiselect />`). The list has to be separated by commas (for the combo box) or by the specified delimiter (for the multiselect). If a value contains the delimiter, the delimiter may be escaped with a backslash. If a value contains a backslash, it must also be escaped with a backslash.