Commit Graph

42 Commits

Author SHA1 Message Date
Hugo Saint-Vignes
bd23135198 [apps/shared] Add Discard confirmation pop-up
Change-Id: Ida3878894090ecfa99145618b8e1ff0bbcb4743a
2020-11-04 15:33:04 +01:00
Émilie Feral
f64a650ef6 [apps] I18n: localize Dutch exam mode messages 2020-11-04 15:33:04 +01:00
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
Gabriel Ozouf
8d362ef4de [apps/settings] Added message to country menu
Change-Id: Iec064d0ac86f54a10cf63236b6f958d53cecb2e2
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
Arthur Camouseigt
1e82d5012b [Stats] Moved sort messages to shared+NL translation
This allows compilation without stats app

Change-Id: I0f564ee46756420f0cff5da91ed77677b22cdee0
2020-11-04 15:07:20 +01:00
Léa Saviot
e542296b81 [apps/shared.i18n] Remove unused value 2020-06-04 14:50:02 +02: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
Émilie Feral
2ccdc2d0dc [apps] Fix messages regarding Dutch exam mode in non-English languages 2019-12-19 15:52:45 +01:00
Émilie Feral
de34c0b8db [apps] Change pop-up message for Dutch exam mode 2019-12-19 15:52:45 +01:00
Léa Saviot
d4784146d1 [apps/toolbar] Translate sci symbol 2019-09-25 17:49:45 +02:00
Léa Saviot
2686b0d51d [apps] Display Engineering notation in title bar 2019-09-25 17:49:45 +02:00
Léa Saviot
6b25060dc5 [apps/graph] Put parameter name in interval controller
For instance:
X Start ...
X End ...
Step
2019-09-05 14:54:59 +02:00
Ruben Dashyan
2bb1e9416e [apps] Uniformize IntervalParameterController labels 2019-08-29 13:51:49 +02:00
Léa Saviot
e15fe8460c [apps/settings] Gradians translation 2019-08-22 12:02:05 +02:00
Jean-Baptiste Boric
a289e4989e [apps] Add gradians support 2019-06-24 22:15:05 +02:00
Léa Saviot
bf3e4b0f4b [i18n] Remove duplicate entry 2019-05-03 15:53:20 +02:00
Léo Solé
e74c5f8039 [unicode] Fix Spanish literals 2019-05-03 15:53:19 +02:00
Léa Saviot
f392ca8063 [apps/code] More details in NonCompliantName warning 2019-01-21 13:39:59 +01:00
Léa Saviot
2a089fe643 [apps] Share NameTooLong message 2018-11-27 12:09:36 +01:00
Léa Saviot
f3ab938481 [apps] Share and fix NameTaken message 2018-11-27 12:09:36 +01:00
Léa Saviot
48d281e44d [apps] Do not allow store expressions except in Calculation 2018-11-23 12:04:08 +01:00
Léa Saviot
b73d066f2b [apps] German translation of "Function can't have store" message + style 2018-11-23 12:04:05 +01:00
Léa Saviot
8595b5f811 [apps] Translate the "Function cannot contain a Store" message 2018-11-23 12:04:05 +01:00
Léa Saviot
fbe4c14d0d [apps] Prevent function defined as a store
For instance, from the Graph application, one should not be able to
defined f(x) as 3->g(x)
2018-11-23 12:04:04 +01:00
Léa Saviot
94721f08df [apps] Full pool/storage memory warning messages 2018-11-23 12:04:04 +01:00
Léa Saviot
ecb58dea71 [apps] Renamen MemoryFull i18N messages 2018-11-23 12:04:04 +01:00
Léa Saviot
b7770d087c [apps/graph] Add "Rename" entry in the function parameters 2018-11-23 12:04:02 +01:00
Émilie Feral
37d15429bd [shared] I18n: add message GlobalMemoryFull 2018-11-23 12:04:01 +01:00
Léa Saviot
1adefc3bc4 [typo] "Desactivate" -> "Deactivate" 2018-11-23 12:04:01 +01:00
Léa Saviot
206fb5999d [poincare] Translate app memory full message 2018-09-14 15:10:32 +02:00
Léa Saviot
6deaef49b8 [poincare] When memory exception, stay in the app and display popup 2018-09-14 13:43:54 +02:00
Émilie Feral
67cddf554d Merge branch 'lea-statistics' into upgrade-1.6.0 2018-06-12 10:25:54 +02:00
Léa Saviot
de5cc75ac3 [apps/stats/reg] Data not suitable message 2018-06-11 17:49:24 +02:00
Léa Saviot
9ed4e55d57 [apps/shared] translation 2018-06-11 15:17:55 +02:00
Léa Saviot
4ee9715711 [apps/shared] Remove unneeded message 2018-06-11 13:58:26 +02:00
Léa Saviot
31ee2daf50 [apps/stats] Add option fill with formula (does nothing) 2018-06-11 13:58:25 +02:00
Léa Saviot
2f9de351d3 [apps/i18n] Share statistics messages also used by regression 2018-06-11 13:58:24 +02:00
Émilie Feral
2ca685984e [solver] Add a modal with equation models when adding a new equation 2018-06-07 13:46:17 +02:00
Jean-Baptiste Boric
59e5750463 [apps] Extract shared translations from apps
This commit can be regenerated with the following shell snippet:

```
for i in UndefinedValue ForbiddenValue Goto ValueNotReachedByFunction Initialization Trigonometric RoundAbscissa Orthonormal DefaultSetting Axis Zoom GraphTab IntervalSet XStart XEnd Step Plot DisplayValues ActivateDesactivate NoFunctionToDelete Language FunctionOptions ClearColumn ColumnOptions DataTab CopyColumnInList FunctionColumn Move Or ValuesTab Goto ToZoom HardwareTestLaunch1 HardwareTestLaunch2 HardwareTestLaunch3 HardwareTestLaunch4 ActiveExamModeMessage1 ActiveExamModeMessage2 ActiveExamModeMessage3 ExitExamMode1 ExitExamMode2 Sci Rad Deg
do
  move=$(grep "^$i = " -r *)

  if [ -n "$move" ]
  then
    echo "$move" | while read -r item
    do
      file=$(echo "$item" | cut -f1 -d:)
      lang=$(echo "$file" | cut -f2 -d.)
      translation=$(echo "$item" | sed -e 's/^[^:]*://')
      label=$(echo "$translation" | sed -e 's/=.*//')
      sed -i "/^$label/d" "$file"
      echo "$translation" >> "apps/shared.$lang.i18n"
    done
  fi
done

for i in apps/shared.*.i18n
do
  sort $i -o $i
done
```
2017-12-07 09:20:31 +01:00
Romain Goyet
e6ed6c74a4 [apps] Split the i18n in multiple files
A Python script aggregates all i18n files and merges them.
We now can pick a list of locales to build in EPSILON_I18N_LANGUAGES
2017-09-29 17:08:46 +02:00