Commit Graph

11158 Commits

Author SHA1 Message Date
Émilie Feral
a248302132 [poincare] Unit: define order on representatives in a way that time
addition are displayed: years + months + ... + seconds
2020-06-04 14:50:03 +02:00
Émilie Feral
5fa50ec79d [poincare] Unit::BuildTimeSplit can split negative time 2020-06-04 14:50:03 +02:00
Émilie Feral
23540e93ce [poincare] Unit::BuildTimeSplit rounds its argument to avoid displaying
very small seconds due to approximations

This fixes: Input "310_min", in additional results, you get
"5_h+10_min+0.000000???_s"
2020-06-04 14:50:03 +02:00
Émilie Feral
fe0a858352 [poincare] Unit: improve BuildTimeSplit to avoid displaing null sub unit
in the final addition and to keep the fractional part of the seconds
2020-06-04 14:50:03 +02:00
Émilie Feral
115ae59b5a [apps/calculation] additional_outputs: reorder unit addition outputs 2020-06-04 14:50:03 +02:00
Émilie Feral
73a598e023 [poincare] Unit: enable to tune both the prefix and the Representant or
just the prefix on a given Unit
2020-06-04 14:50:03 +02:00
Émilie Feral
e063c0a913 [apps/calculation] additional_outputs: add electronVolt row to
additional results on energy units
2020-06-04 14:50:03 +02:00
Émilie Feral
ec95ed0789 [poincare] Add Unit::ElectronVolt builder 2020-06-04 14:50:03 +02:00
Émilie Feral
0d0a37c02a [apps/calculation] additional_outputs: improve unit_list_controller to
compute all expressions before being displayed
2020-06-04 14:50:03 +02:00
Émilie Feral
785d7a0a62 [apps] additional_outputs: misc. clean-up on unit additional results 2020-06-04 14:50:03 +02:00
Émilie Feral
1a9014645c [apps] additional_outputs: fill unit additional results 2020-06-04 14:50:03 +02:00
Émilie Feral
53db27ffeb [poincare] Discard UnitConversion::Classic mode. This will be done in
Calculation app
2020-06-04 14:50:03 +02:00
Émilie Feral
7b28f760b7 [poincare] Float: float can be layouted 2020-06-04 14:50:03 +02:00
Émilie Feral
83a63155b1 [apps] PoincareHelpers: enable to specify the UnitConversion mode in
Simplify
2020-06-04 14:50:03 +02:00
Émilie Feral
397aac27c5 [poincare] Add test on Unit helpers 2020-06-04 14:50:03 +02:00
Émilie Feral
71b13bb84f [poincare] Fix Unit::BuildTimeSplit 2020-06-04 14:50:03 +02:00
Émilie Feral
845a118073 [poincare] Add Unit::BuildTimeSplit and helpers for time units 2020-06-04 14:50:02 +02:00
Émilie Feral
94c5941fb5 [poincare] Unit: improve ChooseBestMultipleForValue 2020-06-04 14:50:02 +02:00
Émilie Feral
8d12cf1e8b [poincare] Multiplication: clean code 2020-06-04 14:50:02 +02:00
Émilie Feral
ec7382c75e [poincare] Unit::chooseBestMultipleForValue handles edge cases (inf, 1,
0) cases itself
2020-06-04 14:50:02 +02:00
Émilie Feral
687766567d [poincare] Multiplication::shallowBeautify: don't bother to choose best
unit for UnitConversion::Classic
2020-06-04 14:50:02 +02:00
Émilie Feral
4d7b9aa2a9 [poincare] Add watthour representation to classic unit conversion 2020-06-04 14:50:02 +02:00
Émilie Feral
cc114900fa [poincare] Add Liter representation to classic unit conversion 2020-06-04 14:50:02 +02:00
Émilie Feral
e2dc79c2d5 [poincare] Partially implement simplification for UnitConversion::Classic 2020-06-04 14:50:02 +02:00
Léa Saviot
ddd3904ea9 [apps/calculation] Translate ES toolbox 2020-06-04 14:50:02 +02:00
Roberta Rabotti
33b2633729 [it]python 2020-06-04 14:50:02 +02:00
Roberta Rabotti
71ab038e97 [it]python 2020-06-04 14:50:02 +02:00
Roberta Rabotti
98da319a2b [it]python 2020-06-04 14:50:02 +02:00
Roberta Rabotti
e203f7ae08 [it]Forma 2020-06-04 14:50:02 +02:00
Léa Saviot
e542296b81 [apps/shared.i18n] Remove unused value 2020-06-04 14:50:02 +02:00
Léa Saviot
6cd9b744e1 [apps/code] Fix some toolbox descriptions 2020-06-04 14:50:02 +02:00
Léa Saviot
33ebd3d1aa [apps/pt] Remove superfluous upper case 2020-06-04 14:50:02 +02:00
Serenela Moreira
21e4af967a [pt] base and catalog translations
new translations that were missing after version 13
2020-06-04 14:50:02 +02:00
Léa Saviot
e803ada15f [apps/Makefiles] Automatize i18n adding for different locales 2020-06-04 14:50:02 +02:00
Roberta Rabotti
8aa323b043 [it]python 2020-06-04 14:50:02 +02:00
Léa Saviot
c7c47acc1b [build/config] Change the languages order 2020-06-04 14:50:02 +02:00
Léa Saviot
64a221a72c [apps/code] Add missing i18n (not translated yet) 2020-06-04 14:50:02 +02:00
Léa Saviot
c9d7229566 [apps/code] Fix ' characters 2020-06-04 14:50:02 +02:00
Léa Saviot
883455c958 [apps] IT and NL iso6391 definitions 2020-06-04 14:50:02 +02:00
Roberta Rabotti
40a1f1a10c [it]changes 2020-06-04 14:50:02 +02:00
Roberta Rabotti
51d20a6164 [it]changes 2020-06-04 14:50:02 +02:00
Roberta Rabotti
1f66eb9203 [it]changes 2020-06-04 14:50:02 +02:00
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