Units API.

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

GET /api/units/13183938/?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 pragma provides an easy and convenient way to enable or disable experimental features.\n\nEvery version of perl has some number of features present but considered \"experimental.\" For much of the life of Perl 5, this was only a designation found in the documentation. Starting in Perl v5.10.0, and more aggressively in v5.18.0, experimental features were placed behind pragmata used to enable the feature and disable associated warnings.\n\nThe 'experimental' pragma exists to combine the required incantations into a single interface stable across releases of perl. For every experimental feature, this should enable the feature and silence warnings for the enclosing lexical scope:\n\n  use experimental 'feature-name';\n\nTo disable the feature and, if applicable, re-enable any warnings, use:\n\n  no experimental 'feature-name';\n\nThe supported features, documented further below, are: \n* * 'array_base' - allow the use of '$[' to change the starting index of   '@array'.\n\nThis is supported on all versions of perl. \n* * 'autoderef' - allow push, each, keys, and other built-ins on   references.\n\nThis was added in perl 5.14.0 and removed in perl 5.23.1. \n* * 'bitwise' - allow the new stringwise bit operators\n\nThis was added in perl 5.22.0. \n* * 'const_attr' - allow the :const attribute on subs\n\nThis was added in perl 5.22.0. \n* * 'declared_refs' - enables aliasing via assignment to references\n\nThis was added in perl 5.26.0. \n* * 'isa' - allow the use of the 'isa' infix operator\n\nThis was added in perl 5.32.0. \n* * 'lexical_topic' - allow the use of lexical '$_' via 'my $_'.\n\nThis was added in perl 5.10.0 and removed in perl 5.23.4. \n* * 'lexical_subs' - allow the use of lexical subroutines.\n\nThis was added in 5.18.0. \n* * 'postderef' - allow the use of postfix dereferencing expressions\n\nThis was added in perl 5.20.0, and became non-experimental (and always enabled) in 5.24.0. \n* * 'postderef_qq' - allow the use of postfix dereferencing expressions   inside interpolating strings\n\nThis was added in perl 5.20.0, and became non-experimental (and always enabled) in 5.24.0. \n* * 're_strict' - enables strict mode in regular expressions\n\nThis was added in perl 5.22.0. \n* * 'refaliasing' - allow aliasing via '\\$x = \\$y'\n\nThis was added in perl 5.22.0. \n* * 'regex_sets' - allow extended bracketed character classes in regexps\n\nThis was added in perl 5.18.0. \n* * 'signatures' - allow subroutine signatures (for named arguments)\n\nThis was added in perl 5.20.0. \n* * 'smartmatch' - allow the use of '~~'\n\nThis was added in perl 5.10.0, but it should be noted there are significant incompatibilities between 5.10.0 and 5.10.1. \n* * 'switch' - allow the use of '~~', given, and when\n\nThis was added in perl 5.10.0. \n* * 'try' - allow the use of 'try' and 'catch'\n\nThis was added in perl 5.34.0 \n* * 'win32_perlio' - allows the use of the :win32 IO layer.\n\nThis was added on perl 5.22.0."
    ],
    "previous_source": "This pragma provides an easy and convenient way to enable or disable experimental features.\n\nEvery version of perl has some number of features present but considered \"experimental.\" For much of the life of Perl 5, this was only a designation found in the documentation. Starting in Perl v5.10.0, and more aggressively in v5.18.0, experimental features were placed behind pragmata used to enable the feature and disable associated warnings.\n\nThe 'experimental' pragma exists to combine the required incantations into a single interface stable across releases of perl. For every experimental feature, this should enable the feature and silence warnings for the enclosing lexical scope:\n\n  use experimental 'feature-name';\n\nTo disable the feature and, if applicable, re-enable any warnings, use:\n\n  no experimental 'feature-name';\n\nThe supported features, documented further below, are: \n* * 'array_base' - allow the use of '$[' to change the starting index of   '@array'.\n\nThis is supported on all versions of perl. \n* * 'autoderef' - allow push, each, keys, and other built-ins on   references.\n\nThis was added in perl 5.14.0 and removed in perl 5.23.1. \n* * 'bitwise' - allow the new stringwise bit operators\n\nThis was added in perl 5.22.0. \n* * 'const_attr' - allow the :const attribute on subs\n\nThis was added in perl 5.22.0. \n* * 'declared_refs' - enables aliasing via assignment to references\n\nThis was added in perl 5.26.0. \n* * 'isa' - allow the use of the 'isa' infix operator\n\nThis was added in perl 5.32.0. \n* * 'lexical_topic' - allow the use of lexical '$_' via 'my $_'.\n\nThis was added in perl 5.10.0 and removed in perl 5.23.4. \n* * 'lexical_subs' - allow the use of lexical subroutines.\n\nThis was added in 5.18.0. \n* * 'postderef' - allow the use of postfix dereferencing expressions\n\nThis was added in perl 5.20.0, and became non-experimental (and always enabled) in 5.24.0. \n* * 'postderef_qq' - allow the use of postfix dereferencing expressions   inside interpolating strings\n\nThis was added in perl 5.20.0, and became non-experimental (and always enabled) in 5.24.0. \n* * 're_strict' - enables strict mode in regular expressions\n\nThis was added in perl 5.22.0. \n* * 'refaliasing' - allow aliasing via '\\$x = \\$y'\n\nThis was added in perl 5.22.0. \n* * 'regex_sets' - allow extended bracketed character classes in regexps\n\nThis was added in perl 5.18.0. \n* * 'signatures' - allow subroutine signatures (for named arguments)\n\nThis was added in perl 5.20.0. \n* * 'smartmatch' - allow the use of '~~'\n\nThis was added in perl 5.10.0, but it should be noted there are significant incompatibilities between 5.10.0 and 5.10.1. \n* * 'switch' - allow the use of '~~', given, and when\n\nThis was added in perl 5.10.0. \n* * 'win32_perlio' - allows the use of the :win32 IO layer.\n\nThis was added on perl 5.22.0.",
    "target": [
        "このプラグマは、試験的な機能を有効または無効にするための簡単で便利な方法を提供します。\n\nPerlのすべてのバージョンにはいくつかの機能がありますが、「実験的」と考えられています。Perl 5のほとんどの期間、これはドキュメントに記載されている名称でしかありませんでした。Perl v5.10.0以降、さらに積極的にv5.18.0では、機能を有効にし、関連する警告を無効にするために使用されるpragmataの後ろに実験的な機能が配置されました。\n\n「実験的な」プラグマは、必要な呪文を組み合わせて、perlのリリース間で安定した単一のインターフェースにするために存在します。すべての実験的な機能に対して、これは機能を有効にし、包含する語彙スコープの警告を無音にする必要があります。\n\n  experimental'feature-name'を使用します。\n\nこの機能を無効にし、該当する場合は警告を再度有効にするには、次のコマンドを使用します。\n\n  no experimental 'feature-name';\n\nサポートされている機能、文書化されている機能は次のとおりです:\n* * 'array_base '- '$['を使用して '@array' の開始インデックスを変更できます。\n\nこれは、perl のすべてのバージョンでサポートされています。\n* * 'autoderef' - push、each、keys、その他の組み込みの参照を許可します。\n\nこれはperl 5.14.0で追加され、perl 5.23.1で削除されました。\n* * 'bitwise' - 新しいstringwiseビット演算子を許可します\n\nこれはperl 5.22.0で追加されました。\n* * 'const_attr' - サブプログラムの:const属性を許可します。\n\nこれはperl 5.22.0で追加されました。\n* * 'declared_refs' - 参照への割り当てによるエイリアスを有効にします。\n\nこれはperl 5.26.0で追加されました。\n* * 'isa' - infix演算子 'isa' の使用を許可します\n\nこれはperl 5.32.0で追加されました。\n* * 'lexical_topic' - 'my$_'経由で字句 '$_' の使用を許可します。\n\nこれはperl 5.10.0で追加され、perl 5.23.4で削除されました。\n* * 'lexical_subs' - 字句サブルーチンの使用を許可します。\n\n5.18.0 で追加されました。\n* * 'postderef' - 接尾辞の逆参照式の使用を許可します\n\nこれはperl 5.20.0で追加され、5.24.0で非実験的になりました(常に有効になりました)。\n* * 'postderef_qq' - 補間文字列内で後置逆参照式を使用できるようにする\n\nこれはperl 5.20.0で追加され、5.24.0で非実験的になりました(常に有効になりました)。\n* * are_strict' - 正規表現でstrictモードを有効にします。\n\nこれはperl 5.22.0で追加されました。\n* * 'refaliasing' - '\\$x=\\$y' を使用したエイリアスを許可\n\nこれはperl 5.22.0で追加されました。\n* * 'regex_sets' - regexps 内で括弧で括られた拡張文字クラスを許可します。\n\nこれはperl 5.18.0で追加されました。\n* * 'signatures' - サブルーチンシグニチャを許可します(名前付き引数用)\n\nこれはperl 5.20.0で追加されました。\n* * 'smartmatch' - '~~' を使用できます。\n\nこれはperl 5.10.0で追加されましたが、5.10.0と5.10.1の間には重大な非互換性があることに注意してください。\n* * 'switch' - '~~' の使用を許可します。\n\nこれはperl 5.10.0で追加されました。\n* * 'try' - 'try' と 'catch' の使用を許可します。\n\nこれはperl 5.34.0で追加されました。\n* * 'win32_perlio '- :win32 IO レイヤの使用を許可します。\n\nこれはperl 5.22.0で追加されました。"
    ],
    "id_hash": 6721371860636422754,
    "content_hash": 6721371860636422754,
    "location": "",
    "context": "",
    "note": "leap/perl-experimental/description",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 2378,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 479,
    "source_unit": "https://l10n.opensuse.org/api/units/13182464/?format=api",
    "priority": 100,
    "id": 13183938,
    "web_url": "https://l10n.opensuse.org/translate/packages-i18n/perl-master/ja/?checksum=dd471c188c8a5262",
    "url": "https://l10n.opensuse.org/api/units/13183938/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-02-23T16:53:43.748293Z"
}