en.json 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "all": "any type",
  3. "application": {
  4. "array": "<%= prefix %> <%= codeTagOpen %>Array<%= codeTagClose %> of <%= application %> <%= suffix %>",
  5. "object": "<%= prefix %> <%= codeTagOpen %>Object<%= codeTagClose %> with <%= application %> properties <%= suffix %>",
  6. "objectNonString": "<%= prefix %> <%= codeTagOpen %>Object<%= codeTagClose %> with <%= keyApplication %> keys and <%= application %> properties <%= suffix %>",
  7. "other": "<%= prefix %> <%= codeTagOpen %><%= type %> containing <%= application %> <%= suffix %>"
  8. },
  9. "function": {
  10. "extended": {
  11. "new": "Returns <%= functionNew %> when called with <%= codeTagOpen %>new<%= codeTagClose %>.",
  12. "returns": "Returns <%= type %>.",
  13. "signature": "function(<%= functionParams %>)",
  14. "this": "Within the function, <%= codeTagOpen %>this<%= codeTagClose %> refers to <%= functionThis %>."
  15. },
  16. "simple": {
  17. "new": "constructs <%= functionNew %>",
  18. "returns": "returns <%= type %>",
  19. "signature": "<%= prefix %> function(<%= functionParams %>) <%= functionReturns %>",
  20. "this": "<%= codeTagOpen %>this<%= codeTagClose %> = <%= functionThis %>"
  21. }
  22. },
  23. "modifiers": {
  24. "extended": {
  25. "nonNullable": "Must not be null.",
  26. "nullable": "May be null.",
  27. "optional": "Optional.",
  28. "prefix": "",
  29. "repeatable": "May be provided more than once.",
  30. "suffix": ""
  31. },
  32. "simple": {
  33. "nonNullable": "non-null",
  34. "nullable": "nullable",
  35. "optional": "optional",
  36. "prefix": "<%= optional %> <%= nullable %> <%= repeatable %>",
  37. "repeatable": "repeatable",
  38. "suffix": ""
  39. }
  40. },
  41. "name": "<%= codeTagOpen %>{{ name }}<%= codeTagClose %> <%= suffix %>",
  42. "null": "null",
  43. "params": {
  44. "first": {
  45. "one": "<%= param %>",
  46. "two": "<%= param %>, ",
  47. "many": "<%= param %>, "
  48. },
  49. "middle": {
  50. "many": "<%= param %>, "
  51. },
  52. "last": {
  53. "two": "<%= param %>",
  54. "many": "<%= param %>"
  55. }
  56. },
  57. "record": {
  58. "first": {
  59. "one": "<%= prefix %> {<%= field %>} <%= suffix %>",
  60. "two": "<%= prefix %> {<%= field %>, ",
  61. "many": "<%= prefix %> {<%= field %>, "
  62. },
  63. "middle": {
  64. "many": "<%= field %>, "
  65. },
  66. "last": {
  67. "two": "<%= field %>} <%= suffix %>",
  68. "many": "<%= field %>} <%= suffix %>"
  69. }
  70. },
  71. "field": {
  72. "typed": "<%= name %>: <%= type %>",
  73. "untyped": "<%= name %>"
  74. },
  75. "type": "<%= prefix %> <%= codeTagOpen %><%= type %><%= codeTagClose %> <%= suffix %>",
  76. "undefined": "undefined",
  77. "union": {
  78. "first": {
  79. "one": "<%= prefix %> <%= element %> <%= suffix %>",
  80. "two": "<%= prefix %> (<%= element %> ",
  81. "many": "<%= prefix %> (<%= element %>, "
  82. },
  83. "middle": {
  84. "many": "<%= element %>, "
  85. },
  86. "last": {
  87. "two": "or <%= element %>) <%= suffix %>",
  88. "many": "or <%= element %>) <%= suffix %>"
  89. }
  90. },
  91. "unknown": "unknown"
  92. }