From 146892dffe692e4531d4c3a23f58f39aff7edf2c Mon Sep 17 00:00:00 2001 From: Tharusha Theekshana Date: Sat, 9 Sep 2023 19:14:21 +0530 Subject: [PATCH 1/4] Added Sinhala as a new language. --- .gitignore | 1 + simulator/index.html | 433 +++++++++++++-------------- simulator/locales/si.js | 613 ++++++++++++++++++++++++++++++++++++++ simulator/locales/sync.js | 30 +- 4 files changed, 839 insertions(+), 238 deletions(-) create mode 100644 .gitignore create mode 100644 simulator/locales/si.js diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..f3d47a7a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.hintrc diff --git a/simulator/index.html b/simulator/index.html index 34ee2115..2cd383b9 100644 --- a/simulator/index.html +++ b/simulator/index.html @@ -2,88 +2,88 @@ - - - - - - - - - - - + + + + + + + + + + + - Simulator - Ray Optics Simulation - - - - - - - - + Simulator - Ray Optics Simulation + + + + + + + + -
-
- - + document.getElementById("welcome").innerHTML = welcome_msgs[lang]; + + - -
-
- - - - + + + - - -
-
+ + - + - -
- - - - - + + - - + + - - + + -
-
- Home - · - About - · - GitHub - · - English▲ -
+
+ Home · + About · + GitHub · + English▲ + -
+ +
- - - - - + + + + + - - - - - - - - - - - + + + + + + + + + + + + - - - + + + - + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - + \ No newline at end of file diff --git a/simulator/locales/si.js b/simulator/locales/si.js new file mode 100644 index 00000000..0d27c5b2 --- /dev/null +++ b/simulator/locales/si.js @@ -0,0 +1,613 @@ +if (typeof locales == 'undefined') locales = {}; +locales["si"] = { + "appName": { + "incomplete": true, + "message": "Ray Optics Simulation" + }, + "appShortName": { + "incomplete": true, + "message": "Ray Optics" + }, + "appDesc": { + "message": "ද්විමාන ප්‍රකාශ(ආලෝක) දර්ශන නිර්මාණය කිරීම simulate කිරීම සඳහා free, open-source වෙබ් යෙදුමකි." + }, + "homepage_desc": { + "incomplete": true, + "message": "Create & simulate 2D geometric optical scenes interactively.
Totally free and web-based. Source code is available on GitHub." + }, + "launch_simulator": { + "incomplete": true, + "message": "Launch Simulator" + }, + "home": { + "incomplete": true, + "message": "Home" + }, + "gallery": { + "incomplete": true, + "message": "Gallery" + }, + "gallery_url": { + "message": "https://phydemo.app/ray-optics/gallery/" + }, + "welcome": { + "message": "Ray Optics Simulation වෙත සාදරයෙන් පිළිගනිමු
optical component එක් කිරීමට tool තෝරා හිස් අවකාශය මත click කරන්න.
උදාහරණ සඳහා Gallery page වෙත යන්න." + }, + "toolbar_title": { + "message": "Tool: " + }, + "toolname_laser": { + "message": "තනි කිරණ" + }, + "toolname_led": { + "message": "ආලෝක ප්‍රභවය" + }, + "toolname_radiant": { + "message": "ආලෝක ප්‍රභවය" + }, + "toolname_parallel": { + "message": "ආලෝක කදම්භය" + }, + "toolname_mirror_": { + "message": "දර්පණය" + }, + "toolname_mirror": { + "message": "දර්පණය" + }, + "toolname_arcmirror": { + "message": "දර්පණය" + }, + "toolname_parabolicmirror": { + "message": "දර්පණය" + }, + "toolname_curvedmirror": { + "message": "දර්පණය" + }, + "toolname_idealmirror": { + "message": "වක්‍ර දර්පණය" + }, + "toolname_refractor_": { + "message": "වීදුරු" + }, + "toolname_blocker_": { + "message": "බාධක" + }, + "toolname_beamsplitter": { + "message": "කදම්භ විබෙදුම" + }, + "toolname_halfplane": { + "message": "වීදුරු" + }, + "toolname_circlelens": { + "message": "වීදුරු" + }, + "toolname_refractor": { + "message": "වීදුරු" + }, + "toolname_lens": { + "message": "සාමාන්‍ය කාච" + }, + "toolname_sphericallens": { + "message": "වක්‍ර කාච" + }, + "toolname_curvedglass": { + "message": "වීදුරු" + }, + "toolname_blackline": { + "message": "රේඛීය බාධක" + }, + "toolname_blackcircle": { + "message": "වක්‍ර බාධක" + }, + "toolname_ruler": { + "message": "රූල" + }, + "toolname_protractor": { + "message": "කෝණමානය" + }, + "tool_power": { + "message": "අනාවරකය" + }, + "toolname_power": { + "message": "අනාවරකය" + }, + "toolname_text": { + "incomplete": true, + "message": "Text" + }, + "toolname_": { + "incomplete": true, + "message": "Move view" + }, + "modebar_title": { + "incomplete": true, + "message": "View:" + }, + "modename_light": { + "message": "කිරණ" + }, + "modename_extended_light": { + "message": "Extended කිරණ" + }, + "modename_images": { + "incomplete": true, + "message": "All Images" + }, + "modename_observer": { + "message": "නිරීක්ෂකයාට පෙනෙන පරිදි" + }, + "color_mode": { + "incomplete": true, + "message": "Simulate Colors" + }, + "File: ": { + "incomplete": true, + "message": "File: " + }, + "Tools: ": { + "incomplete": true, + "message": "Tools: " + }, + "tool_laser": { + "message": "තනි ආලෝක කිරණයක්" + }, + "tool_parallel": { + "message": "ආලෝක කදම්භය" + }, + "tool_radiant": { + "message": "අංශක 360" + }, + "tool_led": { + "message": "සීමිත කෝණය" + }, + "tool_radiant_": { + "message": "ආලෝක ප්‍රභවය" + }, + "tool_mirror_": { + "message": "දර්පණ" + }, + "tool_mirror": { + "message": "කොටසක්" + }, + "tool_arcmirror": { + "message": "වෘත්තාකාර චාප" + }, + "tool_parabolicmirror": { + "message": "පරාවලයික" + }, + "tool_curvedmirror": { + "message": "Custom සමීකරණ" + }, + "tool_beamsplitter": { + "message": "කදම්භ විබෙදුම" + }, + "tool_idealmirror": { + "message": "පරිපූර්ණ වක්‍ර" + }, + "tool_refractor_": { + "message": "වීදුරු" + }, + "tool_blocker_": { + "message": "බාධක" + }, + "tool_halfplane": { + "message": "අර්ධ තලයක්" + }, + "tool_circlelens": { + "message": "වෘත්ත" + }, + "tool_refractor": { + "message": "නිදහස් හැඩතල" + }, + "tool_lens": { + "message": "පරිපූර්ණ කාච" + }, + "tool_sphericallens": { + "message": "වක්‍ර කාච" + }, + "tool_curvedglass": { + "message": "Custom සමීකරණ" + }, + "tool_blackline": { + "message": "‌රේඛීය බාධක" + }, + "tool_blackcircle": { + "message": "වක්‍ර බාධක" + }, + "tool_ruler": { + "message": "රූල" + }, + "tool_protractor": { + "message": "කෝණමානය" + }, + "tool_text": { + "incomplete": true, + "message": "Text" + }, + "tool_": { + "incomplete": true, + "message": "Move view" + }, + "View: ": { + "incomplete": true, + "message": "View: " + }, + "Settings: ": { + "incomplete": true, + "message": "Settings: " + }, + "mode_light": { + "message": "කිරණ" + }, + "mode_extended_light": { + "message": "දිගුකල කිරණ" + }, + "mode_images": { + "incomplete": true, + "message": "All Images" + }, + "mode_observer": { + "message": "නිරීක්ෂකයාට පෙනෙන පරිදි" + }, + "zoom": { + "message": "Zoom" + }, + "help": { + "message": "උදව්" + }, + "rayDensity": { + "message": "කිරණ ඝණත්වය" + }, + "raydensity": { + "message": "කිරණ ඝණත්වය:" + }, + "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": { + "incomplete": true, + "message": "name:" + }, + "save_cancel": { + "incomplete": true, + "message": "Cancel" + }, + "save_description": { + "message": "ඔබේ වැඩ share කර ගැනීමට, ඔබට Galleryවෙත දායක විය හැක." + }, + "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": { + "incomplete": true, + "message": "Brightness:" + }, + "wavelength": { + "message": "තරංග ආයාමය (nm):" + }, + "dichroic": { + "incomplete": true, + "message": "Dichroic" + }, + "filter": { + "incomplete": true, + "message": "Filter" + }, + "bandwidth": { + "incomplete": true, + "message": "Bandwidth (nm):" + }, + "invert": { + "incomplete": true, + "message": "Invert" + }, + "emissionangle": { + "message": "විමෝචන කෝණය (°):" + }, + "symmetric": { + "message": "සමමිතික" + }, + "focallength": { + "message": "නාභීය දුර:" + }, + "cartesiansign": { + "incomplete": true, + "message": "Cartesian Sign Convention" + }, + "refractiveindex": { + "message": "වර්තන අංකය:" + }, + "random": { + "message": "අහඹු" + }, + "lambertian": { + "incomplete": true, + "message": "Lambertian" + }, + "fontsize": { + "incomplete": true, + "message": "Font Size (px)" + }, + "fontname": { + "incomplete": true, + "message": "Font" + }, + "fontstyle": { + "incomplete": true, + "message": "Style" + }, + "fontalignment": { + "incomplete": true, + "message": "Alignment" + }, + "smallcaps": { + "incomplete": true, + "message": "Small Caps" + }, + "angle": { + "message": "කෝණය (°)" + }, + "beam_warning": { + "message": "⚠️ අපසාරී/අහඹු කදම්භ සමඟ රූප හඳුනාගැනීම ක්‍රියා නොකරයි." + }, + "refractiveindex_note": { + "message": "(වෙනත් වීදුරුවක් ඇතුළත නම් සාපේක්ෂ)" + }, + "refractiveindex_note_popover": { + "message": "මෙම වස්තුව (නිරපේක්ෂ) වර්තන දර්ශකය n₁ සමඟ අනුකරණය කළ යුතු නමුත්, වර්තන දර්ශකය n₀ සහිත වෙනත් වීදුරුවක් තුළ තබා තිබේ නම්, ඔබ මෙහි වර්තන දර්ශකය n₁/n₀ ලෙස සැකසිය යුතුය. වීදුරු කිහිපයක් එකට අතිච්ඡාදනය වන වඩාත් සංකීර්ණ අවස්ථාවන්හිදී, අතිච්ඡාදනය වන කලාපයේ ඵලදායී පරාවර්තක දර්ශකය එක් එක් ඒවායේ පරාවර්තක දර්ශකවල ගුණිතයට සමාන වේ." + }, + "cauchycoeff": { + "message": "Cauchy සංගුණකය" + }, + "transmissionratio": { + "message": "සම්ප්‍රේෂණ අනුපාතය:" + }, + "applytoall": { + "incomplete": true, + "message": "Apply to All" + }, + "duplicate": { + "incomplete": true, + "message": "Duplicate" + }, + "delete": { + "message": "මකන්න" + }, + "showadvanced": { + "message": "Advanced options පෙන්වන්න" + }, + "processing": { + "message": "සකසමින්... නතර කිරීමට මෙතන click කරන්න." + }, + "restore": { + "message": "ඔබේ previous session එක restore කිරීමට මෙතන Click කරන්න.
⚠️ වැදගත් වෙනසක්: මෙම යෙදුම තවදුරටත් sessions ගබඩා නොකරයි. මෙම page එක close කිරීමට පෙර කරුණාකර ඔබගේ වැඩ save කරගන්න." + }, + "contribute": { + "message": "දායක වන්න" + }, + "github": { + "incomplete": true, + "message": "GitHub" + }, + "about": { + "incomplete": true, + "message": "About" + }, + "translate": { + "message": "මෙම යෙදුම පරිවර්තනය කිරීමට අපට උදවු කරන්න" + }, + "translated": { + "message": "පරිවර්තිතයි" + }, + "undo_popover": { + "message": "Undo කරන්න. (Ctrl+Z)" + }, + "redo_popover": { + "message": "Redo කරන්න. (Ctrl+Y)" + }, + "reset_popover": { + "message": "සියලු වෙනස්කම් Reset කරන්න." + }, + "save_popover": { + "incomplete": true, + "message": "Save the current scene as a file." + }, + "open_popover": { + "incomplete": true, + "message": "Open an existing file 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": "උදාහරණ සදහා Galleryට යන්න." + }, + "tool_laser_popover": { + "incomplete": true, + "message": "A single ray of light defined by two points. (Drag or Click to create. The first point is the source, shooting toward the second point.)" + }, + "tool_parallel_popover": { + "incomplete": true, + "message": "A parallel or divergent (advanced option) beam of rays emerges from a line segment, with density controlled by the 'Ray density' slider. (Drag or click to create.)" + }, + "tool_radiant_popover": { + "incomplete": true, + "message": "Rays emerge from a single point, with number controlled by the 'Ray density' slider. (Click to create.)" + }, + "tool_led_popover": { + "incomplete": true, + "message": "Point source with a given emission angle." + }, + "tool_mirror_popover": { + "incomplete": true, + "message": "Simulate the reflection of light on a mirror. (Drag or click to create.)" + }, + "tool_arcmirror_popover": { + "incomplete": true, + "message": "A mirror whose shape is part of a circle, which is defined by three points. (Drag or click to create. The first 2 points define the gap between arc's edges, the last point defines the arc's size.)" + }, + "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": { + "incomplete": true, + "message": "The idealized 'curved' mirror which obeys exactly the mirror equation (1/p + 1/q = 1/f). The focal length (in pixels) can be set directly. (Drag or click to create.)" + }, + "tool_halfplane_popover": { + "incomplete": true, + "message": "Simulate the refraction and reflection of light on a surface. (Drag or click to create.)" + }, + "tool_circlelens_popover": { + "incomplete": true, + "message": "Glass with a circle shape, defined by its center and a point on the surface. (Drag or click to create.)" + }, + "tool_refractor_popover": { + "incomplete": true, + "message": "Glass with any shapes constructed from line segments and circular arcs. (Click to create a segment, drag to create an arc, click on the starting point when finish drawing.)" + }, + "tool_lens_popover": { + "incomplete": true, + "message": "An ideal lens which obeys exactly the thin lens equation (1/p + 1/q = 1/f). The focal length (in pixels) can be set directly. (Drag or click to create.)" + }, + "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": { + "incomplete": true, + "message": "A line-segment light blocker which absorbs the incident rays. (Drag or click to create.)" + }, + "tool_blackcircle_popover": { + "incomplete": true, + "message": "A circle light blocker which absorbs the incident rays. (Drag or click to create.)" + }, + "tool_ruler_popover": { + "incomplete": true, + "message": "A ruler from a point for zero and another point. The scale is in pixels. (Drag or click to create.)" + }, + "tool_protractor_popover": { + "incomplete": true, + "message": "A protractor defined from the center and another point for the zero direction. The scale is in degrees. (Drag or click to create.)" + }, + "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": { + "incomplete": true, + "message": "Drag to move the view. (Mouse right button drag has the same function.)" + }, + "mode_light_popover": { + "incomplete": true, + "message": "Show the rays. When the 'Ray density' is high, they appear to be continuous." + }, + "mode_extended_light_popover": { + "incomplete": true, + "message": "Show both the rays and its extension. Orange indicates backward extensions, and gray indicates forward ones.
When 'Simulate Colors' is on, they are shown in source colors and distinguished by dashing instead." + }, + "mode_images_popover": { + "incomplete": true, + "message": "Show the position of all images. Yellow points indicate real images, orange indicates virtual images, and gray (none in this picture) indicates virtual objects. Note that some images cannot be detected if 'Ray density' is not high enough.
When 'Simulate Colors' is on, they are shown in source colors and distinguished by dot sizes instead." + }, + "mode_observer_popover": { + "incomplete": true, + "message": "Simulate the rays and images seen from some position. The blue circle is the observer. Any rays crossing it are considered to be 'observed'. The observer does not know where the rays actually begin, but may think they begin at some point(s) if they intersect there. The rays are shown in blue, and the points in yellow (real) or orange (virtual). (Drag the big blue dot to move the observer.)
When 'Simulate Colors' is on, they are shown in source colors instead." + }, + "color_mode_popover": { + "incomplete": true, + "message": "Simulate colors (wavelengths) of light sources, mixture of colors, color filtering of blockers and mirrors, 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": "Decides how dense should the lights be simulated. The number is in log scale." + }, + "showgrid_popover": { + "incomplete": true, + "message": "Defines the visibility of the background grid." + }, + "grid_popover": { + "incomplete": true, + "message": "Defines whether to snap to grid." + }, + "lockobjs_popover": { + "incomplete": true, + "message": "Defines whether the objects can be moved or not." + }, + "zoom_popover": { + "incomplete": true, + "message": "Zoom the view with percentage." + }, + "help_popover": { + "incomplete": true, + "message": "
Help popups

Click this button to toggle help popups for other buttons.

Constrained dragging

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.

Group, rotate, and scale objects

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.

Edit coordinates directly

Double-click or right-click the control point (e.g. endpoint) of the object, edit the (x,y) coordinates in pixels, then press Enter.

Keyboard shortcuts

When an object is selected (by clicking it), press arrow keys to move; Ctrl+D to duplicate; Delete key to delete.

" + } +} \ No newline at end of file diff --git a/simulator/locales/sync.js b/simulator/locales/sync.js index 8e7dddb2..211389ba 100644 --- a/simulator/locales/sync.js +++ b/simulator/locales/sync.js @@ -1,27 +1,27 @@ // Run this script with node.js whenever some new items are added into en.js -locale_name = ['en', 'zh-TW', 'zh-CN', 'ru', 'nl', 'fr', 'de', 'pl', 'ja', 'LOCALE_ID']; -locale_files = ['en.js', 'zh_TW.js', 'zh_CN.js', 'ru.js', 'nl.js', 'fr.js', 'de.js', 'pl.js', 'ja.js', 'template.js']; +locale_name = ['en', 'zh-TW', 'zh-CN', 'ru', 'nl', 'fr', 'de', 'pl', 'ja', 'si', 'LOCALE_ID']; +locale_files = ['en.js', 'zh_TW.js', 'zh_CN.js', 'ru.js', 'nl.js', 'fr.js', 'de.js', 'pl.js', 'ja.js', 'si.js', 'template.js']; fs = require('fs'); var locales = {}; for (var i in locale_name) { - eval(fs.readFileSync(locale_files[i]).toString()); + eval(fs.readFileSync(locale_files[i]).toString()); } var locales_new = {}; for (var i in locale_name) { - var locale = {}; - for (var key in locales['en']) { - if (locales[locale_name[i]][key]) { - locale[key] = locales[locale_name[i]][key]; - } else { - locale[key] = {incomplete: true, message: locales['en'][key].message}; + var locale = {}; + for (var key in locales['en']) { + if (locales[locale_name[i]][key]) { + locale[key] = locales[locale_name[i]][key]; + } else { + locale[key] = { incomplete: true, message: locales['en'][key].message }; + } } - } - fs.writeFileSync(locale_files[i], - "if (typeof locales == 'undefined') locales = {};\n" + - "locales[\"" + locale_name[i] + "\"] = " + - JSON.stringify(locale, null, 2)); -} + fs.writeFileSync(locale_files[i], + "if (typeof locales == 'undefined') locales = {};\n" + + "locales[\"" + locale_name[i] + "\"] = " + + JSON.stringify(locale, null, 2)); +} \ No newline at end of file From 584549783a3ae77b4f6a029e428fb65433d1aef6 Mon Sep 17 00:00:00 2001 From: Tharusha Theekshana Date: Sat, 9 Sep 2023 19:48:16 +0530 Subject: [PATCH 2/4] Translated more text. --- simulator/locales/si.js | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/simulator/locales/si.js b/simulator/locales/si.js index 0d27c5b2..5e2ff425 100644 --- a/simulator/locales/si.js +++ b/simulator/locales/si.js @@ -471,32 +471,25 @@ locales["si"] = { "message": "Export to SVG. Color mixtures and relative refractive indices below 1 are not supported." }, "view_gallery_popover": { - "incomplete": true, "message": "උදාහරණ සදහා Galleryට යන්න." }, "tool_laser_popover": { - "incomplete": true, - "message": "A single ray of light defined by two points. (Drag or Click to create. The first point is the source, shooting toward the second point.)" + "message": "ලක්ෂ්‍යය දෙකකින් අර්ථ දක්වා ඇති තනි ආලෝක කිරණකි. (නිර්මාණය කිරීමට drag හෝ click කරන්න. පළමු ලක්ෂ්‍යය ප්‍රභවය ද, දෙවන ලක්ෂ්‍යය කිරණයේ දිශාව ද වේ.)" }, "tool_parallel_popover": { - "incomplete": true, - "message": "A parallel or divergent (advanced option) beam of rays emerges from a line segment, with density controlled by the 'Ray density' slider. (Drag or click to create.)" + "message": "රේඛීය සමාන්තර හෝ අපසාරී (advanced option) කිරණ කදම්භයක් මතු වන අතර 'කිරණ ඝනත්වය' slider මගින් ඝනත්වය පාලනය කරයි. (නිර්මාණය කිරීමට drag හෝ click කරන්න.)" }, "tool_radiant_popover": { - "incomplete": true, - "message": "Rays emerge from a single point, with number controlled by the 'Ray density' slider. (Click to create.)" + "message": "එක් ලක්ෂ්‍යයකින් කිරණ මතු වේ.'කිරණ ඝනත්වය' slider මඟින් සංඛ්‍යාව පාලනය වේ.(නිර්මාණය කිරීමට click කරන්න.)" }, "tool_led_popover": { - "incomplete": true, - "message": "Point source with a given emission angle." + "message": "දී ඇති විමෝචන කෝණයක් සහිත ලක්ෂ්‍යය ප්‍රභවක්." }, "tool_mirror_popover": { - "incomplete": true, - "message": "Simulate the reflection of light on a mirror. (Drag or click to create.)" + "message": "දර්පණයක් මත ආලෝකයේ පරාවර්තනය අනුකරණය (simulate) කරන්න. (නිර්මාණය කිරීමට drag හෝ click කරන්න.)" }, "tool_arcmirror_popover": { - "incomplete": true, - "message": "A mirror whose shape is part of a circle, which is defined by three points. (Drag or click to create. The first 2 points define the gap between arc's edges, the last point defines the arc's size.)" + "message": "ලක්ෂ්‍ය තුනකින් අර්ථ දක්වා ඇති රවුමක කොටසක් වන දර්පණයක්. (නිර්මාණය කිරීමට drag හෝ click කරන්න. පළමු ලක්ෂ්‍යය 2 චාපයේ දාර අතර පරතරය නිරූපණය කරයි, අවසාන ලක්ෂ්‍යය චාපයේ විශාලත්වය නිරූපණය කරයි.)" }, "tool_parabolicmirror_popover": { "incomplete": true, From 73652e8bb7226e6945f1b5e74a427a4919d87dad Mon Sep 17 00:00:00 2001 From: Tharusha Theekshana Date: Sat, 9 Sep 2023 20:50:47 +0530 Subject: [PATCH 3/4] Added sinhala index.html --- cn/index.html | 725 ++++++++++++++++++++------------------- de/index.html | 729 ++++++++++++++++++++------------------- fr/index.html | 679 ++++++++++++++++++------------------ index.html | 741 ++++++++++++++++++++-------------------- jp/index.html | 725 ++++++++++++++++++++------------------- nl/index.html | 688 +++++++++++++++++++------------------ pl/index.html | 729 ++++++++++++++++++++------------------- ru/index.html | 688 +++++++++++++++++++------------------ si/Derana.ttf | Bin 0 -> 81040 bytes si/index.html | 462 +++++++++++++++++++++++++ simulator/locales/si.js | 3 +- tw/index.html | 729 ++++++++++++++++++++------------------- 12 files changed, 3727 insertions(+), 3171 deletions(-) create mode 100644 si/Derana.ttf create mode 100644 si/index.html diff --git a/cn/index.html b/cn/index.html index e118f306..c527c5aa 100644 --- a/cn/index.html +++ b/cn/index.html @@ -1,389 +1,400 @@ - - - - - 射线光学模拟 - PhyDemo (原 ricktu288) - - - - - - - - - - - - - - - - - - - + + + + + 射线光学模拟 - PhyDemo (原 ricktu288) + + + + + + + + + + + + + + + + + + + + + -