...

Text file src/golang.org/x/text/cmd/gotext/examples/extract_http/locales/en/out.gotext.json

Documentation: golang.org/x/text/cmd/gotext/examples/extract_http/locales/en

     1{
     2    "language": "en",
     3    "messages": [
     4        {
     5            "id": "Hello {From}!",
     6            "message": "Hello {From}!",
     7            "translation": "Hello {From}!",
     8            "translatorComment": "Copied from source.",
     9            "placeholders": [
    10                {
    11                    "id": "From",
    12                    "string": "%[1]s",
    13                    "type": "string",
    14                    "underlyingType": "string",
    15                    "argNum": 1,
    16                    "expr": "r.Header.Get(\"From\")"
    17                }
    18            ],
    19            "fuzzy": true
    20        },
    21        {
    22            "id": "Do you like your browser ({User_Agent})?",
    23            "message": "Do you like your browser ({User_Agent})?",
    24            "translation": "Do you like your browser ({User_Agent})?",
    25            "translatorComment": "Copied from source.",
    26            "placeholders": [
    27                {
    28                    "id": "User_Agent",
    29                    "string": "%[1]s",
    30                    "type": "string",
    31                    "underlyingType": "string",
    32                    "argNum": 1,
    33                    "expr": "r.Header.Get(\"User-Agent\")"
    34                }
    35            ],
    36            "fuzzy": true
    37        }
    38    ]
    39}

View as plain text