Commit Graph

13 Commits

Author SHA1 Message Date
Laury
77167d1706 [statistics] Added 3 new measurements 2022-07-04 11:12:19 +02:00
Yaya-Cout
865bacf89a [build/utilities] Add translations clean script (#179) 2022-03-20 16:10:54 +01:00
Hugo Saint-Vignes
f54c5a8172 [apps/statistics] Update wording
Change-Id: I4e3a042e1da6c7264932ff87fba0529f7aa1091d
2020-12-03 16:09:46 +01:00
Hugo Saint-Vignes
2740056472 [apps/statiastics] Rename i18n messages accurately
Change-Id: If88f91d6e925dbb2ad293b537661eb3d137ea826
2020-11-04 15:58:27 +01:00
Hugo Saint-Vignes
81616950f3 [apps/statistics] Fix horizontal alignement for size legend
Change-Id: I834444aee7dd547c71254df4658c0db05eb101d7
2020-11-04 15:58:27 +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
Arthur Camouseigt
09e39ad890 [Stat+Reg] Allowing lists of values to be sorted
Change-Id: I181bb55443bf87356d127eb6c56ff6140806fdea
2020-11-04 14:45:35 +01:00
Léo Solé
e4526124f9 [unicode] Fix Spanish literals 2019-04-12 15:16:52 +02:00
Léa Saviot
2f9de351d3 [apps/i18n] Share statistics messages also used by regression 2018-06-11 13:58:24 +02:00
Léa Saviot
9f866febea [apps/stats] Make spanish title fit in cell 2018-06-11 13:58:24 +02:00
Léa Saviot
40d541bc1c [apps] Display 3 series in Regression and Stats 2018-05-29 15:34:48 +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