https://git.reactos.org/?p=reactos.git;a=commitdiff;h=50d78f04e348c9a9702f9…
commit 50d78f04e348c9a9702f9f35ca8b28990a982be0
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Jun 25 14:00:47 2023 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Jun 25 14:00:47 2023 +0200
[IPCONFIG] Improve adapter type and name output
---
base/applications/network/ipconfig/ipconfig.c | 81 +++++++-----------------
base/applications/network/ipconfig/lang/bg-BG.rc | 18 +++---
base/applications/network/ipconfig/lang/de-DE.rc | 18 +++---
base/applications/network/ipconfig/lang/el-GR.rc | 18 +++---
base/applications/network/ipconfig/lang/en-US.rc | 18 +++---
base/applications/network/ipconfig/lang/es-ES.rc | 18 +++---
base/applications/network/ipconfig/lang/fr-FR.rc | 18 +++---
base/applications/network/ipconfig/lang/id-ID.rc | 18 +++---
base/applications/network/ipconfig/lang/it-IT.rc | 18 +++---
base/applications/network/ipconfig/lang/no-NO.rc | 18 +++---
base/applications/network/ipconfig/lang/pl-PL.rc | 18 +++---
base/applications/network/ipconfig/lang/ro-RO.rc | 18 +++---
base/applications/network/ipconfig/lang/ru-RU.rc | 18 +++---
base/applications/network/ipconfig/lang/sk-SK.rc | 18 +++---
base/applications/network/ipconfig/lang/sq-AL.rc | 18 +++---
base/applications/network/ipconfig/lang/sv-SE.rc | 18 +++---
base/applications/network/ipconfig/lang/tr-TR.rc | 18 +++---
base/applications/network/ipconfig/lang/uk-UA.rc | 18 +++---
base/applications/network/ipconfig/lang/zh-CN.rc | 18 +++---
base/applications/network/ipconfig/lang/zh-TW.rc | 18 +++---
20 files changed, 194 insertions(+), 229 deletions(-)
diff --git a/base/applications/network/ipconfig/ipconfig.c
b/base/applications/network/ipconfig/ipconfig.c
index 584ca887e94..5ce159fd7b6 100644
--- a/base/applications/network/ipconfig/ipconfig.c
+++ b/base/applications/network/ipconfig/ipconfig.c
@@ -222,11 +222,12 @@ VOID DoFormatMessage(LONG ErrorCode)
}
VOID
-PrintAdapterFriendlyName(LPSTR lpClass)
+GetAdapterFriendlyName(
+ _In_ LPSTR lpClass,
+ _In_ DWORD cchFriendlyNameLength,
+ _Out_ PWSTR pszFriendlyName)
{
HKEY hKey = NULL;
- LPSTR ConType = NULL;
- LPSTR ConTypeTmp = NULL;
CHAR Path[256];
LPSTR PrePath =
"SYSTEM\\CurrentControlSet\\Control\\Network\\{4D36E972-E325-11CE-BFC1-08002BE10318}\\";
LPSTR PostPath = "\\Connection";
@@ -247,47 +248,13 @@ PrintAdapterFriendlyName(LPSTR lpClass)
KEY_READ,
&hKey) == ERROR_SUCCESS)
{
- if (RegQueryValueExA(hKey,
- "Name",
- NULL,
- &dwType,
- NULL,
- &dwDataSize) == ERROR_SUCCESS)
- {
- ConTypeTmp = (LPSTR)HeapAlloc(ProcessHeap,
- 0,
- dwDataSize);
- if (ConTypeTmp == NULL)
- return;
-
- ConType = (LPSTR)HeapAlloc(ProcessHeap,
- 0,
- dwDataSize);
- if (ConType == NULL)
- {
- HeapFree(ProcessHeap, 0, ConTypeTmp);
- return;
- }
-
- if (RegQueryValueExA(hKey,
- "Name",
- NULL,
- &dwType,
- (PBYTE)ConTypeTmp,
- &dwDataSize) != ERROR_SUCCESS)
- {
- HeapFree(ProcessHeap, 0, ConType);
- ConType = NULL;
- }
-
- if (ConType)
- CharToOemA(ConTypeTmp, ConType);
-
- printf("%s\n", ConType);
-
- HeapFree(ProcessHeap, 0, ConTypeTmp);
- HeapFree(ProcessHeap, 0, ConType);
- }
+ dwDataSize = cchFriendlyNameLength * sizeof(WCHAR);
+ RegQueryValueExW(hKey,
+ L"Name",
+ NULL,
+ &dwType,
+ (PBYTE)pszFriendlyName,
+ &dwDataSize);
}
if (hKey != NULL)
@@ -477,50 +444,48 @@ VOID
PrintAdapterTypeAndName(
PIP_ADAPTER_INFO pAdapterInfo)
{
- printf("\n");
+ WCHAR szFriendlyName[MAX_PATH];
+
+ GetAdapterFriendlyName(pAdapterInfo->AdapterName, MAX_PATH, szFriendlyName);
switch (pAdapterInfo->Type)
{
case MIB_IF_TYPE_OTHER:
- ConResPrintf(StdOut, IDS_OTHER);
+ ConResPrintf(StdOut, IDS_OTHER, szFriendlyName);
break;
case MIB_IF_TYPE_ETHERNET:
- ConResPrintf(StdOut, IDS_ETH);
+ ConResPrintf(StdOut, IDS_ETH, szFriendlyName);
break;
case MIB_IF_TYPE_TOKENRING:
- ConResPrintf(StdOut, IDS_TOKEN);
+ ConResPrintf(StdOut, IDS_TOKEN, szFriendlyName);
break;
case MIB_IF_TYPE_FDDI:
- ConResPrintf(StdOut, IDS_FDDI);
+ ConResPrintf(StdOut, IDS_FDDI, szFriendlyName);
break;
case MIB_IF_TYPE_PPP:
- ConResPrintf(StdOut, IDS_PPP);
+ ConResPrintf(StdOut, IDS_PPP, szFriendlyName);
break;
case MIB_IF_TYPE_LOOPBACK:
- ConResPrintf(StdOut, IDS_LOOP);
+ ConResPrintf(StdOut, IDS_LOOP, szFriendlyName);
break;
case MIB_IF_TYPE_SLIP:
- ConResPrintf(StdOut, IDS_SLIP);
+ ConResPrintf(StdOut, IDS_SLIP, szFriendlyName);
break;
case IF_TYPE_IEEE80211:
- ConResPrintf(StdOut, IDS_WIFI);
+ ConResPrintf(StdOut, IDS_WIFI, szFriendlyName);
break;
default:
- ConResPrintf(StdOut, IDS_UNKNOWNADAPTER);
+ ConResPrintf(StdOut, IDS_UNKNOWNADAPTER, szFriendlyName);
break;
}
-
- printf(": ");
- PrintAdapterFriendlyName(pAdapterInfo->AdapterName);
- printf("\n");
}
VOID ShowInfo(BOOL bAll)
diff --git a/base/applications/network/ipconfig/lang/bg-BG.rc
b/base/applications/network/ipconfig/lang/bg-BG.rc
index 67fcab7c545..f93d0366ded 100644
--- a/base/applications/network/ipconfig/lang/bg-BG.rc
+++ b/base/applications/network/ipconfig/lang/bg-BG.rc
@@ -55,15 +55,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Unknown Adapter"
- IDS_OTHER "Друг вид карта"
- IDS_ETH "Карта Ethernet"
- IDS_TOKEN "Карта Token Ring"
- IDS_FDDI "Карта FDDI"
- IDS_PPP "Карта PPP"
- IDS_LOOP "Карта Loopback"
- IDS_SLIP "Карта SLIP"
- IDS_WIFI "Wireless Network Adapter"
+ IDS_UNKNOWNADAPTER "\nUnknown Adapter: %ls\n"
+ IDS_OTHER "\nДруг вид карта: %ls\n"
+ IDS_ETH "\nКарта Ethernet: %ls\n"
+ IDS_TOKEN "\nКарта Token Ring: %ls\n"
+ IDS_FDDI "\nКарта FDDI: %ls\n"
+ IDS_PPP "\nКарта PPP: %ls\n"
+ IDS_LOOP "\nКарта Loopback: %ls\n"
+ IDS_SLIP "\nКарта SLIP: %ls\n"
+ IDS_WIFI "\nWireless Network Adapter: %ls\n"
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/de-DE.rc
b/base/applications/network/ipconfig/lang/de-DE.rc
index 1ea6e8f0e96..bf670fe123b 100644
--- a/base/applications/network/ipconfig/lang/de-DE.rc
+++ b/base/applications/network/ipconfig/lang/de-DE.rc
@@ -57,15 +57,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Unbekannter Adapter"
- IDS_OTHER "Anderer Adapter"
- IDS_ETH "Ethernet-Adapter"
- IDS_TOKEN "Token-Ring-Adapter"
- IDS_FDDI "FDDI-Adapter"
- IDS_PPP "PPP-Adapter"
- IDS_LOOP "Loopback-Adapter"
- IDS_SLIP "SLIP-Adapter"
- IDS_WIFI "Drahtlos-LAN-Adapter"
+ IDS_UNKNOWNADAPTER "\nUnbekannter Adapter: %ls\n"
+ IDS_OTHER "\nAnderer Adapter: %ls\n"
+ IDS_ETH "\nEthernet-Adapter: %ls\n"
+ IDS_TOKEN "\nToken-Ring-Adapter: %ls\n"
+ IDS_FDDI "\nFDDI-Adapter: %ls\n"
+ IDS_PPP "\nPPP-Adapter: %ls\n"
+ IDS_LOOP "\nLoopback-Adapter: %ls\n"
+ IDS_SLIP "\nSLIP-Adapter: %ls\n"
+ IDS_WIFI "\nDrahtlos-LAN-Adapter: %ls\n"
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/el-GR.rc
b/base/applications/network/ipconfig/lang/el-GR.rc
index 44a9ce651cf..502546eff51 100644
--- a/base/applications/network/ipconfig/lang/el-GR.rc
+++ b/base/applications/network/ipconfig/lang/el-GR.rc
@@ -55,15 +55,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Unknown Adapter"
- IDS_OTHER "Άλλος τύπος προσαρμογέα"
- IDS_ETH "Προσαρμογέας Ethernet"
- IDS_TOKEN "Προσαρμογέας Token Ring"
- IDS_FDDI "Προσαρμογέας FDDI"
- IDS_PPP "Προσαρμογέας PPP"
- IDS_LOOP "Προσαρμογέας Loopback"
- IDS_SLIP "Προσαρμογέας SLIP"
- IDS_WIFI "Wireless Network Adapter"
+ IDS_UNKNOWNADAPTER "\nUnknown Adapter: %ls\n"
+ IDS_OTHER "\nΆλλος τύπος προσαρμογέα: %ls\n"
+ IDS_ETH "\nΠροσαρμογέας Ethernet: %ls\n"
+ IDS_TOKEN "\nΠροσαρμογέας Token Ring: %ls\n"
+ IDS_FDDI "\nΠροσαρμογέας FDDI: %ls\n"
+ IDS_PPP "\nΠροσαρμογέας PPP: %ls\n"
+ IDS_LOOP "\nΠροσαρμογέας Loopback: %ls\n"
+ IDS_SLIP "\nΠροσαρμογέας SLIP: %ls\n"
+ IDS_WIFI "\nWireless Network Adapter: %ls\n"
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/en-US.rc
b/base/applications/network/ipconfig/lang/en-US.rc
index 69ea5958ae8..5d96ace1341 100644
--- a/base/applications/network/ipconfig/lang/en-US.rc
+++ b/base/applications/network/ipconfig/lang/en-US.rc
@@ -55,15 +55,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Unknown Adapter"
- IDS_OTHER "Other Type Of Adapter"
- IDS_ETH "Ethernet Adapter"
- IDS_TOKEN "Token Ring Adapter"
- IDS_FDDI "FDDI Adapter"
- IDS_PPP "PPP Adapter"
- IDS_LOOP "Loopback Adapter"
- IDS_SLIP "SLIP Adapter"
- IDS_WIFI "Wireless Network Adapter"
+ IDS_UNKNOWNADAPTER "\nUnknown Adapter: %ls\n"
+ IDS_OTHER "\nOther Type Of Adapter: %ls\n"
+ IDS_ETH "\nEthernet Adapter: %ls\n"
+ IDS_TOKEN "\nToken Ring Adapter: %ls\n"
+ IDS_FDDI "\nFDDI Adapter: %ls\n"
+ IDS_PPP "\nPPP Adapter: %ls\n"
+ IDS_LOOP "\nLoopback Adapter: %ls\n"
+ IDS_SLIP "\nSLIP Adapter: %ls\n"
+ IDS_WIFI "\nWireless Network Adapter: %ls\n"
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/es-ES.rc
b/base/applications/network/ipconfig/lang/es-ES.rc
index 48e73d3bfea..3ba7dc579c6 100644
--- a/base/applications/network/ipconfig/lang/es-ES.rc
+++ b/base/applications/network/ipconfig/lang/es-ES.rc
@@ -56,15 +56,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Unknown Adapter"
- IDS_OTHER "Otro tipo de adaptador"
- IDS_ETH "Adaptador Ethernet"
- IDS_TOKEN "Adaptador de red en anillo"
- IDS_FDDI "Adaptador FDDI"
- IDS_PPP "Adaptador PPP"
- IDS_LOOP "Adaptador de bucle invertido"
- IDS_SLIP "Adaptador SLIP"
- IDS_WIFI "Wireless Network Adapter"
+ IDS_UNKNOWNADAPTER "\nUnknown Adapter: %ls\n"
+ IDS_OTHER "\nOtro tipo de adaptador: %ls\n"
+ IDS_ETH "\nAdaptador Ethernet: %ls\n"
+ IDS_TOKEN "\nAdaptador de red en anillo: %ls\n"
+ IDS_FDDI "\nAdaptador FDDI: %ls\n"
+ IDS_PPP "\nAdaptador PPP: %ls\n"
+ IDS_LOOP "\nAdaptador de bucle invertido: %ls\n"
+ IDS_SLIP "\nAdaptador SLIP: %ls\n"
+ IDS_WIFI "\nWireless Network Adapter: %ls\n"
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/fr-FR.rc
b/base/applications/network/ipconfig/lang/fr-FR.rc
index 78223397e4b..d38aed55d4d 100644
--- a/base/applications/network/ipconfig/lang/fr-FR.rc
+++ b/base/applications/network/ipconfig/lang/fr-FR.rc
@@ -57,15 +57,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Unknown Adapter"
- IDS_OTHER "Autre Type d'adapteur"
- IDS_ETH "Adapteur Ethernet"
- IDS_TOKEN "Adapteur Token Ring"
- IDS_FDDI "Adapteur FDDI"
- IDS_PPP "Adapteur PPP"
- IDS_LOOP "Adapteur Loopback"
- IDS_SLIP "Adapteur SLIP"
- IDS_WIFI "Wireless Network Adapter"
+ IDS_UNKNOWNADAPTER "\nUnknown Adapter: %ls\n"
+ IDS_OTHER "\nAutre Type d'adapteur: %ls\n"
+ IDS_ETH "\nAdapteur Ethernet: %ls\n"
+ IDS_TOKEN "\nAdapteur Token Ring: %ls\n"
+ IDS_FDDI "\nAdapteur FDDI: %ls\n"
+ IDS_PPP "\nAdapteur PPP: %ls\n"
+ IDS_LOOP "\nAdapteur Loopback: %ls\n"
+ IDS_SLIP "\nAdapteur SLIP: %ls\n"
+ IDS_WIFI "\nWireless Network Adapter: %ls\n"
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/id-ID.rc
b/base/applications/network/ipconfig/lang/id-ID.rc
index 31bece7980e..f38a3c016c6 100644
--- a/base/applications/network/ipconfig/lang/id-ID.rc
+++ b/base/applications/network/ipconfig/lang/id-ID.rc
@@ -55,15 +55,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Unknown Adapter"
- IDS_OTHER "Adapter Tipe Lainnya"
- IDS_ETH "Adapter Ethernet"
- IDS_TOKEN "Adapter Token Ring"
- IDS_FDDI "Adapter FDDI"
- IDS_PPP "Adapter PPP"
- IDS_LOOP "Adapter Loopback"
- IDS_SLIP "Adapter SLIP"
- IDS_WIFI "Wireless Network Adapter"
+ IDS_UNKNOWNADAPTER "\nUnknown Adapter: %ls\n"
+ IDS_OTHER "\nAdapter Tipe Lainnya: %ls\n"
+ IDS_ETH "\nAdapter Ethernet: %ls\n"
+ IDS_TOKEN "\nAdapter Token Ring: %ls\n"
+ IDS_FDDI "\nAdapter FDDI: %ls\n"
+ IDS_PPP "\nAdapter PPP: %ls\n"
+ IDS_LOOP "\nAdapter Loopback: %ls\n"
+ IDS_SLIP "\nAdapter SLIP: %ls\n"
+ IDS_WIFI "\nWireless Network Adapter: %ls\n"
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/it-IT.rc
b/base/applications/network/ipconfig/lang/it-IT.rc
index 4d7b83b882c..424ef873101 100644
--- a/base/applications/network/ipconfig/lang/it-IT.rc
+++ b/base/applications/network/ipconfig/lang/it-IT.rc
@@ -55,15 +55,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Unknown Adapter"
- IDS_OTHER "Altro tipo di adattatore"
- IDS_ETH "Adattatore Ethernet"
- IDS_TOKEN "Adattatore Token Ring"
- IDS_FDDI "Adattatore FDDI"
- IDS_PPP "Adattatore PPP"
- IDS_LOOP "Adattatore Loopback"
- IDS_SLIP "Adattatore SLIP"
- IDS_WIFI "Wireless Network Adapter"
+ IDS_UNKNOWNADAPTER "\nUnknown Adapter: %ls\n"
+ IDS_OTHER "\nAltro tipo di adattatore: %ls\n"
+ IDS_ETH "\nAdattatore Ethernet: %ls\n"
+ IDS_TOKEN "\nAdattatore Token Ring: %ls\n"
+ IDS_FDDI "\nAdattatore FDDI: %ls\n"
+ IDS_PPP "\nAdattatore PPP: %ls\n"
+ IDS_LOOP "\nAdattatore Loopback: %ls\n"
+ IDS_SLIP "\nAdattatore SLIP: %ls\n"
+ IDS_WIFI "\nWireless Network Adapter: %ls\n"
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/no-NO.rc
b/base/applications/network/ipconfig/lang/no-NO.rc
index 1b1f933e8b6..3ce7445b053 100644
--- a/base/applications/network/ipconfig/lang/no-NO.rc
+++ b/base/applications/network/ipconfig/lang/no-NO.rc
@@ -55,15 +55,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Unknown Adapter"
- IDS_OTHER "Other Type Of Adapter"
- IDS_ETH "Ethernet Adapter"
- IDS_TOKEN "Token Ring Adapter"
- IDS_FDDI "FDDI Adapter"
- IDS_PPP "PPP Adapter"
- IDS_LOOP "Loopback Adapter"
- IDS_SLIP "SLIP Adapter"
- IDS_WIFI "Wireless Network Adapter"
+ IDS_UNKNOWNADAPTER "\nUnknown Adapter: %ls\n"
+ IDS_OTHER "\nOther Type Of Adapter: %ls\n"
+ IDS_ETH "\nEthernet Adapter: %ls\n"
+ IDS_TOKEN "\nToken Ring Adapter: %ls\n"
+ IDS_FDDI "\nFDDI Adapter: %ls\n"
+ IDS_PPP "\nPPP Adapter: %ls\n"
+ IDS_LOOP "\nLoopback Adapter: %ls\n"
+ IDS_SLIP "\nSLIP Adapter: %ls\n"
+ IDS_WIFI "\nWireless Network Adapter: %ls\n"
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/pl-PL.rc
b/base/applications/network/ipconfig/lang/pl-PL.rc
index abc25ad6e5b..5bacedf72ea 100644
--- a/base/applications/network/ipconfig/lang/pl-PL.rc
+++ b/base/applications/network/ipconfig/lang/pl-PL.rc
@@ -57,15 +57,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Unknown Adapter"
- IDS_OTHER "inny rodzaj karty"
- IDS_ETH "karta Ethernet"
- IDS_TOKEN "karta Token Ring"
- IDS_FDDI "karta FDDI"
- IDS_PPP "karta PPP"
- IDS_LOOP "karta Loopback"
- IDS_SLIP "karta SLIP"
- IDS_WIFI "Wireless Network Adapter"
+ IDS_UNKNOWNADAPTER "\nUnknown Adapter: %ls\n"
+ IDS_OTHER "\ninny rodzaj karty: %ls\n"
+ IDS_ETH "\nkarta Ethernet: %ls\n"
+ IDS_TOKEN "\nkarta Token Ring: %ls\n"
+ IDS_FDDI "\nkarta FDDI: %ls\n"
+ IDS_PPP "\nkarta PPP: %ls\n"
+ IDS_LOOP "\nkarta Loopback: %ls\n"
+ IDS_SLIP "\nkarta SLIP: %ls\n"
+ IDS_WIFI "\nWireless Network Adapter: %ls\n"
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/ro-RO.rc
b/base/applications/network/ipconfig/lang/ro-RO.rc
index 5acd0ba3182..bccd20cdc86 100644
--- a/base/applications/network/ipconfig/lang/ro-RO.rc
+++ b/base/applications/network/ipconfig/lang/ro-RO.rc
@@ -55,15 +55,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Unknown Adapter"
- IDS_OTHER "alt tip de adaptor"
- IDS_ETH "adaptor Ethernet"
- IDS_TOKEN "adaptor Token Ring"
- IDS_FDDI "adaptor FDDI"
- IDS_PPP "adaptor PPP"
- IDS_LOOP "adaptor Loopback"
- IDS_SLIP "adaptor SLIP"
- IDS_WIFI "Wireless Network Adapter"
+ IDS_UNKNOWNADAPTER "\nUnknown Adapter: %ls\n"
+ IDS_OTHER "\nalt tip de adaptor: %ls\n"
+ IDS_ETH "\nadaptor Ethernet: %ls\n"
+ IDS_TOKEN "\nadaptor Token Ring: %ls\n"
+ IDS_FDDI "\nadaptor FDDI: %ls\n"
+ IDS_PPP "\nadaptor PPP: %ls\n"
+ IDS_LOOP "\nadaptor Loopback: %ls\n"
+ IDS_SLIP "\nadaptor SLIP: %ls\n"
+ IDS_WIFI "\nWireless Network Adapter: %ls\n"
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/ru-RU.rc
b/base/applications/network/ipconfig/lang/ru-RU.rc
index 2368d6ae496..ee2217c1e8b 100644
--- a/base/applications/network/ipconfig/lang/ru-RU.rc
+++ b/base/applications/network/ipconfig/lang/ru-RU.rc
@@ -56,15 +56,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Неизвестный адаптер"
- IDS_OTHER "Другой тип адаптера"
- IDS_ETH "Ethernet адаптер"
- IDS_TOKEN "Адаптер Token Ring"
- IDS_FDDI "Адаптер FDDI"
- IDS_PPP "Адаптер PPP"
- IDS_LOOP "Адаптер замыкания на себя"
- IDS_SLIP "Адаптер SLIP"
- IDS_WIFI "Адаптер беспроводной сети"
+ IDS_UNKNOWNADAPTER "\nНеизвестный адаптер: %ls\n"
+ IDS_OTHER "\nДругой тип адаптера: %ls\n"
+ IDS_ETH "\nEthernet адаптер: %ls\n"
+ IDS_TOKEN "\nАдаптер Token Ring: %ls\n"
+ IDS_FDDI "\nАдаптер FDDI: %ls\n"
+ IDS_PPP "\nАдаптер PPP: %ls\n"
+ IDS_LOOP "\nАдаптер замыкания на себя: %ls\n"
+ IDS_SLIP "\nАдаптер SLIP: %ls\n"
+ IDS_WIFI "\nАдаптер беспроводной сети: %ls\n"
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/sk-SK.rc
b/base/applications/network/ipconfig/lang/sk-SK.rc
index ce93ddd2cd5..2a6cc2158ba 100644
--- a/base/applications/network/ipconfig/lang/sk-SK.rc
+++ b/base/applications/network/ipconfig/lang/sk-SK.rc
@@ -55,15 +55,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Unknown Adapter"
- IDS_OTHER "Iný adaptér"
- IDS_ETH "Adaptér siete Ethernet"
- IDS_TOKEN "Adaptér siete Token Ring"
- IDS_FDDI "Adaptér FDDI"
- IDS_PPP "Adaptér PPP"
- IDS_LOOP "Adaptér pre spätnú slučku"
- IDS_SLIP "Adaptér SLIP"
- IDS_WIFI "Wireless Network Adapter"
+ IDS_UNKNOWNADAPTER "\nUnknown Adapter: %ls\n"
+ IDS_OTHER "\nIný adaptér: %ls\n"
+ IDS_ETH "\nAdaptér siete Ethernet: %ls\n"
+ IDS_TOKEN "\nAdaptér siete Token Ring: %ls\n"
+ IDS_FDDI "\nAdaptér FDDI: %ls\n"
+ IDS_PPP "\nAdaptér PPP: %ls\n"
+ IDS_LOOP "\nAdaptér pre spätnú slučku: %ls\n"
+ IDS_SLIP "\nAdaptér SLIP: %ls\n"
+ IDS_WIFI "\nWireless Network Adapter: %ls\n"
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/sq-AL.rc
b/base/applications/network/ipconfig/lang/sq-AL.rc
index 7c0428eed2c..58d6dca04c0 100644
--- a/base/applications/network/ipconfig/lang/sq-AL.rc
+++ b/base/applications/network/ipconfig/lang/sq-AL.rc
@@ -55,15 +55,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Unknown Adapter"
- IDS_OTHER "Tipe te tjera adaptuesi"
- IDS_ETH "Adapter Ethernet"
- IDS_TOKEN "Adapter Token Ring"
- IDS_FDDI "Adapter FDDI"
- IDS_PPP "Adapter PPP"
- IDS_LOOP "Adapter Loopback"
- IDS_SLIP "Adapter SLIP"
- IDS_WIFI "Wireless Network Adapter"
+ IDS_UNKNOWNADAPTER "\nUnknown Adapter: %ls\n"
+ IDS_OTHER "\nTipe te tjera adaptuesi: %ls\n"
+ IDS_ETH "\nAdapter Ethernet: %ls\n"
+ IDS_TOKEN "\nAdapter Token Ring: %ls\n"
+ IDS_FDDI "\nAdapter FDDI: %ls\n"
+ IDS_PPP "\nAdapter PPP: %ls\n"
+ IDS_LOOP "\nAdapter Loopback: %ls\n"
+ IDS_SLIP "\nAdapter SLIP: %ls\n"
+ IDS_WIFI "\nWireless Network Adapter: %ls\n"
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/sv-SE.rc
b/base/applications/network/ipconfig/lang/sv-SE.rc
index f87b63858ac..7b390a965fd 100644
--- a/base/applications/network/ipconfig/lang/sv-SE.rc
+++ b/base/applications/network/ipconfig/lang/sv-SE.rc
@@ -56,15 +56,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Unknown Adapter"
- IDS_OTHER "Annan typ av adapter"
- IDS_ETH "Ethernet-adapter"
- IDS_TOKEN "Tokenring-adapter"
- IDS_FDDI "FDDI-adapter"
- IDS_PPP "PPP-adapter"
- IDS_LOOP "Loopback-adapter"
- IDS_SLIP "SLIP-adapter"
- IDS_WIFI "Wireless Network Adapter"
+ IDS_UNKNOWNADAPTER "\nUnknown Adapter: %ls\n"
+ IDS_OTHER "\nAnnan typ av adapter: %ls\n"
+ IDS_ETH "\nEthernet-adapter: %ls\n"
+ IDS_TOKEN "\nTokenring-adapter: %ls\n"
+ IDS_FDDI "\nFDDI-adapter: %ls\n"
+ IDS_PPP "\nPPP-adapter: %ls\n"
+ IDS_LOOP "\nLoopback-adapter: %ls\n"
+ IDS_SLIP "\nSLIP-adapter: %ls\n"
+ IDS_WIFI "\nWireless Network Adapter: %ls\n"
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/tr-TR.rc
b/base/applications/network/ipconfig/lang/tr-TR.rc
index ec3886819c5..ecb9aa64205 100644
--- a/base/applications/network/ipconfig/lang/tr-TR.rc
+++ b/base/applications/network/ipconfig/lang/tr-TR.rc
@@ -56,15 +56,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Unknown Adapter"
- IDS_OTHER "Diğer Bağdaştırıcı"
- IDS_ETH "Ethernet Bağdaştırıcısı"
- IDS_TOKEN "Simgeli Halka Bağdaştırıcısı"
- IDS_FDDI "FDDI Bağdaştırıcısı"
- IDS_PPP "PPP Bağdaştırıcısı"
- IDS_LOOP "Geri Döngü Bağdaştırıcısı"
- IDS_SLIP "SLIP Bağdaştırıcısı"
- IDS_WIFI "Wireless Network Adapter"
+ IDS_UNKNOWNADAPTER "\nUnknown Adapter: %ls\n"
+ IDS_OTHER "\nDiğer Bağdaştırıcı: %ls\n"
+ IDS_ETH "\nEthernet Bağdaştırıcısı: %ls\n"
+ IDS_TOKEN "\nSimgeli Halka Bağdaştırıcısı: %ls\n"
+ IDS_FDDI "\nFDDI Bağdaştırıcısı: %ls\n"
+ IDS_PPP "\nPPP Bağdaştırıcısı: %ls\n"
+ IDS_LOOP "\nGeri Döngü Bağdaştırıcısı: %ls\n"
+ IDS_SLIP "\nSLIP Bağdaştırıcısı: %ls\n"
+ IDS_WIFI "\nWireless Network Adapter: %ls\n"
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/uk-UA.rc
b/base/applications/network/ipconfig/lang/uk-UA.rc
index a0b1f03afc9..29b57e09a08 100644
--- a/base/applications/network/ipconfig/lang/uk-UA.rc
+++ b/base/applications/network/ipconfig/lang/uk-UA.rc
@@ -56,15 +56,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Unknown Adapter"
- IDS_OTHER "Інший тип адаптера"
- IDS_ETH "Ethernet адаптер"
- IDS_TOKEN "Token Ring адаптер"
- IDS_FDDI "FDDI адаптер"
- IDS_PPP "PPP адаптер"
- IDS_LOOP "Loopback адаптер"
- IDS_SLIP "SLIP адаптер"
- IDS_WIFI "Wireless Network Adapter"
+ IDS_UNKNOWNADAPTER "\nUnknown Adapter: %ls\n"
+ IDS_OTHER "\nІнший тип адаптера: %ls\n"
+ IDS_ETH "\nEthernet адаптер: %ls\n"
+ IDS_TOKEN "\nToken Ring адаптер: %ls\n"
+ IDS_FDDI "\nFDDI адаптер: %ls\n"
+ IDS_PPP "\nPPP адаптер: %ls\n"
+ IDS_LOOP "\nLoopback адаптер: %ls\n"
+ IDS_SLIP "\nSLIP адаптер: %ls\n"
+ IDS_WIFI "\nWireless Network Adapter: %ls\n"
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/zh-CN.rc
b/base/applications/network/ipconfig/lang/zh-CN.rc
index d816fb3c454..14ef3668359 100644
--- a/base/applications/network/ipconfig/lang/zh-CN.rc
+++ b/base/applications/network/ipconfig/lang/zh-CN.rc
@@ -56,15 +56,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Unknown Adapter"
- IDS_OTHER "其他类型的适配器"
- IDS_ETH "以太网适配器"
- IDS_TOKEN "令牌环适配器"
- IDS_FDDI "FDDI 适配器"
- IDS_PPP "PPP 适配器"
- IDS_LOOP "本地环回适配器"
- IDS_SLIP "SLIP 适配器"
- IDS_WIFI "Wireless Network Adapter"
+ IDS_UNKNOWNADAPTER "\nUnknown Adapter: %ls\n"
+ IDS_OTHER "\n其他类型的适配器: %ls\n"
+ IDS_ETH "\n以太网适配器: %ls\n"
+ IDS_TOKEN "\n令牌环适配器: %ls\n"
+ IDS_FDDI "\nFDDI 适配器: %ls\n"
+ IDS_PPP "\nPPP 适配器: %ls\n"
+ IDS_LOOP "\n本地环回适配器: %ls\n"
+ IDS_SLIP "\nSLIP 适配器: %ls\n"
+ IDS_WIFI "\nWireless Network Adapter: %ls\n"
END
STRINGTABLE
diff --git a/base/applications/network/ipconfig/lang/zh-TW.rc
b/base/applications/network/ipconfig/lang/zh-TW.rc
index 23eaf9ea424..f82cbeebfff 100644
--- a/base/applications/network/ipconfig/lang/zh-TW.rc
+++ b/base/applications/network/ipconfig/lang/zh-TW.rc
@@ -56,15 +56,15 @@ END
STRINGTABLE
BEGIN
- IDS_UNKNOWNADAPTER "Unknown Adapter"
- IDS_OTHER "其他類型的配接器"
- IDS_ETH "乙太網配接器"
- IDS_TOKEN "權杖環配接器"
- IDS_FDDI "FDDI 配接器"
- IDS_PPP "PPP 配接器"
- IDS_LOOP "本地環回配接器"
- IDS_SLIP "SLIP 配接器"
- IDS_WIFI "Wireless Network Adapter"
+ IDS_UNKNOWNADAPTER "\nUnknown Adapter: %ls\n"
+ IDS_OTHER "\n其他類型的配接器: %ls\n"
+ IDS_ETH "\n乙太網配接器: %ls\n"
+ IDS_TOKEN "\n權杖環配接器: %ls\n"
+ IDS_FDDI "\nFDDI 配接器: %ls\n"
+ IDS_PPP "\nPPP 配接器: %ls\n"
+ IDS_LOOP "\n本地環回配接器: %ls\n"
+ IDS_SLIP "\nSLIP 配接器: %ls\n"
+ IDS_WIFI "\nWireless Network Adapter: %ls\n"
END
STRINGTABLE