|
29 | 29 | "title": "The Oregon Trail", |
30 | 30 | "choices": [ |
31 | 31 | { |
32 | | - "text": "Travel the trail", |
| 32 | + "text": { |
| 33 | + "en": "Travel the trail", |
| 34 | + "de": "Befahre die Spur" |
| 35 | + }, |
33 | 36 | "action": { |
34 | 37 | "type": "changePage", |
35 | 38 | "newPageName": "occupation" |
36 | 39 | } |
37 | 40 | }, |
38 | 41 | { |
39 | | - "text": "Learn about the trail", |
| 42 | + "text": { |
| 43 | + "en": "Learn about the trail", |
| 44 | + "de": "Mehr uber die Spur" |
| 45 | + }, |
40 | 46 | "action": { |
41 | 47 | "type": "changePage", |
42 | 48 | "newPageName": "about_game" |
43 | 49 | } |
44 | 50 | }, |
45 | 51 | { |
46 | | - "text": "See the Oregon Top Ten", |
| 52 | + "text": { |
| 53 | + "en": "See the Oregon Top Ten", |
| 54 | + "de": "sehe Oregon Top Ten an" |
| 55 | + }, |
47 | 56 | "action": { |
48 | 57 | "type": "changePage", |
49 | 58 | "newPageName": "" |
50 | 59 | } |
51 | 60 | }, |
52 | 61 | { |
53 | | - "text": "Turn sound off", |
| 62 | + "text": { |
| 63 | + "en": "Turn sound off", |
| 64 | + "de": "Ton ausschalten" |
| 65 | + }, |
54 | 66 | "action": { |
55 | 67 | "type": "toggleSetting", |
56 | 68 | "setting": "sound", |
57 | 69 | "secondAction": { |
58 | 70 | "type": "changeText", |
59 | | - "texts": ["Turn sound off", "Turn sound on"], |
| 71 | + "texts": [ |
| 72 | + { |
| 73 | + "en": "Turn sound off", |
| 74 | + "de": "Ton ausschalten" |
| 75 | + }, |
| 76 | + { |
| 77 | + "en": "Turn sound on", |
| 78 | + "de": "Ton anschalten" |
| 79 | + } |
| 80 | + ], |
60 | 81 | "current": 0 |
61 | 82 | } |
62 | 83 | } |
63 | 84 | }, |
64 | 85 | { |
65 | | - "text": "Open the test page", |
| 86 | + "text": { |
| 87 | + "en": "Open the test page", |
| 88 | + "de": "Testseite aufmachen" |
| 89 | + }, |
66 | 90 | "action": { |
67 | 91 | "type": "changePage", |
68 | 92 | "newPageName": "test" |
69 | 93 | } |
| 94 | + }, |
| 95 | + { |
| 96 | + "text": { |
| 97 | + "en": "Change Language", |
| 98 | + "de": "Sprache aendern" |
| 99 | + }, |
| 100 | + "action": { |
| 101 | + "type": "changePage", |
| 102 | + "newPageName": "language" |
| 103 | + } |
70 | 104 | } |
71 | 105 | ], |
72 | | - "prompt": "What is your choice?", |
| 106 | + "prompt": { |
| 107 | + "en": "What is your choice?", |
| 108 | + "de": "Was ist deine Wahl?" |
| 109 | + }, |
73 | 110 | "img": "img/title.png", |
74 | 111 | "content": { |
75 | 112 | "textIndent": 5 |
|
81 | 118 | "type": "choice", |
82 | 119 | "showInput": true, |
83 | 120 | "data": { |
84 | | - "title": ["Many kinds of people made the", "trip to Oregon."], |
| 121 | + "title": { |
| 122 | + "en": ["Many kinds of people made the", "trip to Oregon."], |
| 123 | + "de": ["Viele Arten von Menschen haben das gemacht", "Reise nach Oregon."] |
| 124 | + }, |
85 | 125 | "choices": [ |
86 | 126 | { |
87 | | - "text": "Be a banker from Boston", |
| 127 | + "text": { |
| 128 | + "en": "Be a banker from Boston", |
| 129 | + "de": "Sei ein Banker aus Boston" |
| 130 | + }, |
88 | 131 | "action": { |
89 | 132 | "type": "changePage", |
90 | 133 | "newPageName": "" |
91 | 134 | } |
92 | 135 | }, |
93 | 136 | { |
94 | | - "text": "Be a carpenter from Ohio", |
| 137 | + "text": { |
| 138 | + "en": "Be a carpenter from Ohio", |
| 139 | + "de": "Seien Sie ein Zimmermann aus Ohio" |
| 140 | + }, |
95 | 141 | "action": { |
96 | 142 | "type": "changePage", |
97 | 143 | "newPageName": "" |
98 | 144 | } |
99 | 145 | }, |
100 | 146 | { |
101 | | - "text": "Be a farmer from Illinois", |
| 147 | + "text": { |
| 148 | + "en": "Be a farmer from Illinois", |
| 149 | + "de": "Sei ein Bauer aus Illinois" |
| 150 | + }, |
102 | 151 | "action": { |
103 | 152 | "type": "changePage", |
104 | 153 | "newPageName": "" |
105 | 154 | } |
106 | 155 | }, |
107 | 156 | { |
108 | | - "text": ["Find out the differences", "between theese choices"], |
| 157 | + "text": { |
| 158 | + "en": ["Find out the differences", "between theese choices"], |
| 159 | + "de": ["Finden Sie die Unterschiede heraus", "zwischen diesen Entscheidungen"] |
| 160 | + }, |
109 | 161 | "action": { |
110 | 162 | "type": "changePage", |
111 | 163 | "newPageName": "" |
112 | 164 | } |
113 | 165 | }, |
114 | 166 | { |
115 | | - "text": "Return back", |
| 167 | + "text": { |
| 168 | + "en": "Return back", |
| 169 | + "de": "Kehren Sie zurück" |
| 170 | + }, |
116 | 171 | "action": { |
117 | 172 | "type": "changePage", |
118 | 173 | "newPageName": "main_menu" |
119 | 174 | } |
120 | 175 | } |
121 | 176 | ], |
122 | | - "prompt": "What is your choice?", |
| 177 | + "prompt": { |
| 178 | + "en": "What is your choice?", |
| 179 | + "de": "Was ist deine Wahl?" |
| 180 | + }, |
123 | 181 | "img": "", |
124 | 182 | "content": { |
125 | 183 | "textIndent": 2 |
|
133 | 191 | "data": { |
134 | 192 | "title": "The Oregon Trail", |
135 | 193 | "prompt": "Press SPACE BAR to continue", |
136 | | - "text": [ |
137 | | - "Try taking a journey by", |
138 | | - "covered wagon across 2000", |
139 | | - "miles of plains, rivers, and", |
140 | | - "mountains. Try! On the", |
141 | | - "plains, will you slosh your", |
142 | | - "oxen through mud and", |
143 | | - "water-filled ruts or will you", |
144 | | - "plod through dust six inches", |
145 | | - "deep?" |
146 | | - ], |
| 194 | + "text": { |
| 195 | + "en": [ |
| 196 | + "Try taking a journey by covered wagon across 2000 miles of plains, rivers, and mountains. Try! On the plains, will you slosh your oxen through mud and water-filled ruts or will you plod through dust six inches deep?" |
| 197 | + ], |
| 198 | + "de": [ |
| 199 | + "Versuchen Sie, eine Reise mit einem Planwagen über 2000 Meilen von Ebenen, Flüssen und Bergen zu unternehmen. Versuchen! Werden Sie Ihre Ochsen in der Ebene durch schlammige und wassergefüllte Furchen schwappen oder durch sechs Zoll tiefen Staub stapfen?" |
| 200 | + ] |
| 201 | + }, |
147 | 202 | "action": { |
148 | 203 | "type": "changePage", |
149 | 204 | "newPageName": "main_menu" |
|
156 | 211 | }, |
157 | 212 | { |
158 | 213 | "name": "test" |
| 214 | + }, |
| 215 | + { |
| 216 | + "name": "language", |
| 217 | + "type": "choice", |
| 218 | + "showInput": true, |
| 219 | + "data": { |
| 220 | + "title": { |
| 221 | + "en": "Choose your display language", |
| 222 | + "de": "Wählen Sie Ihre Anzeigesprache" |
| 223 | + }, |
| 224 | + "choices": [ |
| 225 | + { |
| 226 | + "text": { |
| 227 | + "en": "English", |
| 228 | + "de": "Englisch" |
| 229 | + }, |
| 230 | + "action": { |
| 231 | + "type": "changeLanguage", |
| 232 | + "language": "en", |
| 233 | + "secondAction": { |
| 234 | + "type": "changePage", |
| 235 | + "newPageName": "main_menu" |
| 236 | + } |
| 237 | + } |
| 238 | + }, |
| 239 | + { |
| 240 | + "text": { |
| 241 | + "en": "Deutsch", |
| 242 | + "de": "Deutsch" |
| 243 | + }, |
| 244 | + "action": { |
| 245 | + "type": "changeLanguage", |
| 246 | + "language": "de", |
| 247 | + "secondAction": { |
| 248 | + "type": "changePage", |
| 249 | + "newPageName": "main_menu" |
| 250 | + } |
| 251 | + } |
| 252 | + }, |
| 253 | + { |
| 254 | + "text": { |
| 255 | + "en": "Italiano", |
| 256 | + "de": "Italienisch" |
| 257 | + }, |
| 258 | + "action": { |
| 259 | + "type": "changeLanguage", |
| 260 | + "language": "it", |
| 261 | + "secondAction": { |
| 262 | + "type": "changePage", |
| 263 | + "newPageName": "main_menu" |
| 264 | + } |
| 265 | + } |
| 266 | + }, |
| 267 | + { |
| 268 | + "text": { |
| 269 | + "en": "Czech", |
| 270 | + "de": "Tschechisch" |
| 271 | + }, |
| 272 | + "action": { |
| 273 | + "type": "changeLanguage", |
| 274 | + "language": "cz", |
| 275 | + "secondAction": { |
| 276 | + "type": "changePage", |
| 277 | + "newPageName": "main_menu" |
| 278 | + } |
| 279 | + } |
| 280 | + }, |
| 281 | + { |
| 282 | + "text": { |
| 283 | + "en": "Add new language", |
| 284 | + "de": "Neue Sprache hinzufuegen" |
| 285 | + }, |
| 286 | + "action": { |
| 287 | + "type": "changePage", |
| 288 | + "newPageName": "test" |
| 289 | + } |
| 290 | + }, |
| 291 | + { |
| 292 | + "text": { |
| 293 | + "en": "Cancel", |
| 294 | + "de": "beenden" |
| 295 | + }, |
| 296 | + "action": { |
| 297 | + "type": "changePage", |
| 298 | + "newPageName": "main_menu" |
| 299 | + } |
| 300 | + } |
| 301 | + ], |
| 302 | + "prompt": { |
| 303 | + "en": "What is your choice?", |
| 304 | + "de": "Was ist deine Wahl?" |
| 305 | + }, |
| 306 | + "img": "", |
| 307 | + "content": { |
| 308 | + "textIndent": 2 |
| 309 | + } |
| 310 | + } |
159 | 311 | } |
160 | 312 | ] |
161 | 313 | } |
0 commit comments