Units API.

See the Weblate's Web API documentation for detailed description of the API.

GET /api/units/1440590/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://translate.checkmk.com/api/translations/checkmk/dev/ro/?format=api",
    "source": [
        "<p>You can define one or several patterns (regular expressions) in each logfile pattern rule. These patterns are applied to the selected logfiles to reclassify the matching log messages. The first pattern which matches a line will be used for reclassifying a message. You can use the <a href=\"wato.py?mode=pattern_editor\">Logfile pattern analyzer</a> to test the rules you defined here.</p><p>Note that to match a special regex character in your patterns, you need to use a backslash to escape its special meaning. This is especially relevant for Windows file paths. For example, to match the Windows path \"C:\\Users\\amdin\\Desktop\", enter \"C:\\\\Users\\\\admin\\\\Desktop\".</p><p>Select \"Ignore\" as state to get the matching logs deleted. Other states will keep the log entries but reclassify the state of them.</p>"
    ],
    "previous_source": "",
    "target": [
        "<p>Puteți defini unul sau mai multe modele (expresii regulate) în fiecare regulă de model de fișier jurnal. Aceste modele se aplică fișierelor de jurnal selectate pentru a reclasifica mesajele de jurnal corespunzătoare. Primul model care se potrivește cu o linie va fi utilizat pentru reclasificarea unui mesaj. Puteți utiliza <a href=\"wato.py?mode=pattern_editor\">Logfile Pattern Analyzer</a> pentru a testa regulile pe care le-ați definit aici. </p><p>Rețineți că pentru a potrivi un caracter regex special în tiparele dumneavoastră, trebuie să utilizați o backslash pentru a scăpa semnificația sa specială. Acest lucru este relevant în special pentru căile de acces la fișiere Windows. De exemplu, pentru a se potrivi cu calea Windows \"C:\\Users\\amdin\\Desktop\", introduceți \"C:\\Users\\\\admin\\\\\\Desktop\". </p><p>Selectați \"Ignore\" ca stare pentru ca jurnalele care se potrivesc să fie șterse. Alte stări vor păstra intrările din jurnale, dar vor reclasifica starea acestora.</p>."
    ],
    "id_hash": 466412338260445432,
    "content_hash": 466412338260445432,
    "location": "cmk/gui/mkeventd/_rulespecs.py:71",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 393,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 118,
    "source_unit": "https://translate.checkmk.com/api/units/1151956/?format=api",
    "priority": 100,
    "id": 1440590,
    "web_url": "https://translate.checkmk.com/translate/checkmk/dev/ro/?checksum=8679078cecdf88f8",
    "url": "https://translate.checkmk.com/api/units/1440590/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-05-06T07:46:43.397168Z"
}