1{
2 "language": "en-US",
3 "messages": [
4 {
5 "id": "Hello world!",
6 "key": "Hello world!\n",
7 "message": "Hello world!",
8 "translation": "Hello world!"
9 },
10 {
11 "id": "Hello {City}!",
12 "key": "Hello %s!\n",
13 "message": "Hello {City}!",
14 "translation": "Hello {City}!"
15 },
16 {
17 "id": "Hello {Town}!",
18 "key": "Hello %s!\n",
19 "message": "Hello {Town}!",
20 "translation": "Hello {Town}!",
21 "placeholders": [
22 {
23 "id": "Town",
24 "string": "%[1]s",
25 "type": "string",
26 "underlyingType": "string",
27 "argNum": 1,
28 "expr": "town",
29 "comment": "Town"
30 }
31 ]
32 },
33 {
34 "id": "{Person} is visiting {Place}!",
35 "key": "%s is visiting %s!\n",
36 "message": "{Person} is visiting {Place}!",
37 "translation": "{Person} is visiting {Place}!"
38 },
39 {
40 "id": "{Person} is visiting {Place}!",
41 "key": "%[1]s is visiting %[3]s!\n",
42 "message": "{Person} is visiting {Place}!",
43 "translation": "{Person} is visiting {Place}!"
44 },
45 {
46 "id": "{2} files remaining!",
47 "key": "%d files remaining!",
48 "message": "{N} files remaining!",
49 "translation": "",
50 "placeholders": [
51 {
52 "id": "2",
53 "string": "%[1]d"
54 }
55 ]
56 },
57 {
58 "id": "{N} more files remaining!",
59 "key": "%d more files remaining!",
60 "message": "{N} more files remaining!",
61 "translation": {
62 "select": {
63 "feature": "plural",
64 "arg": "N",
65 "cases": {
66 "one": "One file remaining!",
67 "other": "There are {N} more files remaining!"
68 }
69 }
70 }
71 },
72 {
73 "id": "Use the following code for your discount: {ReferralCode}",
74 "key": "Use the following code for your discount: %d\n",
75 "message": "Use the following code for your discount: {ReferralCode}",
76 "translation": ""
77 },
78 {
79 "id": [ "msgOutOfOrder", "{Device} is out of order!" ],
80 "key": "%s is out of order!",
81 "message": "{Device} is out of order!",
82 "translation": "{Device} is out of order!"
83 },
84 {
85 "id": "{Miles} miles traveled ({Miles_1})",
86 "key": "%.2[1]f miles traveled (%[1]f)",
87 "message": "{Miles} miles traveled ({Miles_1})",
88 "translation": "{Miles} miles traveled ({Miles_1})"
89 }
90 ]
91}
View as plain text