~aleteoryx/muditaos

2324112963e3b0c9febf338115870a6d35218add — Tomasz Rybarski 4 years ago 878aa36
[BH-999] Background Sounds Application UI Fixes

Fixed Background Sounds App UI according to specification
M image/assets/lang/English.json => image/assets/lang/English.json +2 -2
@@ 585,7 585,7 @@
  "app_bell_bedtime_notification": "It is Your bedtime",
  "app_bellmain_power_nap": "Power nap",
  "app_bellmain_meditation_timer": "Meditation timer",
  "app_bellmain_background_sounds": "Background sounds",
  "app_bellmain_background_sounds": "Library",
  "app_bellmain_settings": "Settings",
  "app_bellmain_main_window_title": "Bell Hybrid+",
  "app_bell_onboarding_welcome_message": "Mudita Harmony",


@@ 705,4 705,4 @@
  "app_bell_settings_advanced_factory_reset": "Factory reset",
  "app_bell_settings_display_factory_reset_confirmation": "<text>Reset to factory<br></br>settings ?</text>",
  "app_bell_settings_factory_reset_finished": "Factory settings\nrestored"
}
}
\ No newline at end of file

M image/assets/lang/Polski.json => image/assets/lang/Polski.json +18 -18
@@ 592,7 592,7 @@
  "app_bell_bedtime_notification": "Pora na sen",
  "app_bellmain_power_nap": "Drzemka",
  "app_bellmain_meditation_timer": "Medytacja",
  "app_bellmain_background_sounds": "Dźwięki otoczenia",
  "app_bellmain_background_sounds": "Biblioteka",
  "app_bellmain_settings": "Ustawienia",
  "app_bellmain_main_window_title": "Bell Hybrid+",
  "app_bell_onboarding_finalize": "<text>Dobra robota!<br />Obudź się z radością</text>",


@@ 625,20 625,20 @@
  "app_bell_greeting_msg": [
    "<text>Dzień dobry!<br />Pobudka</text>"
  ],
"app_bell_alarm_set_not_active": "<text>Ustawiono alarm.<br />Naciśnij głęboko, aby aktywować.</text>",
"app_bell_background_sounds_timer_title": "Licznik czasu",
"app_bell_background_sounds_timer_off": "Wyłączony",
"app_bell_settings_alarm_settings_prewake_up_chime_top_description": "Dzwonek wstępnego budzenia",
"app_bell_settings_alarm_settings_prewake_up_chime_bottom_description": "przed alarmem",
"app_bell_settings_alarm_settings_prewake_up_chime_tone": "Dźwięk dzwonka wstępnego budzenia",
"app_bell_settings_alarm_settings_prewake_up_chime_volume": "Głośność dzwonka wstępnego budzenia",
"app_bell_settings_alarm_settings_prewake_up_light_top_description": "Światło wstępnego budzenia",
"app_bell_settings_alarm_settings_prewake_up_finished": "Ustawiono wstępne budzenie",
"app_bell_settings_alarm_settings_tone": "Dźwięk alarmu",
"app_bell_settings_alarm_settings_volume": "Głośność alarmu",
"app_bell_settings_alarm_settings_light": "Światło alarmu",
"app_bell_settings_alarm_settings_alarm_tone_and_light_finished": "Ustawiono dźwięk i światło alarmu",
"app_bell_settings_advanced_factory_reset": "Ustawienia fabryczne",
"app_bell_settings_display_factory_reset_confirmation": "<text>Przywrócić ustawienia<br></br>fabryczne ?</text>",
"app_bell_settings_factory_reset_finished": "Ustawienia fabryczne\nprzywrócone"
}
  "app_bell_alarm_set_not_active": "<text>Ustawiono alarm.<br />Naciśnij głęboko, aby aktywować.</text>",
  "app_bell_background_sounds_timer_title": "Licznik czasu",
  "app_bell_background_sounds_timer_off": "Wyłączony",
  "app_bell_settings_alarm_settings_prewake_up_chime_top_description": "Dzwonek wstępnego budzenia",
  "app_bell_settings_alarm_settings_prewake_up_chime_bottom_description": "przed alarmem",
  "app_bell_settings_alarm_settings_prewake_up_chime_tone": "Dźwięk dzwonka wstępnego budzenia",
  "app_bell_settings_alarm_settings_prewake_up_chime_volume": "Głośność dzwonka wstępnego budzenia",
  "app_bell_settings_alarm_settings_prewake_up_light_top_description": "Światło wstępnego budzenia",
  "app_bell_settings_alarm_settings_prewake_up_finished": "Ustawiono wstępne budzenie",
  "app_bell_settings_alarm_settings_tone": "Dźwięk alarmu",
  "app_bell_settings_alarm_settings_volume": "Głośność alarmu",
  "app_bell_settings_alarm_settings_light": "Światło alarmu",
  "app_bell_settings_alarm_settings_alarm_tone_and_light_finished": "Ustawiono dźwięk i światło alarmu",
  "app_bell_settings_advanced_factory_reset": "Ustawienia fabryczne",
  "app_bell_settings_display_factory_reset_confirmation": "<text>Przywrócić ustawienia<br></br>fabryczne ?</text>",
  "app_bell_settings_factory_reset_finished": "Ustawienia fabryczne\nprzywrócone"
}
\ No newline at end of file

M products/BellHybrid/apps/application-bell-background-sounds/data/BGSoundsStyle.hpp => products/BellHybrid/apps/application-bell-background-sounds/data/BGSoundsStyle.hpp +1 -1
@@ 7,7 7,7 @@

namespace gui::bgSoundsStyle
{
    inline constexpr auto descriptionFont = style::window::font::verybiglight;
    inline constexpr auto descriptionFont = style::window::font::verybig;
    inline constexpr auto titleFont       = style::window::font::largelight;
    inline constexpr auto timerValueFont  = style::window::font::supersizemelight;
    inline constexpr auto valumeValueFont = style::window::font::supersizemelight;

M products/BellHybrid/apps/application-bell-background-sounds/windows/BGSoundsPausedWindow.cpp => products/BellHybrid/apps/application-bell-background-sounds/windows/BGSoundsPausedWindow.cpp +2 -1
@@ 23,8 23,9 @@ namespace gui
    {
        AppWindow::buildInterface();

        statusBar->setVisible(false);
        auto body = new gui::VBox(this, 0, 0, style::window_width, style::window_height);
        body->setAlignment(Alignment(Alignment::Horizontal::Center, Alignment::Vertical::Center));
        body->setAlignment(Alignment(Alignment::Horizontal::Center, Alignment::Vertical::Bottom));

        new gui::Image(body, "big_pause_W_G");