Author: dreimer
Date: Thu Sep 29 20:54:58 2016
New Revision: 72860
URL:
http://svn.reactos.org/svn/reactos?rev=72860&view=rev
Log:
[POWERCFG]
Bug fix and improvements to PowerCfg applet by Carlo Bramini
CORE-11801 #resolve #comment Committed, thx ^^
Modified:
trunk/reactos/dll/cpl/powercfg/CMakeLists.txt
trunk/reactos/dll/cpl/powercfg/hibernate.c
trunk/reactos/dll/cpl/powercfg/lang/bg-BG.rc
trunk/reactos/dll/cpl/powercfg/lang/cs-CZ.rc
trunk/reactos/dll/cpl/powercfg/lang/de-DE.rc
trunk/reactos/dll/cpl/powercfg/lang/el-GR.rc
trunk/reactos/dll/cpl/powercfg/lang/en-US.rc
trunk/reactos/dll/cpl/powercfg/lang/es-ES.rc
trunk/reactos/dll/cpl/powercfg/lang/fr-FR.rc
trunk/reactos/dll/cpl/powercfg/lang/he-IL.rc
trunk/reactos/dll/cpl/powercfg/lang/id-ID.rc
trunk/reactos/dll/cpl/powercfg/lang/it-IT.rc
trunk/reactos/dll/cpl/powercfg/lang/ja-JP.rc
trunk/reactos/dll/cpl/powercfg/lang/nl-NL.rc
trunk/reactos/dll/cpl/powercfg/lang/no-NO.rc
trunk/reactos/dll/cpl/powercfg/lang/pl-PL.rc
trunk/reactos/dll/cpl/powercfg/lang/ro-RO.rc
trunk/reactos/dll/cpl/powercfg/lang/ru-RU.rc
trunk/reactos/dll/cpl/powercfg/lang/sk-SK.rc
trunk/reactos/dll/cpl/powercfg/lang/sq-AL.rc
trunk/reactos/dll/cpl/powercfg/lang/th-TH.rc
trunk/reactos/dll/cpl/powercfg/lang/tr-TR.rc
trunk/reactos/dll/cpl/powercfg/lang/uk-UA.rc
trunk/reactos/dll/cpl/powercfg/lang/zh-CN.rc
trunk/reactos/dll/cpl/powercfg/lang/zh-TW.rc
trunk/reactos/dll/cpl/powercfg/powercfg.h
trunk/reactos/dll/cpl/powercfg/resource.h
Modified: trunk/reactos/dll/cpl/powercfg/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/CMakeList…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/CMakeLists.txt [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -18,6 +18,6 @@
${CMAKE_CURRENT_BINARY_DIR}/powercfg.def)
set_module_type(powercfg cpl UNICODE)
-add_importlibs(powercfg user32 powrprof comctl32 shell32 advapi32 msvcrt kernel32 ntdll)
+add_importlibs(powercfg user32 powrprof comctl32 shell32 advapi32 msvcrt kernel32 ntdll
shlwapi)
add_pch(powercfg powercfg.h SOURCE)
add_cd_file(TARGET powercfg DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/cpl/powercfg/hibernate.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/hibernate…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/hibernate.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/hibernate.c [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -20,8 +20,8 @@
{
SYSTEM_POWER_CAPABILITIES PowerCaps;
MEMORYSTATUSEX msex;
- TCHAR szSize[MAX_PATH];
TCHAR szTemp[MAX_PATH];
+ LPTSTR lpRoot;
ULARGE_INTEGER FreeBytesAvailable, TotalNumberOfBytes, TotalNumberOfFreeBytes;
if (GetPwrCapabilities(&PowerCaps))
@@ -37,49 +37,21 @@
}
if (GetWindowsDirectory(szTemp,MAX_PATH))
- {
- if (!GetDiskFreeSpaceEx(szTemp,&FreeBytesAvailable,
&TotalNumberOfBytes, &TotalNumberOfFreeBytes))
- TotalNumberOfFreeBytes.QuadPart = 0;
- }
+ lpRoot = szTemp;
else
- {
- if (!GetDiskFreeSpaceEx(NULL,&FreeBytesAvailable,
&TotalNumberOfBytes, &TotalNumberOfFreeBytes))
- TotalNumberOfFreeBytes.QuadPart = 0;
- }
+ lpRoot = NULL;
- if (TotalNumberOfFreeBytes.QuadPart > 0x100000)
- {
- if (LoadString(hApplet, IDS_SIZEMB, szTemp, MAX_PATH))
- {
- _stprintf(szSize,szTemp,TotalNumberOfFreeBytes.QuadPart / 0x100000);
- SetDlgItemText(hwndDlg, IDC_FREESPACE, szSize);
- }
- }
- else
- {
- if (LoadString(hApplet, IDS_SIZEBYTS, szTemp, MAX_PATH))
- {
- _stprintf(szSize,szTemp,TotalNumberOfFreeBytes.QuadPart);
- SetDlgItemText(hwndDlg, IDC_FREESPACE, szSize);
- }
- }
+ // Get available space and size of selected volume.
+ if (!GetDiskFreeSpaceEx(lpRoot, &FreeBytesAvailable, &TotalNumberOfBytes,
&TotalNumberOfFreeBytes))
+ TotalNumberOfFreeBytes.QuadPart = 0;
- if (msex.ullTotalPhys>0x100000)
- {
- if (LoadString(hApplet, IDS_SIZEMB, szTemp, MAX_PATH))
- {
- _stprintf(szSize,szTemp,msex.ullTotalPhys/0x100000);
- SetDlgItemText(hwndDlg, IDC_SPACEFORHIBERNATEFILE,szSize);
- }
- }
- else
- {
- if (LoadString(hApplet, IDS_SIZEBYTS, szTemp, MAX_PATH))
- {
- _stprintf(szSize,szTemp,msex.ullTotalPhys);
- SetDlgItemText(hwndDlg, IDC_SPACEFORHIBERNATEFILE, szSize);
- }
- }
+ // Print the free available space into selected volume.
+ StrFormatByteSize(TotalNumberOfFreeBytes.QuadPart, szTemp, _countof(szTemp));
+ SetDlgItemText(hwndDlg, IDC_FREESPACE, szTemp);
+
+ // Print the amount of space required for hibernation.
+ StrFormatByteSize(msex.ullTotalPhys, szTemp, _countof(szTemp));
+ SetDlgItemText(hwndDlg, IDC_SPACEFORHIBERNATEFILE, szTemp);
if (TotalNumberOfFreeBytes.QuadPart < msex.ullTotalPhys &&
!PowerCaps.HiberFilePresent)
{
Modified: trunk/reactos/dll/cpl/powercfg/lang/bg-BG.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/bg-B…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/bg-BG.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/bg-BG.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -110,8 +110,6 @@
IDS_TEXT "ТекÑÑ"
IDS_CONFIG1 "ÐаÑÑÑойки за заÑ
ÑанваÑа наÑедба %1"
IDS_CONFIG2 "РазÑиÑени наÑÑÑойки за %1"
- IDS_SIZEBYTS "%i байÑа"
- IDS_SIZEMB "%i ÐÐ"
IDS_NOACTION "Ðе пÑави ниÑо"
IDS_PowerActionNone1 "ÐездейÑÑвие"
IDS_PowerActionUnknown "ÐеизвеÑÑно"
Modified: trunk/reactos/dll/cpl/powercfg/lang/cs-CZ.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/cs-C…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/cs-CZ.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/cs-CZ.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -110,8 +110,6 @@
IDS_TEXT "Text"
IDS_CONFIG1 "Nastavenà pro schéma napájenà %1"
IDS_CONFIG2 "PokroÄilá nastavenà pro %1"
- IDS_SIZEBYTS "%i bytů"
- IDS_SIZEMB "%i MB"
IDS_NOACTION "NedÄlat nic"
IDS_PowerActionNone1 "Žádná akce"
IDS_PowerActionUnknown "Neznámý"
Modified: trunk/reactos/dll/cpl/powercfg/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/de-D…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/de-DE.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/de-DE.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -112,8 +112,6 @@
IDS_TEXT "Text"
IDS_CONFIG1 "Einstellungen für Energieschema %s."
IDS_CONFIG2 "Erweiterte Einstellungen für %s."
- IDS_SIZEBYTS "%i Bytes"
- IDS_SIZEMB "%i MB"
IDS_NOACTION "Nichts unternehmen"
IDS_PowerActionNone1 "Keine Aktion"
IDS_PowerActionUnknown "Unbekannt"
Modified: trunk/reactos/dll/cpl/powercfg/lang/el-GR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/el-G…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/el-GR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/el-GR.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -112,8 +112,6 @@
IDS_TEXT "Îείμενο"
IDS_CONFIG1 "ΡÏ
θμίÏÎµÎ¹Ï ÏοÏ
ÏÏ
νδιαÏÎ¼Î¿Ï ÏÏοÏοδοÏÎ¯Î±Ï %1"
IDS_CONFIG2 "ÎιδικÎÏ ÏÏ
θμίÏÎµÎ¹Ï ÏοÏ
ÏÏ
νδιαÏÎ¼Î¿Ï %1"
- IDS_SIZEBYTS "%i bytes"
- IDS_SIZEMB "%i MB"
IDS_NOACTION "Îαμία ενÎÏγεια"
IDS_PowerActionNone1 "Îα μη γίνεÏαι καμία
ενÎÏγεια"
IDS_PowerActionUnknown "Unknown"
Modified: trunk/reactos/dll/cpl/powercfg/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/en-U…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/en-US.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/en-US.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -110,8 +110,6 @@
IDS_TEXT "Text"
IDS_CONFIG1 "Settings for %1 power scheme"
IDS_CONFIG2 "Advanced settings for %1"
- IDS_SIZEBYTS "%i bytes"
- IDS_SIZEMB "%i MB"
IDS_NOACTION "Do nothing"
IDS_PowerActionNone1 "No action"
IDS_PowerActionUnknown "Unknown"
Modified: trunk/reactos/dll/cpl/powercfg/lang/es-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/es-E…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/es-ES.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/es-ES.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -112,8 +112,6 @@
IDS_TEXT "Texto"
IDS_CONFIG1 "Configuración para la combinación de energÃa %1"
IDS_CONFIG2 "Opciones avanzadas para %1"
- IDS_SIZEBYTS "%i bytes"
- IDS_SIZEMB "%i MB"
IDS_NOACTION "No hacer nada"
IDS_PowerActionNone1 "No hacer nada"
IDS_PowerActionUnknown "desconocido"
Modified: trunk/reactos/dll/cpl/powercfg/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/fr-F…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/fr-FR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/fr-FR.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -112,8 +112,6 @@
IDS_TEXT "Texte"
IDS_CONFIG1 "Réglages pour le profil d'alimentation %1"
IDS_CONFIG2 "Réglages avancés pour %1"
- IDS_SIZEBYTS "%i octets"
- IDS_SIZEMB "%i Mo"
IDS_NOACTION "Ne rien faire"
IDS_PowerActionNone1 "Pas d'action"
IDS_PowerActionUnknown "Inconnue"
Modified: trunk/reactos/dll/cpl/powercfg/lang/he-IL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/he-I…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/he-IL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/he-IL.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -112,8 +112,6 @@
IDS_TEXT "×קס×"
IDS_CONFIG1 "Settings for %1 power scheme"
IDS_CONFIG2 "×פשר×××ת ×תק×××ת × %1"
- IDS_SIZEBYTS "%i ××ת"
- IDS_SIZEMB "%i MB"
IDS_NOACTION "×× ×ª×¢×©× ××ר"
IDS_PowerActionNone1 "ש×× ×¤×¢×××"
IDS_PowerActionUnknown "×× ××××¢"
Modified: trunk/reactos/dll/cpl/powercfg/lang/id-ID.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/id-I…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/id-ID.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/id-ID.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -112,8 +112,6 @@
IDS_TEXT "Teks"
IDS_CONFIG1 "Menyetel untuk %1 skema tenaga"
IDS_CONFIG2 "Setelan Lanjutan untuk %1"
- IDS_SIZEBYTS "%i byte"
- IDS_SIZEMB "%i MB"
IDS_NOACTION "Tidak melakukan apapun"
IDS_PowerActionNone1 "Tidak ada aksi"
IDS_PowerActionUnknown "Tidak dikenal"
Modified: trunk/reactos/dll/cpl/powercfg/lang/it-IT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/it-I…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/it-IT.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/it-IT.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -110,8 +110,6 @@
IDS_TEXT "Testo"
IDS_CONFIG1 "Impostazioni per lo schema %1 "
IDS_CONFIG2 "Impostazioni avanzate per %1"
- IDS_SIZEBYTS "%i bytes"
- IDS_SIZEMB "%i MB"
IDS_NOACTION "Nessuna azione"
IDS_PowerActionNone1 "Nessuna azione"
IDS_PowerActionUnknown "Sconosciuto"
Modified: trunk/reactos/dll/cpl/powercfg/lang/ja-JP.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/ja-J…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/ja-JP.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/ja-JP.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -112,8 +112,6 @@
IDS_TEXT "ããã¹ã"
IDS_CONFIG1 "[%1] ã®é»æºè¨å®"
IDS_CONFIG2 "%1ã®è©³ç´°è¨å®"
- IDS_SIZEBYTS "%i ãã¤ã"
- IDS_SIZEMB "%i MB"
IDS_NOACTION "ä½ãããªã"
IDS_PowerActionNone1 "ä½ãããªã"
IDS_PowerActionUnknown "ä¸æ"
Modified: trunk/reactos/dll/cpl/powercfg/lang/nl-NL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/nl-N…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/nl-NL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/nl-NL.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -110,8 +110,6 @@
IDS_TEXT "Text"
IDS_CONFIG1 "Settings for %1 power scheme"
IDS_CONFIG2 "Advanced settings for %1"
- IDS_SIZEBYTS "%i bytes"
- IDS_SIZEMB "%i MB"
IDS_NOACTION "Doe niets"
IDS_PowerActionNone1 "Geen actie"
IDS_PowerActionUnknown "Onbekend"
Modified: trunk/reactos/dll/cpl/powercfg/lang/no-NO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/no-N…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/no-NO.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/no-NO.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -112,8 +112,6 @@
IDS_TEXT "Tekst"
IDS_CONFIG1 "Innstillinger for %1 strømplan"
IDS_CONFIG2 "Avanserte innstillinger for %1"
- IDS_SIZEBYTS "%i byte"
- IDS_SIZEMB "%i MB"
IDS_NOACTION "Ikke gjør noe"
IDS_PowerActionNone1 "Ingen handling"
IDS_PowerActionUnknown "Ukjent"
Modified: trunk/reactos/dll/cpl/powercfg/lang/pl-PL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/pl-P…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/pl-PL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/pl-PL.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -118,8 +118,6 @@
IDS_TEXT "Tekst"
IDS_CONFIG1 "Ustawienia dla schematu %1"
IDS_CONFIG2 "Zaawansowane ustawienia dla %1"
- IDS_SIZEBYTS "%i bajtów"
- IDS_SIZEMB "%i MB"
IDS_NOACTION "Nie rób nic"
IDS_PowerActionNone1 "Brak akcji"
IDS_PowerActionUnknown "Nieznana"
Modified: trunk/reactos/dll/cpl/powercfg/lang/ro-RO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/ro-R…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/ro-RO.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/ro-RO.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -115,8 +115,6 @@
IDS_TEXT "text"
IDS_CONFIG1 "Configurare regim %1"
IDS_CONFIG2 "OpÈiuni avansate pentru %1"
- IDS_SIZEBYTS "%i octeÈi"
- IDS_SIZEMB "%i Mo"
IDS_NOACTION "nespecificatÄ"
IDS_PowerActionNone1 "acÈiune nespecificatÄ"
IDS_PowerActionUnknown "acÈiune necunoscutÄ"
Modified: trunk/reactos/dll/cpl/powercfg/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/ru-R…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/ru-RU.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/ru-RU.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -112,8 +112,6 @@
IDS_TEXT "ТекÑÑ"
IDS_CONFIG1 "ÐаÑамеÑÑÑ ÑÑ
ÐµÐ¼Ñ %1"
IDS_CONFIG2 "ÐополниÑелÑнÑе паÑамеÑÑÑ ÑÑ
ÐµÐ¼Ñ %1"
- IDS_SIZEBYTS "%i байÑ"
- IDS_SIZEMB "%i ÐÐ"
IDS_NOACTION "Ðе делаÑÑ Ð½Ð¸Ñего"
IDS_PowerActionNone1 "ÐейÑÑвие не ÑÑебÑеÑÑÑ"
IDS_PowerActionUnknown "ÐÐµÑ Ð´Ð°Ð½Ð½ÑÑ
"
Modified: trunk/reactos/dll/cpl/powercfg/lang/sk-SK.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/sk-S…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/sk-SK.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/sk-SK.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -118,8 +118,6 @@
IDS_TEXT "Text"
IDS_CONFIG1 "Nastavenie pre schému napájania %1"
IDS_CONFIG2 "RozÅ¡Ãrené nastavenie pre %1"
- IDS_SIZEBYTS "%i bajtov"
- IDS_SIZEMB "%i MB"
IDS_NOACTION "Do nothing"
IDS_PowerActionNone1 "No action"
IDS_PowerActionUnknown "Neznáme"
Modified: trunk/reactos/dll/cpl/powercfg/lang/sq-AL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/sq-A…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/sq-AL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/sq-AL.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -115,8 +115,6 @@
IDS_TEXT "Teksti"
IDS_CONFIG1 "Konfigurimet për %1 skema energjise"
IDS_CONFIG2 "Konfigurimet Avancuara për %1"
- IDS_SIZEBYTS "%i bytes"
- IDS_SIZEMB "%i MB"
IDS_NOACTION "Mos bëj gjë"
IDS_PowerActionNone1 "Asnjë veprim"
IDS_PowerActionUnknown "i panjohur"
Modified: trunk/reactos/dll/cpl/powercfg/lang/th-TH.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/th-T…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/th-TH.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/th-TH.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -110,8 +110,6 @@
IDS_TEXT "à¸à¹à¸à¸à¸§à¸²à¸¡"
IDS_CONFIG1 "à¸à¸±à¹à¸à¸à¹à¸²à¹à¸«à¹à¸à¸±à¸ %1
à¸à¹à¸²à¸à¸¥à¸±à¸à¸à¸²à¸"
IDS_CONFIG2
"à¸à¸²à¸£à¸à¸±à¹à¸à¸à¹à¸²à¹à¸à¸à¸à¸±à¹à¸à¸ªà¸¹à¸à¹à¸à¹à¸ %1"
- IDS_SIZEBYTS "%i bytes"
- IDS_SIZEMB "%i MB"
IDS_NOACTION "à¹à¸¡à¹à¹à¸à¸¥à¸µà¹à¸¢à¸à¸à¹à¸²"
IDS_PowerActionNone1 "à¹à¸¡à¹à¹à¸à¸¥à¸µà¹à¸¢à¸à¸à¹à¸²"
IDS_PowerActionUnknown "à¹à¸¡à¹à¸à¸£à¸²à¸"
Modified: trunk/reactos/dll/cpl/powercfg/lang/tr-TR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/tr-T…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/tr-TR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/tr-TR.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -112,8 +112,6 @@
IDS_TEXT "Metin"
IDS_CONFIG1 "%1 Güç Düzeni İçin Ayarlar"
IDS_CONFIG2 "%1 İçin GeliÅmiÅ Ayarlar"
- IDS_SIZEBYTS "%i Ãoklu"
- IDS_SIZEMB "%i MB"
IDS_NOACTION "Bir Åey Yapma"
IDS_PowerActionNone1 "Eylem Yok"
IDS_PowerActionUnknown "Bilinmiyor"
Modified: trunk/reactos/dll/cpl/powercfg/lang/uk-UA.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/uk-U…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/uk-UA.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/uk-UA.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -118,8 +118,6 @@
IDS_TEXT "ТекÑÑ"
IDS_CONFIG1 "ÐалаÑÑÑÐ²Ð°Ð½Ð½Ñ ÑÑ
еми Ð¶Ð¸Ð²Ð»ÐµÐ½Ð½Ñ %1"
IDS_CONFIG2 "ÐодаÑÐºÐ¾Ð²Ñ Ð½Ð°Ð»Ð°ÑÑÑÐ²Ð°Ð½Ð½Ñ Ð´Ð»Ñ %1"
- IDS_SIZEBYTS "%i байÑ"
- IDS_SIZEMB "%i ÐÐ"
IDS_NOACTION "Ðе ÑобиÑи нÑÑого"
IDS_PowerActionNone1 "ÐÑÑ Ð½Ðµ поÑÑÑбна"
IDS_PowerActionUnknown "ÐÐµÐ¼Ð°Ñ Ð´Ð°Ð½Ð¸Ñ
"
Modified: trunk/reactos/dll/cpl/powercfg/lang/zh-CN.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/zh-C…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/zh-CN.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/zh-CN.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -112,8 +112,6 @@
IDS_TEXT "ææ¬"
IDS_CONFIG1 "为 %i 设置çµæºä½¿ç¨æ¹æ¡"
IDS_CONFIG2 "%i çé«çº§è®¾ç½®"
- IDS_SIZEBYTS "%i åè"
- IDS_SIZEMB "%i MB"
IDS_NOACTION "æ æä½"
IDS_PowerActionNone1 "æ å¨ä½"
IDS_PowerActionUnknown "æªç¥"
Modified: trunk/reactos/dll/cpl/powercfg/lang/zh-TW.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/lang/zh-T…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/lang/zh-TW.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/lang/zh-TW.rc [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -112,8 +112,6 @@
IDS_TEXT "ææ¬"
IDS_CONFIG1 "ç² %i è¨ç½®é»æºä½¿ç¨æ¹æ¡"
IDS_CONFIG2 "%i çé«ç´è¨ç½®"
- IDS_SIZEBYTS "%i åç¯"
- IDS_SIZEMB "%i MB"
IDS_NOACTION "ç¡æä½"
IDS_PowerActionNone1 "ç¡åä½"
IDS_PowerActionUnknown "æªç¥"
Modified: trunk/reactos/dll/cpl/powercfg/powercfg.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/powercfg.…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/powercfg.h [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/powercfg.h [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -10,9 +10,11 @@
#define WIN32_NO_STATUS
#include <windef.h>
#include <winbase.h>
+#include <winreg.h>
#include <cpl.h>
#include <tchar.h>
#include <shlobj.h>
+#include <shlwapi.h>
#include <powrprof.h>
#include "resource.h"
Modified: trunk/reactos/dll/cpl/powercfg/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/resource.…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/resource.h [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/resource.h [iso-8859-1] Thu Sep 29 20:54:58 2016
@@ -9,15 +9,15 @@
#define ICONSIZE 16
/* IDs */
-#define IDC_CPLICON_1 1
+
+/* Set default to IDI_AC */
+#define IDC_CPLICON_1 IDI_AC
#define IDS_PROCENT 49
#define IDS_SOUND 50
#define IDS_TEXT 51
#define IDS_CONFIG1 53
#define IDS_CONFIG2 54
-#define IDS_SIZEBYTS 55
-#define IDS_SIZEMB 56
#define IDD_PROPPAGEPOWERSHEMES 70
#define IDD_PROPPAGEALARMS 71