Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/2258524/?format=api
https://translate.checkmk.com/api/translations/checkmk/dev/de/?format=api", "source": [ "<p>The process name may contain one or more occurrences of <tt>%s</tt>. If you do this, then the pattern must be a regular expression and be prefixed with ~. For each <tt>%s</tt> in the description, the expression has to contain one \"group\". A group is a subexpression enclosed in brackets, for example <tt>(.*)</tt> or <tt>([a-zA-Z]+)</tt> or <tt>(...)</tt>. When the inventory finds a process matching the pattern, it will substitute all such groups with the actual values when creating the check. That way one rule can create several checks on a host.</p><p>If the pattern contains more groups then occurrences of <tt>%s</tt> in the service name then only the first matching subexpressions are used for the service names. The matched substrings corresponding to the remaining groups are copied into the regular expression, nevertheless.</p><p>As an alternative to <tt>%s</tt> you may also use <tt>%1</tt>, <tt>%2</tt>, etc. These will be replaced by the first, second, ... matching group. This allows you to reorder things." ], "previous_source": "", "target": [ "<p>Der Prozessname kann ein oder mehrere Vorkommen von <tt>%s</tt> enthalten. Wenn Sie dies tun, muss das Pattern ein regulärer Ausdruck sein und mit ~ beginnen. Für jedes <tt>%s</tt> in der Beschreibung muss der Ausdruck eine „Gruppe“ enthalten. Eine Gruppe ist ein in Klammern eingeschlossener Unterausdruck, zum Beispiel <tt>(.*)</tt> oder <tt>([a-zA-Z]+)</tt> oder <tt>(...)</tt>. Wenn das Inventar einen Prozess findet, der dem Pattern entspricht, werden bei der Erstellung des Checks alle derartigen Gruppen durch die tatsächlichen Werte ersetzt. Auf diese Weise kann eine Regel mehrere Checks auf einem Host erstellen.</p><p>Wenn das Pattern mehr Gruppen als Vorkommen von <tt>%s</tt> im Service-Namen enthält, werden nur die ersten übereinstimmenden Unterausdrücke für die Service-Namen verwendet. Die übereinstimmenden Teilzeichenketten, die den übrigen Gruppen entsprechen, werden jedoch in den regulären Ausdruck übernommen.</p><p>Alternativ zu <tt>%s</tt> können Sie auch <tt>%1</tt>, <tt>%2</tt> usw. verwenden. Diese werden dann durch die erste, zweite, ... passende Gruppe ersetzt. So können Sie Dinge neu anordnen." ], "id_hash": -3697508394368619514, "content_hash": -3697508394368619514, "location": "cmk/gui/plugins/wato/check_parameters/ps.py:445", "context": "", "note": "", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 388, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 158, "source_unit": "https://translate.checkmk.com/api/units/2258443/?format=api", "priority": 100, "id": 2258524, "web_url": "https://translate.checkmk.com/translate/checkmk/dev/de/?checksum=4cafcfb49fa22c06", "url": "https://translate.checkmk.com/api/units/2258524/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-08-13T05:02:44.220332Z" }{ "translation": "