Skip to content

Commit

Permalink
Update some texts
Browse files Browse the repository at this point in the history
  • Loading branch information
ricktu288 committed Apr 8, 2023
1 parent 5036f38 commit de3cbdd
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion about.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ <h3><img src="icon128.png" alt="Icon" width="64" height="64"><br>
</div>
<br>
<p>
This project, including the gallery contents, is licensed under the <a href="https://github.com/ricktu288/ray-optics/blob/master/LICENSE">Apache License 2.0</a>, and is hosted on the <a href="https://phydemo.app/">PhyDemo (phydemo.app)</a> website (formerly on ricktu288.github.io).
This project, including the gallery contents, is licensed under the <a href="https://github.com/ricktu288/ray-optics/blob/master/LICENSE">Apache License 2.0</a>, and is officially hosted on the <a href="https://phydemo.app/">PhyDemo (phydemo.app)</a> website (formerly on ricktu288.github.io).
The source code is <a href="https://github.com/ricktu288/ray-optics">available on GitHub</a>, and you are <a href="https://github.com/ricktu288/ray-optics/blob/master/CONTRIBUTING.md#contributing">welcome to contribute</a>.
If you have questions or suggestions, you can either <a href="https://github.com/ricktu288/ray-optics/issues">open issues on GitHub</a> or email <a href="mailto:[email protected]">[email protected]</a>.
</p>
Expand Down
2 changes: 1 addition & 1 deletion gallery/index-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
</div>
<div class="container">
<h1>The Ray Optics Gallery</h1>
This is a collection of simulations made using <a href="https://phydemo.app/ray-optics/simulator/">the web app</a>, which can be used as interactive demos of optics. You are welcome to contribute new items or improve existing ones. See <a href="https://github.com/ricktu288/ray-optics/blob/master/CONTRIBUTING.md#contributing-items-to-the-gallery">the contribution guide</a> for more information. To report a mistake, please <a href="https://github.com/ricktu288/ray-optics/issues">open an issue on GitHub</a> or email <a href="mailto:[email protected]">[email protected]</a>.
This is a collection of simulations made using <a href="https://phydemo.app/ray-optics/simulator/">the web app</a>, which can be used as interactive demos of optics. You are welcome to contribute new items. See <a href="https://github.com/ricktu288/ray-optics/blob/master/CONTRIBUTING.md#contributing-items-to-the-gallery">the contribution guide</a> for more information. To report a mistake, please <a href="https://github.com/ricktu288/ray-optics/issues">open an issue on GitHub</a> or email <a href="mailto:[email protected]">[email protected]</a>.

<h3>Categories</h3>
{LINKS}
Expand Down
2 changes: 1 addition & 1 deletion gallery/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
</div>
<div class="container">
<h1>The Ray Optics Gallery</h1>
This is a collection of simulations made using <a href="https://phydemo.app/ray-optics/simulator/">the web app</a>, which can be used as interactive demos of optics. You are welcome to contribute new items or improve existing ones. See <a href="https://github.com/ricktu288/ray-optics/blob/master/CONTRIBUTING.md#contributing-items-to-the-gallery">the contribution guide</a> for more information. To report a mistake, please <a href="https://github.com/ricktu288/ray-optics/issues">open an issue on GitHub</a> or email <a href="mailto:[email protected]">[email protected]</a>.
This is a collection of simulations made using <a href="https://phydemo.app/ray-optics/simulator/">the web app</a>, which can be used as interactive demos of optics. You are welcome to contribute new items. See <a href="https://github.com/ricktu288/ray-optics/blob/master/CONTRIBUTING.md#contributing-items-to-the-gallery">the contribution guide</a> for more information. To report a mistake, please <a href="https://github.com/ricktu288/ray-optics/issues">open an issue on GitHub</a> or email <a href="mailto:[email protected]">[email protected]</a>.

<h3>Categories</h3>
<a href="#reflection">Reflection</a><br>
Expand Down
2 changes: 1 addition & 1 deletion simulator/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
id="about">About</a>
·
<a href="https://github.com/ricktu288/ray-optics" target="_blank"
style="color:gray" id="github">GitHub Repo</a>
style="color:gray" id="github">GitHub</a>
·
<a href="#" style="color:gray" data-toggle="dropdown" id="language">English▲</a>
<ul class="dropdown-menu" style="background:gray; font-size:9pt; padding:5px; min-width: 0">
Expand Down
4 changes: 2 additions & 2 deletions simulator/locales/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ locales["de"] = {
"message": "Mitmachen"
},
"github": {
"message": "GitHub Repo"
"message": "GitHub"
},
"about": {
"message": "Über"
Expand Down Expand Up @@ -531,4 +531,4 @@ locales["de"] = {
"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 \"x\" 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>"
}
}
}
4 changes: 2 additions & 2 deletions simulator/locales/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ locales["en"] = {
"message": "Contribute"
},
"github": {
"message": "GitHub Repo"
"message": "GitHub"
},
"about": {
"message": "About"
Expand Down Expand Up @@ -483,4 +483,4 @@ locales["en"] = {
"help_popover": {
"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>"
}
}
}
4 changes: 2 additions & 2 deletions simulator/locales/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ locales["fr"] = {
},
"github": {
"incomplete": true,
"message": "GitHub Repo"
"message": "GitHub"
},
"about": {
"incomplete": true,
Expand Down Expand Up @@ -545,4 +545,4 @@ locales["fr"] = {
"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>"
}
}
}
4 changes: 2 additions & 2 deletions simulator/locales/nl.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ locales["nl"] = {
},
"github": {
"incomplete": true,
"message": "GitHub Repo"
"message": "GitHub"
},
"about": {
"incomplete": true,
Expand Down Expand Up @@ -561,4 +561,4 @@ locales["nl"] = {
"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>"
}
}
}
2 changes: 1 addition & 1 deletion simulator/locales/pl.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ locales["pl"] = {
"message": "Wnieś wkład"
},
"github": {
"message": "Repozytorium GitHub"
"message": "GitHub"
},
"about": {
"message": "O aplikacji"
Expand Down
4 changes: 2 additions & 2 deletions simulator/locales/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ locales["ru"] = {
},
"github": {
"incomplete": true,
"message": "GitHub Repo"
"message": "GitHub"
},
"about": {
"incomplete": true,
Expand Down Expand Up @@ -547,4 +547,4 @@ locales["ru"] = {
"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>"
}
}
}
4 changes: 2 additions & 2 deletions simulator/locales/template.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ locales["LOCALE_ID"] = {
},
"github": {
"incomplete": true,
"message": "GitHub Repo"
"message": "GitHub"
},
"about": {
"incomplete": true,
Expand Down Expand Up @@ -644,4 +644,4 @@ locales["LOCALE_ID"] = {
"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>"
}
}
}
4 changes: 2 additions & 2 deletions simulator/locales/zh_CN.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ locales["zh-CN"] = {
"message": "贡献"
},
"github": {
"message": "GitHub 仓库"
"message": "GitHub"
},
"about": {
"message": "关于"
Expand Down Expand Up @@ -483,4 +483,4 @@ locales["zh-CN"] = {
"help_popover": {
"message": "<div style=\"font-weight: normal; font-size: 10pt;\"><b>提示泡泡</b><p>按此钮以切换是否于其他按钮显示提示泡泡。</p><b>限制拖曳行为</b><p>拖曳物件时,按住 Shift 以限制于水平或垂直移动;按住 Ctrl 以复制物件。建立线型物件或拖曳其端点时,按住 Shift 以锁定角度或吸附至 0°、45°、90°;按住 Ctrl 以对于中心点旋转或缩放。</p><b>群组、旋转及缩放物件</b><p>按住 Ctrl,点击多个控制点(如端点),并点击空白处以将这些点群组并建立控制杆。拖曳控制杆(或按方向键)以平移群组;Shift+拖曳以限制于水平或垂直移动;Ctrl+拖曳以旋转;Ctrl+Shift+拖曳以缩放。移动「+」以设定旋转或缩放中心。点击控制杆并按 Ctrl+D 以复制群组;按 Delete 以解散群组。 </p><b>直接编辑座标</b><p>对控制点(如端点)点两下或按右键,输入 (x,y) 座标(单位为像素),然后按 Enter。 </p><b>键盘快速键</b><p>当一物件在被选取的状态(被点击)时,按方向键以移动;Ctrl+D 以复制;Delete 以删除。 </div>"
}
}
}
4 changes: 2 additions & 2 deletions simulator/locales/zh_TW.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ locales["zh-TW"] = {
"message": "貢獻"
},
"github": {
"message": "GitHub 專案"
"message": "GitHub"
},
"about": {
"message": "關於"
Expand Down Expand Up @@ -483,4 +483,4 @@ locales["zh-TW"] = {
"help_popover": {
"message": "<div style=\"font-weight: normal; font-size: 10pt;\"><b>提示泡泡</b><p>按此鈕以切換是否於其他按鈕顯示提示泡泡。</p><b>限制拖曳行為</b><p>拖曳物件時,按住 Shift 以限制於水平或垂直移動;按住 Ctrl 以複製物件。建立線型物件或拖曳其端點時,按住 Shift 以鎖定角度或吸附至 0°、45°、90°;按住 Ctrl 以對於中心點旋轉或縮放。</p><b>群組、旋轉及縮放物件</b><p>按住 Ctrl,點擊多個控制點(如端點),並點擊空白處以將這些點群組並建立控制桿。拖曳控制桿(或按方向鍵)以平移群組;Shift+拖曳以限制於水平或垂直移動;Ctrl+拖曳以旋轉;Ctrl+Shift+拖曳以縮放。移動「+」以設定旋轉或縮放中心。點擊控制桿並按 Ctrl+D 以複製群組;按 Delete 以解散群組。</p><b>直接編輯座標</b><p>對控制點(如端點)點兩下或按右鍵,輸入 (x,y) 座標(單位為像素),然後按 Enter。</p><b>鍵盤快速鍵</b><p>當一物件在被選取的狀態(被點擊)時,按方向鍵以移動;Ctrl+D 以複製;Delete 以刪除。</div>"
}
}
}

0 comments on commit de3cbdd

Please sign in to comment.