https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e369caef4e92ee8da0bae…
commit e369caef4e92ee8da0baee706601cc4faafe5ed4
Author: Andrei Miloiu <miloiuandrei(a)gmail.com>
AuthorDate: Mon Jul 3 15:24:21 2023 +0300
Commit: GitHub <noreply(a)github.com>
CommitDate: Mon Jul 3 15:24:21 2023 +0300
[MSPAINT] Update Romanian (ro-RO) translation (#5353)
---
base/applications/mspaint/lang/ro-RO.rc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/base/applications/mspaint/lang/ro-RO.rc b/base/applications/mspaint/lang/ro-RO.rc
index 2a3775ca390..398201aec18 100644
--- a/base/applications/mspaint/lang/ro-RO.rc
+++ b/base/applications/mspaint/lang/ro-RO.rc
@@ -257,10 +257,10 @@ BEGIN
IDS_ANGLE "Unghiul trebuie să fie între -89 și 89."
IDS_LOADERRORTEXT "Fișierul %s nu poate fi încărcat."
IDS_ENLARGEPROMPTTEXT "Imaginea din memorie este mai mare decât suprafața curent disponibilă în aplicație.\nDoriți să redimensionați suprafața de desen disponibilă?"
- IDS_BOLD "Bold"
- IDS_ITALIC "Italic"
+ IDS_BOLD "Îngroșat"
+ IDS_ITALIC "Cursiv"
IDS_UNDERLINE "Subliniat"
IDS_VERTICAL "Vertical"
- IDS_PRINTRES "%d x %d pixel/cm"
- IDS_CANTPASTE "Failed to paste from the clipboard. The data format is either incorrect or not supported."
+ IDS_PRINTRES "%d x %d pixeli/cm"
+ IDS_CANTPASTE "Nu a putut fi lipit din clipboard. Formatul de date este fie incorect, fie nesuportat."
END
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=eb30050e1b506234f8e2f…
commit eb30050e1b506234f8e2f218d83426da63cb0fe5
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Mon Jul 3 12:28:39 2023 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Mon Jul 3 12:28:39 2023 +0200
[IPCONFIG] Add error messages for Release and Renew and fix magic values
---
base/applications/network/ipconfig/ipconfig.c | 12 ++++++------
base/applications/network/ipconfig/lang/bg-BG.rc | 2 ++
base/applications/network/ipconfig/lang/de-DE.rc | 2 ++
base/applications/network/ipconfig/lang/el-GR.rc | 2 ++
base/applications/network/ipconfig/lang/en-US.rc | 2 ++
base/applications/network/ipconfig/lang/es-ES.rc | 2 ++
base/applications/network/ipconfig/lang/fr-FR.rc | 2 ++
base/applications/network/ipconfig/lang/id-ID.rc | 2 ++
base/applications/network/ipconfig/lang/it-IT.rc | 2 ++
base/applications/network/ipconfig/lang/no-NO.rc | 2 ++
base/applications/network/ipconfig/lang/pl-PL.rc | 2 ++
base/applications/network/ipconfig/lang/ro-RO.rc | 2 ++
base/applications/network/ipconfig/lang/ru-RU.rc | 2 ++
base/applications/network/ipconfig/lang/sk-SK.rc | 2 ++
base/applications/network/ipconfig/lang/sq-AL.rc | 2 ++
base/applications/network/ipconfig/lang/sv-SE.rc | 2 ++
base/applications/network/ipconfig/lang/tr-TR.rc | 2 ++
base/applications/network/ipconfig/lang/uk-UA.rc | 2 ++
base/applications/network/ipconfig/lang/zh-CN.rc | 2 ++
base/applications/network/ipconfig/lang/zh-TW.rc | 2 ++
base/applications/network/ipconfig/resource.h | 2 ++
21 files changed, 46 insertions(+), 6 deletions(-)
diff --git a/base/applications/network/ipconfig/ipconfig.c b/base/applications/network/ipconfig/ipconfig.c
index 014a87d120c..389026974f7 100644
--- a/base/applications/network/ipconfig/ipconfig.c
+++ b/base/applications/network/ipconfig/ipconfig.c
@@ -457,19 +457,19 @@ PrintNodeType(
{
switch (NodeType)
{
- case 1:
+ case BROADCAST_NODETYPE:
ConResPrintf(StdOut, IDS_NODETYPEBCAST);
break;
- case 2:
+ case PEER_TO_PEER_NODETYPE:
ConResPrintf(StdOut, IDS_NODETYPEP2P);
break;
- case 4:
+ case MIXED_NODETYPE:
ConResPrintf(StdOut, IDS_NODETYPEMIXED);
break;
- case 8:
+ case HYBRID_NODETYPE:
ConResPrintf(StdOut, IDS_NODETYPEHYBRID);
break;
@@ -890,7 +890,7 @@ Release(
ret = IpReleaseAddress(&AdapterMap);
if (ret != NO_ERROR)
{
- _tprintf(_T("\nAn error occured while releasing interface %ls : \n"), szFriendlyName);
+ ConResPrintf(StdOut, IDS_DHCPRELEASEERROR, szFriendlyName);
DoFormatMessage(ret);
}
}
@@ -988,7 +988,7 @@ Renew(
ret = IpRenewAddress(&AdapterMap);
if (ret != NO_ERROR)
{
- _tprintf(_T("\nAn error occured while renew interface %ls : "), szFriendlyName);
+ ConResPrintf(StdOut, IDS_DHCPRENEWERROR, szFriendlyName);
DoFormatMessage(ret);
}
}
diff --git a/base/applications/network/ipconfig/lang/bg-BG.rc b/base/applications/network/ipconfig/lang/bg-BG.rc
index 505d454725f..d50fc62f278 100644
--- a/base/applications/network/ipconfig/lang/bg-BG.rc
+++ b/base/applications/network/ipconfig/lang/bg-BG.rc
@@ -89,6 +89,8 @@ BEGIN
IDS_DHCPNOTENABLED "Adapter %ls is not enabled for DHCP.\n"
IDS_DHCPNOADAPTER "The operation failed as no adapter is in the state permissible for \nthis operation.\n"
IDS_DHCPRELEASED "IP Address for adapter %ls has already been released.\n"
+ IDS_DHCPRELEASEERROR "An error occurred while releasing interface %ls: "
+ IDS_DHCPRENEWERROR "An error occurred while renewing interface %ls: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/de-DE.rc b/base/applications/network/ipconfig/lang/de-DE.rc
index 76313151a15..4737823e579 100644
--- a/base/applications/network/ipconfig/lang/de-DE.rc
+++ b/base/applications/network/ipconfig/lang/de-DE.rc
@@ -91,6 +91,8 @@ BEGIN
IDS_DHCPNOTENABLED "Der Adapter %ls ist nicht für DHCP aktiviert.\n"
IDS_DHCPNOADAPTER "Der Vorgang ist fehlgeschlagen, weil kein Adapter sich in einem für diesen\nVorgang zulässigen Zustand befindet.\n"
IDS_DHCPRELEASED "Die IP-Adresse für den Adapter %ls wurde bereits freigegeben.\n"
+ IDS_DHCPRELEASEERROR "Beim Freigeben der Schnittstellen %ls ist folgender Fehler aufgetreten: "
+ IDS_DHCPRENEWERROR "Beim Aktualisieren der Schnittstelle %ls ist folgender Fehler aufgetreten: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/el-GR.rc b/base/applications/network/ipconfig/lang/el-GR.rc
index 77d3ab06a5d..0e739f436e6 100644
--- a/base/applications/network/ipconfig/lang/el-GR.rc
+++ b/base/applications/network/ipconfig/lang/el-GR.rc
@@ -89,6 +89,8 @@ BEGIN
IDS_DHCPNOTENABLED "Adapter %ls is not enabled for DHCP.\n"
IDS_DHCPNOADAPTER "The operation failed as no adapter is in the state permissible for \nthis operation.\n"
IDS_DHCPRELEASED "IP Address for adapter %ls has already been released.\n"
+ IDS_DHCPRELEASEERROR "An error occurred while releasing interface %ls: "
+ IDS_DHCPRENEWERROR "An error occurred while renewing interface %ls: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/en-US.rc b/base/applications/network/ipconfig/lang/en-US.rc
index d7d5b2ee05e..11baf3a89b8 100644
--- a/base/applications/network/ipconfig/lang/en-US.rc
+++ b/base/applications/network/ipconfig/lang/en-US.rc
@@ -89,6 +89,8 @@ BEGIN
IDS_DHCPNOTENABLED "Adapter %ls is not enabled for DHCP.\n"
IDS_DHCPNOADAPTER "The operation failed as no adapter is in the state permissible for \nthis operation.\n"
IDS_DHCPRELEASED "IP Address for adapter %ls has already been released.\n"
+ IDS_DHCPRELEASEERROR "An error occurred while releasing interface %ls: "
+ IDS_DHCPRENEWERROR "An error occurred while renewing interface %ls: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/es-ES.rc b/base/applications/network/ipconfig/lang/es-ES.rc
index 6049a922906..0416780ca56 100644
--- a/base/applications/network/ipconfig/lang/es-ES.rc
+++ b/base/applications/network/ipconfig/lang/es-ES.rc
@@ -90,6 +90,8 @@ BEGIN
IDS_DHCPNOTENABLED "Adapter %ls is not enabled for DHCP.\n"
IDS_DHCPNOADAPTER "The operation failed as no adapter is in the state permissible for \nthis operation.\n"
IDS_DHCPRELEASED "IP Address for adapter %ls has already been released.\n"
+ IDS_DHCPRELEASEERROR "An error occurred while releasing interface %ls: "
+ IDS_DHCPRENEWERROR "An error occurred while renewing interface %ls: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/fr-FR.rc b/base/applications/network/ipconfig/lang/fr-FR.rc
index d0f212dcdb1..3b7e36005e1 100644
--- a/base/applications/network/ipconfig/lang/fr-FR.rc
+++ b/base/applications/network/ipconfig/lang/fr-FR.rc
@@ -91,6 +91,8 @@ BEGIN
IDS_DHCPNOTENABLED "Adapter %ls is not enabled for DHCP.\n"
IDS_DHCPNOADAPTER "The operation failed as no adapter is in the state permissible for \nthis operation.\n"
IDS_DHCPRELEASED "IP Address for adapter %ls has already been released.\n"
+ IDS_DHCPRELEASEERROR "An error occurred while releasing interface %ls: "
+ IDS_DHCPRENEWERROR "An error occurred while renewing interface %ls: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/id-ID.rc b/base/applications/network/ipconfig/lang/id-ID.rc
index f1230c23632..d7a6149a853 100644
--- a/base/applications/network/ipconfig/lang/id-ID.rc
+++ b/base/applications/network/ipconfig/lang/id-ID.rc
@@ -89,6 +89,8 @@ BEGIN
IDS_DHCPNOTENABLED "Adapter %ls is not enabled for DHCP.\n"
IDS_DHCPNOADAPTER "The operation failed as no adapter is in the state permissible for \nthis operation.\n"
IDS_DHCPRELEASED "IP Address for adapter %ls has already been released.\n"
+ IDS_DHCPRELEASEERROR "An error occurred while releasing interface %ls: "
+ IDS_DHCPRENEWERROR "An error occurred while renewing interface %ls: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/it-IT.rc b/base/applications/network/ipconfig/lang/it-IT.rc
index c0dfa9e3913..f96e1488573 100644
--- a/base/applications/network/ipconfig/lang/it-IT.rc
+++ b/base/applications/network/ipconfig/lang/it-IT.rc
@@ -89,6 +89,8 @@ BEGIN
IDS_DHCPNOTENABLED "Adapter %ls is not enabled for DHCP.\n"
IDS_DHCPNOADAPTER "The operation failed as no adapter is in the state permissible for \nthis operation.\n"
IDS_DHCPRELEASED "IP Address for adapter %ls has already been released.\n"
+ IDS_DHCPRELEASEERROR "An error occurred while releasing interface %ls: "
+ IDS_DHCPRENEWERROR "An error occurred while renewing interface %ls: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/no-NO.rc b/base/applications/network/ipconfig/lang/no-NO.rc
index e710a25f57f..6c08063cf40 100644
--- a/base/applications/network/ipconfig/lang/no-NO.rc
+++ b/base/applications/network/ipconfig/lang/no-NO.rc
@@ -89,6 +89,8 @@ BEGIN
IDS_DHCPNOTENABLED "Adapter %ls is not enabled for DHCP.\n"
IDS_DHCPNOADAPTER "The operation failed as no adapter is in the state permissible for \nthis operation.\n"
IDS_DHCPRELEASED "IP Address for adapter %ls has already been released.\n"
+ IDS_DHCPRELEASEERROR "An error occurred while releasing interface %ls: "
+ IDS_DHCPRENEWERROR "An error occurred while renewing interface %ls: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/pl-PL.rc b/base/applications/network/ipconfig/lang/pl-PL.rc
index 5860ea06fa8..b81bad80b0c 100644
--- a/base/applications/network/ipconfig/lang/pl-PL.rc
+++ b/base/applications/network/ipconfig/lang/pl-PL.rc
@@ -68,6 +68,8 @@ BEGIN
IDS_DHCPNOTENABLED "Adapter %ls is not enabled for DHCP.\n"
IDS_DHCPNOADAPTER "The operation failed as no adapter is in the state permissible for \nthis operation.\n"
IDS_DHCPRELEASED "IP Address for adapter %ls has already been released.\n"
+ IDS_DHCPRELEASEERROR "An error occurred while releasing interface %ls: "
+ IDS_DHCPRENEWERROR "An error occurred while renewing interface %ls: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/ro-RO.rc b/base/applications/network/ipconfig/lang/ro-RO.rc
index bc24294c3d3..bfdb06b9a8f 100644
--- a/base/applications/network/ipconfig/lang/ro-RO.rc
+++ b/base/applications/network/ipconfig/lang/ro-RO.rc
@@ -90,6 +90,8 @@ BEGIN
IDS_DHCPNOTENABLED "Adapter %ls is not enabled for DHCP.\n"
IDS_DHCPNOADAPTER "The operation failed as no adapter is in the state permissible for \nthis operation.\n"
IDS_DHCPRELEASED "IP Address for adapter %ls has already been released.\n"
+ IDS_DHCPRELEASEERROR "An error occurred while releasing interface %ls: "
+ IDS_DHCPRENEWERROR "An error occurred while renewing interface %ls: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/ru-RU.rc b/base/applications/network/ipconfig/lang/ru-RU.rc
index c365b1d37f3..7aed1e5210b 100644
--- a/base/applications/network/ipconfig/lang/ru-RU.rc
+++ b/base/applications/network/ipconfig/lang/ru-RU.rc
@@ -90,6 +90,8 @@ BEGIN
IDS_DHCPNOTENABLED "Адаптер ""%ls"" не доступен для DHCP.\n"
IDS_DHCPNOADAPTER "Операция завершена с ошибкой, поскольку ни один адаптер\nне находился в состоянии, допустимом для её выполнения.\n"
IDS_DHCPRELEASED "IP-адрес для адаптера ""%ls"" уже освобождён.\n"
+ IDS_DHCPRELEASEERROR "An error occurred while releasing interface %ls: "
+ IDS_DHCPRENEWERROR "An error occurred while renewing interface %ls: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/sk-SK.rc b/base/applications/network/ipconfig/lang/sk-SK.rc
index 71bd81648c6..8335eeb2fb9 100644
--- a/base/applications/network/ipconfig/lang/sk-SK.rc
+++ b/base/applications/network/ipconfig/lang/sk-SK.rc
@@ -89,6 +89,8 @@ BEGIN
IDS_DHCPNOTENABLED "Adapter %ls is not enabled for DHCP.\n"
IDS_DHCPNOADAPTER "The operation failed as no adapter is in the state permissible for \nthis operation.\n"
IDS_DHCPRELEASED "IP Address for adapter %ls has already been released.\n"
+ IDS_DHCPRELEASEERROR "An error occurred while releasing interface %ls: "
+ IDS_DHCPRENEWERROR "An error occurred while renewing interface %ls: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/sq-AL.rc b/base/applications/network/ipconfig/lang/sq-AL.rc
index 8dc5e361839..120fcf45f72 100644
--- a/base/applications/network/ipconfig/lang/sq-AL.rc
+++ b/base/applications/network/ipconfig/lang/sq-AL.rc
@@ -89,6 +89,8 @@ BEGIN
IDS_DHCPNOTENABLED "Adapter %ls is not enabled for DHCP.\n"
IDS_DHCPNOADAPTER "The operation failed as no adapter is in the state permissible for \nthis operation.\n"
IDS_DHCPRELEASED "IP Address for adapter %ls has already been released.\n"
+ IDS_DHCPRELEASEERROR "An error occurred while releasing interface %ls: "
+ IDS_DHCPRENEWERROR "An error occurred while renewing interface %ls: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/sv-SE.rc b/base/applications/network/ipconfig/lang/sv-SE.rc
index 24eea34eb75..8f0cd22fdb2 100644
--- a/base/applications/network/ipconfig/lang/sv-SE.rc
+++ b/base/applications/network/ipconfig/lang/sv-SE.rc
@@ -90,6 +90,8 @@ BEGIN
IDS_DHCPNOTENABLED "Adapter %ls is not enabled for DHCP.\n"
IDS_DHCPNOADAPTER "The operation failed as no adapter is in the state permissible for \nthis operation.\n"
IDS_DHCPRELEASED "IP Address for adapter %ls has already been released.\n"
+ IDS_DHCPRELEASEERROR "An error occurred while releasing interface %ls: "
+ IDS_DHCPRENEWERROR "An error occurred while renewing interface %ls: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/tr-TR.rc b/base/applications/network/ipconfig/lang/tr-TR.rc
index dfc2a5fec83..c720a6eb0c4 100644
--- a/base/applications/network/ipconfig/lang/tr-TR.rc
+++ b/base/applications/network/ipconfig/lang/tr-TR.rc
@@ -90,6 +90,8 @@ BEGIN
IDS_DHCPNOTENABLED "Adapter %ls is not enabled for DHCP.\n"
IDS_DHCPNOADAPTER "The operation failed as no adapter is in the state permissible for \nthis operation.\n"
IDS_DHCPRELEASED "IP Address for adapter %ls has already been released.\n"
+ IDS_DHCPRELEASEERROR "An error occurred while releasing interface %ls: "
+ IDS_DHCPRENEWERROR "An error occurred while renewing interface %ls: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/uk-UA.rc b/base/applications/network/ipconfig/lang/uk-UA.rc
index 63b33b1fe34..c94ffdb188b 100644
--- a/base/applications/network/ipconfig/lang/uk-UA.rc
+++ b/base/applications/network/ipconfig/lang/uk-UA.rc
@@ -90,6 +90,8 @@ BEGIN
IDS_DHCPNOTENABLED "Adapter %ls is not enabled for DHCP.\n"
IDS_DHCPNOADAPTER "The operation failed as no adapter is in the state permissible for \nthis operation.\n"
IDS_DHCPRELEASED "IP Address for adapter %ls has already been released.\n"
+ IDS_DHCPRELEASEERROR "An error occurred while releasing interface %ls: "
+ IDS_DHCPRENEWERROR "An error occurred while renewing interface %ls: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/zh-CN.rc b/base/applications/network/ipconfig/lang/zh-CN.rc
index 588851408bc..76b031627ba 100644
--- a/base/applications/network/ipconfig/lang/zh-CN.rc
+++ b/base/applications/network/ipconfig/lang/zh-CN.rc
@@ -90,6 +90,8 @@ BEGIN
IDS_DHCPNOTENABLED "Adapter %ls is not enabled for DHCP.\n"
IDS_DHCPNOADAPTER "The operation failed as no adapter is in the state permissible for \nthis operation.\n"
IDS_DHCPRELEASED "IP Address for adapter %ls has already been released.\n"
+ IDS_DHCPRELEASEERROR "An error occurred while releasing interface %ls: "
+ IDS_DHCPRENEWERROR "An error occurred while renewing interface %ls: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/zh-TW.rc b/base/applications/network/ipconfig/lang/zh-TW.rc
index 17272ed578f..0e1063ad894 100644
--- a/base/applications/network/ipconfig/lang/zh-TW.rc
+++ b/base/applications/network/ipconfig/lang/zh-TW.rc
@@ -90,6 +90,8 @@ BEGIN
IDS_DHCPNOTENABLED "Adapter %ls is not enabled for DHCP.\n"
IDS_DHCPNOADAPTER "The operation failed as no adapter is in the state permissible for \nthis operation.\n"
IDS_DHCPRELEASED "IP Address for adapter %ls has already been released.\n"
+ IDS_DHCPRELEASEERROR "An error occurred while releasing interface %ls: "
+ IDS_DHCPRENEWERROR "An error occurred while renewing interface %ls: "
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/resource.h b/base/applications/network/ipconfig/resource.h
index 0395027b423..678e677f084 100644
--- a/base/applications/network/ipconfig/resource.h
+++ b/base/applications/network/ipconfig/resource.h
@@ -75,3 +75,5 @@
#define IDS_DHCPNOTENABLED 205
#define IDS_DHCPNOADAPTER 206
#define IDS_DHCPRELEASED 207
+#define IDS_DHCPRELEASEERROR 208
+#define IDS_DHCPRENEWERROR 209
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8e01dee25155b8edc256f…
commit 8e01dee25155b8edc256f7d2239f8fb22496a543
Author: Eugen Podrug <eugen.podrug(a)gmail.com>
AuthorDate: Tue Jan 24 05:42:03 2023 +0100
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Sun Jul 2 16:10:36 2023 +0300
[NTOS:EX] Fix swapped values in ExGetCurrentProcessorCounts() (#4565)
The function should return the kernel time for the idle thread in the
first argument, and kernel time + user time for the current thread in
the second argument.
Also retrieve the processor number from the cached PRCB instead of
calling KeGetCurrentProcessorNumber() which retrieves the PRCB again
since the processor could switch in-between those calls.
NdisGetCurrentProcessorCounts() function follows the same prototype
which is the correct one.
---
drivers/network/ndis/include/ndissys.h | 4 ++--
ntoskrnl/ex/sysinfo.c | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/network/ndis/include/ndissys.h b/drivers/network/ndis/include/ndissys.h
index b80a6a0bbfa..7d5dbb0740a 100644
--- a/drivers/network/ndis/include/ndissys.h
+++ b/drivers/network/ndis/include/ndissys.h
@@ -45,8 +45,8 @@
VOID
NTAPI
ExGetCurrentProcessorCounts(
- PULONG ThreadKernelTime,
- PULONG TotalCpuTime,
+ PULONG IdleTime,
+ PULONG KernelAndUserTime,
PULONG ProcessorNumber);
VOID
diff --git a/ntoskrnl/ex/sysinfo.c b/ntoskrnl/ex/sysinfo.c
index ecf6380dd8b..d6692bc83f6 100644
--- a/ntoskrnl/ex/sysinfo.c
+++ b/ntoskrnl/ex/sysinfo.c
@@ -342,17 +342,17 @@ ExGetCurrentProcessorCpuUsage(PULONG CpuUsage)
*/
VOID
NTAPI
-ExGetCurrentProcessorCounts(PULONG ThreadKernelTime,
- PULONG TotalCpuTime,
+ExGetCurrentProcessorCounts(PULONG IdleTime,
+ PULONG KernelAndUserTime,
PULONG ProcessorNumber)
{
PKPRCB Prcb;
Prcb = KeGetCurrentPrcb();
- *ThreadKernelTime = Prcb->KernelTime + Prcb->UserTime;
- *TotalCpuTime = Prcb->CurrentThread->KernelTime;
- *ProcessorNumber = KeGetCurrentProcessorNumber();
+ *IdleTime = Prcb->IdleThread->KernelTime;
+ *KernelAndUserTime = Prcb->KernelTime + Prcb->UserTime;
+ *ProcessorNumber = (ULONG)Prcb->Number;
}
/*
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=bc85db7d8c326549d5873…
commit bc85db7d8c326549d5873e59c35927d7976cd26a
Author: Stanislav Motylkov <x86corez(a)gmail.com>
AuthorDate: Sun Jul 2 16:02:19 2023 +0300
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Sun Jul 2 16:02:19 2023 +0300
[IPCONFIG] Update Russian (ru-RU) translation
---
base/applications/network/ipconfig/lang/ru-RU.rc | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/base/applications/network/ipconfig/lang/ru-RU.rc b/base/applications/network/ipconfig/lang/ru-RU.rc
index 340b40921d6..c365b1d37f3 100644
--- a/base/applications/network/ipconfig/lang/ru-RU.rc
+++ b/base/applications/network/ipconfig/lang/ru-RU.rc
@@ -84,12 +84,12 @@ STRINGTABLE
BEGIN
IDS_DNSNORECORD "\tНет записей типа %ls\n\n"
IDS_DNSNONAME "\tИмя не существует.\n\n"
- IDS_DNSFLUSHERROR "Не удается очистить кэш распознавателя DNS: "
+ IDS_DNSFLUSHERROR "Не удаётся очистить кэш распознавателя DNS: "
IDS_DNSFLUSHSUCCESS "Успешно сброшен кэш распознавателя DNS.\n"
- IDS_DHCPNOTCONNECTED "No operation can be performed on %ls while it has its media disconnected.\n"
- IDS_DHCPNOTENABLED "Adapter %ls is not enabled for DHCP.\n"
- IDS_DHCPNOADAPTER "The operation failed as no adapter is in the state permissible for \nthis operation.\n"
- IDS_DHCPRELEASED "IP Address for adapter %ls has already been released.\n"
+ IDS_DHCPNOTCONNECTED "Операции не могут быть выполнены на ""%ls"", до тех пор, пока сеть отключена.\n"
+ IDS_DHCPNOTENABLED "Адаптер ""%ls"" не доступен для DHCP.\n"
+ IDS_DHCPNOADAPTER "Операция завершена с ошибкой, поскольку ни один адаптер\nне находился в состоянии, допустимом для её выполнения.\n"
+ IDS_DHCPRELEASED "IP-адрес для адаптера ""%ls"" уже освобождён.\n"
END
STRINGTABLE