Commit Graph

11116 Commits

Author SHA1 Message Date
Roberta Rabotti
549f537ff6 [it] Add i18n files to Makefiles 2020-06-04 14:50:02 +02:00
Roberta Rabotti
3ef28ec155 [it] new translation files 2020-06-04 14:50:02 +02:00
Serenela Moreira
834a8784c9 [pt] chaged settings name 2020-06-04 14:50:02 +02:00
Serenela Moreira
b1e8f65a67 [pt] corrected typo 2020-06-04 14:50:02 +02:00
Serenela Moreira
7aecec705e [pt] shorten too long lines and other details 2020-06-04 14:50:02 +02:00
Serenela Moreira
e880dfe4b4 [pt] corrected base 2020-06-04 14:50:02 +02:00
Serenela Moreira
4802299f3c [pt] corrected regression and sequences 2020-06-04 14:50:02 +02:00
Serenela Moreira
e26739d4ad [pt] corrected toolbox 2020-06-04 14:50:02 +02:00
Serenela Moreira
ff0fb4b4c2 [pt] corrected typos in usb 2020-06-04 14:50:02 +02:00
Serenela Moreira
578c8be857 [pt] corrected shared and base 2020-06-04 14:50:02 +02:00
Serenela Moreira
b9ce07b24d [pt] translated catalog - python 2020-06-04 14:50:02 +02:00
Serenela Moreira
9c2753148b [pt] changed toolbox 2020-06-04 14:50:02 +02:00
Serenela Moreira
ad348cb64e [pt] changed graph mistakes 2020-06-04 14:50:02 +02:00
Serenela Moreira
d0a9dabd64 [pt] changed details in home and probabilities 2020-06-04 14:50:02 +02:00
Serenela Moreira
1f54ddf245 [pt] changed settings again
improved details
2020-06-04 14:50:02 +02:00
Serenela Moreira
a64ad87146 [pt] corrected settings and statistics 2020-06-04 14:50:02 +02:00
Jorick Alberga
b1e737879d [nl] Translation Epsilon 2020-06-04 14:50:02 +02:00
Jorick Alberga
c70b5b07cc [nl] Epsilon translation 2020-06-04 14:50:02 +02:00
Jorick Alberga
08fe49526c [nl] Epsilon translation update 2020-06-04 14:50:02 +02:00
Jorick Alberga
7f561b0a3d [nl] Update translation Epsilon 2020-06-04 14:50:02 +02:00
Jorick Alberga
07f924bed6 [nl] Translation Functions app And other translation
In file: epsilon/apps/graph/base.nl.i18n some text would look better if placed slightly to the left. I'm talking about lines 23 and 24: SelectLowerBound and SelectUpperBound
2020-06-04 14:50:01 +02:00
Jorick Alberga
1426da8c44 [nl] Also python-app 2020-06-04 14:50:01 +02:00
Jorick Alberga
00064ba824 [nl] Translation Python-app 2020-06-04 14:50:01 +02:00
Jorick Alberga
8a37096680 [nl] Start translation 2020-06-04 14:50:01 +02:00
Émilie Feral
ae71c23147 [poincare] Override method Unit::node to return UnitNode 2020-06-04 14:50:01 +02:00
Émilie Feral
3308b13b9c [poincare] UnitConvert:
- do the smart part at beautification to avoid
requiring an escape case just for UnitConvert
- Use UnitConvert::None
2020-06-04 14:50:01 +02:00
Émilie Feral
c3e68d1968 [poincare] Add test on the UnitConversion mode 2020-06-04 14:50:01 +02:00
Émilie Feral
3f34e5e644 [poincare] Enable to choose the "UnitConversion" mode at simplification
between: only SI, none, default...
2020-06-04 14:50:01 +02:00
Émilie Feral
d805c59202 [poincare] Fix extractUnit into removeUnit paradigm 2020-06-04 14:50:01 +02:00
Émilie Feral
4e2da5de05 [poincare] Add crashing tests on units 2020-06-04 14:50:01 +02:00
Émilie Feral
38659587f5 [poincare] Multiplication::shallowBeautify: fix typo (fix tests) 2020-06-04 14:50:01 +02:00
Émilie Feral
56c45d1390 [poincare] Parsing: expression -> expression is always parsed but return
"undef" when the left expression is neither a custom variable or
function nor a unit.
This makes the behaviour consistent on theses expressions:
2 -> a+a
2 -> 2*a
2020-06-04 14:50:01 +02:00
Émilie Feral
e4848a7535 [apps/calculation] HistoryController: favour understandable code 2020-06-04 14:50:01 +02:00
Ruben Dashyan
266482ef99 [apps/calculation] Additional outputs for Unit 2020-06-04 14:50:01 +02:00
Ruben Dashyan
f8050f0673 [poincare/symbol_abstract] Remove redundant code
This case is already handled in shallowReduce of Function and Symbol
2020-06-04 14:50:01 +02:00
Ruben Dashyan
407ce0534c [poincare/expression] Use extractUnits instead of hasUnit when possible 2020-06-04 14:50:01 +02:00
Ruben Dashyan
f227cd719f [poincare/multiplication] Use extractUnits instead of splitIntoNormalForm in shallowBeautify 2020-06-04 14:50:01 +02:00
Ruben Dashyan
914bb38a8e [poincare/test/helper] Do not beautify in assert_simplify helper function
Simplifying a Store expression does not generally reduce the children,
so the children should probably not be beautified ?
2020-06-04 14:50:01 +02:00
Ruben Dashyan
c71cce2957 [poincare/test] Factor assertions 2020-06-04 14:50:01 +02:00
Ruben Dashyan
651b705dbd Revert "[poincare/expression] deepBeautify bubbles up Undefined children"
This reverts commit 300399fe4d.

Not necessary anymore to bubble up Undefined children in deepBeautify
since Unit::shallowBeautify does not introduce any Undefined Expression.
2020-06-04 14:50:01 +02:00
Ruben Dashyan
01b94f8543 [poincare/unit] Units homogeneity is already handled in each Expression subclass
specifically if needed or generically in defaultHandleUnitsInChildren
2020-06-04 14:50:01 +02:00
Ruben Dashyan
7ef28a93bc [poincare/multiplication] Do not expand Multiplication in presence of units 2020-06-04 14:50:01 +02:00
Ruben Dashyan
bf9653d510 [poincare/expression] Turn getUnit into extractUnits
Addition::shallowReduce factors the unit across its terms.
Previously expressions of the form 1_m+π_m were reduced to undef.
2020-06-04 14:50:01 +02:00
Ruben Dashyan
94e1fdfc7a [poincare/test/simplification] Uncomment passing tests 2020-06-04 14:50:01 +02:00
Ruben Dashyan
f2bfc7ec9b [poincare/expression] Remove redundancies in getUnit 2020-06-04 14:50:01 +02:00
Ruben Dashyan
9a762f1bf6 [poincare] A (Power of) Unit must not be orphan 2020-06-04 14:50:01 +02:00
Ruben Dashyan
c12ab3a2e2 [poincare/multiplication] Simplify shallowBeautify 2020-06-04 14:50:01 +02:00
Ruben Dashyan
2895d365a6 [poincare/multiplication] Make sure a Multiplication is not made of (Power of) Units only 2020-06-04 14:50:01 +02:00
Ruben Dashyan
4d1129b0db [poincare/multiplication] Reorder steps in shallowBeautify 2020-06-04 14:50:01 +02:00
Ruben Dashyan
b8786dd32c Revert "[poincare/multiplication] Fix handling of units with non-integer exponent"
This reverts commit 50f1ee9721.

Since Power::shallowReduce now checks that the exponent of a Unit is an
Integer, instead of Unit::shallowBeautify, there is no need anymore to
handle that in Multiplication::splitIntoNormalForm.
2020-06-04 14:50:01 +02:00