You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

39 lines
1.3 KiB

  1. {
  2. "language": "en-US",
  3. "messages": [
  4. {
  5. "id": "Hello {From}!",
  6. "key": "Hello %s!\n",
  7. "message": "Hello {From}!",
  8. "translation": "",
  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. "position": "golang.org/x/text/cmd/gotext/examples/extract_http/pkg/pkg.go:22:11"
  20. },
  21. {
  22. "id": "Do you like your browser ({User_Agent})?",
  23. "key": "Do you like your browser (%s)?\n",
  24. "message": "Do you like your browser ({User_Agent})?",
  25. "translation": "",
  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. "position": "golang.org/x/text/cmd/gotext/examples/extract_http/pkg/pkg.go:24:11"
  37. }
  38. ]
  39. }