~aleteoryx/muditaos

0a0968c751cc35ee57ceef72ff64a44b1146b115 — Tomasz Rybarski 4 years ago 9d5eb03
[BH-1293] Update PowerNap screen

PowerNap finish screen update
M image/assets/lang/Deutsch.json => image/assets/lang/Deutsch.json +0 -1
@@ 619,7 619,6 @@
  "app_bellmain_settings": "Einstellungen",
  "app_bell_bedtime_notification": "Schlafenszeit",
  "app_bell_alarm_set_not_active": "<text>Alarm eingestellt.<br />Tief drücken, um zu aktivieren.</text>",
  "app_bell_powernap_session_ended_message": "<text>Guten morgen!<br>Zeit zum aufstehen</text>",
  "app_bell_background_sounds_timer_title": "Timer",
  "app_bell_background_sounds_timer_off": "AUS",
  "app_bell_onboarding_welcome_message": "Mudita Harmony",

M image/assets/lang/English.json => image/assets/lang/English.json +0 -1
@@ 651,7 651,6 @@
  "app_bell_settings_frontlight_mode_top_message": "Frontlight mode",
  "app_bell_settings_frontlight_mode_auto": "auto",
  "app_bell_settings_frontlight_mode_on_demand": "on demand",
  "app_bell_powernap_session_ended_message": "<text>Hello!<br />Rise & shine</text>",
  "app_bell_background_sounds_timer_title": "Auto turn off",
  "app_bell_turn_off_question": "Turn off Mudita Harmony?",
  "app_bell_goodbye": "Goodbye",

M image/assets/lang/Español.json => image/assets/lang/Español.json +0 -1
@@ 624,7 624,6 @@
  "app_bellmain_bedtime": "Hora de dormir",
  "app_bellmain_settings": "Ajustes",
  "app_bell_bedtime_notification": "Es tu hora de dormir",
  "app_bell_powernap_session_ended_message": "¡Hola! Levántate y brilla",
  "app_bell_background_sounds_timer_title": "Temporizador",
  "app_bell_background_sounds_timer_off": "OFF",
  "app_bell_settings_home_view": "Vista de inicio",

M image/assets/lang/Français.json => image/assets/lang/Français.json +0 -1
@@ 594,7 594,6 @@
  "app_bellmain_alarm": "Alarme",
  "app_bellmain_background_sounds": "Bruits de fond",
  "app_bell_alarm_set_not_active": "<text>Alarme réglée.<br />Appuyer fort pour activer.</text>",
  "app_bell_powernap_session_ended_message": "Re-bonjour!",
  "app_bell_background_sounds_timer_title": "Minuterie",
  "app_bell_background_sounds_timer_off": "OFF",
  "app_bell_settings_home_view": "Écran d'accueil",

M image/assets/lang/Polski.json => image/assets/lang/Polski.json +0 -1
@@ 653,7 653,6 @@
  "app_bell_settings_frontlight_mode_top_message": "Tryb podświetlenia",
  "app_bell_settings_frontlight_mode_auto": "automatyczny",
  "app_bell_settings_frontlight_mode_on_demand": "manualny",
  "app_bell_powernap_session_ended_message": "Dzień dobry!",
  "app_bell_greeting_msg": [
    "<text>Dzień dobry!<br />Pobudka</text>"
  ],

M products/BellHybrid/apps/application-bell-powernap/windows/PowerNapSessionEndedWindow.cpp => products/BellHybrid/apps/application-bell-powernap/windows/PowerNapSessionEndedWindow.cpp +2 -7
@@ 28,13 28,8 @@ namespace gui
        auto body = new VBox(this, 0, 0, style::window_width, style::window_height);
        body->setAlignment(Alignment(Alignment::Horizontal::Center, Alignment::Vertical::Center));

        auto icon = new Icon(this,
                             0,
                             0,
                             style::window_width,
                             style::window_height,
                             "big_namaste_W_G",
                             utils::translate("app_bell_powernap_session_ended_message"));
        auto icon =
            new Icon(this, 0, 0, style::window_width, style::window_height, "big_namaste", "", ImageTypeSpecifier::W_G);
        icon->setAlignment(Alignment(Alignment::Horizontal::Center, Alignment::Vertical::Top));
        icon->image->setMargins({0, image_top_margin, 0, image_bottom_margin});
        icon->text->setFont(style::window::font::verybiglight);

M products/BellHybrid/apps/application-bell-powernap/windows/PowerNapSessionEndedWindow.hpp => products/BellHybrid/apps/application-bell-powernap/windows/PowerNapSessionEndedWindow.hpp +1 -1
@@ 10,7 10,7 @@ namespace gui
{
    class PowerNapSessionEndedWindow : public WindowWithTimer, public app::powernap::PowerNapSessionEndedContract::View
    {
        static constexpr auto image_top_margin    = 112U;
        static constexpr auto image_top_margin    = 170U;
        static constexpr auto image_bottom_margin = 30U;
        std::shared_ptr<app::powernap::PowerNapSessionEndedContract::Presenter> presenter;
        void buildInterface() override;