Changes API.

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

GET /api/changes/2046911/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "unit": "https://l10n.opensuse.org/api/units/13183934/?format=api",
    "component": "https://l10n.opensuse.org/api/components/packages-i18n/perl-master/?format=api",
    "translation": "https://l10n.opensuse.org/api/translations/packages-i18n/perl-master/ja/?format=api",
    "user": "https://l10n.opensuse.org/api/users/OotaToshiya/?format=api",
    "author": "https://l10n.opensuse.org/api/users/OotaToshiya/?format=api",
    "timestamp": "2022-03-01T08:42:59.269554Z",
    "action": 9,
    "target": "String::Formatterはsprintfのようなフォーマット・ルーチンを作成するためのツールです。名前付きフォーマットまたは位置フォーマット、カスタム変換、固定文字列補間、単純な幅のマッチングなどをサポートしています。新しい種類のフォーマット文字列エクスパンダを作成するために、その動作を変更するのは簡単です。ほとんどの場合、String::Formatterに組み込まれたオプションから、あらゆる種類のフォーマッタを簡単に構築できるはずです。\n\n通常、String::Formatterは\"'stringf'\"と呼ばれるsprintfに似たルーチンをインポートするために使用されますが、任意の名前を付けることができます。このルーチンはsprintfと同じように、文字列といくつかの入力を受け取り、新しい文字列を返します。\n\n  my$output=stringf\" 一部の%aフォーマット%s を %uに変換します。\\n\",{.};\n\nこのルーチンは、実際にはstringfをインポートして作成されたString::Formatterオブジェクトのラッパーです。次のコードでは、「stringf」の後のhashref全体がString::Formatterのコンストラクタ('new'メソッド)に渡されます。ただし、「-as」キーとダッシュで始まるその他のキーは除きます。\n\n  use String::Formatter stringf=>{-as=>'fmt_time',codes=>{.},format_hunker=>.,input_processor=>.,},stringf=>{-as=>'fmt_date',codes=>{.},string_replacer=>.,hunk_formatter=>.,},,;\nご覧のように、これにより、動作が異なる2つのstringfルーチンが生成され、それぞれ異なる名前でインストールされます。\nuse String::Formatter stringf=>{-as=>'fmt_time',codes=>{.},format_hunker=>.,input_processor=>.,},stringf=>{-as=>'fmt_date',codes=>{.},string_replacer=>.,hunk_formatter=>.,},,;これらのルーチンの動作は、String::Formatterオブジェクトの「format」メソッドに基づいているため、以降のドキュメントでは、オブジェクトの動作について説明します。\n\n'named_stringf'エクスポートもあります。これは'stringf'エクスポートと同じように動作しますが、デフォルトでは'named_replace'と'require_named_input'引数が使用されます。'method_stringf'エクスポートがあり、デフォルトは'method_replace'と'require_single_input'です。最後に、「indexed_stringf」(デフォルトは「indexed_replaced」と「require_arrayref_input」)。さらに詳しくは、このクックブックを参照してください。\n\nString::Formatter::Cookbookには、String::Formatterを使うためのレシピが多数用意されています。",
    "id": 2046911,
    "action_name": "Translation uploaded",
    "url": "https://l10n.opensuse.org/api/changes/2046911/?format=api"
}