Commit Graph

258 Commits

Author SHA1 Message Date
Gabriel Ozouf
64e7057d50 [apps/on_boarding] Remember language choice
When choosing a language and then pressing back from the country menu to
get back to the language menu, the previously selected language remains
selected.

Change-Id: I018c51cce09d47b15bb4864c135d381a94b2a72f
2020-11-04 15:33:00 +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
Martijn Oost
338968a493 improved translations in toolbox and the calculation, python and functions app 2020-11-04 15:30:53 +01:00
Gabriel Ozouf
9be5e7671c [apps/settings] Fix broken assert
Pressing OK or EXE with the brightness setting selected would cause a
crash because of a mishandling of the events for this cell.

Change-Id: I4978b4f749b5f19bc1e49ec05b60a32044d86638
2020-11-04 15:30:53 +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
62f598110e [apps/shared] Created LocalizationController
Classes LanguageController and CountryController have been fused into
one class LocalizationController, as they were very similar. This allows
the Settings and OnBoarding apps to only keep one controller for both
functions.

Change-Id: Ic23f300c37122249d34caaf18a633b5815240a78
2020-11-04 15:11:44 +01:00
Gabriel Ozouf
8d362ef4de [apps/settings] Added message to country menu
Change-Id: Iec064d0ac86f54a10cf63236b6f958d53cecb2e2
2020-11-04 15:11:44 +01:00
Gabriel Ozouf
51747d3d36 [apps/settings] Added country to settings
Refactored Settings::MainController::handleEvent

Change-Id: Id8ad604183a64520dd785356514e87fddc50354c
2020-11-04 15:11:44 +01:00
Hugo Saint-Vignes
e27c668c40 [apps,escher,kandinsky,poincare,python] Replace every "grey" with "gray"
Change-Id: I60a232849dce90f70e6977b6024d6e9b1ce1b731
2020-11-04 15:07:20 +01:00
Joachim Le Fournis
46ede2eb59 Resolved the wrong gender of font in fr 2020-07-15 10:41:37 +02:00
Léa Saviot
e6b87be75e [apps/i18n] Fix some i18n
Did not fit or missed a space
2020-06-04 14:50:10 +02:00
Léa Saviot
b8244ec0c5 [apps] Fix margins of LanguageController
Add margin at the bottom and fix margin values
2020-06-04 14:50:07 +02:00
Léa Saviot
6d7b294bca [apps/escher] Rename ToolboxMessageTree::children -> childAtIndex 2020-06-04 14:50:06 +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
e803ada15f [apps/Makefiles] Automatize i18n adding for different locales 2020-06-04 14:50:02 +02:00
Roberta Rabotti
40a1f1a10c [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
7aecec705e [pt] shorten too long lines and other details 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
7f561b0a3d [nl] Update translation Epsilon 2020-06-04 14:50:02 +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
TheTrueBrot
2768c143c8 Fix a mistake in German translation 2020-04-28 02:17:54 -07:00
Émilie Feral
2d0d4a3a8d [apps] Fix misc errors in German translation 2020-04-27 15:29:05 +02:00
Émilie Feral
42d643aa7e [apps/settings] improve German locale 2020-04-15 09:15:37 -04:00
Romain Goyet
84768472bd Explicit std::min/max template usage
This is unfortunately required in several cases:
 - Sometimes when we use either float and double (this should be changed)
 - Because KDCoordinate is not an int, so any arithmemtic promotes it to
an int
 - Because we mix pointer differences and ints
2020-04-14 09:31:02 -04:00
Romain Goyet
950862f8d0 Use std::min and std::max 2020-04-14 09:31:02 -04:00
FloMiau
b59085bd7f Update German language file
replace "Testmodus" with "Prüfungsmodus"
Real: "Reel" -> "Reell"
Gradians: "Gone" -> "Gon"
2020-04-08 10:09:24 +02:00
wow
42fa0e7fbc More friendly french translations 2020-04-07 11:46:30 +02:00
Léa Saviot
19b5653851 [apps/i18n] Remove Language::Default
We never translate a i18n message to something else than the currrent
language selected
2020-04-06 13:35:18 +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
Léa Saviot
750f655b2f [apps] Move SettingsMessageTree in Shared
It is needed in exam_mode_configuration. This way, we can build one app
only
2020-02-21 16:03:07 +01:00
Émilie Feral
013f817b35 [apps] Fix i18n to be able to build without settings app in offical
software
2020-02-18 10:11:06 +01:00
Léa Saviot
42125a1f56 [apps/settings] Fix i18n to be able to build without settings app 2020-02-18 10:11:06 +01:00
Romain Goyet
5dee4a8166 [apps] Add screen telemetry identification 2020-02-17 10:31:24 -05:00
Romain Goyet
7f43b73049 [apps] Don't forget to call viewWillAppear
At the moment ViewController::viewWillAppear doesn't do anything, so
there is no real impact. But if we want to use it it needs to be called
from subclasses.
2020-02-17 10:31:24 -05:00
Émilie Feral
466f588a99 [apps/settings] Between two 'didEnterResponderChain', the exam mode page
might change the number of rows/the displayed messages. We then have to
re-layout the SelectableViewWithMessages to set the right frame to the
SelectableTableView.
2020-02-12 15:13:26 +01:00
Émilie Feral
46fb233428 [apps/settings] I18n: improve message alignment 2020-02-12 15:13:26 +01:00
Émilie Feral
8a87bcfc5b [apps/settings] SelectableViewWithMessages: position the additional
messages at the bottom of the view
2020-02-12 15:13:26 +01:00
Émilie Feral
3c52631245 [apps/settings] Improve warning messages about non-official software 2020-02-12 15:13:26 +01:00
Émilie Feral
f69bc6c8e4 [apps] Makefile: fix tests build 2020-02-12 15:13:26 +01:00
Émilie Feral
63d2aab416 [apps/settings] Improve messages of cautious in non-official softwares 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
541acb6a7c [apps/settings] Factorize SettingsMessageTree model definition between
different targets (none/beta/update)
2020-02-12 15:13:26 +01:00