forked from ricktu288/ray-optics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nl.js
572 lines (572 loc) · 17.8 KB
/
nl.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
if (typeof locales == 'undefined') locales = {};
locales["nl"] = {
"appName": {
"message": "Ray Optics Simulatie"
},
"appShortName": {
"incomplete": true,
"message": "Ray Optics"
},
"appDesc": {
"incomplete": true,
"message": "A free, open-source web app for creating and simulating 2D geometric optical scenes."
},
"homepage_desc": {
"incomplete": true,
"message": "Create & simulate 2D geometric optical scenes interactively.<br>Totally free and web-based. Source code is <a href=\"https://github.com/ricktu288/ray-optics\">available on GitHub</a>."
},
"launch_simulator": {
"incomplete": true,
"message": "Launch Simulator"
},
"home": {
"incomplete": true,
"message": "Home"
},
"gallery": {
"incomplete": true,
"message": "Gallery"
},
"gallery_url": {
"incomplete": true,
"message": "https://phydemo.app/ray-optics/gallery/"
},
"welcome": {
"incomplete": true,
"message": "<span style=\"font-size:22pt\">Welcome to Ray Optics Simulation</span><br>To add an optical component, select a tool and click the blank space.<br>To load an example, please <a href=\"https://phydemo.app/ray-optics/gallery/\">go to the Gallery page</a>."
},
"toolbar_title": {
"incomplete": true,
"message": "Tool: "
},
"toolname_laser": {
"message": "Enkele straal"
},
"toolname_led": {
"message": "Punt bron"
},
"toolname_radiant": {
"message": "Punt bron"
},
"toolname_parallel": {
"message": "Bundel"
},
"toolname_mirror_": {
"message": "Spiegel"
},
"toolname_mirror": {
"message": "Spiegel"
},
"toolname_arcmirror": {
"message": "Spiegel"
},
"toolname_parabolicmirror": {
"message": "Spiegel"
},
"toolname_curvedmirror": {
"incomplete": true,
"message": "Mirror"
},
"toolname_idealmirror": {
"message": "Ideale gebogen spiegel"
},
"toolname_refractor_": {
"message": "Glas"
},
"toolname_blocker_": {
"incomplete": true,
"message": "Blocker"
},
"toolname_beamsplitter": {
"incomplete": true,
"message": "Beam Splitter"
},
"toolname_halfplane": {
"message": "Glas"
},
"toolname_circlelens": {
"message": "Glas"
},
"toolname_refractor": {
"message": "Glas"
},
"toolname_lens": {
"message": "Ideale lens"
},
"toolname_sphericallens": {
"incomplete": true,
"message": "Spherical lens"
},
"toolname_curvedglass": {
"incomplete": true,
"message": "Glass"
},
"toolname_blackline": {
"incomplete": true,
"message": "Line Blocker"
},
"toolname_blackcircle": {
"incomplete": true,
"message": "Circle Blocker"
},
"toolname_ruler": {
"message": "Lineaal"
},
"toolname_protractor": {
"message": "Gradenboog"
},
"tool_power": {
"incomplete": true,
"message": "Detector"
},
"toolname_power": {
"incomplete": true,
"message": "Detector"
},
"toolname_text": {
"incomplete": true,
"message": "Text"
},
"toolname_": {
"message": "Verplaats beeld"
},
"modebar_title": {
"message": "Beeld:"
},
"modename_light": {
"message": "Stralen"
},
"modename_extended_light": {
"message": "Virtuele stralen"
},
"modename_images": {
"message": "Alle beelden"
},
"modename_observer": {
"message": "Zichtbaar voor waarnemer"
},
"color_mode": {
"incomplete": true,
"message": "Simulate Colors"
},
"File: ": {
"message": "Bestand: "
},
"Tools: ": {
"message": "Gereedschap: "
},
"tool_laser": {
"message": "Straal"
},
"tool_parallel": {
"message": "Bundel"
},
"tool_radiant": {
"incomplete": true,
"message": "360 degrees"
},
"tool_led": {
"incomplete": true,
"message": "Finite angle"
},
"tool_radiant_": {
"message": "Punt bron"
},
"tool_mirror_": {
"message": "spiegels"
},
"tool_mirror": {
"message": "Lijnstuk"
},
"tool_arcmirror": {
"message": "Cirkelboog"
},
"tool_parabolicmirror": {
"incomplete": true,
"message": "Parabolic"
},
"tool_curvedmirror": {
"incomplete": true,
"message": "Custom Equation"
},
"tool_beamsplitter": {
"incomplete": true,
"message": "Beam Splitter"
},
"tool_idealmirror": {
"message": "Ideaal gebogen"
},
"tool_refractor_": {
"message": "Glas"
},
"tool_blocker_": {
"message": "Scherm"
},
"tool_halfplane": {
"message": "Halve vlak"
},
"tool_circlelens": {
"message": "Cirkel"
},
"tool_refractor": {
"message": "Vrije-vorm"
},
"tool_lens": {
"message": "Ideale Lens"
},
"tool_sphericallens": {
"incomplete": true,
"message": "Spherical Lens"
},
"tool_curvedglass": {
"incomplete": true,
"message": "Custom Equation"
},
"tool_blackline": {
"incomplete": true,
"message": "Line Blocker"
},
"tool_blackcircle": {
"incomplete": true,
"message": "Circle Blocker"
},
"tool_ruler": {
"message": "Lineaal"
},
"tool_protractor": {
"message": "Gradenboog"
},
"tool_text": {
"incomplete": true,
"message": "Text"
},
"tool_": {
"message": "Verplaats beeld"
},
"View: ": {
"message": "Beeld: "
},
"Settings: ": {
"message": "Instellingen: "
},
"mode_light": {
"message": "Stralen"
},
"mode_extended_light": {
"message": "Virtuele stralen"
},
"mode_images": {
"message": "Alle beelden"
},
"mode_observer": {
"message": "Beeld voor waarnemer"
},
"zoom": {
"incomplete": true,
"message": "Zoom"
},
"help": {
"message": "Help"
},
"rayDensity": {
"message": "Straaldichtheid"
},
"raydensity": {
"message": "Straaldichtheid:"
},
"undo": {
"incomplete": true,
"message": "Undo"
},
"redo": {
"incomplete": true,
"message": "Redo"
},
"reset": {
"incomplete": true,
"message": "Reset"
},
"save": {
"incomplete": true,
"message": "Save"
},
"get_link": {
"incomplete": true,
"message": "Get Link"
},
"export_svg": {
"incomplete": true,
"message": "Export"
},
"view_gallery": {
"incomplete": true,
"message": "View Gallery"
},
"save_name": {
"message": "Naam:"
},
"save_cancel": {
"incomplete": true,
"message": "Cancel"
},
"save_description": {
"incomplete": true,
"message": "To share your work, you can <a href=\"https://github.com/ricktu288/ray-optics/blob/master/CONTRIBUTING.md#contributing-items-to-the-gallery\" target=\"_blank\">contribute a new item</a> to the <a href=\"https://phydemo.app/ray-optics/gallery/\" target=\"_blank\">Gallery</a>."
},
"open": {
"incomplete": true,
"message": "Open"
},
"lockobjs": {
"incomplete": true,
"message": "Lock Objects"
},
"showgrid": {
"incomplete": true,
"message": "Grid"
},
"grid": {
"incomplete": true,
"message": "Snap to Grid"
},
"snaptogrid": {
"incomplete": true,
"message": "Snap to Grid"
},
"brightness": {
"message": "Helderheid:"
},
"wavelength": {
"incomplete": true,
"message": "Wavelength (nm):"
},
"dichroic": {
"message": "Dichroïde"
},
"filter": {
"message": "Filter"
},
"bandwidth": {
"incomplete": true,
"message": "Bandbreedte (nm):"
},
"emissionangle": {
"incomplete": true,
"message": "Emission Angle (°):"
},
"symmetric": {
"incomplete": true,
"message": "Symmetric"
},
"focallength": {
"message": "Brandpuntafstand:"
},
"cartesiansign": {
"incomplete": true,
"message": "Cartesian Sign Convention"
},
"refractiveindex": {
"message": "Brekingsindex:"
},
"refractiveindex_note": {
"incomplete": true,
"message": "(relative if inside another glass)"
},
"refractiveindex_note_popover": {
"incomplete": true,
"message": "If this object is to be simulated with (absolute) refractive index n₁, but is placed inside another glass with refractive index n₀, then you should set the refractive index to n₁/n₀ here. In more complicated cases that several glasses overlap together, the effective reflective index of the overlapping region equals the product of the reflective indices of individual ones."
},
"cauchycoeff": {
"incomplete": true,
"message": "Cauchy coefficient"
},
"transmissionratio": {
"incomplete": true,
"message": "Transmission Ratio:"
},
"applytoall": {
"message": "Overal toepassen"
},
"duplicate": {
"message": "Dupliceer"
},
"delete": {
"message": "Verwijder"
},
"processing": {
"message": "Rekenen... Klik hier om te stoppen."
},
"restore": {
"incomplete": true,
"message": "Click here to restore your previous session.<br>⚠️ Important Change: This app will no longer store your session. Please save your work before closing this page."
},
"contribute": {
"incomplete": true,
"message": "Contribute"
},
"github": {
"incomplete": true,
"message": "GitHub"
},
"about": {
"incomplete": true,
"message": "About"
},
"translate": {
"incomplete": true,
"message": "Help us translate this app"
},
"translated": {
"incomplete": true,
"message": "translated"
},
"undo_popover": {
"message": "Laatste actie ongedaan maken. (Ctrl+Z)"
},
"redo_popover": {
"message": "Laatste actie opnieuw. (Ctrl+Y)"
},
"reset_popover": {
"message": "Alle wijzigingen ongedaan maken."
},
"save_popover": {
"message": "Huidig bestand opslaan."
},
"open_popover": {
"incomplete": true,
"message": "Bestand openen or background image. The background image will be shown from the coordinate origin. (Or drop the file)"
},
"get_link_popover": {
"incomplete": true,
"message": "Copy and go to the direct URL for the current scene, which can be used for sharing (possibly via a URL shortener)."
},
"get_link_warning": {
"incomplete": true,
"message": "The URL is too long that it may not work on some platforms. You may need to use \"Save\" and share the file instead."
},
"export_svg_popover": {
"incomplete": true,
"message": "Export to SVG. Color mixtures and relative refractive indices below 1 are not supported."
},
"view_gallery_popover": {
"incomplete": true,
"message": "Go to the Gallery webpage to load an example."
},
"tool_laser_popover": {
"message": "Één straal door twee punten. (Sleep of klik om te maken. Eerste punt is de bron. Tweede punt geeft de richting.)"
},
"tool_parallel_popover": {
"message": "Een evenwijdige bundel uit een lijnstuk, het aantal stralen wordt ingesteld met 'Straaldichtheid'. (Sleep en klik om te maken.)"
},
"tool_radiant_popover": {
"message": "Lichtstralen vanuit één punt, het aantal stralen wordt ingesteld met 'Straaldichtheid'. (Klik om te maken.)"
},
"tool_led_popover": {
"incomplete": true,
"message": "Point source with a given emission angle."
},
"tool_mirror_popover": {
"message": "Simuleert de reflectie van licht op een spiegel. (Sleep of klik om te maken.)"
},
"tool_arcmirror_popover": {
"message": "Een spiegel in de vorm van een cirkelboog, door drie punten vastgelegd. De eerste twee punten leggen de afstand tussen de randen vast, het laatste punt de grootte.)"
},
"tool_parabolicmirror_popover": {
"incomplete": true,
"message": "A mirror whose shape is a parabola, which is defined by three points. (Drag or click to create.)"
},
"tool_curvedmirror_popover": {
"incomplete": true,
"message": "A mirror whose shape is defined by a custom equation y = f(x), where (x,y) is in the transformed coordinates in which the two control points are (-1,0) and (1,0). (Drag or click to create.)"
},
"tool_beamsplitter_popover": {
"incomplete": true,
"message": "A mirror that transmits a percentage of incoming light. (Drag or click to create.)"
},
"tool_idealmirror_popover": {
"message": "Een ideale 'gebogen' spiegel die precies de spiegel formule volgt (1/p + 1/q = 1/f). De brandpuntsafstand (in pixels) kan worden ingevoerd. (Sleep of klik om te maken.)"
},
"tool_halfplane_popover": {
"message": "Simuleert de refractie en reflectie van licht op/door een oppervlak. (Sleep of klik om te maken.)"
},
"tool_circlelens_popover": {
"message": "Glasschijf, gedefinieerd door middelpunt en een punt op de rand. (Sleep of klik om te maken.)"
},
"tool_refractor_popover": {
"message": "Glas in willekeurige vorm uit lijnstukken en cirkelbogen. (Klik om een lijnstuk te maken, sleep om een cirkelboog te maken, klik op startpunt om tekenen te sluiten.)"
},
"tool_lens_popover": {
"message": "Een ideale lens die de lenzenformule volgt (1/v + 1/b = 1/f). De brandpuntafstand (in pixels) kan worden ingevoerd. (Sleep of klik om te maken.)"
},
"tool_sphericallens_popover": {
"incomplete": true,
"message": "A spherical lens. (Click to create.)"
},
"tool_curvedglass_popover": {
"incomplete": true,
"message": "Glass with the shape defined by a custom inequality f(x) < y < g(x), where (x,y) is in the transformed coordinates in which the two control points are (-1,0) and (1,0). (Drag or click to create.)"
},
"tool_blackline_popover": {
"message": "Een lichtblokkerend lijnstuk (scherm). (Sleep of klik om te maken.)"
},
"tool_blackcircle_popover": {
"incomplete": true,
"message": "A circle light blocker which absorbs the incident rays. (Drag or click to create.)"
},
"tool_ruler_popover": {
"message": "Een lineaal van 0 tot een willekeurige afstand. Schaal is in pixels. (Sleep of klik om te maken.)"
},
"tool_protractor_popover": {
"message": "Een gradenboog van middelpunt tot een ander punt (hoek 0). De schaal is in graden. (Sleep of klik om te maken.)"
},
"tool_power_popover": {
"incomplete": true,
"message": "A tool for measuring the rate of energy flow (P), the rate of perpendicular momentum flow (F⊥), and the rate of parallel momentum flow (F∥) through a line segment. (Drag or click to create the line segment.) The units are arbitrary."
},
"tool_text_popover": {
"incomplete": true,
"message": "A text label."
},
"tool__popover": {
"message": "Sleep om beeld te verplaatsen. (Rechtermuisknop sleep heeft dezelfde functie.)"
},
"mode_light_popover": {
"message": "Toont de stralen. Als de 'Straaldichtheid' groot is lijkt het continu."
},
"mode_extended_light_popover": {
"incomplete": true,
"message": "Toont stralen en uitgebreide (gereflecteerde/virtuele) stralen. Oranje betekent 'backtrace', grijs betekent 'vooruit' berekend.<br>When 'Simulate Colors' is on, they are shown in source colors and distinguished by dashing instead."
},
"mode_images_popover": {
"incomplete": true,
"message": "Toont de positie van alle beelden. Gele punten zijn reëele beelden, oranje geeft de virtuele beelden en grijs (niet in dit plaatje) de virtuele objecten. Let op dat sommige beelden niet gedetecteerd kunnen worden als de 'Straaldichtheid' niet groot genoeg is.<br>When 'Simulate Colors' is on, they are shown in source colors and distinguished by dot sizes instead."
},
"mode_observer_popover": {
"incomplete": true,
"message": "Simuleert de stralen en beelden zoals gezien vanaf een positie. De blauwe cirkel is de waarnemer (het oog). Een straal die er op komt wordt beschouwd als zichtbaar. De waarnemer ('het oog') 'weet' niet waar die stralen in werkelijkheid beginnen, maar gaat uit van een rechte lijn vanaf het punt van waarneming. De stralen zijn blauw en de 'licht'punten zijn oranje. (Sleep de blauwe stip om 'het oog' te verplaatsen.)<br>When 'Simulate Colors' is on, they are shown in source colors instead."
},
"color_mode_popover": {
"incomplete": true,
"message": "<img src='../img/simulate_colors.png' align='left' style='margin-right: 10px; margin-bottom: 4px; max-width: 250px'>Simulate colors (wavelengths) of light sources, mixture of colors, and chromatic dispersion of glasses. You can set those parameters for those objects when selected. To simulate color spectra, overlap rays with different wavelengths. The colors shown on the screen are only rough approximations, and can be very inaccurate when 'Ray density' is too high or too low."
},
"rayDensity_popover": {
"incomplete": true,
"message": "Instellen van de straaldichtheid van de lichtsimulatie. The number is in log scale."
},
"showgrid_popover": {
"message": "Toont of verbergt het achtergrondraster."
},
"grid_popover": {
"message": "Zet verplaatsen op raster aan of uit."
},
"lockobjs_popover": {
"message": "(De)Blokkeert de verplaatsing van objecten."
},
"zoom_popover": {
"message": "Beeld in/uitzoomen met een percentage."
},
"help_popover": {
"incomplete": true,
"message": "<div style=\"font-weight: normal; font-size: 10pt;\"><b>Help popups</b><p>Click this button to toggle help popups for other buttons.</p><b>Constrained dragging</b><p>When dragging an object, hold Shift to limit to horizontal/vertical; hold Ctrl to clone. When creating a line-shaped object or dragging its endpoints, hold Shift to lock the angle or snap to 0°, 45°, 90°; hold Ctrl to rotate/scale about its center.</p><b>Group, rotate, and scale objects</b><p> Hold Ctrl, click several control points (e.g. endpoints), then click empty space to group these points and create a handle. Drag the handle (or press arrow keys) to move the group; Shift+drag to limit to horizontal/vertical; Ctrl+drag to rotate, Ctrl+Shift+drag to scale. Drag the \"+\" to set rotation/scaling center. Click the handle and press Ctrl+D to duplicate the group; press Delete to ungroup. </p><b>Edit coordinates directly</b><p>Double-click or right-click the control point (e.g. endpoint) of the object, edit the (x,y) coordinates in pixels, then press Enter.</p><b>Keyboard shortcuts</b><p>When an object is selected (by clicking it), press arrow keys to move; Ctrl+D to duplicate; Delete key to delete.</p></div>"
}
}