https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e560fa27418495df9e7bf…
commit e560fa27418495df9e7bf35ac6c65fc9ef345f9d
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Mon Dec 24 00:13:16 2018 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Mon Dec 24 00:13:16 2018 +0100
[NET] Move HRELPMSG, LOVALGROUP and NAME command syntax and help texts into a message
table.
---
base/applications/network/net/cmdHelpMsg.c | 9 +-
base/applications/network/net/cmdLocalGroup.c | 12 +-
base/applications/network/net/help.c | 19 +-
base/applications/network/net/lang/en-US.rc | 32 --
base/applications/network/net/lang/es-ES.rc | 31 --
base/applications/network/net/lang/pl-PL.rc | 34 ---
base/applications/network/net/lang/ro-RO.rc | 31 --
base/applications/network/net/lang/ru-RU.rc | 31 --
base/applications/network/net/lang/tr-TR.rc | 31 --
base/applications/network/net/lang/zh-CN.rc | 31 --
base/applications/network/net/lang/zh-TW.rc | 31 --
base/applications/network/net/resource.h | 13 -
sdk/include/reactos/mc/net_msg.mc | 405 ++++++++++++++++++++++++++
13 files changed, 418 insertions(+), 292 deletions(-)
diff --git a/base/applications/network/net/cmdHelpMsg.c
b/base/applications/network/net/cmdHelpMsg.c
index faa54d2b6e..c2250ef9ef 100644
--- a/base/applications/network/net/cmdHelpMsg.c
+++ b/base/applications/network/net/cmdHelpMsg.c
@@ -24,7 +24,7 @@ INT cmdHelpMsg(INT argc, WCHAR **argv)
if (argc < 3)
{
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
- ConResPuts(StdOut, IDS_HELPMSG_SYNTAX);
+ PrintNetMessage(MSG_HELPMSG_SYNTAX);
return 1;
}
@@ -33,9 +33,8 @@ INT cmdHelpMsg(INT argc, WCHAR **argv)
if (_wcsicmp(argv[i], L"/help") == 0)
{
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
- ConResPuts(StdOut, IDS_HELPMSG_SYNTAX);
- ConResPuts(StdOut, IDS_HELPMSG_HELP_1);
- ConResPuts(StdOut, IDS_HELPMSG_HELP_2);
+ PrintNetMessage(MSG_HELPMSG_SYNTAX);
+ PrintNetMessage(MSG_HELPMSG_HELP);
return 1;
}
}
@@ -44,7 +43,7 @@ INT cmdHelpMsg(INT argc, WCHAR **argv)
if (*endptr != 0)
{
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
- ConResPuts(StdOut, IDS_HELPMSG_SYNTAX);
+ PrintNetMessage(MSG_HELPMSG_SYNTAX);
return 1;
}
diff --git a/base/applications/network/net/cmdLocalGroup.c
b/base/applications/network/net/cmdLocalGroup.c
index e6970926ee..8be27ef8ca 100644
--- a/base/applications/network/net/cmdLocalGroup.c
+++ b/base/applications/network/net/cmdLocalGroup.c
@@ -243,14 +243,8 @@ cmdLocalGroup(
if (_wcsicmp(argv[i], L"/help") == 0)
{
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
- ConResPuts(StdOut, IDS_LOCALGROUP_SYNTAX);
- ConResPuts(StdOut, IDS_LOCALGROUP_HELP_1);
- ConResPuts(StdOut, IDS_LOCALGROUP_HELP_2);
- ConResPuts(StdOut, IDS_LOCALGROUP_HELP_3);
- ConResPuts(StdOut, IDS_LOCALGROUP_HELP_4);
- ConResPuts(StdOut, IDS_LOCALGROUP_HELP_5);
- ConResPuts(StdOut, IDS_LOCALGROUP_HELP_6);
- ConResPuts(StdOut, IDS_LOCALGROUP_HELP_7);
+ PrintNetMessage(MSG_LOCALGROUP_SYNTAX);
+ PrintNetMessage(MSG_LOCALGROUP_HELP);
ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 0;
}
@@ -388,7 +382,7 @@ done:
if (result != 0)
{
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
- ConResPuts(StdOut, IDS_LOCALGROUP_SYNTAX);
+ PrintNetMessage(MSG_LOCALGROUP_SYNTAX);
}
return result;
diff --git a/base/applications/network/net/help.c b/base/applications/network/net/help.c
index 6b5903d735..ae36e3d536 100644
--- a/base/applications/network/net/help.c
+++ b/base/applications/network/net/help.c
@@ -77,30 +77,23 @@ INT cmdHelp(INT argc, WCHAR **argv)
if (_wcsicmp(argv[2], L"HELPMSG") == 0)
{
- ConResPuts(StdOut, IDS_HELPMSG_SYNTAX);
- ConResPuts(StdOut, IDS_HELPMSG_HELP_1);
- ConResPuts(StdOut, IDS_HELPMSG_HELP_2);
+ PrintNetMessage(MSG_HELPMSG_SYNTAX);
+ PrintNetMessage(MSG_HELPMSG_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"LOCALGROUP") == 0)
{
- ConResPuts(StdOut, IDS_LOCALGROUP_SYNTAX);
- ConResPuts(StdOut, IDS_LOCALGROUP_HELP_1);
- ConResPuts(StdOut, IDS_LOCALGROUP_HELP_2);
- ConResPuts(StdOut, IDS_LOCALGROUP_HELP_3);
- ConResPuts(StdOut, IDS_LOCALGROUP_HELP_4);
- ConResPuts(StdOut, IDS_LOCALGROUP_HELP_5);
- ConResPuts(StdOut, IDS_LOCALGROUP_HELP_6);
- ConResPuts(StdOut, IDS_LOCALGROUP_HELP_7);
+ PrintNetMessage(MSG_LOCALGROUP_SYNTAX);
+ PrintNetMessage(MSG_LOCALGROUP_HELP);
ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 0;
}
if (_wcsicmp(argv[2], L"NAME") == 0)
{
- ConResPuts(StdOut, IDS_NAME_SYNTAX);
- ConResPuts(StdOut, IDS_NAME_HELP);
+ PrintNetMessage(MSG_NAME_SYNTAX);
+ PrintNetMessage(MSG_NAME_HELP);
return 0;
}
diff --git a/base/applications/network/net/lang/en-US.rc
b/base/applications/network/net/lang/en-US.rc
index 89db1ce57d..b9c6eed84c 100644
--- a/base/applications/network/net/lang/en-US.rc
+++ b/base/applications/network/net/lang/en-US.rc
@@ -2,38 +2,6 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE
BEGIN
- IDS_HELPMSG_SYNTAX "NET HELPMSG message#\n\n"
- IDS_HELPMSG_HELP_1 "NET HELPMSG displays information about network messages
(such as\n\
-error, warning and alert messages). When you type NET HELPMSG and the numeric\n\
-error (for example, ""net helpmsg 2182""), you will get information
about the\n\
-message and suggested actions you can take to solve the problem.\n\n"
- IDS_HELPMSG_HELP_2 "message# Is the numerical error with which you need
help.\n\n"
- IDS_LOCALGROUP_SYNTAX "NET LOCALGROUP [groupname
[/COMMENT:""text""]] [/DOMAIN]\n\
- groupname {/ADD [/COMMENT:""text""] | /DELETE}
[/DOMAIN]\n\
- groupname name [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
- IDS_LOCALGROUP_HELP_1 "NET LOCALGROUP adds, displays or modifies local groups on
computers. When\n\
-used without parameters, it displays the local groups on the computer.\n\n"
- IDS_LOCALGROUP_HELP_2 "groupname Is the name of the local group to add,
expand, or\n\
- delete. Supply only a groupname to view a list of\n\
- users or global groups in a local group.\n"
- IDS_LOCALGROUP_HELP_3 "/COMMENT:""text"" Adds a comment for
a new or existing group.\n\
- Enclose the text inquotation marks.\n"
- IDS_LOCALGROUP_HELP_4 "/DOMAIN Performs the operation on a domain
controller\n\
- of the current domain. Otherwise, the operation is \n\
- performed on the local computer.\n"
- IDS_LOCALGROUP_HELP_5 "name[ ...] List one or more usernames or groupnams
to add to or\n\
- remove from a local group. Separate multiple entries with\n\
- a space. Names may be users or global groups, but not\n\
- other local groups. If a user is from another doamin,\n\
- preface the username with the domain name (for\n\
- example, SALES\\RALPHR).\n"
- IDS_LOCALGROUP_HELP_6 "/ADD Adds a groupname or username to a local
group. An account\n\
- must be established for users or global groups added to a\n\
- local group with this command.\n"
- IDS_LOCALGROUP_HELP_7 "/DELETE Removes a groupname or username from a
local group.\n\n"
-
- IDS_NAME_SYNTAX "NET NAME ...\n\n"
- IDS_NAME_HELP "NAME\n...\n\n"
IDS_PRINT_SYNTAX "NET PRINT ...\n\n"
IDS_PRINT_HELP "PRINT\n...\n\n"
IDS_PAUSE_SYNTAX "NET PAUSE service\n\n"
diff --git a/base/applications/network/net/lang/es-ES.rc
b/base/applications/network/net/lang/es-ES.rc
index 151249b825..1baf4f450c 100644
--- a/base/applications/network/net/lang/es-ES.rc
+++ b/base/applications/network/net/lang/es-ES.rc
@@ -5,37 +5,6 @@ LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
- IDS_HELPMSG_SYNTAX "NET HELPMSG <código de error>\n\n"
- IDS_HELPMSG_HELP_1 "NET HELPMSG displays information about network messages
(such as\n\
-error, warning and alert messages). When you type NET HELPMSG and the numeric\n\
-error (for example, ""net helpmsg 2182""), you will get information
about the\n\
-message and suggested actions you can take to solve the problem.\n\n"
- IDS_HELPMSG_HELP_2 "message# Is the numerical error with which you need
help.\n\n"
- IDS_LOCALGROUP_SYNTAX "NET LOCALGROUP [grupo
[/COMMENT:""texto""]] [/DOMAIN]\n\
- grupo {/ADD [/COMMENT:""texto""] | /DELETE}
[/DOMAIN]\n\
- grupo nombre [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
- IDS_LOCALGROUP_HELP_1 "NET LOCALGROUP adds, displays or modifies local groups on
computers. When\n\
-used without parameters, it displays the local groups on the computer.\n\n"
- IDS_LOCALGROUP_HELP_2 "groupname Is the name of the local group to add,
expand, or\n\
- delete. Supply only a groupname to view a list of\n\
- users or global groups in a local group.\n"
- IDS_LOCALGROUP_HELP_3 "/COMMENT:""text"" Adds a comment for
a new or existing group.\n\
- Enclose the text inquotation marks.\n"
- IDS_LOCALGROUP_HELP_4 "/DOMAIN Performs the operation on a domain
controller\n\
- of the current domain. Otherwise, the operation is \n\
- performed on the local computer.\n"
- IDS_LOCALGROUP_HELP_5 "name [ ...] List one or more usernames or groupnams
to add to or\n\
- remove from a local group. Separate multiple entries with\n\
- a space. Names may be users or global groups, but not\n\
- other local groups. If a user is from another doamin,\n\
- preface the username with the domain name (for\n\
- example, SALES\\RALPHR).\n"
- IDS_LOCALGROUP_HELP_6 "/ADD Adds a groupname or username to a local
group. An account\n\
- must be established for users or global groups added to a\n\
- local group with this command.\n"
- IDS_LOCALGROUP_HELP_7 "/DELETE Removes a groupname or username from a
local group.\n\n"
- IDS_NAME_SYNTAX "NET NAME ...\n\n"
- IDS_NAME_HELP "NAME\n...\n\n"
IDS_PRINT_SYNTAX "NET PRINT ...\n\n"
IDS_PRINT_HELP "PRINT\n...\n\n"
IDS_PAUSE_SYNTAX "NET PAUSE <nombre del servicio>\n\n"
diff --git a/base/applications/network/net/lang/pl-PL.rc
b/base/applications/network/net/lang/pl-PL.rc
index e0e38d717d..5b220b6a33 100644
--- a/base/applications/network/net/lang/pl-PL.rc
+++ b/base/applications/network/net/lang/pl-PL.rc
@@ -1,40 +1,6 @@
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
- IDS_HELPMSG_SYNTAX "NET HELPMSG komunikat#\n\n"
- IDS_HELPMSG_HELP_1 "NET HELPMSG wyświetla informacje o komunikatach sieci
(takich\n\
-jak błąd, ostrzeżenie lub alarm). Gdy wpiszesz NET HELPMSG i błąd numeryczny\n\
-(na przykład ""net helpmsg 2182""), system\n\
-objaśni komunikat i zasugeruje rozwiązanie problemu.\n\n"
- IDS_HELPMSG_HELP_2 "komunikat# Numeryczny błąd systemu, o którym chcesz
uzyskać informacje.\n\n"
- IDS_LOCALGROUP_SYNTAX "NET LOCALGROUP [nazwa_grupy
[/COMMENT:""tekst""]] [/DOMAIN]\n\
- nazwa_grupy {/ADD [/COMMENT:""tekst""] | /DELETE}
[/DOMAIN]\n\
- nazwa_grupy nazwa [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
- IDS_LOCALGROUP_HELP_1 "NET LOCALGROUP dodaje, wyświetla, lub modyfikuje grupy
lokalne na komputerach\n\
-Polecenie użyte bez parametrów wyświetla grupy lokalne na komputerze.\n\n"
- IDS_LOCALGROUP_HELP_2 "nazwa_grupy Nazwa grupy dodawanej, rozszerzanej lub
usuwanej.\n\
- Aby zobaczyć listę użytkowników lub grup globalnych\n\
- w grupie lokalnej, podaj tylko nazwę grupy.\n"
- IDS_LOCALGROUP_HELP_3 "/COMMENT:""tekst"" Dodaje komentarz
dla nowej lub istniejącej grupy.\n\
- Tekst musi być ujęty w cudzysłów.\n"
- IDS_LOCALGROUP_HELP_4 "/DOMAIN Wykonuje operację na kontrolerze
bieżącej domeny.\n\
- Bez tego przełącznika operacje są wykonywane na\n\
- komputerze lokalnym.\n"
- IDS_LOCALGROUP_HELP_5 "nazwa[ ...] Lista zawierająca nazwy jednego lub
kilku użytkowników\n\
- lub grup, dodawanych lub usuwanych z grupy lokalnej.\n\
- Rozdziel kolejne wpisy znakiem spacji. Lista może zawierać\n\
- nazwy użytkowników lub grup globalnych, lecz nie może\n\
- zawierać nazw innych grup lokalnych. Podając nazwę\n\
- użytkownika z innej domeny poprzedź ją nazwą domeny\n\
- (na przykład: WARSZAWA\\PIOTRS).\n"
- IDS_LOCALGROUP_HELP_6 "/ADD Dodaje nazwę grupy lub użytkownika do
grupy lokalnej.\n\
- Dla użytkowników lub grup globalnych dodawanych tym\n\
- poleceniem do grupy lokalnej należy wcześniej utworzyć\n\
- odpowiednie konto.\n"
- IDS_LOCALGROUP_HELP_7 "/DELETE Usuwa nazwę grupy lub użytkownika z
grupy lokalnej.\n\n"
-
- IDS_NAME_SYNTAX "NET NAME ...\n\n"
- IDS_NAME_HELP "NAME\n...\n\n"
IDS_PRINT_SYNTAX "NET PRINT ...\n\n"
IDS_PRINT_HELP "PRINT\n...\n\n"
IDS_PAUSE_SYNTAX "NET PAUSE usługa\n\n"
diff --git a/base/applications/network/net/lang/ro-RO.rc
b/base/applications/network/net/lang/ro-RO.rc
index 103400fbc0..d492608b3d 100644
--- a/base/applications/network/net/lang/ro-RO.rc
+++ b/base/applications/network/net/lang/ro-RO.rc
@@ -8,37 +8,6 @@ LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
- IDS_HELPMSG_SYNTAX "NET HELPMSG <Error Code>\n\n"
- IDS_HELPMSG_HELP_1 "NET HELPMSG displays information about network messages
(such as\n\
-error, warning and alert messages). When you type NET HELPMSG and the numeric\n\
-error (for example, ""net helpmsg 2182""), you will get information
about the\n\
-message and suggested actions you can take to solve the problem.\n\n"
- IDS_HELPMSG_HELP_2 "message# Is the numerical error with which you need
help.\n\n"
- IDS_LOCALGROUP_SYNTAX "NET LOCALGROUP [nume-de-grup
[/COMMENT:""text""]] [/DOMAIN]\n\
- nume-de-grup {/ADD [/COMMENT:""text""] | /DELETE}
[/DOMAIN]\n\
- nume-de-grup nume [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
- IDS_LOCALGROUP_HELP_1 "NET LOCALGROUP adds, displays or modifies local groups on
computers. When\n\
-used without parameters, it displays the local groups on the computer.\n\n"
- IDS_LOCALGROUP_HELP_2 "groupname Is the name of the local group to add,
expand, or\n\
- delete. Supply only a groupname to view a list of\n\
- users or global groups in a local group.\n"
- IDS_LOCALGROUP_HELP_3 "/COMMENT:""text"" Adds a comment for
a new or existing group.\n\
- Enclose the text inquotation marks.\n"
- IDS_LOCALGROUP_HELP_4 "/DOMAIN Performs the operation on a domain
controller\n\
- of the current domain. Otherwise, the operation is \n\
- performed on the local computer.\n"
- IDS_LOCALGROUP_HELP_5 "name[ ...] List one or more usernames or groupnams
to add to or\n\
- remove from a local group. Separate multiple entries with\n\
- a space. Names may be users or global groups, but not\n\
- other local groups. If a user is from another doamin,\n\
- preface the username with the domain name (for\n\
- example, SALES\\RALPHR).\n"
- IDS_LOCALGROUP_HELP_6 "/ADD Adds a groupname or username to a local
group. An account\n\
- must be established for users or global groups added to a\n\
- local group with this command.\n"
- IDS_LOCALGROUP_HELP_7 "/DELETE Removes a groupname or username from a
local group.\n\n"
- IDS_NAME_SYNTAX "NET NAME ...\n\n"
- IDS_NAME_HELP "NAME\n...\n\n"
IDS_PRINT_SYNTAX "NET PRINT ...\n\n"
IDS_PRINT_HELP "PRINT\n...\n\n"
IDS_PAUSE_SYNTAX "NET PAUSE <nume serviciu>\n\n"
diff --git a/base/applications/network/net/lang/ru-RU.rc
b/base/applications/network/net/lang/ru-RU.rc
index 49f4fb34a5..e52cc2a30f 100644
--- a/base/applications/network/net/lang/ru-RU.rc
+++ b/base/applications/network/net/lang/ru-RU.rc
@@ -4,37 +4,6 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
- IDS_HELPMSG_SYNTAX "NET HELPMSG <Код ошибки>\n\n"
- IDS_HELPMSG_HELP_1 "NET HELPMSG displays information about network messages
(such as\n\
-error, warning and alert messages). When you type NET HELPMSG and the numeric\n\
-error (for example, ""net helpmsg 2182""), you will get information
about the\n\
-message and suggested actions you can take to solve the problem.\n\n"
- IDS_HELPMSG_HELP_2 "message# Is the numerical error with which you need
help.\n\n"
- IDS_LOCALGROUP_SYNTAX "NET LOCALGROUP [имя_группы
[/COMMENT:""текст""]] [/DOMAIN]\n\
- имя_группы {/ADD [/COMMENT:""текст""] | /DELETE}
[/DOMAIN]\n\
- имя_группы имя [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
- IDS_LOCALGROUP_HELP_1 "NET LOCALGROUP adds, displays or modifies local groups on
computers. When\n\
-used without parameters, it displays the local groups on the computer.\n\n"
- IDS_LOCALGROUP_HELP_2 "groupname Is the name of the local group to add,
expand, or\n\
- delete. Supply only a groupname to view a list of\n\
- users or global groups in a local group.\n"
- IDS_LOCALGROUP_HELP_3 "/COMMENT:""text"" Adds a comment for
a new or existing group.\n\
- Enclose the text inquotation marks.\n"
- IDS_LOCALGROUP_HELP_4 "/DOMAIN Performs the operation on a domain
controller\n\
- of the current domain. Otherwise, the operation is \n\
- performed on the local computer.\n"
- IDS_LOCALGROUP_HELP_5 "name[ ...] List one or more usernames or groupnams
to add to or\n\
- remove from a local group. Separate multiple entries with\n\
- a space. Names may be users or global groups, but not\n\
- other local groups. If a user is from another doamin,\n\
- preface the username with the domain name (for\n\
- example, SALES\\RALPHR).\n"
- IDS_LOCALGROUP_HELP_6 "/ADD Adds a groupname or username to a local
group. An account\n\
- must be established for users or global groups added to a\n\
- local group with this command.\n"
- IDS_LOCALGROUP_HELP_7 "/DELETE Removes a groupname or username from a
local group.\n\n"
- IDS_NAME_SYNTAX "NET NAME ...\n\n"
- IDS_NAME_HELP "NAME\n...\n\n"
IDS_PRINT_SYNTAX "NET PRINT ...\n\n"
IDS_PRINT_HELP "PRINT\n...\n\n"
IDS_PAUSE_SYNTAX "NET PAUSE <имя_службы>\n\n"
diff --git a/base/applications/network/net/lang/tr-TR.rc
b/base/applications/network/net/lang/tr-TR.rc
index 6647f4fd3c..215df1ed0f 100644
--- a/base/applications/network/net/lang/tr-TR.rc
+++ b/base/applications/network/net/lang/tr-TR.rc
@@ -4,37 +4,6 @@ LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
- IDS_HELPMSG_SYNTAX "NET HELPMSG <Yanlışlık Kodu>\n\n"
- IDS_HELPMSG_HELP_1 "NET HELPMSG displays information about network messages
(such as\n\
-error, warning and alert messages). When you type NET HELPMSG and the numeric\n\
-error (for example, ""net helpmsg 2182""), you will get information
about the\n\
-message and suggested actions you can take to solve the problem.\n\n"
- IDS_HELPMSG_HELP_2 "message# Is the numerical error with which you need
help.\n\n"
- IDS_LOCALGROUP_SYNTAX "NET LOCALGROUP [takım adı
[/COMMENT:""metin""]] [/DOMAIN]\n\
- takım adı {/ADD [/COMMENT:""metin""] | /DELETE}
[/DOMAIN]\n\
- takım adı ad [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
- IDS_LOCALGROUP_HELP_1 "NET LOCALGROUP adds, displays or modifies local groups on
computers. When\n\
-used without parameters, it displays the local groups on the computer.\n\n"
- IDS_LOCALGROUP_HELP_2 "groupname Is the name of the local group to add,
expand, or\n\
- delete. Supply only a groupname to view a list of\n\
- users or global groups in a local group.\n"
- IDS_LOCALGROUP_HELP_3 "/COMMENT:""text"" Adds a comment for
a new or existing group.\n\
- Enclose the text inquotation marks.\n"
- IDS_LOCALGROUP_HELP_4 "/DOMAIN Performs the operation on a domain
controller\n\
- of the current domain. Otherwise, the operation is \n\
- performed on the local computer.\n"
- IDS_LOCALGROUP_HELP_5 "name[ ...] List one or more usernames or groupnams
to add to or\n\
- remove from a local group. Separate multiple entries with\n\
- a space. Names may be users or global groups, but not\n\
- other local groups. If a user is from another doamin,\n\
- preface the username with the domain name (for\n\
- example, SALES\\RALPHR).\n"
- IDS_LOCALGROUP_HELP_6 "/ADD Adds a groupname or username to a local
group. An account\n\
- must be established for users or global groups added to a\n\
- local group with this command.\n"
- IDS_LOCALGROUP_HELP_7 "/DELETE Removes a groupname or username from a
local group.\n\n"
- IDS_NAME_SYNTAX "NET NAME ...\n\n"
- IDS_NAME_HELP "NAME\n...\n\n"
IDS_PRINT_SYNTAX "NET PRINT ...\n\n"
IDS_PRINT_HELP "PRINT\n...\n\n"
IDS_PAUSE_SYNTAX "NET PAUSE service\n\n"
diff --git a/base/applications/network/net/lang/zh-CN.rc
b/base/applications/network/net/lang/zh-CN.rc
index 08181b3e45..5bc5bdf5a0 100644
--- a/base/applications/network/net/lang/zh-CN.rc
+++ b/base/applications/network/net/lang/zh-CN.rc
@@ -4,37 +4,6 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
STRINGTABLE
BEGIN
- IDS_HELPMSG_SYNTAX "NET HELPMSG message#\n\n"
- IDS_HELPMSG_HELP_1 "NET HELPMSG displays information about network messages
(such as\n\
-error, warning and alert messages). When you type NET HELPMSG and the numeric\n\
-error (for example, ""net helpmsg 2182""), you will get information
about the\n\
-message and suggested actions you can take to solve the problem.\n\n"
- IDS_HELPMSG_HELP_2 "message# Is the numerical error with which you need
help.\n\n"
- IDS_LOCALGROUP_SYNTAX "NET LOCALGROUP [groupname
[/COMMENT:""text""]] [/DOMAIN]\n\
- groupname {/ADD [/COMMENT:""text""] | /DELETE}
[/DOMAIN]\n\
- groupname name [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
- IDS_LOCALGROUP_HELP_1 "NET LOCALGROUP adds, displays or modifies local groups on
computers. When\n\
-used without parameters, it displays the local groups on the computer.\n\n"
- IDS_LOCALGROUP_HELP_2 "groupname Is the name of the local group to add,
expand, or\n\
- delete. Supply only a groupname to view a list of\n\
- users or global groups in a local group.\n"
- IDS_LOCALGROUP_HELP_3 "/COMMENT:""text"" Adds a comment for
a new or existing group.\n\
- Enclose the text inquotation marks.\n"
- IDS_LOCALGROUP_HELP_4 "/DOMAIN Performs the operation on a domain
controller\n\
- of the current domain. Otherwise, the operation is \n\
- performed on the local computer.\n"
- IDS_LOCALGROUP_HELP_5 "name[ ...] List one or more usernames or groupnams
to add to or\n\
- remove from a local group. Separate multiple entries with\n\
- a space. Names may be users or global groups, but not\n\
- other local groups. If a user is from another doamin,\n\
- preface the username with the domain name (for\n\
- example, SALES\\RALPHR).\n"
- IDS_LOCALGROUP_HELP_6 "/ADD Adds a groupname or username to a local
group. An account\n\
- must be established for users or global groups added to a\n\
- local group with this command.\n"
- IDS_LOCALGROUP_HELP_7 "/DELETE Removes a groupname or username from a
local group.\n\n"
- IDS_NAME_SYNTAX "NET NAME ...\n\n"
- IDS_NAME_HELP "NAME\n...\n\n"
IDS_PRINT_SYNTAX "NET PRINT ...\n\n"
IDS_PRINT_HELP "PRINT\n...\n\n"
IDS_PAUSE_SYNTAX "NET PAUSE service\n\n"
diff --git a/base/applications/network/net/lang/zh-TW.rc
b/base/applications/network/net/lang/zh-TW.rc
index ecb1a0e7b1..f3232457df 100644
--- a/base/applications/network/net/lang/zh-TW.rc
+++ b/base/applications/network/net/lang/zh-TW.rc
@@ -4,37 +4,6 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
STRINGTABLE
BEGIN
- IDS_HELPMSG_SYNTAX "NET HELPMSG <錯誤程式碼>\n\n"
- IDS_HELPMSG_HELP_1 "NET HELPMSG displays information about network messages
(such as\n\
-error, warning and alert messages). When you type NET HELPMSG and the numeric\n\
-error (for example, ""net helpmsg 2182""), you will get information
about the\n\
-message and suggested actions you can take to solve the problem.\n\n"
- IDS_HELPMSG_HELP_2 "message# Is the numerical error with which you need
help.\n\n"
- IDS_LOCALGROUP_SYNTAX "NET LOCALGROUP [組名 [/COMMENT:""文字""]]
[/DOMAIN]\n\
- 組名 {/ADD [/COMMENT:""文字""] | /DELETE} [/DOMAIN]\n\
- 組名稱 [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
- IDS_LOCALGROUP_HELP_1 "NET LOCALGROUP adds, displays or modifies local groups on
computers. When\n\
-used without parameters, it displays the local groups on the computer.\n\n"
- IDS_LOCALGROUP_HELP_2 "groupname Is the name of the local group to add,
expand, or\n\
- delete. Supply only a groupname to view a list of\n\
- users or global groups in a local group.\n"
- IDS_LOCALGROUP_HELP_3 "/COMMENT:""text"" Adds a comment for
a new or existing group.\n\
- Enclose the text inquotation marks.\n"
- IDS_LOCALGROUP_HELP_4 "/DOMAIN Performs the operation on a domain
controller\n\
- of the current domain. Otherwise, the operation is \n\
- performed on the local computer.\n"
- IDS_LOCALGROUP_HELP_5 "name[ ...] List one or more usernames or groupnams
to add to or\n\
- remove from a local group. Separate multiple entries with\n\
- a space. Names may be users or global groups, but not\n\
- other local groups. If a user is from another doamin,\n\
- preface the username with the domain name (for\n\
- example, SALES\\RALPHR).\n"
- IDS_LOCALGROUP_HELP_6 "/ADD Adds a groupname or username to a local
group. An account\n\
- must be established for users or global groups added to a\n\
- local group with this command.\n"
- IDS_LOCALGROUP_HELP_7 "/DELETE Removes a groupname or username from a
local group.\n\n"
- IDS_NAME_SYNTAX "NET NAME ...\n\n"
- IDS_NAME_HELP "NAME\n...\n\n"
IDS_PRINT_SYNTAX "NET PRINT ...\n\n"
IDS_PRINT_HELP "PRINT\n...\n\n"
IDS_PAUSE_SYNTAX "NET PAUSE <服務名稱>\n\n"
diff --git a/base/applications/network/net/resource.h
b/base/applications/network/net/resource.h
index 0b304a56fd..888494f4b8 100644
--- a/base/applications/network/net/resource.h
+++ b/base/applications/network/net/resource.h
@@ -1,18 +1,5 @@
#pragma once
-#define IDS_HELPMSG_SYNTAX 139
-#define IDS_HELPMSG_HELP_1 140
-#define IDS_HELPMSG_HELP_2 141
-#define IDS_LOCALGROUP_SYNTAX 142
-#define IDS_LOCALGROUP_HELP_1 143
-#define IDS_LOCALGROUP_HELP_2 144
-#define IDS_LOCALGROUP_HELP_3 145
-#define IDS_LOCALGROUP_HELP_4 146
-#define IDS_LOCALGROUP_HELP_5 147
-#define IDS_LOCALGROUP_HELP_6 148
-#define IDS_LOCALGROUP_HELP_7 149
-#define IDS_NAME_SYNTAX 150
-#define IDS_NAME_HELP 151
#define IDS_PAUSE_SYNTAX 152
#define IDS_PAUSE_HELP_1 153
#define IDS_PAUSE_HELP_2 154
diff --git a/sdk/include/reactos/mc/net_msg.mc b/sdk/include/reactos/mc/net_msg.mc
index d9ea9de23a..8b61d17a55 100644
--- a/sdk/include/reactos/mc/net_msg.mc
+++ b/sdk/include/reactos/mc/net_msg.mc
@@ -1367,3 +1367,408 @@ Language=Taiwanese
...
.
+
+MessageId=10016
+SymbolicName=MSG_HELPMSG_SYNTAX
+Severity=Success
+Facility=System
+Language=English
+NET HELPMSG message#
+.
+Language=Polish
+NET HELPMSG komunikat#
+.
+Language=Romanian
+NET HELPMSG <Error Code>
+.
+Language=Russian
+NET HELPMSG <Код ошибки>
+.
+Language=Spanish
+NET HELPMSG <código de error>
+.
+Language=Turkish
+NET HELPMSG <Yanlışlık Kodu>
+.
+Language=Chinese
+NET HELPMSG message#
+.
+Language=Taiwanese
+NET HELPMSG <錯誤程式碼>
+.
+
+
+MessageId=10017
+SymbolicName=MSG_HELPMSG_HELP
+Severity=Success
+Facility=System
+Language=English
+NET HELPMSG displays information about network messages (such as
+error, warning and alert messages). When you type NET HELPMSG and the numeric
+error (for example, "net helpmsg 2182"), you will get information about the
+message and suggested actions you can take to solve the problem.
+
+message# Is the numerical error with which you need help.
+.
+Language=Polish
+NET HELPMSG wyświetla informacje o komunikatach sieci (takich
+jak błąd, ostrzeżenie lub alarm). Gdy wpiszesz NET HELPMSG i błąd numeryczny
+(na przykład "net helpmsg 2182"), system
+objaśni komunikat i zasugeruje rozwiązanie problemu.
+
+komunikat# Numeryczny błąd systemu, o którym chcesz uzyskać informacje.
+.
+Language=Romanian
+NET HELPMSG displays information about network messages (such as
+error, warning and alert messages). When you type NET HELPMSG and the numeric
+error (for example, "net helpmsg 2182"), you will get information about the
+message and suggested actions you can take to solve the problem.
+
+message# Is the numerical error with which you need help.
+.
+Language=Russian
+NET HELPMSG displays information about network messages (such as
+error, warning and alert messages). When you type NET HELPMSG and the numeric
+error (for example, "net helpmsg 2182"), you will get information about the
+message and suggested actions you can take to solve the problem.
+
+message# Is the numerical error with which you need help.
+.
+Language=Spanish
+NET HELPMSG displays information about network messages (such as
+error, warning and alert messages). When you type NET HELPMSG and the numeric
+error (for example, "net helpmsg 2182"), you will get information about the
+message and suggested actions you can take to solve the problem.
+
+message# Is the numerical error with which you need help.
+.
+Language=Turkish
+NET HELPMSG displays information about network messages (such as
+error, warning and alert messages). When you type NET HELPMSG and the numeric
+error (for example, "net helpmsg 2182"), you will get information about the
+message and suggested actions you can take to solve the problem.
+
+message# Is the numerical error with which you need help.
+.
+Language=Chinese
+NET HELPMSG displays information about network messages (such as
+error, warning and alert messages). When you type NET HELPMSG and the numeric
+error (for example, "net helpmsg 2182"), you will get information about the
+message and suggested actions you can take to solve the problem.
+
+message# Is the numerical error with which you need help.
+.
+Language=Taiwanese
+NET HELPMSG displays information about network messages (such as
+error, warning and alert messages). When you type NET HELPMSG and the numeric
+error (for example, "net helpmsg 2182"), you will get information about the
+message and suggested actions you can take to solve the problem.
+
+message# Is the numerical error with which you need help.
+.
+
+
+MessageId=10018
+SymbolicName=MSG_LOCALGROUP_SYNTAX
+Severity=Success
+Facility=System
+Language=English
+NET LOCALGROUP [groupname [/COMMENT:"text"]] [/DOMAIN]
+ groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN]
+ groupname name [...] {/ADD | /DELETE} [/DOMAIN]
+.
+Language=Polish
+NET LOCALGROUP [nazwa_grupy [/COMMENT:"tekst"]] [/DOMAIN]
+ nazwa_grupy {/ADD [/COMMENT:"tekst"] | /DELETE} [/DOMAIN]
+ nazwa_grupy nazwa [...] {/ADD | /DELETE} [/DOMAIN]
+.
+Language=Romanian
+NET LOCALGROUP [nume-de-grup [/COMMENT:"text"]] [/DOMAIN]
+ nume-de-grup {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN]
+ nume-de-grup nume [...] {/ADD | /DELETE} [/DOMAIN]
+.
+Language=Russian
+NET LOCALGROUP [имя_группы [/COMMENT:"текст"]] [/DOMAIN]
+ имя_группы {/ADD [/COMMENT:"текст"] | /DELETE} [/DOMAIN]
+ имя_группы имя [...] {/ADD | /DELETE} [/DOMAIN]
+.
+Language=Spanish
+NET LOCALGROUP [grupo [/COMMENT:"texto"]] [/DOMAIN]
+ grupo {/ADD [/COMMENT:"texto"] | /DELETE} [/DOMAIN]
+ grupo nombre [...] {/ADD | /DELETE} [/DOMAIN]
+.
+Language=Turkish
+NET LOCALGROUP [takım adı [/COMMENT:"metin"]] [/DOMAIN]
+ takım adı {/ADD [/COMMENT:"metin"] | /DELETE} [/DOMAIN]
+ takım adı ad [...] {/ADD | /DELETE} [/DOMAIN]
+.
+Language=Chinese
+NET LOCALGROUP [groupname [/COMMENT:"text"]] [/DOMAIN]
+ groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN]
+ groupname name [...] {/ADD | /DELETE} [/DOMAIN]
+.
+Language=Taiwanese
+NET LOCALGROUP [組名 [/COMMENT:"文字"]] [/DOMAIN]
+ 組名 {/ADD [/COMMENT:"文字"] | /DELETE} [/DOMAIN]
+ 組名稱 [...] {/ADD | /DELETE} [/DOMAIN]
+.
+
+
+MessageId=10019
+SymbolicName=MSG_LOCALGROUP_HELP
+Severity=Success
+Facility=System
+Language=English
+NET LOCALGROUP adds, displays or modifies local groups on computers. When
+used without parameters, it displays the local groups on the computer.
+
+groupname Is the name of the local group to add, expand, or
+ delete. Supply only a groupname to view a list of
+ users or global groups in a local group.
+/COMMENT:"text" Adds a comment for a new or existing group.
+ Enclose the text in quotation marks.
+/DOMAIN Performs the operation on a domain controller
+ of the current domain. Otherwise, the operation is
+ performed on the local computer.
+name[ ...] List one or more usernames or groupnams to add to or
+ remove from a local group. Separate multiple entries with
+ a space. Names may be users or global groups, but not
+ other local groups. If a user is from another doamin,
+ preface the username with the domain name (for
+ example, SALES\RALPHR).
+/ADD Adds a groupname or username to a local group. An account
+ must be established for users or global groups added to a
+ local group with this command.
+/DELETE Removes a groupname or username from a local group.
+.
+Language=Polish
+NET LOCALGROUP dodaje, wyświetla, lub modyfikuje grupy lokalne na komputerach
+Polecenie użyte bez parametrów wyświetla grupy lokalne na komputerze.
+
+nazwa_grupy Nazwa grupy dodawanej, rozszerzanej lub usuwanej.
+ Aby zobaczyć listę użytkowników lub grup globalnych
+ w grupie lokalnej, podaj tylko nazwę grupy.
+/COMMENT:"tekst" Dodaje komentarz dla nowej lub istniejącej grupy.
+ Tekst musi być ujęty w cudzysłów.
+/DOMAIN Wykonuje operację na kontrolerze bieżącej domeny.
+ Bez tego przełącznika operacje są wykonywane na
+ komputerze lokalnym.
+nazwa[ ...] Lista zawierająca nazwy jednego lub kilku użytkowników
+ lub grup, dodawanych lub usuwanych z grupy lokalnej.
+ Rozdziel kolejne wpisy znakiem spacji. Lista może zawierać
+ nazwy użytkowników lub grup globalnych, lecz nie może
+ zawierać nazw innych grup lokalnych. Podając nazwę
+ użytkownika z innej domeny poprzedź ją nazwą domeny
+ (na przykład: WARSZAWA\PIOTRS).
+/ADD Dodaje nazwę grupy lub użytkownika do grupy lokalnej.
+ Dla użytkowników lub grup globalnych dodawanych tym
+ poleceniem do grupy lokalnej należy wcześniej utworzyć
+ odpowiednie konto.
+/DELETE Usuwa nazwę grupy lub użytkownika z grupy lokalnej.
+.
+Language=Romanian
+NET LOCALGROUP adds, displays or modifies local groups on computers. When
+used without parameters, it displays the local groups on the computer.
+
+groupname Is the name of the local group to add, expand, or
+ delete. Supply only a groupname to view a list of
+ users or global groups in a local group.
+/COMMENT:"text" Adds a comment for a new or existing group.
+ Enclose the text in quotation marks.
+/DOMAIN Performs the operation on a domain controller
+ of the current domain. Otherwise, the operation is
+ performed on the local computer.
+name[ ...] List one or more usernames or groupnams to add to or
+ remove from a local group. Separate multiple entries with
+ a space. Names may be users or global groups, but not
+ other local groups. If a user is from another doamin,
+ preface the username with the domain name (for
+ example, SALES\RALPHR).
+/ADD Adds a groupname or username to a local group. An account
+ must be established for users or global groups added to a
+ local group with this command.
+/DELETE Removes a groupname or username from a local group.
+.
+Language=Russian
+NET LOCALGROUP adds, displays or modifies local groups on computers. When
+used without parameters, it displays the local groups on the computer.
+
+groupname Is the name of the local group to add, expand, or
+ delete. Supply only a groupname to view a list of
+ users or global groups in a local group.
+/COMMENT:"text" Adds a comment for a new or existing group.
+ Enclose the text in quotation marks.
+/DOMAIN Performs the operation on a domain controller
+ of the current domain. Otherwise, the operation is
+ performed on the local computer.
+name[ ...] List one or more usernames or groupnams to add to or
+ remove from a local group. Separate multiple entries with
+ a space. Names may be users or global groups, but not
+ other local groups. If a user is from another doamin,
+ preface the username with the domain name (for
+ example, SALES\RALPHR).
+/ADD Adds a groupname or username to a local group. An account
+ must be established for users or global groups added to a
+ local group with this command.
+/DELETE Removes a groupname or username from a local group.
+.
+Language=Spanish
+NET LOCALGROUP adds, displays or modifies local groups on computers. When
+used without parameters, it displays the local groups on the computer.
+
+groupname Is the name of the local group to add, expand, or
+ delete. Supply only a groupname to view a list of
+ users or global groups in a local group.
+/COMMENT:"text" Adds a comment for a new or existing group.
+ Enclose the text in quotation marks.
+/DOMAIN Performs the operation on a domain controller
+ of the current domain. Otherwise, the operation is
+ performed on the local computer.
+name [ ...] List one or more usernames or groupnams to add to or
+ remove from a local group. Separate multiple entries with
+ a space. Names may be users or global groups, but not
+ other local groups. If a user is from another doamin,
+ preface the username with the domain name (for
+ example, SALES\RALPHR).
+/ADD Adds a groupname or username to a local group. An account
+ must be established for users or global groups added to a
+ local group with this command.
+/DELETE Removes a groupname or username from a local group.
+.
+Language=Turkish
+NET LOCALGROUP adds, displays or modifies local groups on computers. When
+used without parameters, it displays the local groups on the computer.
+
+groupname Is the name of the local group to add, expand, or
+ delete. Supply only a groupname to view a list of
+ users or global groups in a local group.
+/COMMENT:"text" Adds a comment for a new or existing group.
+ Enclose the text in quotation marks.
+/DOMAIN Performs the operation on a domain controller
+ of the current domain. Otherwise, the operation is
+ performed on the local computer.
+name[ ...] List one or more usernames or groupnams to add to or
+ remove from a local group. Separate multiple entries with
+ a space. Names may be users or global groups, but not
+ other local groups. If a user is from another doamin,
+ preface the username with the domain name (for
+ example, SALES\RALPHR).
+/ADD Adds a groupname or username to a local group. An account
+ must be established for users or global groups added to a
+ local group with this command.
+/DELETE Removes a groupname or username from a local group.
+.
+Language=Chinese
+NET LOCALGROUP adds, displays or modifies local groups on computers. When
+used without parameters, it displays the local groups on the computer.
+
+groupname Is the name of the local group to add, expand, or
+ delete. Supply only a groupname to view a list of
+ users or global groups in a local group.
+/COMMENT:"text" Adds a comment for a new or existing group.
+ Enclose the text in quotation marks.
+/DOMAIN Performs the operation on a domain controller
+ of the current domain. Otherwise, the operation is
+ performed on the local computer.
+name[ ...] List one or more usernames or groupnams to add to or
+ remove from a local group. Separate multiple entries with
+ a space. Names may be users or global groups, but not
+ other local groups. If a user is from another doamin,
+ preface the username with the domain name (for
+ example, SALES\RALPHR).
+/ADD Adds a groupname or username to a local group. An account
+ must be established for users or global groups added to a
+ local group with this command.
+/DELETE Removes a groupname or username from a local group.
+.
+Language=Taiwanese
+NET LOCALGROUP adds, displays or modifies local groups on computers. When
+used without parameters, it displays the local groups on the computer.
+
+groupname Is the name of the local group to add, expand, or
+ delete. Supply only a groupname to view a list of
+ users or global groups in a local group.
+/COMMENT:"text" Adds a comment for a new or existing group.
+ Enclose the text in quotation marks.
+/DOMAIN Performs the operation on a domain controller
+ of the current domain. Otherwise, the operation is
+ performed on the local computer.
+name[ ...] List one or more usernames or groupnams to add to or
+ remove from a local group. Separate multiple entries with
+ a space. Names may be users or global groups, but not
+ other local groups. If a user is from another doamin,
+ preface the username with the domain name (for
+ example, SALES\RALPHR).
+/ADD Adds a groupname or username to a local group. An account
+ must be established for users or global groups added to a
+ local group with this command.
+/DELETE Removes a groupname or username from a local group.
+.
+
+
+MessageId=10020
+SymbolicName=MSG_NAME_SYNTAX
+Severity=Success
+Facility=System
+Language=English
+NET NAME ...
+.
+Language=Polish
+NET NAME ...
+.
+Language=Romanian
+NET NAME ...
+.
+Language=Russian
+NET NAME ...
+.
+Language=Spanish
+NET NAME ...
+.
+Language=Turkish
+NET NAME ...
+.
+Language=Chinese
+NET NAME ...
+.
+Language=Taiwanese
+NET NAME ...
+.
+
+
+MessageId=10021
+SymbolicName=MSG_NAME_HELP
+Severity=Success
+Facility=System
+Language=English
+NAME
+...
+.
+Language=Polish
+NAME
+...
+.
+Language=Romanian
+NAME
+...
+.
+Language=Russian
+NAME
+...
+.
+Language=Spanish
+NAME
+...
+.
+Language=Turkish
+NAME
+...
+.
+Language=Chinese
+NAME
+...
+.
+Language=Taiwanese
+NAME
+...
+.