Commit Graph

130 Commits

Author SHA1 Message Date
Gabriel Ozouf
6a9a5dbe27 [i18n] Factor duplicate messages in universal
Units with the same name in all available languages have been moved to
the new file toolbox.universal.i18n.

Change-Id: I82ef362ca335dc61da5f3bca67714a9ae409793d
2020-11-04 15:33:01 +01:00
Arthur Camouseigt
3dca515441 [VariableBox] Added sequences to the variable box
It is now possible to call the value of a defined sequence anywhere.

Change-Id: I1990e93c50f9add175b7ea274e07004ba63289e5
2020-11-04 15:32:58 +01:00
Gabriel Ozouf
df6383d2d8 [apps/i18n] Added default country for languages
After choosing a language at onboarding, the country menu now has a
specific country selected by default (Spain for Spanish, Italy for
Italian...)
Default countries are specified in apps/language_preferences.csv

Change-Id: Ia6392aceb9bebf7e62a692c5a79eb8c4d7b71a9d
2020-11-04 15:11:45 +01:00
Gabriel Ozouf
5749d871b0 [apps/i18n] Moved country preferences
Instead of being hardcoded in the python script, preferences specific to
each country are defined in the country_preferences.h and .csv files.

Change-Id: I71e276341e1586935b4d5814be5b1be80fa170a0
2020-11-04 15:11:44 +01:00
Gabriel Ozouf
d156c8c99e [apps/i18n] Added country support
Added a list of supported countries to I18n, and created messages for
each country's names in each language.

Change-Id: I1b887d75da980d99e21f89cc151249e42c78de88
2020-11-04 15:11:44 +01:00
Gabriel Ozouf
aea9176f86 [apps/graph] Added tests for graph caching
Wrote some tests to check that the caching process does not lead to
aberrant values.

Change-Id: I28137e66f430dbcf4417733d1274319dbadfc9af
2020-11-04 15:07:19 +01:00
Léa Saviot
34a4a3311a [apps/code] Add test on variable_box_controller 2020-06-04 14:50:09 +02:00
Léa Saviot
f306b51fc5 [apps/escher] Move ModalViewEmptyController to escher 2020-06-04 14:50:06 +02:00
Léa Saviot
f98c171d2a [apps/variable_box] Prepare for Code::VariableBox factorization 2020-06-04 14:50:05 +02:00
Léa Saviot
3d64b8dc47 [apps] AlternateEmptyNestedMenuController handles empty lists 2020-06-04 14:50:05 +02:00
Léa Saviot
e803ada15f [apps/Makefiles] Automatize i18n adding for different locales 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
Jorick Alberga
8a37096680 [nl] Start translation 2020-06-04 14:50:01 +02:00
Léa Saviot
e6ce3ca249 [apps] GET_OPT uses generated i18n language codes to find language 2020-04-10 04:46:22 -07:00
Joachim LF
77af9ab92b I18NWarn 2020-04-06 18:29:48 +02:00
Romain Goyet
84f6b179de [build] rule_for now takes both "local" and "global" parameters
Previous the build would fail on macOS if you had an epsilon.elf file in
at the root of the project. Indeed, the %.elf -> %.bin rule would get
triggered, but this rule should only operate on generated (intermediate)
elf file.
2020-04-06 10:12:54 +02:00
Romain Goyet
ada205b1a7 [build] Use variants
- Move helpers functions into build/helpers.mak
- Move official warning into official targets only
2020-04-03 22:26:55 -04:00
Émilie Feral
ffb8f8f953 [python] Test: add all template scripts 2020-04-01 16:39:59 +02:00
Émilie Feral
38d02663b4 [build] epsilon_src & epsilon_official_src have to be defined because
they're used by target.simulator.web.mak
2020-02-25 17:37:29 -05:00
Émilie Feral
f69bc6c8e4 [apps] Makefile: fix tests build 2020-02-12 15:13:26 +01:00
Émilie Feral
e17ae9024e [apps] Gather all code regarding exam mode in ExamModeCOnfiguration file 2020-02-12 15:13:26 +01:00
Émilie Feral
1ebf56ef4a [build] Duplicate targets: official/non-official 2020-02-12 15:13:25 +01:00
Émilie Feral
01ab6b5aeb [build] Fix test.elf build 2019-12-19 15:52:45 +01:00
Léa Saviot
4bc99cc530 [apps/Makefile] Fix update prompt build
make -j8 output/release/device/n0110/epsilon.onboarding.update.two_binaries
made a compilation error
2019-12-06 15:22:00 +01:00
Romain Goyet
cb053cf8d2 [build] Clean variants 2019-10-01 15:38:27 +02:00
Romain Goyet
e81426f93b [build] Clean the different targets 2019-10-01 15:38:27 +02:00
Léa Saviot
0840ca7a1e [apps/poincare] Move NormalDistribution to Poincare 2019-08-23 13:47:52 +02:00
Émilie Feral
059c596a80 Makefiles: avoid building all sources for each target; introduce more
modularity
2019-08-08 17:22:01 +02:00
Émilie Feral
11863804f7 [scripts] Remove EPSILON_BOOT_PROMPT flag 2019-08-08 17:21:53 +02:00
Émilie Feral
a4dfe2eb9e [scripts] Remove EPSILON_ONBOARDING_APP flag 2019-08-08 16:32:18 +02:00
Émilie Feral
2ddb586bdc [scripts] Remove EPSILON_USB_DFU_XIP flag: specify the right dfu sources
for each target
2019-08-08 16:29:38 +02:00
Léa Saviot
fbd18dbf7d [apps/Makefile] Fix compilation flags for apps/main.cpp
EPSILON_APPS_NAMES needed when building emscripten
2019-08-07 16:18:20 +02:00
Ruben Dashyan
e9d098bacb [apps] Remove AppsContainerStorage::sharedContainer
Use AppsContainer::sharedAppsContainer instead. The AppsContainerStorage
is initialised in AppsContainer.
2019-07-19 15:06:25 +02:00
Romain Goyet
d7975cfa7f [scripts] Make sure apps have all their prerequisites 2019-03-06 15:00:59 +01:00
Romain Goyet
6e3ce5d295 [scripts] Make sure to build i18n.h 2019-03-06 15:00:59 +01:00
Romain Goyet
219fdcbdc6 [scripts] Correctly build the test runner 2019-03-06 15:00:59 +01:00
Romain Goyet
0c83253d2e [scripts] Use BUILD_DIR instead of build_dir 2019-03-06 15:00:59 +01:00
Romain Goyet
bd6339f9dc [make] Rename OUTPUT_DIRECTORY to build_dir 2019-03-06 15:00:59 +01:00
Romain Goyet
4f2c7a3763 [build] Update the i18n processing to fit the out-of-tree build 2019-03-06 15:00:59 +01:00
Romain Goyet
4f1d74f44b [build] Use an out-of-tree build 2019-03-06 15:00:59 +01:00
Léa Saviot
5498c84ed7 [apps/regression] Add tests about regression navigation 2018-12-19 09:44:58 +01:00
Émilie Feral
944129cf1e [apps] Create a controller VariableBoxEmptyController 2018-11-23 12:04:01 +01:00
Émilie Feral
c3043f47d4 [apps] Remove unused class 2018-11-23 12:04:00 +01:00
Émilie Feral
c95c3145bc Merge remote-tracking branch 'github/master' into Tree 2018-09-13 17:03:31 +02:00
Émilie Feral
9182d66fcc [apps] Apps are not allocated on the heap anymore but in a union hold by
the AppsContainerStorage
2018-09-06 09:49:38 +02:00
Émilie Feral
7d358a2646 Merge branch 'rtc_part1' of https://github.com/boricj/epsilon into exam_mode_boricj 2018-08-22 17:20:04 +02:00
Léa Saviot
29df2e0acd [apps] Remove USBTimer.
Change-Id: Ibe2f49149ce144f9fd5476d0cc69a97406171ef1
2018-04-06 14:31:48 +02:00
Léa Saviot
54eff38c34 [usb] USB aplication that displays the link to the workshop.
Change-Id: I8458fe2a7f1eb4f04fc63f9e0b49d251c20f4cb6
2018-04-06 14:31:47 +02:00
Émilie Feral
c5e525ddb7 Enable to give options at run-time 2018-03-22 11:58:56 +01:00
Romain Goyet
3ad7b941dd Define and use PYTHON in the build system 2018-02-18 15:21:15 +01:00