[solver] Change stack for approximate solutions

This commit is contained in:
Émilie Feral
2018-06-04 13:38:02 +02:00
parent a2469c458f
commit 1f16ccb661
6 changed files with 8 additions and 3 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -1,5 +1,6 @@
#include "interval_controller.h"
#include "app.h"
#include "../i18n.h"
#include <assert.h>
#include <string.h>
@@ -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 *>(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() {