From 8787eba8ca628c73bb9a5ecbc0909a7a6fbe7317 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sat, 14 Apr 2018 14:54:50 +0200 Subject: [PATCH] [NET] Add help text for the NET GROUP command and improve the NET LOCALGROUP help text --- base/applications/network/net/help.c | 8 +- base/applications/network/net/lang/en-US.rc | 25 ++++- base/applications/network/net/lang/es-ES.rc | 25 ++++- base/applications/network/net/lang/ro-RO.rc | 25 ++++- base/applications/network/net/lang/ru-RU.rc | 25 ++++- base/applications/network/net/lang/tr-TR.rc | 25 ++++- base/applications/network/net/lang/zh-CN.rc | 25 ++++- base/applications/network/net/lang/zh-TW.rc | 25 ++++- base/applications/network/net/resource.h | 102 +++++++++++--------- 9 files changed, 201 insertions(+), 84 deletions(-) diff --git a/base/applications/network/net/help.c b/base/applications/network/net/help.c index da0bac436e0..8d70860ad9a 100644 --- a/base/applications/network/net/help.c +++ b/base/applications/network/net/help.c @@ -86,7 +86,13 @@ INT cmdHelp(INT argc, WCHAR **argv) if (_wcsicmp(argv[2], L"GROUP") == 0) { ConResPuts(StdOut, IDS_GROUP_SYNTAX); - ConResPuts(StdOut, IDS_GROUP_HELP); + 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); ConResPuts(StdOut, IDS_GENERIC_PAGE); return 0; } diff --git a/base/applications/network/net/lang/en-US.rc b/base/applications/network/net/lang/en-US.rc index 207a63771d3..793344d10fd 100644 --- a/base/applications/network/net/lang/en-US.rc +++ b/base/applications/network/net/lang/en-US.rc @@ -83,8 +83,23 @@ type NET CONFIG SERVER without parameters.\n\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 ...\n\n" - IDS_GROUP_HELP "GROUP\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\ @@ -105,8 +120,8 @@ message and suggested actions you can take to solve the problem.\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 modifies local groups on computers. When used without\n\ -options, it displays the local groups on the computer.\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" @@ -115,7 +130,7 @@ options, it displays the local groups on the computer.\n\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 or to\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\ diff --git a/base/applications/network/net/lang/es-ES.rc b/base/applications/network/net/lang/es-ES.rc index 7b748e6eec7..b86e48a05ae 100644 --- a/base/applications/network/net/lang/es-ES.rc +++ b/base/applications/network/net/lang/es-ES.rc @@ -86,8 +86,23 @@ type NET CONFIG SERVER without parameters.\n\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 ...\n\n" - IDS_GROUP_HELP "GROUP\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 - o -\nNET /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\ @@ -108,8 +123,8 @@ message and suggested actions you can take to solve the problem.\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 modifies local groups on computers. When used without\n\ -options, it displays the local groups on the computer.\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" @@ -118,7 +133,7 @@ options, it displays the local groups on the computer.\n\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 or to\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\ diff --git a/base/applications/network/net/lang/ro-RO.rc b/base/applications/network/net/lang/ro-RO.rc index 6ea8a083a9e..a2c9963a2ed 100644 --- a/base/applications/network/net/lang/ro-RO.rc +++ b/base/applications/network/net/lang/ro-RO.rc @@ -89,8 +89,23 @@ type NET CONFIG SERVER without parameters.\n\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 ...\n\n" - IDS_GROUP_HELP "GROUP\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 - sau -\nNET /HELP\n\n" IDS_HELP_HELP_1 " Sunt disponibile următoarele comenzi:\n\n\ NET ACCOUNTS NET HELP NET SHARE\n\ @@ -111,8 +126,8 @@ message and suggested actions you can take to solve the problem.\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 modifies local groups on computers. When used without\n\ -options, it displays the local groups on the computer.\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" @@ -121,7 +136,7 @@ options, it displays the local groups on the computer.\n\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 or to\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\ diff --git a/base/applications/network/net/lang/ru-RU.rc b/base/applications/network/net/lang/ru-RU.rc index c2ac1079f27..7d91bd56b12 100644 --- a/base/applications/network/net/lang/ru-RU.rc +++ b/base/applications/network/net/lang/ru-RU.rc @@ -85,8 +85,23 @@ type NET CONFIG SERVER without parameters.\n\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 ...\n\n" - IDS_GROUP_HELP "GROUP\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\ @@ -107,8 +122,8 @@ message and suggested actions you can take to solve the problem.\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 modifies local groups on computers. When used without\n\ -options, it displays the local groups on the computer.\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" @@ -117,7 +132,7 @@ options, it displays the local groups on the computer.\n\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 or to\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\ diff --git a/base/applications/network/net/lang/tr-TR.rc b/base/applications/network/net/lang/tr-TR.rc index 2e4ae02590a..203f82be88a 100644 --- a/base/applications/network/net/lang/tr-TR.rc +++ b/base/applications/network/net/lang/tr-TR.rc @@ -85,8 +85,23 @@ type NET CONFIG SERVER without parameters.\n\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 ...\n\n" - IDS_GROUP_HELP "GROUP\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 - ya da -\nNET /HELP\n\n" IDS_HELP_HELP_1 " Aşağıdaki komutlar kullanılabilir:\n\n\ NET ACCOUNTS NET HELP NET SHARE\n\ @@ -107,8 +122,8 @@ message and suggested actions you can take to solve the problem.\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 modifies local groups on computers. When used without\n\ -options, it displays the local groups on the computer.\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" @@ -117,7 +132,7 @@ options, it displays the local groups on the computer.\n\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 or to\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\ diff --git a/base/applications/network/net/lang/zh-CN.rc b/base/applications/network/net/lang/zh-CN.rc index ee24567df73..14de45cdfb0 100644 --- a/base/applications/network/net/lang/zh-CN.rc +++ b/base/applications/network/net/lang/zh-CN.rc @@ -85,8 +85,23 @@ type NET CONFIG SERVER without parameters.\n\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 ...\n\n" - IDS_GROUP_HELP "NET GROUP\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 - or -\nNET /HELP\n\n" IDS_HELP_HELP_1 " 以下命令可用:\n\n\ NET ACCOUNTS NET HELP NET SHARE\n\ @@ -107,8 +122,8 @@ message and suggested actions you can take to solve the problem.\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 modifies local groups on computers. When used without\n\ -options, it displays the local groups on the computer.\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" @@ -117,7 +132,7 @@ options, it displays the local groups on the computer.\n\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 or to\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\ diff --git a/base/applications/network/net/lang/zh-TW.rc b/base/applications/network/net/lang/zh-TW.rc index 01e461a32f7..08a0f88380f 100644 --- a/base/applications/network/net/lang/zh-TW.rc +++ b/base/applications/network/net/lang/zh-TW.rc @@ -85,8 +85,23 @@ type NET CONFIG SERVER without parameters.\n\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 ...\n\n" - IDS_GROUP_HELP "GROUP\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\ @@ -107,8 +122,8 @@ message and suggested actions you can take to solve the problem.\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 modifies local groups on computers. When used without\n\ -options, it displays the local groups on the computer.\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" @@ -117,7 +132,7 @@ options, it displays the local groups on the computer.\n\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 or to\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\ diff --git a/base/applications/network/net/resource.h b/base/applications/network/net/resource.h index ef4cfde7df8..beff7b0f3c0 100644 --- a/base/applications/network/net/resource.h +++ b/base/applications/network/net/resource.h @@ -29,54 +29,60 @@ #define IDS_FILE_SYNTAX 126 #define IDS_FILE_HELP 127 #define IDS_GROUP_SYNTAX 128 -#define IDS_GROUP_HELP 129 -#define IDS_HELP_SYNTAX 130 -#define IDS_HELP_HELP_1 131 -#define IDS_HELP_HELP_2 132 -#define IDS_HELPMSG_SYNTAX 133 -#define IDS_HELPMSG_HELP_1 134 -#define IDS_HELPMSG_HELP_2 135 -#define IDS_LOCALGROUP_SYNTAX 136 -#define IDS_LOCALGROUP_HELP_1 137 -#define IDS_LOCALGROUP_HELP_2 138 -#define IDS_LOCALGROUP_HELP_3 139 -#define IDS_LOCALGROUP_HELP_4 140 -#define IDS_LOCALGROUP_HELP_5 141 -#define IDS_LOCALGROUP_HELP_6 142 -#define IDS_LOCALGROUP_HELP_7 143 -#define IDS_NAME_SYNTAX 144 -#define IDS_NAME_HELP 145 -#define IDS_PAUSE_SYNTAX 146 -#define IDS_PAUSE_HELP_1 147 -#define IDS_PAUSE_HELP_2 148 -#define IDS_PRINT_SYNTAX 149 -#define IDS_PRINT_HELP 150 -#define IDS_SEND_SYNTAX 151 -#define IDS_SEND_HELP 152 -#define IDS_SESSION_SYNTAX 153 -#define IDS_SESSION_HELP 154 -#define IDS_SHARE_SYNTAX 155 -#define IDS_SHARE_HELP 156 -#define IDS_START_SYNTAX 157 -#define IDS_START_HELP_1 158 -#define IDS_START_HELP_2 159 -#define IDS_START_HELP_3 160 -#define IDS_STATISTICS_SYNTAX 161 -#define IDS_STATISTICS_HELP_1 162 -#define IDS_STATISTICS_HELP_2 163 -#define IDS_STOP_SYNTAX 164 -#define IDS_STOP_HELP_1 165 -#define IDS_STOP_HELP_2 166 -#define IDS_STOP_HELP_3 167 -#define IDS_TIME_SYNTAX 168 -#define IDS_TIME_HELP 169 -#define IDS_USE_SYNTAX 170 -#define IDS_USE_HELP 171 -#define IDS_USER_SYNTAX 172 -#define IDS_USER_HELP 173 -#define IDS_VIEW_SYNTAX 174 -#define IDS_VIEW_HELP 175 -#define IDS_NET_SYNTAX 176 +#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 +#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 +#define IDS_PRINT_SYNTAX 155 +#define IDS_PRINT_HELP 156 +#define IDS_SEND_SYNTAX 157 +#define IDS_SEND_HELP 158 +#define IDS_SESSION_SYNTAX 159 +#define IDS_SESSION_HELP 160 +#define IDS_SHARE_SYNTAX 161 +#define IDS_SHARE_HELP 162 +#define IDS_START_SYNTAX 163 +#define IDS_START_HELP_1 164 +#define IDS_START_HELP_2 165 +#define IDS_START_HELP_3 166 +#define IDS_STATISTICS_SYNTAX 167 +#define IDS_STATISTICS_HELP_1 168 +#define IDS_STATISTICS_HELP_2 169 +#define IDS_STOP_SYNTAX 170 +#define IDS_STOP_HELP_1 171 +#define IDS_STOP_HELP_2 172 +#define IDS_STOP_HELP_3 173 +#define IDS_TIME_SYNTAX 174 +#define IDS_TIME_HELP 175 +#define IDS_USE_SYNTAX 176 +#define IDS_USE_HELP 177 +#define IDS_USER_SYNTAX 178 +#define IDS_USER_HELP 179 +#define IDS_VIEW_SYNTAX 180 +#define IDS_VIEW_HELP 181 +#define IDS_NET_SYNTAX 182 #define IDS_ACCOUNTS_FORCE_LOGOFF 200 #define IDS_ACCOUNTS_LOGOFF_SECONDS 201