Skip to content

Commit

Permalink
Add continue to EOL start
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriansaliou committed Jun 2, 2021
1 parent f8fb7fd commit a898f67
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions res/locales/en.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ stop-description = Tap any value to configure it, then press start.
end-of-line-title-primary = Service Mode
end-of-line-title-secondary = End-of-Line Test
end-of-line-content-title-step-start = Starting EOL test...
end-of-line-content-title-step-start = Start the EOL test.
end-of-line-content-title-step-check-fan = Please check fans.
end-of-line-content-title-step-test-battery-dead = Testing battery condition...
end-of-line-content-title-step-disconnect-mains = Please unplug the AC power cord.
Expand Down Expand Up @@ -159,7 +159,7 @@ end-of-line-content-title-end-confirm = All tests succeeded!
end-of-line-content-title-end-display-pressure = Displaying pressure details.
end-of-line-content-title-end-display-flow = Displaying flow details.
end-of-line-content-message-step-start = The EOL test will start in a few moments.
end-of-line-content-message-step-start = The end-of-line test will be started. Tap continue.
end-of-line-content-message-step-check-fan = The cooling fans should be working. Tap continue.
end-of-line-content-message-step-test-battery-dead = The battery health will be checked. Please wait.
end-of-line-content-message-step-disconnect-mains = AC power prevents testing batteries. Please unplug it.
Expand Down
4 changes: 2 additions & 2 deletions res/locales/fr.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ stop-description = Touchez une valeur pour configurer la ventilation.
end-of-line-title-primary = Mode de service
end-of-line-title-secondary = Test de fin de ligne
end-of-line-content-title-step-start = Début du test EOL...
end-of-line-content-title-step-start = Test de fin de ligne.
end-of-line-content-title-step-check-fan = Veuillez vérifier les refroidisseurs.
end-of-line-content-title-step-test-battery-dead = Test de l'état de la batterie...
end-of-line-content-title-step-disconnect-mains = Veuillez débrancher le cordon d'alimentation.
Expand Down Expand Up @@ -160,7 +160,7 @@ end-of-line-content-title-end-confirm = Tous les tests ont été passés !
end-of-line-content-title-end-display-pressure = Affichage des détails de la pression.
end-of-line-content-title-end-display-flow = Affichage des détails du débit.
end-of-line-content-message-step-start = Le test EOL va commencer dans quelques instants.
end-of-line-content-message-step-start = Le test EOL va commencer. Touchez continuer.
end-of-line-content-message-step-check-fan = Les refroidisseurs doivent fonctionner. Touchez continuer.
end-of-line-content-message-step-test-battery-dead = L'état de la batterie va être vérifié. Veuillez patienter.
end-of-line-content-message-step-disconnect-mains = L'alimentation secteur empêche le test des batteries. Veuillez la débrancher.
Expand Down
3 changes: 2 additions & 1 deletion src/display/renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ impl DisplayRenderer {
success: matches!(eol, ChipEndOfLine::Succeeded(_, _)),
confirm: matches!(
eol,
ChipEndOfLine::Ongoing(ChipEndOfLineStep::CheckFan, _)
ChipEndOfLine::Ongoing(ChipEndOfLineStep::Start, _)
| ChipEndOfLine::Ongoing(ChipEndOfLineStep::CheckFan, _)
| ChipEndOfLine::Ongoing(ChipEndOfLineStep::CheckBuzzer, _)
| ChipEndOfLine::Ongoing(ChipEndOfLineStep::CheckUiScreen, _)
| ChipEndOfLine::Ongoing(ChipEndOfLineStep::PlugAirTestSystem, _)
Expand Down

0 comments on commit a898f67

Please sign in to comment.