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
+
+ ...
+.
+