Units API.

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

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

{
    "translation": "https://l10n.opensuse.org/api/translations/packages-i18n/perl-master/ja/?format=api",
    "source": [
        "This module provides a syntax plugin that implements exception-handling semantics in a form familiar to users of other languages, being built on a block labeled with the 'try' keyword, followed by at least one of a 'catch' or 'finally' block.\n\nAs well as providing a handy syntax for this useful behaviour, this module also serves to contain a number of code examples for how to implement parser plugins and manipulate optrees to provide new syntax and behaviours for perl code.\n\nSyntax similar to this module has now been added to core perl, starting at version 5.34.0. If you are writing new code, it is suggested that you instead use the Feature::Compat::Try module instead, as that will enable the core feature on those supported perl versions, falling back to 'Syntax::Keyword::Try' on older perls."
    ],
    "previous_source": "This module provides a syntax plugin that implements exception-handling semantics in a form familiar to users of other languages, being built on a block labeled with the 'try' keyword, followed by at least one of a 'catch' or 'finally' block.\n\nAs well as providing a handy syntax for this useful behaviour, this module also serves to contain a number of code examples for how to implement parser plugins and manipulate optrees to provide new syntax and behaviours for perl code.",
    "target": [
        "このモジュールは、他の言語のユーザになじみのある形式で例外処理セマンティクスを実装する構文プラグインを提供します。この形式は、「try」キーワードでラベル付けされたブロック上に構築され、その後に「catch」または「finally」ブロックの少なくとも1つが続きます。\n\nこの便利な動作のための便利な構文を提供するだけでなく、このモジュールには、パーサープラグインの実装方法や、perlコード用の新しい構文と動作を提供するためのoptreesの操作方法に関する多数のコード例が含まれています。\n\nこのモジュールに似た構文が、バージョン5.34.0以降のcore perlに追加されました。新しいコードを作成する場合は、代わりにFeature::Compat::Tryモジュールを使用することをお勧めします。これにより、サポートされているバージョンのperlではコア機能が有効になり、古いバージョンでは「Syntax::Keyword::Try」に戻ります。"
    ],
    "id_hash": 7380840785913676187,
    "content_hash": 7380840785913676187,
    "location": "",
    "context": "",
    "note": "tumbleweed/perl-Syntax-Keyword-Try/description",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 2760,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 132,
    "source_unit": "https://l10n.opensuse.org/api/units/13182545/?format=api",
    "priority": 100,
    "id": 13184019,
    "web_url": "https://l10n.opensuse.org/translate/packages-i18n/perl-master/ja/?checksum=e66e0396e419819b",
    "url": "https://l10n.opensuse.org/api/units/13184019/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-02-23T16:53:45.568556Z"
}