diff --git a/apps/solver/base.de.i18n b/apps/solver/base.de.i18n index d73ba7b29..1b0ba2ecb 100644 --- a/apps/solver/base.de.i18n +++ b/apps/solver/base.de.i18n @@ -8,6 +8,7 @@ TooManyVariables = "Le système a trop d'inconnus" NonLinearSystem = "Le système n'est pas linéaire" Solution = "Solution" ApproximateSolution = "Solution approchée" +SearchInverval = "Interval de recherche" NoSolution = "Le systeme n'admet aucune solution" InfiniteNumberOfSolutions = "Le systeme admet une infinite de solutions" ApproximateSolutionIntervalInstruction0= "Entrez l'intervalle dans lequel" diff --git a/apps/solver/base.en.i18n b/apps/solver/base.en.i18n index d73ba7b29..1b0ba2ecb 100644 --- a/apps/solver/base.en.i18n +++ b/apps/solver/base.en.i18n @@ -8,6 +8,7 @@ TooManyVariables = "Le système a trop d'inconnus" NonLinearSystem = "Le système n'est pas linéaire" Solution = "Solution" ApproximateSolution = "Solution approchée" +SearchInverval = "Interval de recherche" NoSolution = "Le systeme n'admet aucune solution" InfiniteNumberOfSolutions = "Le systeme admet une infinite de solutions" ApproximateSolutionIntervalInstruction0= "Entrez l'intervalle dans lequel" diff --git a/apps/solver/base.es.i18n b/apps/solver/base.es.i18n index d73ba7b29..1b0ba2ecb 100644 --- a/apps/solver/base.es.i18n +++ b/apps/solver/base.es.i18n @@ -8,6 +8,7 @@ TooManyVariables = "Le système a trop d'inconnus" NonLinearSystem = "Le système n'est pas linéaire" Solution = "Solution" ApproximateSolution = "Solution approchée" +SearchInverval = "Interval de recherche" NoSolution = "Le systeme n'admet aucune solution" InfiniteNumberOfSolutions = "Le systeme admet une infinite de solutions" ApproximateSolutionIntervalInstruction0= "Entrez l'intervalle dans lequel" diff --git a/apps/solver/base.fr.i18n b/apps/solver/base.fr.i18n index d73ba7b29..1b0ba2ecb 100644 --- a/apps/solver/base.fr.i18n +++ b/apps/solver/base.fr.i18n @@ -8,6 +8,7 @@ TooManyVariables = "Le système a trop d'inconnus" NonLinearSystem = "Le système n'est pas linéaire" Solution = "Solution" ApproximateSolution = "Solution approchée" +SearchInverval = "Interval de recherche" NoSolution = "Le systeme n'admet aucune solution" InfiniteNumberOfSolutions = "Le systeme admet une infinite de solutions" ApproximateSolutionIntervalInstruction0= "Entrez l'intervalle dans lequel" diff --git a/apps/solver/base.pt.i18n b/apps/solver/base.pt.i18n index 59ac7543b..a42654af7 100644 --- a/apps/solver/base.pt.i18n +++ b/apps/solver/base.pt.i18n @@ -8,6 +8,7 @@ TooManyVariables = "Le système a trop d'inconnus" NonLinearSystem = "Le système n'est pas linéaire" Solution = "Solution" ApproximateSolution = "Solution approchée" +SearchInverval = "Interval de recherche" NoSolution = "Le systeme n'admet aucune solution" InfiniteNumberOfSolutions = "Le systeme admet une infinite de solutions" ApproximateSolutionIntervalInstruction0= "Entrez l'intervalle dans lequel" diff --git a/apps/solver/interval_controller.cpp b/apps/solver/interval_controller.cpp index 98648b9e3..d60f34c68 100644 --- a/apps/solver/interval_controller.cpp +++ b/apps/solver/interval_controller.cpp @@ -1,5 +1,6 @@ #include "interval_controller.h" #include "app.h" +#include "../i18n.h" #include #include @@ -49,7 +50,7 @@ IntervalController::IntervalController(Responder * parentResponder, EquationStor } const char * IntervalController::title() { - return I18n::translate(I18n::Message::ApproximateSolution); + return I18n::translate(I18n::Message::SearchInverval); } int IntervalController::numberOfRows() { @@ -96,8 +97,7 @@ bool IntervalController::textFieldDidFinishEditing(TextField * textField, const void IntervalController::buttonAction() { StackViewController * stack = stackController(); App * solverApp = static_cast(app()); - stack->pop(); - stack->push(solverApp->solutionsControllerStack(), KDColorWhite, Palette::PurpleBright, Palette::PurpleBright); + stack->push(solverApp->solutionsControllerStack(), KDColorWhite, Palette::SubTab, Palette::SubTab); } I18n::Message IntervalController::okButtonText() {