Files
reactos/dll/shellext/stobject/lang/ru-RU.rc
George Bișoc 91fadeb6c3 [STOBJECT] Explicitly tell the user the battery is fully charged
Short answer: our UI sucks bolas rojas.

Long answer: when the NT kernel informs the user-mode part of the system that the battery is no longer charging, the machine is directly powered up by the AC adapter.
This is understood by determining the presence of AC_LINE_ONLINE status bit in ACLineStatus member field, which is a Windows API construct.
In the NT world this is understood by checking the power state returned by the BATTERY_STATUS structure.

What's happening right now is that when the battery is fully charged, ROS UI simply displays "100% remaining" implying the battery is about to discharge, which is not the case.
This is extremely confusing to the user. AND WORST PART IS THAT IT'S XP/2003 DESIGN, AND I HATE IT UGGGHHH.
With this patch we're leaning towards Windows 10/11 way of informing the user the battery is fully charged. VIVA LA NT6!

CORE-18969
CORE-19452
2025-04-02 23:16:47 +02:00

61 lines
3.2 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* PROJECT: ReactOS system libraries
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: Russian resource file
* TRANSLATORS: Copyright 2016 Kudratov Olimjon <olim98@bk.ru>
* Copyright 2023 Stanislav Motylkov <binarymaster@mail.ru>
*/
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
IDD_POWER_METER DIALOGEX 0, 0, 252, 218
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Индикатор батарей"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Статус электропитания", 1001, "Button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 9, 20, 234, 189
CONTROL "&Всегда показывать значок на панели задач.", 1002, "Button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 6, 6, 120, 10
CONTROL "Показывать информацию о каждой &батарее.", 1003, "Button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 135, 6, 120, 8
CONTROL "", 1000, "Static", SS_LEFT | WS_CHILD | WS_GROUP, 11, 29, 229, 178
END
STRINGTABLE
BEGIN
//Power related strings
IDS_PWR_PROPERTIES "&Настройка параметров электропитания"
IDS_PWR_METER "&Открыть показатели питания"
IDS_PWR_RUN "shell32.dll,Control_RunDLL PowerCfg.cpl"
IDS_PWR_PERCENT_REMAINING "%u%% осталось"
IDS_PWR_CHARGING "%u%% и заряжается"
IDS_PWR_UNKNOWN_REMAINING "Неизвестно"
IDS_PWR_AC "От сети переменного тока"
IDS_PWR_HOURS_REMAINING "%1!u!:%2!02u! часов (%3!u!%%) осталось"
IDS_PWR_MINUTES_REMAINING "%1!u! минут (%2!u!%%) осталось"
IDS_PWR_FULLY_CHARGED "Fully charged"
//Hotplug related strings
IDS_HOTPLUG_REMOVE_1 "Безопасное извлечение устройства"
IDS_HOTPLUG_REMOVE_2 "&Безопасное извлечение устройства"
IDS_HOTPLUG_REMOVE_3 "Безопасное извлечение %s"
IDS_HOTPLUG_RUN "shell32.dll,Control_RunDLL hotplug.dll"
IDS_HOTPLUG_COMMA ", "
IDS_HOTPLUG_DRIVE " - Диск(%s)"
IDS_HOTPLUG_DRIVES " - Диски(%s)"
IDS_HOTPLUG_A "A:"
IDS_HOTPLUG_REQUIRES "Это оборудование требует ""Безопасного извлечения"""
IDS_HOTPLUG_CLICK "Перед извлечением устройства, кликните эту иконку и выберите устройство, которое вы хотите отключить."
//Volume related strings
IDS_VOL_VOLUME "Громкость"
IDS_VOL_ADJUST "&Настройка параметров аудио"
IDS_VOL_OPEN "&Открыть управление громкостью"
IDS_VOL_RUN "SNDVOL32.EXE"
IDS_VOL_MUTED "Громкость (выключено)"
//Keyboard-Mouse related strings
IDS_KEYS_STICKY "Залипание клавиш"
IDS_KEYS_MOUSE "Управление указателем с клавиатуры"
IDS_KEYS_FILTER "Фильтрация ввода"
END