Commit 38e35ddf by Omar Al-Ithawi

Added some comments for the translators in the calculator

parent 185dbd3c
...@@ -64,6 +64,7 @@ from openedx.core.djangolib.markup import HTML, Text ...@@ -64,6 +64,7 @@ from openedx.core.djangolib.markup import HTML, Text
</td> </td>
</tr> </tr>
<tr> <tr>
## Translators: This refers to mathematical operators such as `plus`, `minus`, `division` and others.
<th scope="row">${_("Operators")}</th> <th scope="row">${_("Operators")}</th>
## Translators: Please do not translate mathematical symbols. ## Translators: Please do not translate mathematical symbols.
<td dir="auto"> <td dir="auto">
...@@ -81,6 +82,7 @@ from openedx.core.djangolib.markup import HTML, Text ...@@ -81,6 +82,7 @@ from openedx.core.djangolib.markup import HTML, Text
</td> </td>
</tr> </tr>
<tr> <tr>
## Translators: This refers to symbols that are mathematical constants, such as "i" (square root of -1)
<th scope="row">${_("Constants")}</th> <th scope="row">${_("Constants")}</th>
<td dir="auto">c, e, g, i, j, k, pi, q, T</td> <td dir="auto">c, e, g, i, j, k, pi, q, T</td>
<td dir="auto"> <td dir="auto">
...@@ -89,6 +91,7 @@ from openedx.core.djangolib.markup import HTML, Text ...@@ -89,6 +91,7 @@ from openedx.core.djangolib.markup import HTML, Text
</td> </td>
</tr> </tr>
<tr> <tr>
## Translators: This refers to symbols that appear at the end of a number, such as the percent sign (%) and metric affixes
<th scope="row">${_("Affixes")}</th> <th scope="row">${_("Affixes")}</th>
<td dir="auto">${_("Percent sign (%) and metric affixes (d, c, m, u, n, p, k, M, G, T)")}</td> <td dir="auto">${_("Percent sign (%) and metric affixes (d, c, m, u, n, p, k, M, G, T)")}</td>
<td dir="auto"> <td dir="auto">
...@@ -98,6 +101,7 @@ from openedx.core.djangolib.markup import HTML, Text ...@@ -98,6 +101,7 @@ from openedx.core.djangolib.markup import HTML, Text
</td> </td>
</tr> </tr>
<tr> <tr>
## Translators: This refers to basic mathematical functions such as "square root"
<th scope="row">${_("Basic functions")}</th> <th scope="row">${_("Basic functions")}</th>
<td dir="auto">abs, exp, fact or factorial, ln, log2, log10, sqrt</td> <td dir="auto">abs, exp, fact or factorial, ln, log2, log10, sqrt</td>
<td dir="auto"> <td dir="auto">
...@@ -106,6 +110,7 @@ from openedx.core.djangolib.markup import HTML, Text ...@@ -106,6 +110,7 @@ from openedx.core.djangolib.markup import HTML, Text
</td> </td>
</tr> </tr>
<tr> <tr>
## Translators: This refers to mathematical Sine, Cosine and Tan
<th scope="row">${_("Trigonometric functions")}</th> <th scope="row">${_("Trigonometric functions")}</th>
<td dir="auto"> <td dir="auto">
sin, cos, tan, sec, csc, cot<br /> sin, cos, tan, sec, csc, cot<br />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment