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
+...
+.
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e1824b5bd31b55f8e37c9…
commit e1824b5bd31b55f8e37c937423d5f4a50c38f1dd
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Dec 23 21:41:27 2018 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Dec 23 21:42:49 2018 +0100
[NET] Move FILE, GROUP and HELP command syntax and help texts into a message table.
---
base/applications/network/net/cmdGroup.c | 12 +-
base/applications/network/net/help.c | 19 +-
base/applications/network/net/lang/en-US.rc | 30 --
base/applications/network/net/lang/es-ES.rc | 30 --
base/applications/network/net/lang/pl-PL.rc | 31 --
base/applications/network/net/lang/ro-RO.rc | 30 --
base/applications/network/net/lang/ru-RU.rc | 30 --
base/applications/network/net/lang/tr-TR.rc | 30 --
base/applications/network/net/lang/zh-CN.rc | 30 --
base/applications/network/net/lang/zh-TW.rc | 30 --
base/applications/network/net/resource.h | 13 -
sdk/include/reactos/mc/net_msg.mc | 422 ++++++++++++++++++++++++++++
12 files changed, 431 insertions(+), 276 deletions(-)
diff --git a/base/applications/network/net/cmdGroup.c b/base/applications/network/net/cmdGroup.c
index 4fc1e7e08d..f825ed0408 100644
--- a/base/applications/network/net/cmdGroup.c
+++ b/base/applications/network/net/cmdGroup.c
@@ -223,14 +223,8 @@ cmdGroup(
if (_wcsicmp(argv[i], L"/help") == 0)
{
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
- ConResPuts(StdOut, IDS_GROUP_SYNTAX);
- ConResPuts(StdOut, IDS_GROUP_HELP_1);
- ConResPuts(StdOut, IDS_GROUP_HELP_2);
- ConResPuts(StdOut, IDS_GROUP_HELP_3);
- ConResPuts(StdOut, IDS_GROUP_HELP_4);
- ConResPuts(StdOut, IDS_GROUP_HELP_5);
- ConResPuts(StdOut, IDS_GROUP_HELP_6);
- ConResPuts(StdOut, IDS_GROUP_HELP_7);
+ PrintNetMessage(MSG_GROUP_SYNTAX);
+ PrintNetMessage(MSG_GROUP_HELP);
ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 0;
}
@@ -358,7 +352,7 @@ done:
if (result != 0)
{
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
- ConResPuts(StdOut, IDS_GROUP_SYNTAX);
+ PrintNetMessage(MSG_GROUP_SYNTAX);
}
return result;
diff --git a/base/applications/network/net/help.c b/base/applications/network/net/help.c
index df968b5e33..6b5903d735 100644
--- a/base/applications/network/net/help.c
+++ b/base/applications/network/net/help.c
@@ -62,21 +62,15 @@ INT cmdHelp(INT argc, WCHAR **argv)
if (_wcsicmp(argv[2], L"FILE") == 0)
{
- ConResPuts(StdOut, IDS_FILE_SYNTAX);
- ConResPuts(StdOut, IDS_FILE_HELP);
+ PrintNetMessage(MSG_FILE_SYNTAX);
+ PrintNetMessage(MSG_FILE_HELP);
return 0;
}
if (_wcsicmp(argv[2], L"GROUP") == 0)
{
- ConResPuts(StdOut, IDS_GROUP_SYNTAX);
- ConResPuts(StdOut, IDS_GROUP_HELP_1);
- ConResPuts(StdOut, IDS_GROUP_HELP_2);
- ConResPuts(StdOut, IDS_GROUP_HELP_3);
- ConResPuts(StdOut, IDS_GROUP_HELP_4);
- ConResPuts(StdOut, IDS_GROUP_HELP_5);
- ConResPuts(StdOut, IDS_GROUP_HELP_6);
- ConResPuts(StdOut, IDS_GROUP_HELP_7);
+ PrintNetMessage(MSG_GROUP_SYNTAX);
+ PrintNetMessage(MSG_GROUP_HELP);
ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 0;
}
@@ -212,9 +206,8 @@ INT cmdHelp(INT argc, WCHAR **argv)
}
#endif
- ConResPuts(StdOut, IDS_HELP_SYNTAX);
- ConResPuts(StdOut, IDS_HELP_HELP_1);
- ConResPuts(StdOut, IDS_HELP_HELP_2);
+ PrintNetMessage(MSG_HELP_SYNTAX);
+ PrintNetMessage(MSG_HELP_HELP);
return 0;
}
diff --git a/base/applications/network/net/lang/en-US.rc b/base/applications/network/net/lang/en-US.rc
index 108cc51a4f..89db1ce57d 100644
--- a/base/applications/network/net/lang/en-US.rc
+++ b/base/applications/network/net/lang/en-US.rc
@@ -2,36 +2,6 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE
BEGIN
- IDS_FILE_SYNTAX "NET FILE [id [/CLOSE]]\n\n"
- IDS_FILE_HELP "FILE\n...\n\n"
- IDS_GROUP_SYNTAX "NET GROUP [groupname [/COMMENT:""text""]] [/DOMAIN]\n\
- groupname {/ADD [/COMMENT:""text""] | /DELETE} [/DOMAIN]\n\
- groupname username [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
- IDS_GROUP_HELP_1 "NET GROUP adds, displays or modifies global groups on servers. When\n\
-used without parameters, it displays the groupnames on the server.\n\n"
- IDS_GROUP_HELP_2 "groupname Is the name of the group to add, expand, or delete.\n\
- Supply only a groupname to view a list of users\n\
- in a group.\n"
- IDS_GROUP_HELP_3 "/COMMENT:""text"" Adds a comment for a new or existing group.\n\
- Enclose the text inquotation marks.\n"
- IDS_GROUP_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_GROUP_HELP_5 "username[ ...] List one or more usernames to add to or remove from\n\
- a group. Separate multiple username entries with a space.\n"
- IDS_GROUP_HELP_6 "/ADD Adds a group, or adds a username to a group.\n"
- IDS_GROUP_HELP_7 "/DELETE Removes a group, or removes a username from a group.\n\n"
- IDS_HELP_SYNTAX "NET HELP command\n - or -\nNET command /HELP\n\n"
- IDS_HELP_HELP_1 " The following commands are available:\n\n\
- NET ACCOUNTS NET HELP NET SHARE\n\
- NET COMPUTER NET HELPMSG NET START\n\
- NET CONFIG NET LOCALGROUP NET STATISTICS\n\
- NET CONFIG SERVER NET NAME NET STOP\n\
- NET CONFIG WORKSTATION NET PAUSE NET TIME\n\
- NET CONTINUE NET PRINT NET USE\n\
- NET FILE NET SEND NET USER\n\
- NET GROUP NET SESSION NET VIEW\n\n"
- IDS_HELP_HELP_2 " ...\n\n"
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\
diff --git a/base/applications/network/net/lang/es-ES.rc b/base/applications/network/net/lang/es-ES.rc
index 09b6793e41..151249b825 100644
--- a/base/applications/network/net/lang/es-ES.rc
+++ b/base/applications/network/net/lang/es-ES.rc
@@ -5,36 +5,6 @@ LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
- IDS_FILE_SYNTAX "NET FILE [id [/CLOSE]]\n\n"
- IDS_FILE_HELP "NET FILE\n...\n\n"
- IDS_GROUP_SYNTAX "NET GROUP [groupname [/COMMENT:""text""]] [/DOMAIN]\n\
- groupname {/ADD [/COMMENT:""text""] | /DELETE} [/DOMAIN]\n\
- groupname username [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
- IDS_GROUP_HELP_1 "NET GROUP adds, displays or modifies global groups on servers. When\n\
-used without parameters, it displays the groupnames on the server.\n\n"
- IDS_GROUP_HELP_2 "groupname Is the name of the group to add, expand, or delete.\n\
- Supply only a groupname to view a list of users\n\
- in a group.\n"
- IDS_GROUP_HELP_3 "/COMMENT:""text"" Adds a comment for a new or existing group.\n\
- Enclose the text inquotation marks.\n"
- IDS_GROUP_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_GROUP_HELP_5 "username[ ...] List one or more usernames to add to or remove from\n\
- a group. Separate multiple username entries with a space.\n"
- IDS_GROUP_HELP_6 "/ADD Adds a group, or adds a username to a group.\n"
- IDS_GROUP_HELP_7 "/DELETE Removes a group, or removes a username from a group.\n\n"
- IDS_HELP_SYNTAX "NET HELP <comando>\n - o -\nNET <comando> /HELP\n\n"
- IDS_HELP_HELP_1 " Éstos son los argumentos de línea de comandos disponibles:\n\n\
- NET ACCOUNTS NET HELP NET SHARE\n\
- NET COMPUTER NET HELPMSG NET START\n\
- NET CONFIG NET LOCALGROUP NET STATISTICS\n\
- NET CONFIG SERVER NET NAME NET STOP\n\
- NET CONFIG WORKSTATION NET PAUSE NET TIME\n\
- NET CONTINUE NET PRINT NET USE\n\
- NET FILE NET SEND NET USER\n\
- NET GROUP NET SESSION NET VIEW\n\n"
- IDS_HELP_HELP_2 " ...\n\n"
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\
diff --git a/base/applications/network/net/lang/pl-PL.rc b/base/applications/network/net/lang/pl-PL.rc
index 111f82007d..e0e38d717d 100644
--- a/base/applications/network/net/lang/pl-PL.rc
+++ b/base/applications/network/net/lang/pl-PL.rc
@@ -1,37 +1,6 @@
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
- IDS_FILE_SYNTAX "NET FILE [identyfikator [/CLOSE]]\n\n"
- IDS_FILE_HELP "FILE\n...\n\n"
- IDS_GROUP_SYNTAX "NET GROUP [nazwa_grupy [/COMMENT:""tekst""]] [/DOMAIN]\n\
- nazwa_grupy {/ADD [/COMMENT:""tekst""] | /DELETE} [/DOMAIN]\n\
- nazwa_grupy nazwa_użytkownika [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
- IDS_GROUP_HELP_1 "NET GROUP dodaje, wyświetla lub modyfikuje grupy globalne na serwerach.\n\
-Użyte bez parametrów wyświetla nazwy grup na serwerze.\n\n"
- IDS_GROUP_HELP_2 "nazwa_grupy Nazwa grupy dodawanej, rozszerzanej lub usuwanej.\n\
- Aby zobaczyć listę użytkowników w grupie, podaj tylko\n\
- nazwę grupy.\n"
- IDS_GROUP_HELP_3 "/COMMENT:""tekst"" Dodaje komentarz dla nowej lub istniejącej grupy.\n\
- Tekst musi być ujęty w cudzysłów.\n"
- IDS_GROUP_HELP_4 "/DOMAIN Wykonuje operację na kontrolerze domeny.\n\
- Bez tego przełącznika operacje są wykonywane na\n\
- komputerze lokalnym.\n"
- IDS_GROUP_HELP_5 "nazwa_użytkownika[ ...] Lista zawierająca nazwy jednego lub kilku\n\
- użytkowników dodawanych lub usuwanych z grupy.\n\
- Rozdziel kolejne nazwy znakiem spacji.\n"
- IDS_GROUP_HELP_6 "/ADD Dodaje grupę lub dodaje nazwę użytkownika do grupy.\n"
- IDS_GROUP_HELP_7 "/DELETE Usuwa grupę lub usuwa nazwę użytkownika z grupy.\n\n"
- IDS_HELP_SYNTAX "NET HELP polecenie\n - lub -\nNET polecenie /HELP\n\n"
- IDS_HELP_HELP_1 " Dostępne polecenia to:\n\n\
- NET ACCOUNTS NET HELP NET SHARE\n\
- NET COMPUTER NET HELPMSG NET START\n\
- NET CONFIG NET LOCALGROUP NET STATISTICS\n\
- NET CONFIG SERVER NET NAME NET STOP\n\
- NET CONFIG WORKSTATION NET PAUSE NET TIME\n\
- NET CONTINUE NET PRINT NET USE\n\
- NET FILE NET SEND NET USER\n\
- NET GROUP NET SESSION NET VIEW\n\n"
- IDS_HELP_HELP_2 " ...\n\n"
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\
diff --git a/base/applications/network/net/lang/ro-RO.rc b/base/applications/network/net/lang/ro-RO.rc
index e7608f2415..103400fbc0 100644
--- a/base/applications/network/net/lang/ro-RO.rc
+++ b/base/applications/network/net/lang/ro-RO.rc
@@ -8,36 +8,6 @@ LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
- IDS_FILE_SYNTAX "NET FILE [id [/CLOSE]]\n\n"
- IDS_FILE_HELP "NET FILE\n...\n\n"
- IDS_GROUP_SYNTAX "NET GROUP [groupname [/COMMENT:""text""]] [/DOMAIN]\n\
- groupname {/ADD [/COMMENT:""text""] | /DELETE} [/DOMAIN]\n\
- groupname username [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
- IDS_GROUP_HELP_1 "NET GROUP adds, displays or modifies global groups on servers. When\n\
-used without parameters, it displays the groupnames on the server.\n\n"
- IDS_GROUP_HELP_2 "groupname Is the name of the group to add, expand, or delete.\n\
- Supply only a groupname to view a list of users\n\
- in a group.\n"
- IDS_GROUP_HELP_3 "/COMMENT:""text"" Adds a comment for a new or existing group.\n\
- Enclose the text inquotation marks.\n"
- IDS_GROUP_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_GROUP_HELP_5 "username[ ...] List one or more usernames to add to or remove from\n\
- a group. Separate multiple username entries with a space.\n"
- IDS_GROUP_HELP_6 "/ADD Adds a group, or adds a username to a group.\n"
- IDS_GROUP_HELP_7 "/DELETE Removes a group, or removes a username from a group.\n\n"
- IDS_HELP_SYNTAX "NET HELP <comandă>\n - sau -\nNET <comandă> /HELP\n\n"
- IDS_HELP_HELP_1 " Sunt disponibile următoarele comenzi:\n\n\
- NET ACCOUNTS NET HELP NET SHARE\n\
- NET COMPUTER NET HELPMSG NET START\n\
- NET CONFIG NET LOCALGROUP NET STATISTICS\n\
- NET CONFIG SERVER NET NAME NET STOP\n\
- NET CONFIG WORKSTATION NET PAUSE NET TIME\n\
- NET CONTINUE NET PRINT NET USE\n\
- NET FILE NET SEND NET USER\n\
- NET GROUP NET SESSION NET VIEW\n\n"
- IDS_HELP_HELP_2 " ...\n\n"
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\
diff --git a/base/applications/network/net/lang/ru-RU.rc b/base/applications/network/net/lang/ru-RU.rc
index 73139b3e19..49f4fb34a5 100644
--- a/base/applications/network/net/lang/ru-RU.rc
+++ b/base/applications/network/net/lang/ru-RU.rc
@@ -4,36 +4,6 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
- IDS_FILE_SYNTAX "NET FILE [id [/CLOSE]]\n\n"
- IDS_FILE_HELP "NET FILE\n...\n\n"
- IDS_GROUP_SYNTAX "NET GROUP [groupname [/COMMENT:""text""]] [/DOMAIN]\n\
- groupname {/ADD [/COMMENT:""text""] | /DELETE} [/DOMAIN]\n\
- groupname username [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
- IDS_GROUP_HELP_1 "NET GROUP adds, displays or modifies global groups on servers. When\n\
-used without parameters, it displays the groupnames on the server.\n\n"
- IDS_GROUP_HELP_2 "groupname Is the name of the group to add, expand, or delete.\n\
- Supply only a groupname to view a list of users\n\
- in a group.\n"
- IDS_GROUP_HELP_3 "/COMMENT:""text"" Adds a comment for a new or existing group.\n\
- Enclose the text inquotation marks.\n"
- IDS_GROUP_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_GROUP_HELP_5 "username[ ...] List one or more usernames to add to or remove from\n\
- a group. Separate multiple username entries with a space.\n"
- IDS_GROUP_HELP_6 "/ADD Adds a group, or adds a username to a group.\n"
- IDS_GROUP_HELP_7 "/DELETE Removes a group, or removes a username from a group.\n\n"
- IDS_HELP_SYNTAX "NET HELP <Команда>\n - или -\nNET <Команда> /HELP\n\n"
- IDS_HELP_HELP_1 " Доступны следующие команды:\n\n\
- NET ACCOUNTS NET HELP NET SHARE\n\
- NET COMPUTER NET HELPMSG NET START\n\
- NET CONFIG NET LOCALGROUP NET STATISTICS\n\
- NET CONFIG SERVER NET NAME NET STOP\n\
- NET CONFIG WORKSTATION NET PAUSE NET TIME\n\
- NET CONTINUE NET PRINT NET USE\n\
- NET FILE NET SEND NET USER\n\
- NET GROUP NET SESSION NET VIEW\n\n"
- IDS_HELP_HELP_2 " ...\n\n"
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\
diff --git a/base/applications/network/net/lang/tr-TR.rc b/base/applications/network/net/lang/tr-TR.rc
index eb6857cadc..6647f4fd3c 100644
--- a/base/applications/network/net/lang/tr-TR.rc
+++ b/base/applications/network/net/lang/tr-TR.rc
@@ -4,36 +4,6 @@ LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
- IDS_FILE_SYNTAX "NET FILE [id [/CLOSE]]\n\n"
- IDS_FILE_HELP "NET FILE\n...\n\n"
- IDS_GROUP_SYNTAX "NET GROUP [groupname [/COMMENT:""text""]] [/DOMAIN]\n\
- groupname {/ADD [/COMMENT:""text""] | /DELETE} [/DOMAIN]\n\
- groupname username [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
- IDS_GROUP_HELP_1 "NET GROUP adds, displays or modifies global groups on servers. When\n\
-used without parameters, it displays the groupnames on the server.\n\n"
- IDS_GROUP_HELP_2 "groupname Is the name of the group to add, expand, or delete.\n\
- Supply only a groupname to view a list of users\n\
- in a group.\n"
- IDS_GROUP_HELP_3 "/COMMENT:""text"" Adds a comment for a new or existing group.\n\
- Enclose the text inquotation marks.\n"
- IDS_GROUP_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_GROUP_HELP_5 "username[ ...] List one or more usernames to add to or remove from\n\
- a group. Separate multiple username entries with a space.\n"
- IDS_GROUP_HELP_6 "/ADD Adds a group, or adds a username to a group.\n"
- IDS_GROUP_HELP_7 "/DELETE Removes a group, or removes a username from a group.\n\n"
- IDS_HELP_SYNTAX "NET HELP <Komut>\n - ya da -\nNET <Komut> /HELP\n\n"
- IDS_HELP_HELP_1 " Aşağıdaki komutlar kullanılabilir:\n\n\
- NET ACCOUNTS NET HELP NET SHARE\n\
- NET COMPUTER NET HELPMSG NET START\n\
- NET CONFIG NET LOCALGROUP NET STATISTICS\n\
- NET CONFIG SERVER NET NAME NET STOP\n\
- NET CONFIG WORKSTATION NET PAUSE NET TIME\n\
- NET CONTINUE NET PRINT NET USE\n\
- NET FILE NET SEND NET USER\n\
- NET GROUP NET SESSION NET VIEW\n\n"
- IDS_HELP_HELP_2 " ...\n\n"
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\
diff --git a/base/applications/network/net/lang/zh-CN.rc b/base/applications/network/net/lang/zh-CN.rc
index 72a4210ce3..08181b3e45 100644
--- a/base/applications/network/net/lang/zh-CN.rc
+++ b/base/applications/network/net/lang/zh-CN.rc
@@ -4,36 +4,6 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
STRINGTABLE
BEGIN
- IDS_FILE_SYNTAX "NET FILE [id [/CLOSE]]\n\n"
- IDS_FILE_HELP "NET FILE\n...\n\n"
- IDS_GROUP_SYNTAX "NET GROUP [groupname [/COMMENT:""text""]] [/DOMAIN]\n\
- groupname {/ADD [/COMMENT:""text""] | /DELETE} [/DOMAIN]\n\
- groupname username [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
- IDS_GROUP_HELP_1 "NET GROUP adds, displays or modifies global groups on servers. When\n\
-used without parameters, it displays the groupnames on the server.\n\n"
- IDS_GROUP_HELP_2 "groupname Is the name of the group to add, expand, or delete.\n\
- Supply only a groupname to view a list of users\n\
- in a group.\n"
- IDS_GROUP_HELP_3 "/COMMENT:""text"" Adds a comment for a new or existing group.\n\
- Enclose the text inquotation marks.\n"
- IDS_GROUP_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_GROUP_HELP_5 "username[ ...] List one or more usernames to add to or remove from\n\
- a group. Separate multiple username entries with a space.\n"
- IDS_GROUP_HELP_6 "/ADD Adds a group, or adds a username to a group.\n"
- IDS_GROUP_HELP_7 "/DELETE Removes a group, or removes a username from a group.\n\n"
- IDS_HELP_SYNTAX "NET HELP <Command>\n - or -\nNET <Command> /HELP\n\n"
- IDS_HELP_HELP_1 " 以下命令可用:\n\n\
- NET ACCOUNTS NET HELP NET SHARE\n\
- NET COMPUTER NET HELPMSG NET START\n\
- NET CONFIG NET LOCALGROUP NET STATISTICS\n\
- NET CONFIG SERVER NET NAME NET STOP\n\
- NET CONFIG WORKSTATION NET PAUSE NET TIME\n\
- NET CONTINUE NET PRINT NET USE\n\
- NET FILE NET SEND NET USER\n\
- NET GROUP NET SESSION NET VIEW\n\n"
- IDS_HELP_HELP_2 " ...\n\n"
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\
diff --git a/base/applications/network/net/lang/zh-TW.rc b/base/applications/network/net/lang/zh-TW.rc
index 8c63ff3154..ecb1a0e7b1 100644
--- a/base/applications/network/net/lang/zh-TW.rc
+++ b/base/applications/network/net/lang/zh-TW.rc
@@ -4,36 +4,6 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
STRINGTABLE
BEGIN
- IDS_FILE_SYNTAX "NET FILE [id [/CLOSE]]\n\n"
- IDS_FILE_HELP "NET FILE\n...\n\n"
- IDS_GROUP_SYNTAX "NET GROUP [groupname [/COMMENT:""text""]] [/DOMAIN]\n\
- groupname {/ADD [/COMMENT:""text""] | /DELETE} [/DOMAIN]\n\
- groupname username [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
- IDS_GROUP_HELP_1 "NET GROUP adds, displays or modifies global groups on servers. When\n\
-used without parameters, it displays the groupnames on the server.\n\n"
- IDS_GROUP_HELP_2 "groupname Is the name of the group to add, expand, or delete.\n\
- Supply only a groupname to view a list of users\n\
- in a group.\n"
- IDS_GROUP_HELP_3 "/COMMENT:""text"" Adds a comment for a new or existing group.\n\
- Enclose the text inquotation marks.\n"
- IDS_GROUP_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_GROUP_HELP_5 "username[ ...] List one or more usernames to add to or remove from\n\
- a group. Separate multiple username entries with a space.\n"
- IDS_GROUP_HELP_6 "/ADD Adds a group, or adds a username to a group.\n"
- IDS_GROUP_HELP_7 "/DELETE Removes a group, or removes a username from a group.\n\n"
- IDS_HELP_SYNTAX "NET HELP <命令>\n - 或 -\nNET <命令> /HELP\n\n"
- IDS_HELP_HELP_1 " 以下命令是可用的:\n\n\
- NET ACCOUNTS NET HELP NET SHARE\n\
- NET COMPUTER NET HELPMSG NET START\n\
- NET CONFIG NET LOCALGROUP NET STATISTICS\n\
- NET CONFIG SERVER NET NAME NET STOP\n\
- NET CONFIG WORKSTATION NET PAUSE NET TIME\n\
- NET CONTINUE NET PRINT NET USE\n\
- NET FILE NET SEND NET USER\n\
- NET GROUP NET SESSION NET VIEW\n\n"
- IDS_HELP_HELP_2 " ...\n\n"
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\
diff --git a/base/applications/network/net/resource.h b/base/applications/network/net/resource.h
index b448713391..0b304a56fd 100644
--- a/base/applications/network/net/resource.h
+++ b/base/applications/network/net/resource.h
@@ -1,18 +1,5 @@
#pragma once
-#define IDS_FILE_SYNTAX 126
-#define IDS_FILE_HELP 127
-#define IDS_GROUP_SYNTAX 128
-#define IDS_GROUP_HELP_1 129
-#define IDS_GROUP_HELP_2 130
-#define IDS_GROUP_HELP_3 131
-#define IDS_GROUP_HELP_4 132
-#define IDS_GROUP_HELP_5 133
-#define IDS_GROUP_HELP_6 134
-#define IDS_GROUP_HELP_7 135
-#define IDS_HELP_SYNTAX 136
-#define IDS_HELP_HELP_1 137
-#define IDS_HELP_HELP_2 138
#define IDS_HELPMSG_SYNTAX 139
#define IDS_HELPMSG_HELP_1 140
#define IDS_HELPMSG_HELP_2 141
diff --git a/sdk/include/reactos/mc/net_msg.mc b/sdk/include/reactos/mc/net_msg.mc
index e84c3ea5c8..d9ea9de23a 100644
--- a/sdk/include/reactos/mc/net_msg.mc
+++ b/sdk/include/reactos/mc/net_msg.mc
@@ -945,3 +945,425 @@ service Is the paused service
SERVER
WORKSTATION
.
+
+
+MessageId=10010
+SymbolicName=MSG_FILE_SYNTAX
+Severity=Success
+Facility=System
+Language=English
+NET FILE [id [/CLOSE]]
+.
+Language=Polish
+NET FILE [identyfikator [/CLOSE]]
+.
+Language=Romanian
+NET FILE [id [/CLOSE]]
+.
+Language=Russian
+NET FILE [id [/CLOSE]]
+.
+Language=Spanish
+NET FILE [id [/CLOSE]]
+.
+Language=Turkish
+NET FILE [id [/CLOSE]]
+.
+Language=Chinese
+NET FILE [id [/CLOSE]]
+.
+Language=Taiwanese
+NET FILE [id [/CLOSE]]
+.
+
+
+MessageId=10011
+SymbolicName=MSG_FILE_HELP
+Severity=Success
+Facility=System
+Language=English
+NET FILE
+...
+.
+Language=Polish
+NET FILE
+...
+.
+Language=Romanian
+NET FILE
+...
+.
+Language=Russian
+NET FILE
+...
+.
+Language=Spanish
+NET FILE
+...
+.
+Language=Turkish
+NET FILE
+...
+.
+Language=Chinese
+NET FILE
+...
+.
+Language=Taiwanese
+NET FILE
+...
+.
+
+
+MessageId=10012
+SymbolicName=MSG_GROUP_SYNTAX
+Severity=Success
+Facility=System
+Language=English
+NET GROUP [groupname [/COMMENT:"text"]] [/DOMAIN]
+ groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN]
+ groupname username [...] {/ADD | /DELETE} [/DOMAIN]
+.
+Language=Polish
+NET GROUP [nazwa_grupy [/COMMENT:"tekst"]] [/DOMAIN]
+ nazwa_grupy {/ADD [/COMMENT:"tekst"] | /DELETE} [/DOMAIN]
+ nazwa_grupy nazwa_użytkownika [...] {/ADD | /DELETE} [/DOMAIN]
+.
+Language=Romanian
+NET GROUP [groupname [/COMMENT:"text"]] [/DOMAIN]
+ groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN]
+ groupname username [...] {/ADD | /DELETE} [/DOMAIN]
+.
+Language=Russian
+NET GROUP [groupname [/COMMENT:"text"]] [/DOMAIN]
+ groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN]
+ groupname username [...] {/ADD | /DELETE} [/DOMAIN]
+.
+Language=Spanish
+NET GROUP [groupname [/COMMENT:"text"]] [/DOMAIN]
+ groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN]
+ groupname username [...] {/ADD | /DELETE} [/DOMAIN]
+.
+Language=Turkish
+NET GROUP [groupname [/COMMENT:"text"]] [/DOMAIN]
+ groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN]
+ groupname username [...] {/ADD | /DELETE} [/DOMAIN]
+.
+Language=Chinese
+NET GROUP [groupname [/COMMENT:"text"]] [/DOMAIN]
+ groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN]
+ groupname username [...] {/ADD | /DELETE} [/DOMAIN]
+.
+Language=Taiwanese
+NET GROUP [groupname [/COMMENT:"text"]] [/DOMAIN]
+ groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN]
+ groupname username [...] {/ADD | /DELETE} [/DOMAIN]
+.
+
+
+MessageId=10013
+SymbolicName=MSG_GROUP_HELP
+Severity=Success
+Facility=System
+Language=English
+NET GROUP adds, displays or modifies global groups on servers. When
+used without parameters, it displays the groupnames on the server.
+
+groupname Is the name of the group to add, expand, or delete.
+ Supply only a groupname to view a list of users
+ in a 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.
+username[ ...] List one or more usernames to add to or remove from
+ a group. Separate multiple username entries with a space.
+/ADD Adds a group, or adds a username to a group.
+/DELETE Removes a group, or removes a username from a group.
+.
+Language=Polish
+NET GROUP dodaje, wyświetla lub modyfikuje grupy globalne na serwerach.
+Użyte bez parametrów wyświetla nazwy grup na serwerze.
+
+nazwa_grupy Nazwa grupy dodawanej, rozszerzanej lub usuwanej.
+ Aby zobaczyć listę użytkowników w grupie, 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 domeny.
+ Bez tego przełącznika operacje są wykonywane na
+ komputerze lokalnym.
+nazwa_użytkownika[ ...] Lista zawierająca nazwy jednego lub kilku
+ użytkowników dodawanych lub usuwanych z grupy.
+ Rozdziel kolejne nazwy znakiem spacji.
+/ADD Dodaje grupę lub dodaje nazwę użytkownika do grupy.
+/DELETE Usuwa grupę lub usuwa nazwę użytkownika z grupy.
+.
+Language=Romanian
+NET GROUP adds, displays or modifies global groups on servers. When
+used without parameters, it displays the groupnames on the server.
+
+groupname Is the name of the group to add, expand, or delete.
+ Supply only a groupname to view a list of users
+ in a 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.
+username[ ...] List one or more usernames to add to or remove from
+ a group. Separate multiple username entries with a space.
+/ADD Adds a group, or adds a username to a group.
+/DELETE Removes a group, or removes a username from a group.
+.
+Language=Russian
+NET GROUP adds, displays or modifies global groups on servers. When
+used without parameters, it displays the groupnames on the server.
+
+groupname Is the name of the group to add, expand, or delete.
+ Supply only a groupname to view a list of users
+ in a 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.
+username[ ...] List one or more usernames to add to or remove from
+ a group. Separate multiple username entries with a space.
+/ADD Adds a group, or adds a username to a group.
+/DELETE Removes a group, or removes a username from a group.
+.
+Language=Spanish
+NET GROUP adds, displays or modifies global groups on servers. When
+used without parameters, it displays the groupnames on the server.
+
+groupname Is the name of the group to add, expand, or delete.
+ Supply only a groupname to view a list of users
+ in a 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.
+username[ ...] List one or more usernames to add to or remove from
+ a group. Separate multiple username entries with a space.
+/ADD Adds a group, or adds a username to a group.
+/DELETE Removes a group, or removes a username from a group.
+.
+Language=Turkish
+NET GROUP adds, displays or modifies global groups on servers. When
+used without parameters, it displays the groupnames on the server.
+
+groupname Is the name of the group to add, expand, or delete.
+ Supply only a groupname to view a list of users
+ in a 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.
+username[ ...] List one or more usernames to add to or remove from
+ a group. Separate multiple username entries with a space.
+/ADD Adds a group, or adds a username to a group.
+/DELETE Removes a group, or removes a username from a group.
+.
+Language=Chinese
+NET GROUP adds, displays or modifies global groups on servers. When
+used without parameters, it displays the groupnames on the server.
+
+groupname Is the name of the group to add, expand, or delete.
+ Supply only a groupname to view a list of users
+ in a 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.
+username[ ...] List one or more usernames to add to or remove from
+ a group. Separate multiple username entries with a space.
+/ADD Adds a group, or adds a username to a group.
+/DELETE Removes a group, or removes a username from a group.
+.
+Language=Taiwanese
+NET GROUP adds, displays or modifies global groups on servers. When
+used without parameters, it displays the groupnames on the server.
+
+groupname Is the name of the group to add, expand, or delete.
+ Supply only a groupname to view a list of users
+ in a 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.
+username[ ...] List one or more usernames to add to or remove from
+ a group. Separate multiple username entries with a space.
+/ADD Adds a group, or adds a username to a group.
+/DELETE Removes a group, or removes a username from a group.
+.
+
+
+MessageId=10014
+SymbolicName=MSG_HELP_SYNTAX
+Severity=Success
+Facility=System
+Language=English
+NET HELP command
+ - or -
+NET command /HELP
+.
+Language=Polish
+NET HELP polecenie
+ - lub -
+NET polecenie /HELP
+.
+Language=Romanian
+NET HELP <comandă>
+ - sau -
+NET <comandă> /HELP
+.
+Language=Russian
+NET HELP <Команда>
+ - или -
+NET <Команда> /HELP
+.
+Language=Spanish
+NET HELP <comando>
+ - o -
+NET <comando> /HELP
+.
+Language=Turkish
+NET HELP <Komut>
+ - ya da -
+NET <Komut> /HELP
+.
+Language=Chinese
+NET HELP <Command>
+ - or -
+NET <Command> /HELP
+.
+Language=Taiwanese
+NET HELP <命令>
+ - 或 -
+NET <命令> /HELP
+.
+
+
+MessageId=10015
+SymbolicName=MSG_HELP_HELP
+Severity=Success
+Facility=System
+Language=English
+ The following commands are available:
+
+ NET ACCOUNTS NET HELP NET SHARE
+ NET COMPUTER NET HELPMSG NET START
+ NET CONFIG NET LOCALGROUP NET STATISTICS
+ NET CONFIG SERVER NET NAME NET STOP
+ NET CONFIG WORKSTATION NET PAUSE NET TIME
+ NET CONTINUE NET PRINT NET USE
+ NET FILE NET SEND NET USER
+ NET GROUP NET SESSION NET VIEW
+
+ ...
+.
+Language=Polish
+ Dostępne polecenia to:
+
+ NET ACCOUNTS NET HELP NET SHARE
+ NET COMPUTER NET HELPMSG NET START
+ NET CONFIG NET LOCALGROUP NET STATISTICS
+ NET CONFIG SERVER NET NAME NET STOP
+ NET CONFIG WORKSTATION NET PAUSE NET TIME
+ NET CONTINUE NET PRINT NET USE
+ NET FILE NET SEND NET USER
+ NET GROUP NET SESSION NET VIEW
+
+ ...
+.
+Language=Romanian
+ Sunt disponibile următoarele comenzi:
+
+ NET ACCOUNTS NET HELP NET SHARE
+ NET COMPUTER NET HELPMSG NET START
+ NET CONFIG NET LOCALGROUP NET STATISTICS
+ NET CONFIG SERVER NET NAME NET STOP
+ NET CONFIG WORKSTATION NET PAUSE NET TIME
+ NET CONTINUE NET PRINT NET USE
+ NET FILE NET SEND NET USER
+ NET GROUP NET SESSION NET VIEW
+
+ ...
+.
+Language=Russian
+ Доступны следующие команды:
+
+ NET ACCOUNTS NET HELP NET SHARE
+ NET COMPUTER NET HELPMSG NET START
+ NET CONFIG NET LOCALGROUP NET STATISTICS
+ NET CONFIG SERVER NET NAME NET STOP
+ NET CONFIG WORKSTATION NET PAUSE NET TIME
+ NET CONTINUE NET PRINT NET USE
+ NET FILE NET SEND NET USER
+ NET GROUP NET SESSION NET VIEW
+
+ ...
+.
+Language=Spanish
+ Éstos son los argumentos de línea de comandos disponibles:
+
+ NET ACCOUNTS NET HELP NET SHARE
+ NET COMPUTER NET HELPMSG NET START
+ NET CONFIG NET LOCALGROUP NET STATISTICS
+ NET CONFIG SERVER NET NAME NET STOP
+ NET CONFIG WORKSTATION NET PAUSE NET TIME
+ NET CONTINUE NET PRINT NET USE
+ NET FILE NET SEND NET USER
+ NET GROUP NET SESSION NET VIEW
+
+ ...
+.
+Language=Turkish
+ Aşağıdaki komutlar kullanılabilir:
+
+ NET ACCOUNTS NET HELP NET SHARE
+ NET COMPUTER NET HELPMSG NET START
+ NET CONFIG NET LOCALGROUP NET STATISTICS
+ NET CONFIG SERVER NET NAME NET STOP
+ NET CONFIG WORKSTATION NET PAUSE NET TIME
+ NET CONTINUE NET PRINT NET USE
+ NET FILE NET SEND NET USER
+ NET GROUP NET SESSION NET VIEW
+
+ ...
+.
+Language=Chinese
+ 以下命令可用:
+
+ NET ACCOUNTS NET HELP NET SHARE
+ NET COMPUTER NET HELPMSG NET START
+ NET CONFIG NET LOCALGROUP NET STATISTICS
+ NET CONFIG SERVER NET NAME NET STOP
+ NET CONFIG WORKSTATION NET PAUSE NET TIME
+ NET CONTINUE NET PRINT NET USE
+ NET FILE NET SEND NET USER
+ NET GROUP NET SESSION NET VIEW
+
+ ...
+.
+Language=Taiwanese
+ 以下命令是可用的:
+
+ NET ACCOUNTS NET HELP NET SHARE
+ NET COMPUTER NET HELPMSG NET START
+ NET CONFIG NET LOCALGROUP NET STATISTICS
+ NET CONFIG SERVER NET NAME NET STOP
+ NET CONFIG WORKSTATION NET PAUSE NET TIME
+ NET CONTINUE NET PRINT NET USE
+ NET FILE NET SEND NET USER
+ NET GROUP NET SESSION NET VIEW
+
+ ...
+.
+
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=34e92908217e68c57c36b…
commit 34e92908217e68c57c36befdfedd059db93f917e
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Dec 23 20:22:48 2018 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Dec 23 20:22:48 2018 +0100
[NET] Move COMPUTER, CONFIG and CONTINUE command syntax and help texts into a message table.
---
base/applications/network/net/cmdConfig.c | 19 +-
base/applications/network/net/cmdContinue.c | 7 +-
base/applications/network/net/help.c | 23 +-
base/applications/network/net/lang/en-US.rc | 41 ---
base/applications/network/net/lang/es-ES.rc | 41 ---
base/applications/network/net/lang/pl-PL.rc | 41 ---
base/applications/network/net/lang/ro-RO.rc | 41 ---
base/applications/network/net/lang/ru-RU.rc | 41 ---
base/applications/network/net/lang/tr-TR.rc | 41 ---
base/applications/network/net/lang/zh-CN.rc | 41 ---
base/applications/network/net/lang/zh-TW.rc | 41 ---
base/applications/network/net/resource.h | 15 -
sdk/include/reactos/mc/net_msg.mc | 550 +++++++++++++++++++++++++++-
13 files changed, 565 insertions(+), 377 deletions(-)
diff --git a/base/applications/network/net/cmdConfig.c b/base/applications/network/net/cmdConfig.c
index df7fce2c96..ecc434ad5c 100644
--- a/base/applications/network/net/cmdConfig.c
+++ b/base/applications/network/net/cmdConfig.c
@@ -183,12 +183,12 @@ cmdConfig(
if (bServer == TRUE)
{
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
- ConResPuts(StdOut, IDS_CONFIG_SERVER_SYNTAX);
+ PrintNetMessage(MSG_CONFIG_SERVER_SYNTAX);
}
else
{
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
- ConResPuts(StdOut, IDS_CONFIG_SYNTAX);
+ PrintNetMessage(MSG_CONFIG_SYNTAX);
}
return 0;
}
@@ -199,20 +199,15 @@ cmdConfig(
if (bServer == TRUE)
{
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
- ConResPuts(StdOut, IDS_CONFIG_SERVER_SYNTAX);
- ConResPuts(StdOut, IDS_CONFIG_SERVER_HELP_1);
- ConResPuts(StdOut, IDS_CONFIG_SERVER_HELP_2);
- ConResPuts(StdOut, IDS_CONFIG_SERVER_HELP_3);
- ConResPuts(StdOut, IDS_CONFIG_SERVER_HELP_4);
- ConResPuts(StdOut, IDS_CONFIG_SERVER_HELP_5);
+ PrintNetMessage(MSG_CONFIG_SERVER_SYNTAX);
+ PrintNetMessage(MSG_CONFIG_SERVER_HELP);
ConResPuts(StdOut, IDS_GENERIC_PAGE);
}
else
{
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
- ConResPuts(StdOut, IDS_CONFIG_SYNTAX);
- ConResPuts(StdOut, IDS_CONFIG_HELP_1);
- ConResPuts(StdOut, IDS_CONFIG_HELP_2);
+ PrintNetMessage(MSG_CONFIG_SYNTAX);
+ PrintNetMessage(MSG_CONFIG_HELP);
}
return 0;
}
@@ -271,7 +266,7 @@ cmdConfig(
else
{
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
- ConResPuts(StdOut, IDS_CONFIG_SERVER_SYNTAX);
+ PrintNetMessage(MSG_CONFIG_SERVER_SYNTAX);
result = 1;
goto done;
}
diff --git a/base/applications/network/net/cmdContinue.c b/base/applications/network/net/cmdContinue.c
index 7fa3a934dd..7d656ca1e5 100644
--- a/base/applications/network/net/cmdContinue.c
+++ b/base/applications/network/net/cmdContinue.c
@@ -20,7 +20,7 @@ INT cmdContinue(INT argc, WCHAR **argv)
if (argc != 3)
{
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
- ConResPuts(StdOut, IDS_CONTINUE_SYNTAX);
+ PrintNetMessage(MSG_CONTINUE_SYNTAX);
return 1;
}
@@ -29,9 +29,8 @@ INT cmdContinue(INT argc, WCHAR **argv)
if (_wcsicmp(argv[i], L"/help") == 0)
{
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
- ConResPuts(StdOut, IDS_CONTINUE_SYNTAX);
- ConResPuts(StdOut, IDS_CONTINUE_HELP_1);
- ConResPuts(StdOut, IDS_CONTINUE_HELP_2);
+ PrintNetMessage(MSG_CONTINUE_SYNTAX);
+ PrintNetMessage(MSG_CONTINUE_HELP);
ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 1;
}
diff --git a/base/applications/network/net/help.c b/base/applications/network/net/help.c
index 9dcbe34028..df968b5e33 100644
--- a/base/applications/network/net/help.c
+++ b/base/applications/network/net/help.c
@@ -30,9 +30,8 @@ INT cmdHelp(INT argc, WCHAR **argv)
if (_wcsicmp(argv[2], L"COMPUTER") == 0)
{
- ConResPuts(StdOut, IDS_COMPUTER_SYNTAX);
- ConResPuts(StdOut, IDS_COMPUTER_HELP_1);
- ConResPuts(StdOut, IDS_COMPUTER_HELP_2);
+ PrintNetMessage(MSG_COMPUTER_SYNTAX);
+ PrintNetMessage(MSG_COMPUTER_HELP);
return 0;
}
@@ -40,20 +39,15 @@ INT cmdHelp(INT argc, WCHAR **argv)
{
if ((argc > 3) && (_wcsicmp(argv[3], L"SERVER") == 0))
{
- ConResPuts(StdOut, IDS_CONFIG_SERVER_SYNTAX);
- ConResPuts(StdOut, IDS_CONFIG_SERVER_HELP_1);
- ConResPuts(StdOut, IDS_CONFIG_SERVER_HELP_2);
- ConResPuts(StdOut, IDS_CONFIG_SERVER_HELP_3);
- ConResPuts(StdOut, IDS_CONFIG_SERVER_HELP_4);
- ConResPuts(StdOut, IDS_CONFIG_SERVER_HELP_5);
+ PrintNetMessage(MSG_CONFIG_SERVER_SYNTAX);
+ PrintNetMessage(MSG_CONFIG_SERVER_HELP);
ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 0;
}
else
{
- ConResPuts(StdOut, IDS_CONFIG_SYNTAX);
- ConResPuts(StdOut, IDS_CONFIG_HELP_1);
- ConResPuts(StdOut, IDS_CONFIG_HELP_2);
+ PrintNetMessage(MSG_CONFIG_SYNTAX);
+ PrintNetMessage(MSG_CONFIG_HELP);
ConResPuts(StdOut, IDS_GENERIC_PAGE);
return 0;
}
@@ -61,9 +55,8 @@ INT cmdHelp(INT argc, WCHAR **argv)
if (_wcsicmp(argv[2], L"CONTINUE") == 0)
{
- ConResPuts(StdOut, IDS_CONTINUE_SYNTAX);
- ConResPuts(StdOut, IDS_CONTINUE_HELP_1);
- ConResPuts(StdOut, IDS_CONTINUE_HELP_2);
+ PrintNetMessage(MSG_CONTINUE_SYNTAX);
+ PrintNetMessage(MSG_CONTINUE_HELP);
return 0;
}
diff --git a/base/applications/network/net/lang/en-US.rc b/base/applications/network/net/lang/en-US.rc
index 5d03128159..108cc51a4f 100644
--- a/base/applications/network/net/lang/en-US.rc
+++ b/base/applications/network/net/lang/en-US.rc
@@ -2,47 +2,6 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE
BEGIN
- IDS_COMPUTER_SYNTAX "NET COMPUTER \\computername {/ADD | /DEL}\n\n"
- IDS_COMPUTER_HELP_1 "NET COMPUTER adds or deletes computers from a domain database. This\n\
-command is available only on server operating systems.\n\n"
- IDS_COMPUTER_HELP_2 "\\computername Specifies the computer to add or delete from\n\
- the domain.\n\
-/ADD Adds the specified computer to the domain.\n\
-/DEL Removes the specified computer from the domain.\n\n"
- IDS_CONFIG_SYNTAX "NET CONFIG [SERVER | WORKSTATION]\n\n"
- IDS_CONFIG_HELP_1 "NET CONFIG displays coniguration information of the Workstation or\n\
-Server service. When used without the WORKSTATION or SERVER switch,\n\
-it displays a list of configurable services. To get help with\n\
-configuring a service, type NET HELP CONFIG service.\n\n"
- IDS_CONFIG_HELP_2 "SERVER Displays information about the configuration of the\n\
- Server service.\n\
-WORKSTATION Displays information about the configuration of the\n\
- Workstation service.\n\n"
- IDS_CONFIG_SERVER_SYNTAX "NET CONFIG SERVER [/AUTODISCONNECT:time] [/SRVCOMMENT:""text""]\n\
- [/HIDDEN:{YES | NO}]\n\n"
- IDS_CONFIG_SERVER_HELP_1 "NET CONFIG SERVER displays or changes settings for the Server service.\n\n"
- IDS_CONFIG_SERVER_HELP_2 "/AUTODISCONNECT:time Sets the maximum number of minutes a user's\n\
- session can be inactive before it is disconected.\n\
- You can specify -1 to never disconnect. The range\n\
- is -1-65535 minutes; the default is 15.\n"
- IDS_CONFIG_SERVER_HELP_3 "/SRVCOMMENT:""text"" Adds a comment for the server that is displayed on\n\
- screen and with the NET VIEW command.\n\
- Enclose the text in quotation marks.\n"
- IDS_CONFIG_SERVER_HELP_4 "/HIDDEN:{YES | NO} Specifies whether the server's computer name\n\
- appears on displays listings of servers. Note that\n\
- hiding a serverdoes not alter the permissions\n\
- on that server. The default is NO.\n\n"
- IDS_CONFIG_SERVER_HELP_5 "To display the current configuration for the Server service,\n\
-type NET CONFIG SERVER without parameters.\n\n"
- IDS_CONTINUE_SYNTAX "NET CONTINUE service\n\n"
- IDS_CONTINUE_HELP_1 "NET CONTINUE reactivates a service that has been suspended by NET PAUSE.\n\n"
- IDS_CONTINUE_HELP_2 "service Is the paused service\n\
- For example, one of the following:\n\
- NET LOGON\n\
- NT LM SECURITY SUPPORT PROVIDER\n\
- SCHEDULE\n\
- SERVER\n\
- WORKSTATION\n\n"
IDS_FILE_SYNTAX "NET FILE [id [/CLOSE]]\n\n"
IDS_FILE_HELP "FILE\n...\n\n"
IDS_GROUP_SYNTAX "NET GROUP [groupname [/COMMENT:""text""]] [/DOMAIN]\n\
diff --git a/base/applications/network/net/lang/es-ES.rc b/base/applications/network/net/lang/es-ES.rc
index 603513b9d9..09b6793e41 100644
--- a/base/applications/network/net/lang/es-ES.rc
+++ b/base/applications/network/net/lang/es-ES.rc
@@ -5,47 +5,6 @@ LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
- IDS_COMPUTER_SYNTAX "NET COMPUTER \\computername {/ADD | /DEL}\n\n"
- IDS_COMPUTER_HELP_1 "NET COMPUTER adds or deletes computers from a domain database. This\n\
-command is available only on server operating systems.\n\n"
- IDS_COMPUTER_HELP_2 "\\computername Specifies the computer to add or delete from\n\
- the domain.\n\
-/ADD Adds the specified computer to the domain.\n\
-/DEL Removes the specified computer from the domain.\n\n"
- IDS_CONFIG_SYNTAX "NET CONFIG [SERVER | WORKSTATION]\n\n"
- IDS_CONFIG_HELP_1 "NET CONFIG displays coniguration information of the Workstation or\n\
-Server service. When used without the WORKSTATION or SERVER switch,\n\
-it displays a list of configurable services. To get help with\n\
-configuring a service, type NET HELP CONFIG service.\n\n"
- IDS_CONFIG_HELP_2 "SERVER Displays information about the configuration of the\n\
- Server service.\n\
-WORKSTATION Displays information about the configuration of the\n\
- Workstation service.\n\n"
- IDS_CONFIG_SERVER_SYNTAX "NET CONFIG SERVER [/AUTODISCONNECT:time] [/SRVCOMMENT:""text""]\n\
- [/HIDDEN:{YES | NO}]\n\n"
- IDS_CONFIG_SERVER_HELP_1 "NET CONFIG SERVER displays or changes settings for the Server service.\n\n"
- IDS_CONFIG_SERVER_HELP_2 "/AUTODISCONNECT:time Sets the maximum number of minutes a user's\n\
- session can be inactive before it is disconected.\n\
- You can specify -1 to never disconnect. The range\n\
- is -1-65535 minutes; the default is 15.\n"
- IDS_CONFIG_SERVER_HELP_3 "/SRVCOMMENT:""text"" Adds a comment for the server that is displayed on\n\
- screen and with the NET VIEW command.\n\
- Enclose the text in quotation marks.\n"
- IDS_CONFIG_SERVER_HELP_4 "/HIDDEN:{YES | NO} Specifies whether the server's computer name\n\
- appears on displays listings of servers. Note that\n\
- hiding a serverdoes not alter the permissions\n\
- on that server. The default is NO.\n\n"
- IDS_CONFIG_SERVER_HELP_5 "To display the current configuration for the Servr service,\n\
-type NET CONFIG SERVER without parameters.\n\n"
- IDS_CONTINUE_SYNTAX "NET CONTINUE <nombre del servicio>\n\n"
- IDS_CONTINUE_HELP_1 "NET CONTINUE reactivates a service that has been suspended by NET PAUSE.\n\n"
- IDS_CONTINUE_HELP_2 "service Is the paused service\n\
- For example, one of the following:\n\
- NET LOGON\n\
- NT LM SECURITY SUPPORT PROVIDER\n\
- SCHEDULE\n\
- SERVER\n\
- WORKSTATION\n\n"
IDS_FILE_SYNTAX "NET FILE [id [/CLOSE]]\n\n"
IDS_FILE_HELP "NET FILE\n...\n\n"
IDS_GROUP_SYNTAX "NET GROUP [groupname [/COMMENT:""text""]] [/DOMAIN]\n\
diff --git a/base/applications/network/net/lang/pl-PL.rc b/base/applications/network/net/lang/pl-PL.rc
index a718d45363..111f82007d 100644
--- a/base/applications/network/net/lang/pl-PL.rc
+++ b/base/applications/network/net/lang/pl-PL.rc
@@ -1,47 +1,6 @@
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
- IDS_COMPUTER_SYNTAX "NET COMPUTER \\nazwa_komputera {/ADD | /DEL}\n\n"
- IDS_COMPUTER_HELP_1 "NET COMPUTER dodaje lub usuwa komputer z bazy danych domeny.\n\
-To polecenie jest dostępne tylko na serwerowych systemach opoeracyjnych.\n\n"
- IDS_COMPUTER_HELP_2 "\\nazwa_komputera Określa komputer dodawany lub usuwany\n\
- z domeny.\n\
-/ADD Dodaje określony komputer do domeny.\n\
-/DEL Usuwa określony komputer z domeny.\n\n"
- IDS_CONFIG_SYNTAX "NET CONFIG [SERVER | WORKSTATION]\n\n"
- IDS_CONFIG_HELP_1 "NET CONFIG wyświetla informacje o konfiguracji usług Stacja robocza lub\n\
-Serwer. Polecenie użyte bez przełącznika SERVER lub WORKSTATION wyświetla,\n\
-listę usług dostępnych do konfiguracji. Aby uzyskać pomoc na temat\n\
-konfigurowania usługi, wpisz polecenie NET HELP CONFIG usługa.\n\n"
- IDS_CONFIG_HELP_2 "SERVER Wyświetla informacje o konfiguracji usługi Serwer\n\
-WORKSTATION Wyświetla informacje o konfiguracji usługi Stacja robocza.\n\n"
- IDS_CONFIG_SERVER_SYNTAX "NET CONFIG SERVER [/AUTODISCONNECT:czas] [/SRVCOMMENT:""tekst""]\n\
- [/HIDDEN:{YES | NO}]\n\n"
- IDS_CONFIG_SERVER_HELP_1 "NET CONFIG SERVER wyświetla lub zmienia ustawienia usługi Serwer.\n\n"
- IDS_CONFIG_SERVER_HELP_2 "/AUTODISCONNECT:czas Ustawia maksymalną liczbę minut, przez\n\
- które sesja użytkownika może być nieaktywna, zanim\n\
- nastąpi jej rozłączenie. Użyj wartości -1, aby\n\
- zapobiec rozłączaniu. Zakres wynosi od -1 do 65535\n\
- minut, domyślnie 15.\n"
- IDS_CONFIG_SERVER_HELP_3 "/SRVCOMMENT:""tekst"" Dodaje komentarz dla serwera wyświetlany na\n\
- ekranie komputera i przez polecenie NET VIEW.\n\
- Tekst musi być ujęty w cudzysłów.\n"
- IDS_CONFIG_SERVER_HELP_4 "/HIDDEN:{YES | NO} Określa, czy nazwa serwera pojawia się\n\
- podczas wyświetlania listy serwerów. Należy pamiętać,\n\
- że ukrycie serwera nie zmienia uprawnień na tym\n\
- serwerze. Wartość domyślna: NO (nie ukrywaj).\n\n"
- IDS_CONFIG_SERVER_HELP_5 "Aby wyświetlić bieżącą konfigurację usługi Serwer,\n\
-wpisz NET CONFIG SERVER bez parametrów.\n\n"
- IDS_CONTINUE_SYNTAX "NET CONTINUE usługa\n\n"
- IDS_CONTINUE_HELP_1 "NET CONTINUE wznawia działanie usługi, która została.\n\
-wstrzymana poleceniem NET PAUSE.\n"
- IDS_CONTINUE_HELP_2 "usługa Wstrzymana usługa\n\
- Może to być jedna z następujących usług:\n\
- NET LOGON\n\
- NT LM SECURITY SUPPORT PROVIDER\n\
- SCHEDULE\n\
- SERVER\n\
- WORKSTATION\n\n"
IDS_FILE_SYNTAX "NET FILE [identyfikator [/CLOSE]]\n\n"
IDS_FILE_HELP "FILE\n...\n\n"
IDS_GROUP_SYNTAX "NET GROUP [nazwa_grupy [/COMMENT:""tekst""]] [/DOMAIN]\n\
diff --git a/base/applications/network/net/lang/ro-RO.rc b/base/applications/network/net/lang/ro-RO.rc
index b5e4f0e38a..e7608f2415 100644
--- a/base/applications/network/net/lang/ro-RO.rc
+++ b/base/applications/network/net/lang/ro-RO.rc
@@ -8,47 +8,6 @@ LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
STRINGTABLE
BEGIN
- IDS_COMPUTER_SYNTAX "NET COMPUTER \\computername {/ADD | /DEL}\n\n"
- IDS_COMPUTER_HELP_1 "NET COMPUTER adds or deletes computers from a domain database. This\n\
-command is available only on server operating systems.\n\n"
- IDS_COMPUTER_HELP_2 "\\computername Specifies the computer to add or delete from\n\
- the domain.\n\
-/ADD Adds the specified computer to the domain.\n\
-/DEL Removes the specified computer from the domain.\n\n"
- IDS_CONFIG_SYNTAX "NET CONFIG [SERVER | WORKSTATION]\n\n"
- IDS_CONFIG_HELP_1 "NET CONFIG displays coniguration information of the Workstation or\n\
-Server service. When used without the WORKSTATION or SERVER switch,\n\
-it displays a list of configurable services. To get help with\n\
-configuring a service, type NET HELP CONFIG service.\n\n"
- IDS_CONFIG_HELP_2 "SERVER Displays information about the configuration of the\n\
- Server service.\n\
-WORKSTATION Displays information about the configuration of the\n\
- Workstation service.\n\n"
- IDS_CONFIG_SERVER_SYNTAX "NET CONFIG SERVER [/AUTODISCONNECT:time] [/SRVCOMMENT:""text""]\n\
- [/HIDDEN:{YES | NO}]\n\n"
- IDS_CONFIG_SERVER_HELP_1 "NET CONFIG SERVER displays or changes settings for the Server service.\n\n"
- IDS_CONFIG_SERVER_HELP_2 "/AUTODISCONNECT:time Sets the maximum number of minutes a user's\n\
- session can be inactive before it is disconected.\n\
- You can specify -1 to never disconnect. The range\n\
- is -1-65535 minutes; the default is 15.\n"
- IDS_CONFIG_SERVER_HELP_3 "/SRVCOMMENT:""text"" Adds a comment for the server that is displayed on\n\
- screen and with the NET VIEW command.\n\
- Enclose the text in quotation marks.\n"
- IDS_CONFIG_SERVER_HELP_4 "/HIDDEN:{YES | NO} Specifies whether the server's computer name\n\
- appears on displays listings of servers. Note that\n\
- hiding a serverdoes not alter the permissions\n\
- on that server. The default is NO.\n\n"
- IDS_CONFIG_SERVER_HELP_5 "To display the current configuration for the Servr service,\n\
-type NET CONFIG SERVER without parameters.\n\n"
- IDS_CONTINUE_SYNTAX "NET CONTINUE <nume serviciu>\n\n"
- IDS_CONTINUE_HELP_1 "NET CONTINUE reactivates a service that has been suspended by NET PAUSE.\n\n"
- IDS_CONTINUE_HELP_2 "service Is the paused service\n\
- For example, one of the following:\n\
- NET LOGON\n\
- NT LM SECURITY SUPPORT PROVIDER\n\
- SCHEDULE\n\
- SERVER\n\
- WORKSTATION\n\n"
IDS_FILE_SYNTAX "NET FILE [id [/CLOSE]]\n\n"
IDS_FILE_HELP "NET FILE\n...\n\n"
IDS_GROUP_SYNTAX "NET GROUP [groupname [/COMMENT:""text""]] [/DOMAIN]\n\
diff --git a/base/applications/network/net/lang/ru-RU.rc b/base/applications/network/net/lang/ru-RU.rc
index 8c918e1533..73139b3e19 100644
--- a/base/applications/network/net/lang/ru-RU.rc
+++ b/base/applications/network/net/lang/ru-RU.rc
@@ -4,47 +4,6 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
- IDS_COMPUTER_SYNTAX "NET COMPUTER \\computername {/ADD | /DEL}\n\n"
- IDS_COMPUTER_HELP_1 "NET COMPUTER adds or deletes computers from a domain database. This\n\
-command is available only on server operating systems.\n\n"
- IDS_COMPUTER_HELP_2 "\\computername Specifies the computer to add or delete from\n\
- the domain.\n\
-/ADD Adds the specified computer to the domain.\n\
-/DEL Removes the specified computer from the domain.\n\n"
- IDS_CONFIG_SYNTAX "NET CONFIG [SERVER | WORKSTATION]\n\n"
- IDS_CONFIG_HELP_1 "NET CONFIG displays coniguration information of the Workstation or\n\
-Server service. When used without the WORKSTATION or SERVER switch,\n\
-it displays a list of configurable services. To get help with\n\
-configuring a service, type NET HELP CONFIG service.\n\n"
- IDS_CONFIG_HELP_2 "SERVER Displays information about the configuration of the\n\
- Server service.\n\
-WORKSTATION Displays information about the configuration of the\n\
- Workstation service.\n\n"
- IDS_CONFIG_SERVER_SYNTAX "NET CONFIG SERVER [/AUTODISCONNECT:time] [/SRVCOMMENT:""text""]\n\
- [/HIDDEN:{YES | NO}]\n\n"
- IDS_CONFIG_SERVER_HELP_1 "NET CONFIG SERVER displays or changes settings for the Server service.\n\n"
- IDS_CONFIG_SERVER_HELP_2 "/AUTODISCONNECT:time Sets the maximum number of minutes a user's\n\
- session can be inactive before it is disconected.\n\
- You can specify -1 to never disconnect. The range\n\
- is -1-65535 minutes; the default is 15.\n"
- IDS_CONFIG_SERVER_HELP_3 "/SRVCOMMENT:""text"" Adds a comment for the server that is displayed on\n\
- screen and with the NET VIEW command.\n\
- Enclose the text in quotation marks.\n"
- IDS_CONFIG_SERVER_HELP_4 "/HIDDEN:{YES | NO} Specifies whether the server's computer name\n\
- appears on displays listings of servers. Note that\n\
- hiding a serverdoes not alter the permissions\n\
- on that server. The default is NO.\n\n"
- IDS_CONFIG_SERVER_HELP_5 "To display the current configuration for the Servr service,\n\
-type NET CONFIG SERVER without parameters.\n\n"
- IDS_CONTINUE_SYNTAX "NET CONTINUE <имя_службы>\n\n"
- IDS_CONTINUE_HELP_1 "NET CONTINUE reactivates a service that has been suspended by NET PAUSE.\n\n"
- IDS_CONTINUE_HELP_2 "service Is the paused service\n\
- For example, one of the following:\n\
- NET LOGON\n\
- NT LM SECURITY SUPPORT PROVIDER\n\
- SCHEDULE\n\
- SERVER\n\
- WORKSTATION\n\n"
IDS_FILE_SYNTAX "NET FILE [id [/CLOSE]]\n\n"
IDS_FILE_HELP "NET FILE\n...\n\n"
IDS_GROUP_SYNTAX "NET GROUP [groupname [/COMMENT:""text""]] [/DOMAIN]\n\
diff --git a/base/applications/network/net/lang/tr-TR.rc b/base/applications/network/net/lang/tr-TR.rc
index 33af6ce5d8..eb6857cadc 100644
--- a/base/applications/network/net/lang/tr-TR.rc
+++ b/base/applications/network/net/lang/tr-TR.rc
@@ -4,47 +4,6 @@ LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
- IDS_COMPUTER_SYNTAX "NET COMPUTER \\computername {/ADD | /DEL}\n\n"
- IDS_COMPUTER_HELP_1 "NET COMPUTER adds or deletes computers from a domain database. This\n\
-command is available only on server operating systems.\n\n"
- IDS_COMPUTER_HELP_2 "\\computername Specifies the computer to add or delete from\n\
- the domain.\n\
-/ADD Adds the specified computer to the domain.\n\
-/DEL Removes the specified computer from the domain.\n\n"
- IDS_CONFIG_SYNTAX "NET CONFIG [SERVER | WORKSTATION]\n\n"
- IDS_CONFIG_HELP_1 "NET CONFIG displays coniguration information of the Workstation or\n\
-Server service. When used without the WORKSTATION or SERVER switch,\n\
-it displays a list of configurable services. To get help with\n\
-configuring a service, type NET HELP CONFIG service.\n\n"
- IDS_CONFIG_HELP_2 "SERVER Displays information about the configuration of the\n\
- Server service.\n\
-WORKSTATION Displays information about the configuration of the\n\
- Workstation service.\n\n"
- IDS_CONFIG_SERVER_SYNTAX "NET CONFIG SERVER [/AUTODISCONNECT:time] [/SRVCOMMENT:""text""]\n\
- [/HIDDEN:{YES | NO}]\n\n"
- IDS_CONFIG_SERVER_HELP_1 "NET CONFIG SERVER displays or changes settings for the Server service.\n\n"
- IDS_CONFIG_SERVER_HELP_2 "/AUTODISCONNECT:time Sets the maximum number of minutes a user's\n\
- session can be inactive before it is disconected.\n\
- You can specify -1 to never disconnect. The range\n\
- is -1-65535 minutes; the default is 15.\n"
- IDS_CONFIG_SERVER_HELP_3 "/SRVCOMMENT:""text"" Adds a comment for the server that is displayed on\n\
- screen and with the NET VIEW command.\n\
- Enclose the text in quotation marks.\n"
- IDS_CONFIG_SERVER_HELP_4 "/HIDDEN:{YES | NO} Specifies whether the server's computer name\n\
- appears on displays listings of servers. Note that\n\
- hiding a serverdoes not alter the permissions\n\
- on that server. The default is NO.\n\n"
- IDS_CONFIG_SERVER_HELP_5 "To display the current configuration for the Servr service,\n\
-type NET CONFIG SERVER without parameters.\n\n"
- IDS_CONTINUE_SYNTAX "NET CONTINUE <Hizmet Adı>\n\n"
- IDS_CONTINUE_HELP_1 "NET CONTINUE reactivates a service that has been suspended by NET PAUSE.\n\n"
- IDS_CONTINUE_HELP_2 "service Is the paused service\n\
- For example, one of the following:\n\
- NET LOGON\n\
- NT LM SECURITY SUPPORT PROVIDER\n\
- SCHEDULE\n\
- SERVER\n\
- WORKSTATION\n\n"
IDS_FILE_SYNTAX "NET FILE [id [/CLOSE]]\n\n"
IDS_FILE_HELP "NET FILE\n...\n\n"
IDS_GROUP_SYNTAX "NET GROUP [groupname [/COMMENT:""text""]] [/DOMAIN]\n\
diff --git a/base/applications/network/net/lang/zh-CN.rc b/base/applications/network/net/lang/zh-CN.rc
index 91c346030e..72a4210ce3 100644
--- a/base/applications/network/net/lang/zh-CN.rc
+++ b/base/applications/network/net/lang/zh-CN.rc
@@ -4,47 +4,6 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
STRINGTABLE
BEGIN
- IDS_COMPUTER_SYNTAX "NET COMPUTER \\computername {/ADD | /DEL}\n\n"
- IDS_COMPUTER_HELP_1 "NET COMPUTER adds or deletes computers from a domain database. This\n\
-command is available only on server operating systems.\n\n"
- IDS_COMPUTER_HELP_2 "\\computername Specifies the computer to add or delete from\n\
- the domain.\n\
-/ADD Adds the specified computer to the domain.\n\
-/DEL Removes the specified computer from the domain.\n\n"
- IDS_CONFIG_SYNTAX "NET CONFIG [SERVER | WORKSTATION]\n\n"
- IDS_CONFIG_HELP_1 "NET CONFIG displays coniguration information of the Workstation or\n\
-Server service. When used without the WORKSTATION or SERVER switch,\n\
-it displays a list of configurable services. To get help with\n\
-configuring a service, type NET HELP CONFIG service.\n\n"
- IDS_CONFIG_HELP_2 "SERVER Displays information about the configuration of the\n\
- Server service.\n\
-WORKSTATION Displays information about the configuration of the\n\
- Workstation service.\n\n"
- IDS_CONFIG_SERVER_SYNTAX "NET CONFIG SERVER [/AUTODISCONNECT:time] [/SRVCOMMENT:""text""]\n\
- [/HIDDEN:{YES | NO}]\n\n"
- IDS_CONFIG_SERVER_HELP_1 "NET CONFIG SERVER displays or changes settings for the Server service.\n\n"
- IDS_CONFIG_SERVER_HELP_2 "/AUTODISCONNECT:time Sets the maximum number of minutes a user's\n\
- session can be inactive before it is disconected.\n\
- You can specify -1 to never disconnect. The range\n\
- is -1-65535 minutes; the default is 15.\n"
- IDS_CONFIG_SERVER_HELP_3 "/SRVCOMMENT:""text"" Adds a comment for the server that is displayed on\n\
- screen and with the NET VIEW command.\n\
- Enclose the text in quotation marks.\n"
- IDS_CONFIG_SERVER_HELP_4 "/HIDDEN:{YES | NO} Specifies whether the server's computer name\n\
- appears on displays listings of servers. Note that\n\
- hiding a serverdoes not alter the permissions\n\
- on that server. The default is NO.\n\n"
- IDS_CONFIG_SERVER_HELP_5 "To display the current configuration for the Servr service,\n\
-type NET CONFIG SERVER without parameters.\n\n"
- IDS_CONTINUE_SYNTAX "NET CONTINUE <Service Name>\n\n"
- IDS_CONTINUE_HELP_1 "NET CONTINUE reactivates a service that has been suspended by NET PAUSE.\n\n"
- IDS_CONTINUE_HELP_2 "service Is the paused service\n\
- For example, one of the following:\n\
- NET LOGON\n\
- NT LM SECURITY SUPPORT PROVIDER\n\
- SCHEDULE\n\
- SERVER\n\
- WORKSTATION\n\n"
IDS_FILE_SYNTAX "NET FILE [id [/CLOSE]]\n\n"
IDS_FILE_HELP "NET FILE\n...\n\n"
IDS_GROUP_SYNTAX "NET GROUP [groupname [/COMMENT:""text""]] [/DOMAIN]\n\
diff --git a/base/applications/network/net/lang/zh-TW.rc b/base/applications/network/net/lang/zh-TW.rc
index 45d5fe804d..8c63ff3154 100644
--- a/base/applications/network/net/lang/zh-TW.rc
+++ b/base/applications/network/net/lang/zh-TW.rc
@@ -4,47 +4,6 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
STRINGTABLE
BEGIN
- IDS_COMPUTER_SYNTAX "NET COMPUTER \\computername {/ADD | /DEL}\n\n"
- IDS_COMPUTER_HELP_1 "NET COMPUTER adds or deletes computers from a domain database. This\n\
-command is available only on server operating systems.\n\n"
- IDS_COMPUTER_HELP_2 "\\computername Specifies the computer to add or delete from\n\
- the domain.\n\
-/ADD Adds the specified computer to the domain.\n\
-/DEL Removes the specified computer from the domain.\n\n"
- IDS_CONFIG_SYNTAX "NET CONFIG [SERVER | WORKSTATION]\n\n"
- IDS_CONFIG_HELP_1 "NET CONFIG displays coniguration information of the Workstation or\n\
-Server service. When used without the WORKSTATION or SERVER switch,\n\
-it displays a list of configurable services. To get help with\n\
-configuring a service, type NET HELP CONFIG service.\n\n"
- IDS_CONFIG_HELP_2 "SERVER Displays information about the configuration of the\n\
- Server service.\n\
-WORKSTATION Displays information about the configuration of the\n\
- Workstation service.\n\n"
- IDS_CONFIG_SERVER_SYNTAX "NET CONFIG SERVER [/AUTODISCONNECT:time] [/SRVCOMMENT:""text""]\n\
- [/HIDDEN:{YES | NO}]\n\n"
- IDS_CONFIG_SERVER_HELP_1 "NET CONFIG SERVER displays or changes settings for the Server service.\n\n"
- IDS_CONFIG_SERVER_HELP_2 "/AUTODISCONNECT:time Sets the maximum number of minutes a user's\n\
- session can be inactive before it is disconected.\n\
- You can specify -1 to never disconnect. The range\n\
- is -1-65535 minutes; the default is 15.\n"
- IDS_CONFIG_SERVER_HELP_3 "/SRVCOMMENT:""text"" Adds a comment for the server that is displayed on\n\
- screen and with the NET VIEW command.\n\
- Enclose the text in quotation marks.\n"
- IDS_CONFIG_SERVER_HELP_4 "/HIDDEN:{YES | NO} Specifies whether the server's computer name\n\
- appears on displays listings of servers. Note that\n\
- hiding a serverdoes not alter the permissions\n\
- on that server. The default is NO.\n\n"
- IDS_CONFIG_SERVER_HELP_5 "To display the current configuration for the Servr service,\n\
-type NET CONFIG SERVER without parameters.\n\n"
- IDS_CONTINUE_SYNTAX "NET CONTINUE <服務名稱>\n\n"
- IDS_CONTINUE_HELP_1 "NET CONTINUE reactivates a service that has been suspended by NET PAUSE.\n\n"
- IDS_CONTINUE_HELP_2 "service Is the paused service\n\
- For example, one of the following:\n\
- NET LOGON\n\
- NT LM SECURITY SUPPORT PROVIDER\n\
- SCHEDULE\n\
- SERVER\n\
- WORKSTATION\n\n"
IDS_FILE_SYNTAX "NET FILE [id [/CLOSE]]\n\n"
IDS_FILE_HELP "NET FILE\n...\n\n"
IDS_GROUP_SYNTAX "NET GROUP [groupname [/COMMENT:""text""]] [/DOMAIN]\n\
diff --git a/base/applications/network/net/resource.h b/base/applications/network/net/resource.h
index 71bbd8e2db..b448713391 100644
--- a/base/applications/network/net/resource.h
+++ b/base/applications/network/net/resource.h
@@ -1,20 +1,5 @@
#pragma once
-#define IDS_COMPUTER_SYNTAX 111
-#define IDS_COMPUTER_HELP_1 112
-#define IDS_COMPUTER_HELP_2 113
-#define IDS_CONFIG_SYNTAX 114
-#define IDS_CONFIG_HELP_1 115
-#define IDS_CONFIG_HELP_2 116
-#define IDS_CONFIG_SERVER_SYNTAX 117
-#define IDS_CONFIG_SERVER_HELP_1 118
-#define IDS_CONFIG_SERVER_HELP_2 119
-#define IDS_CONFIG_SERVER_HELP_3 120
-#define IDS_CONFIG_SERVER_HELP_4 121
-#define IDS_CONFIG_SERVER_HELP_5 122
-#define IDS_CONTINUE_SYNTAX 123
-#define IDS_CONTINUE_HELP_1 124
-#define IDS_CONTINUE_HELP_2 125
#define IDS_FILE_SYNTAX 126
#define IDS_FILE_HELP 127
#define IDS_GROUP_SYNTAX 128
diff --git a/sdk/include/reactos/mc/net_msg.mc b/sdk/include/reactos/mc/net_msg.mc
index b44a928dc1..e84c3ea5c8 100644
--- a/sdk/include/reactos/mc/net_msg.mc
+++ b/sdk/include/reactos/mc/net_msg.mc
@@ -209,7 +209,7 @@ NET ACCOUNTS to take effect.
accounts havebeen set up (user User Manager or the NET USER command).
- The Net Logon service must be running on all servers in the domain
- that verify logon. Net Logon is started autmatically when the
+ that verify logon. Net Logon is started automatically when the
operating system starts.
/FORECELOGOFF:{minutes | NO} Sets the number of minutes a user has before
@@ -332,7 +332,7 @@ NET ACCOUNTS to take effect.
accounts havebeen set up (user User Manager or the NET USER command).
- The Net Logon service must be running on all servers in the domain
- that verify logon. Net Logon is started autmatically when the
+ that verify logon. Net Logon is started automatically when the
operating system starts.
/FORECELOGOFF:{minutes | NO} Sets the number of minutes a user has before
@@ -373,7 +373,7 @@ NET ACCOUNTS to take effect.
accounts havebeen set up (user User Manager or the NET USER command).
- The Net Logon service must be running on all servers in the domain
- that verify logon. Net Logon is started autmatically when the
+ that verify logon. Net Logon is started automatically when the
operating system starts.
/FORECELOGOFF:{minutes | NO} Sets the number of minutes a user has before
@@ -401,3 +401,547 @@ NET ACCOUNTS to take effect.
the operation is performed on the local
computer.
.
+
+
+MessageId=10002
+SymbolicName=MSG_COMPUTER_SYNTAX
+Severity=Success
+Facility=System
+Language=English
+NET COMPUTER \\computername {/ADD | /DEL}
+.
+Language=Polish
+NET COMPUTER \\nazwa_komputera {/ADD | /DEL}
+.
+Language=Romanian
+NET COMPUTER \\computername {/ADD | /DEL}
+.
+Language=Russian
+NET COMPUTER \\computername {/ADD | /DEL}
+.
+Language=Spanish
+NET COMPUTER \\computername {/ADD | /DEL}
+.
+Language=Turkish
+NET COMPUTER \\computername {/ADD | /DEL}
+.
+Language=Chinese
+NET COMPUTER \\computername {/ADD | /DEL}
+.
+Language=Taiwanese
+NET COMPUTER \\computername {/ADD | /DEL}
+.
+
+
+MessageId=10003
+SymbolicName=MSG_COMPUTER_HELP
+Severity=Success
+Facility=System
+Language=English
+NET COMPUTER adds or deletes computers from a domain database. This
+command is available only on server operating systems.
+
+\\computername Specifies the computer to add or delete from
+ the domain.
+/ADD Adds the specified computer to the domain.
+/DEL Removes the specified computer from the domain.
+.
+Language=Polish
+NET COMPUTER dodaje lub usuwa komputer z bazy danych domeny.
+To polecenie jest dostępne tylko na serwerowych systemach opoeracyjnych.
+
+\\nazwa_komputera Określa komputer dodawany lub usuwany
+ z domeny.
+/ADD Dodaje określony komputer do domeny.
+/DEL Usuwa określony komputer z domeny.
+.
+Language=Romanian
+NET COMPUTER adds or deletes computers from a domain database. This
+command is available only on server operating systems.
+
+\\computername Specifies the computer to add or delete from
+ the domain.
+/ADD Adds the specified computer to the domain.
+/DEL Removes the specified computer from the domain.
+.
+Language=Russian
+NET COMPUTER adds or deletes computers from a domain database. This
+command is available only on server operating systems.
+
+\\computername Specifies the computer to add or delete from
+ the domain.
+/ADD Adds the specified computer to the domain.
+/DEL Removes the specified computer from the domain.
+.
+Language=Spanish
+NET COMPUTER adds or deletes computers from a domain database. This
+command is available only on server operating systems.
+
+\\computername Specifies the computer to add or delete from
+ the domain.
+/ADD Adds the specified computer to the domain.
+/DEL Removes the specified computer from the domain.
+.
+Language=Turkish
+NET COMPUTER adds or deletes computers from a domain database. This
+command is available only on server operating systems.
+
+\\computername Specifies the computer to add or delete from
+ the domain.
+/ADD Adds the specified computer to the domain.
+/DEL Removes the specified computer from the domain.
+.
+Language=Chinese
+NET COMPUTER adds or deletes computers from a domain database. This
+command is available only on server operating systems.
+
+\\computername Specifies the computer to add or delete from
+ the domain.
+/ADD Adds the specified computer to the domain.
+/DEL Removes the specified computer from the domain.
+.
+Language=Taiwanese
+NET COMPUTER adds or deletes computers from a domain database. This
+command is available only on server operating systems.
+
+\\computername Specifies the computer to add or delete from
+ the domain.
+/ADD Adds the specified computer to the domain.
+/DEL Removes the specified computer from the domain.
+.
+
+
+MessageId=10004
+SymbolicName=MSG_CONFIG_SYNTAX
+Severity=Success
+Facility=System
+Language=English
+NET CONFIG [SERVER | WORKSTATION]
+.
+Language=Polish
+NET CONFIG [SERVER | WORKSTATION]
+.
+Language=Romanian
+NET CONFIG [SERVER | WORKSTATION]
+.
+Language=Russian
+NET CONFIG [SERVER | WORKSTATION]
+.
+Language=Spanish
+NET CONFIG [SERVER | WORKSTATION]
+.
+Language=Turkish
+NET CONFIG [SERVER | WORKSTATION]
+.
+Language=Chinese
+NET CONFIG [SERVER | WORKSTATION]
+.
+Language=Taiwanese
+NET CONFIG [SERVER | WORKSTATION]
+.
+
+
+MessageId=10005
+SymbolicName=MSG_CONFIG_HELP
+Severity=Success
+Facility=System
+Language=English
+NET CONFIG displays coniguration information of the Workstation or
+Server service. When used without the WORKSTATION or SERVER switch,
+it displays a list of configurable services. To get help with
+configuring a service, type NET HELP CONFIG service.
+
+SERVER Displays information about the configuration of the
+ Server service.
+WORKSTATION Displays information about the configuration of the
+ Workstation service.
+.
+Language=Polish
+NET CONFIG wyświetla informacje o konfiguracji usług Stacja robocza lub
+Serwer. Polecenie użyte bez przełącznika SERVER lub WORKSTATION wyświetla,
+listę usług dostępnych do konfiguracji. Aby uzyskać pomoc na temat
+konfigurowania usługi, wpisz polecenie NET HELP CONFIG usługa.
+
+SERVER Wyświetla informacje o konfiguracji usługi Serwer
+WORKSTATION Wyświetla informacje o konfiguracji usługi Stacja robocza.
+.
+Language=Romanian
+NET CONFIG displays coniguration information of the Workstation or
+Server service. When used without the WORKSTATION or SERVER switch,
+it displays a list of configurable services. To get help with
+configuring a service, type NET HELP CONFIG service.
+
+SERVER Displays information about the configuration of the
+ Server service.
+WORKSTATION Displays information about the configuration of the
+ Workstation service.
+.
+Language=Russian
+NET CONFIG displays coniguration information of the Workstation or
+Server service. When used without the WORKSTATION or SERVER switch,
+it displays a list of configurable services. To get help with
+configuring a service, type NET HELP CONFIG service.
+
+SERVER Displays information about the configuration of the
+ Server service.
+WORKSTATION Displays information about the configuration of the
+ Workstation service.
+.
+Language=Spanish
+NET CONFIG displays coniguration information of the Workstation or
+Server service. When used without the WORKSTATION or SERVER switch,
+it displays a list of configurable services. To get help with
+configuring a service, type NET HELP CONFIG service.
+
+SERVER Displays information about the configuration of the
+ Server service.
+WORKSTATION Displays information about the configuration of the
+ Workstation service.
+.
+Language=Turkish
+NET CONFIG displays coniguration information of the Workstation or
+Server service. When used without the WORKSTATION or SERVER switch,
+it displays a list of configurable services. To get help with
+configuring a service, type NET HELP CONFIG service.
+
+SERVER Displays information about the configuration of the
+ Server service.
+WORKSTATION Displays information about the configuration of the
+ Workstation service.
+.
+Language=Chinese
+NET CONFIG displays coniguration information of the Workstation or
+Server service. When used without the WORKSTATION or SERVER switch,
+it displays a list of configurable services. To get help with
+configuring a service, type NET HELP CONFIG service.
+
+SERVER Displays information about the configuration of the
+ Server service.
+WORKSTATION Displays information about the configuration of the
+ Workstation service.
+.
+Language=Taiwanese
+NET CONFIG displays coniguration information of the Workstation or
+Server service. When used without the WORKSTATION or SERVER switch,
+it displays a list of configurable services. To get help with
+configuring a service, type NET HELP CONFIG service.
+
+SERVER Displays information about the configuration of the
+ Server service.
+WORKSTATION Displays information about the configuration of the
+ Workstation service.
+.
+
+
+MessageId=10006
+SymbolicName=MSG_CONFIG_SERVER_SYNTAX
+Severity=Success
+Facility=System
+Language=English
+NET CONFIG SERVER [/AUTODISCONNECT:time] [/SRVCOMMENT:"text"]
+ [/HIDDEN:{YES | NO}]
+.
+Language=Polish
+NET CONFIG SERVER [/AUTODISCONNECT:czas] [/SRVCOMMENT:"tekst"]
+ [/HIDDEN:{YES | NO}]
+.
+Language=Romanian
+NET CONFIG SERVER [/AUTODISCONNECT:time] [/SRVCOMMENT:"text"]
+ [/HIDDEN:{YES | NO}]
+.
+Language=Russian
+NET CONFIG SERVER [/AUTODISCONNECT:time] [/SRVCOMMENT:"text"]
+ [/HIDDEN:{YES | NO}]
+.
+Language=Spanish
+NET CONFIG SERVER [/AUTODISCONNECT:time] [/SRVCOMMENT:"text"]
+ [/HIDDEN:{YES | NO}]
+.
+Language=Turkish
+NET CONFIG SERVER [/AUTODISCONNECT:time] [/SRVCOMMENT:"text"]
+ [/HIDDEN:{YES | NO}]
+.
+Language=Chinese
+NET CONFIG SERVER [/AUTODISCONNECT:time] [/SRVCOMMENT:"text"]
+ [/HIDDEN:{YES | NO}]
+.
+Language=Taiwanese
+NET CONFIG SERVER [/AUTODISCONNECT:time] [/SRVCOMMENT:"text"]
+ [/HIDDEN:{YES | NO}]
+.
+
+
+MessageId=10007
+SymbolicName=MSG_CONFIG_SERVER_HELP
+Severity=Success
+Facility=System
+Language=English
+NET CONFIG SERVER displays or changes settings for the Server service.
+
+/AUTODISCONNECT:time Sets the maximum number of minutes a user's
+ session can be inactive before it is disconected.
+ You can specify -1 to never disconnect. The range
+ is -1-65535 minutes; the default is 15.
+/SRVCOMMENT:"text" Adds a comment for the server that is displayed on
+ screen and with the NET VIEW command.
+ Enclose the text in quotation marks.
+/HIDDEN:{YES | NO} Specifies whether the server's computer name
+ appears on displays listings of servers. Note that
+ hiding a serverdoes not alter the permissions
+ on that server. The default is NO.
+
+To display the current configuration for the Server service,
+type NET CONFIG SERVER without parameters.
+.
+Language=Polish
+NET CONFIG SERVER wyświetla lub zmienia ustawienia usługi Serwer.
+
+/AUTODISCONNECT:czas Ustawia maksymalną liczbę minut, przez
+ które sesja użytkownika może być nieaktywna, zanim
+ nastąpi jej rozłączenie. Użyj wartości -1, aby
+ zapobiec rozłączaniu. Zakres wynosi od -1 do 65535
+ minut, domyślnie 15.
+/SRVCOMMENT:"tekst" Dodaje komentarz dla serwera wyświetlany na
+ ekranie komputera i przez polecenie NET VIEW.
+ Tekst musi być ujęty w cudzysłów.
+/HIDDEN:{YES | NO} Określa, czy nazwa serwera pojawia się
+ podczas wyświetlania listy serwerów. Należy pamiętać,
+ że ukrycie serwera nie zmienia uprawnień na tym
+ serwerze. Wartość domyślna: NO (nie ukrywaj).
+
+Aby wyświetlić bieżącą konfigurację usługi Serwer,
+wpisz NET CONFIG SERVER bez parametrów.
+.
+Language=Romanian
+NET CONFIG SERVER displays or changes settings for the Server service.
+
+/AUTODISCONNECT:time Sets the maximum number of minutes a user's
+ session can be inactive before it is disconected.
+ You can specify -1 to never disconnect. The range
+ is -1-65535 minutes; the default is 15.
+/SRVCOMMENT:"text" Adds a comment for the server that is displayed on
+ screen and with the NET VIEW command.
+ Enclose the text in quotation marks.
+/HIDDEN:{YES | NO} Specifies whether the server's computer name
+ appears on displays listings of servers. Note that
+ hiding a serverdoes not alter the permissions
+ on that server. The default is NO.
+
+To display the current configuration for the Server service,
+type NET CONFIG SERVER without parameters.
+.
+Language=Russian
+NET CONFIG SERVER displays or changes settings for the Server service.
+
+/AUTODISCONNECT:time Sets the maximum number of minutes a user's
+ session can be inactive before it is disconected.
+ You can specify -1 to never disconnect. The range
+ is -1-65535 minutes; the default is 15.
+/SRVCOMMENT:"text" Adds a comment for the server that is displayed on
+ screen and with the NET VIEW command.
+ Enclose the text in quotation marks.
+/HIDDEN:{YES | NO} Specifies whether the server's computer name
+ appears on displays listings of servers. Note that
+ hiding a serverdoes not alter the permissions
+ on that server. The default is NO.
+
+To display the current configuration for the Server service,
+type NET CONFIG SERVER without parameters.
+.
+Language=Spanish
+NET CONFIG SERVER displays or changes settings for the Server service.
+
+/AUTODISCONNECT:time Sets the maximum number of minutes a user's
+ session can be inactive before it is disconected.
+ You can specify -1 to never disconnect. The range
+ is -1-65535 minutes; the default is 15.
+/SRVCOMMENT:"text" Adds a comment for the server that is displayed on
+ screen and with the NET VIEW command.
+ Enclose the text in quotation marks.
+/HIDDEN:{YES | NO} Specifies whether the server's computer name
+ appears on displays listings of servers. Note that
+ hiding a serverdoes not alter the permissions
+ on that server. The default is NO.
+
+To display the current configuration for the Server service,
+type NET CONFIG SERVER without parameters.
+.
+Language=Turkish
+NET CONFIG SERVER displays or changes settings for the Server service.
+
+/AUTODISCONNECT:time Sets the maximum number of minutes a user's
+ session can be inactive before it is disconected.
+ You can specify -1 to never disconnect. The range
+ is -1-65535 minutes; the default is 15.
+/SRVCOMMENT:"text" Adds a comment for the server that is displayed on
+ screen and with the NET VIEW command.
+ Enclose the text in quotation marks.
+/HIDDEN:{YES | NO} Specifies whether the server's computer name
+ appears on displays listings of servers. Note that
+ hiding a serverdoes not alter the permissions
+ on that server. The default is NO.
+
+To display the current configuration for the Server service,
+type NET CONFIG SERVER without parameters.
+.
+Language=Chinese
+NET CONFIG SERVER displays or changes settings for the Server service.
+
+/AUTODISCONNECT:time Sets the maximum number of minutes a user's
+ session can be inactive before it is disconected.
+ You can specify -1 to never disconnect. The range
+ is -1-65535 minutes; the default is 15.
+/SRVCOMMENT:"text" Adds a comment for the server that is displayed on
+ screen and with the NET VIEW command.
+ Enclose the text in quotation marks.
+/HIDDEN:{YES | NO} Specifies whether the server's computer name
+ appears on displays listings of servers. Note that
+ hiding a serverdoes not alter the permissions
+ on that server. The default is NO.
+
+To display the current configuration for the Server service,
+type NET CONFIG SERVER without parameters.
+.
+Language=Taiwanese
+NET CONFIG SERVER displays or changes settings for the Server service.
+
+/AUTODISCONNECT:time Sets the maximum number of minutes a user's
+ session can be inactive before it is disconected.
+ You can specify -1 to never disconnect. The range
+ is -1-65535 minutes; the default is 15.
+/SRVCOMMENT:"text" Adds a comment for the server that is displayed on
+ screen and with the NET VIEW command.
+ Enclose the text in quotation marks.
+/HIDDEN:{YES | NO} Specifies whether the server's computer name
+ appears on displays listings of servers. Note that
+ hiding a serverdoes not alter the permissions
+ on that server. The default is NO.
+
+To display the current configuration for the Server service,
+type NET CONFIG SERVER without parameters.
+.
+
+
+MessageId=10008
+SymbolicName=MSG_CONTINUE_SYNTAX
+Severity=Success
+Facility=System
+Language=English
+NET CONTINUE service
+.
+Language=Polish
+NET CONTINUE usługa
+.
+Language=Romanian
+NET CONTINUE <nume serviciu>
+.
+Language=Russian
+NET CONTINUE <имя_службы>
+.
+Language=Spanish
+NET CONTINUE <nombre del servicio>
+.
+Language=Turkish
+NET CONTINUE <Hizmet Adı>
+.
+Language=Chinese
+NET CONTINUE <Service Name>
+.
+Language=Taiwanese
+NET CONTINUE <服務名稱>
+.
+
+
+MessageId=10009
+SymbolicName=MSG_CONTINUE_HELP
+Severity=Success
+Facility=System
+Language=English
+NET CONTINUE reactivates a service that has been suspended by NET PAUSE.
+
+service Is the paused service
+ For example, one of the following:
+ NET LOGON
+ NT LM SECURITY SUPPORT PROVIDER
+ SCHEDULE
+ SERVER
+ WORKSTATION
+.
+Language=Polish
+NET CONTINUE wznawia działanie usługi, która została.
+wstrzymana poleceniem NET PAUSE.
+
+usługa Wstrzymana usługa
+ Może to być jedna z następujących usług:
+ NET LOGON
+ NT LM SECURITY SUPPORT PROVIDER
+ SCHEDULE
+ SERVER
+ WORKSTATION
+.
+Language=Romanian
+NET CONTINUE reactivates a service that has been suspended by NET PAUSE.
+
+service Is the paused service
+ For example, one of the following:
+ NET LOGON
+ NT LM SECURITY SUPPORT PROVIDER
+ SCHEDULE
+ SERVER
+ WORKSTATION
+.
+Language=Russian
+NET CONTINUE reactivates a service that has been suspended by NET PAUSE.
+
+service Is the paused service
+ For example, one of the following:
+ NET LOGON
+ NT LM SECURITY SUPPORT PROVIDER
+ SCHEDULE
+ SERVER
+ WORKSTATION
+.
+Language=Spanish
+NET CONTINUE reactivates a service that has been suspended by NET PAUSE.
+
+service Is the paused service
+ For example, one of the following:
+ NET LOGON
+ NT LM SECURITY SUPPORT PROVIDER
+ SCHEDULE
+ SERVER
+ WORKSTATION
+.
+Language=Turkish
+NET CONTINUE reactivates a service that has been suspended by NET PAUSE.
+
+service Is the paused service
+ For example, one of the following:
+ NET LOGON
+ NT LM SECURITY SUPPORT PROVIDER
+ SCHEDULE
+ SERVER
+ WORKSTATION
+.
+Language=Chinese
+NET CONTINUE reactivates a service that has been suspended by NET PAUSE.
+
+service Is the paused service
+ For example, one of the following:
+ NET LOGON
+ NT LM SECURITY SUPPORT PROVIDER
+ SCHEDULE
+ SERVER
+ WORKSTATION
+.
+Language=Taiwanese
+NET CONTINUE reactivates a service that has been suspended by NET PAUSE.
+
+service Is the paused service
+ For example, one of the following:
+ NET LOGON
+ NT LM SECURITY SUPPORT PROVIDER
+ SCHEDULE
+ SERVER
+ WORKSTATION
+.