diff --git a/lms/static/sass/course/modules/_calculator.scss b/lms/static/sass/course/modules/_calculator.scss index 6d40743005..37806c24b6 100644 --- a/lms/static/sass/course/modules/_calculator.scss +++ b/lms/static/sass/course/modules/_calculator.scss @@ -98,6 +98,7 @@ } #calculator_output { + direction: ltr; // Almost all of the real-world calculators are LTR background: $white; border: 1px solid $white; box-shadow: none; @@ -130,6 +131,7 @@ } #calculator_input { + direction: ltr; // Almost all of the real-world calculators are LTR border: none; box-shadow: none; @include box-sizing(border-box); diff --git a/lms/templates/calculator/toggle_calculator.html b/lms/templates/calculator/toggle_calculator.html index a3c4bbfd30..287e090cd1 100644 --- a/lms/templates/calculator/toggle_calculator.html +++ b/lms/templates/calculator/toggle_calculator.html @@ -57,25 +57,24 @@ from openedx.core.djangolib.markup import HTML, Text ${_("Fractions")}
${_("Decimals")} - + 2520
2/3
3.14, .98 + ## Translators: This refers to mathematical operators such as `plus`, `minus`, `division` and others. ${_("Operators")} ## Translators: Please do not translate mathematical symbols. - + ${_("+ - * / (add, subtract, multiply, divide)")}
## Translators: Please do not translate mathematical symbols. ${_("^ (raise to a power)")}
## Translators: Please do not translate mathematical symbols. - ${_("_ (add a subscript)")}
- ## Translators: Please do not translate mathematical symbols. ${_("|| (parallel resistors)")} - + x+(2*y)/x-1 x^(n+1)
v_IN+v_OUT
@@ -83,63 +82,59 @@ from openedx.core.djangolib.markup import HTML, Text - ${_("Greek letters")} - ${_("Name of letter")} - - alpha
- lambda - - - + ## Translators: This refers to symbols that are mathematical constants, such as "i" (square root of -1) ${_("Constants")} - c, e, g, i, j, k, pi, q, T - + c, e, g, i, j, k, pi, q, T + 20*c
418*T + ## Translators: This refers to symbols that appear at the end of a number, such as the percent sign (%) and metric affixes ${_("Affixes")} - ${_("Percent sign (%) and metric affixes (d, c, m, u, n, p, k, M, G, T)")} - + ${_("Percent sign (%) and metric affixes (d, c, m, u, n, p, k, M, G, T)")} + 20%
20c
418T + ## Translators: This refers to basic mathematical functions such as "square root" ${_("Basic functions")} - abs, exp, fact or factorial, ln, log2, log10, sqrt - + abs, exp, fact or factorial, ln, log2, log10, sqrt + abs(x+y)
sqrt(x^2-y) + ## Translators: This refers to mathematical Sine, Cosine and Tan ${_("Trigonometric functions")} - + sin, cos, tan, sec, csc, cot
arcsin, sinh, arcsinh, etc.
- + sin(4x+y)
arccsch(4x+y) - + ## Translators: Please see http://en.wikipedia.org/wiki/Scientific_notation ${_("Scientific notation")} ## Translators: 10^ is a mathematical symbol. Please do not translate. - ${_("10^ and the exponent")} - 10^-9 + ${_("10^ and the exponent")} + 10^-9 ## Translators: this is part of scientific notation. Please see http://en.wikipedia.org/wiki/Scientific_notation#E_notation ${_("e notation")} ## Translators: 1e is a mathematical symbol. Please do not translate. - ${_("1e and the exponent")} - 1e-9 + ${_("1e and the exponent")} + 1e-9