@@ 84,6 84,7 @@
"duration_0hmin_0sec": "%0N:%0S",
"duration_hour_0min_0sec": "%H:%0M:%0S",
"brightness_text": "BRIGHTNESS",
+ "phone_needs_rebooting": "Your phone needs rebooting. Press any key to confirm and please remove the battery for 10 seconds to perform a full reboot",
"home_modes_connected": "CONNECTED",
"home_modes_notdisturb": "DO NOT DISTURB",
"home_modes_offline": "OFFLINE",
@@ 1,4 1,4 @@
-// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
+// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include "Reboot.hpp"
@@ 28,13 28,12 @@ namespace gui
auto text_y_offset = 270;
auto text_height = 300;
- text = new Text(
- this,
- style::window::default_left_margin,
- text_y_offset,
- style::window_width - style::window::default_left_margin * 2,
- text_height,
- "Phone have to reboot, press any key to confirm and remove battery for 10 sec to perform full reboot");
+ text = new Text(this,
+ style::window::default_left_margin,
+ text_y_offset,
+ style::window_width - style::window::default_left_margin * 2,
+ text_height,
+ utils::translate("phone_needs_rebooting"));
text->setFilled(false);
text->setBorderColor(gui::ColorFullBlack);
text->setFont(style::header::font::title);