mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:23:01 +00:00
[NET][MC] Move NET CONFIG strings from net.exe to netmsg.dll.
Translators, please check the translations!
This commit is contained in:
parent
c7bebe40cb
commit
8120a5ec80
11 changed files with 85 additions and 228 deletions
|
@ -25,18 +25,18 @@ DisplayServerConfig(
|
|||
if (Status != NERR_Success)
|
||||
goto done;
|
||||
|
||||
PrintPaddedResourceString(IDS_CONFIG_SERVER_NAME, nPaddedLength);
|
||||
PrintPaddedMessageString(4481, nPaddedLength);
|
||||
ConPrintf(StdOut, L"\\\\%s\n", ServerInfo->sv102_name);
|
||||
|
||||
PrintPaddedResourceString(IDS_CONFIG_SERVER_COMMENT, nPaddedLength);
|
||||
PrintPaddedMessageString(4482, nPaddedLength);
|
||||
ConPrintf(StdOut, L"%s\n\n", ServerInfo->sv102_comment);
|
||||
|
||||
PrintPaddedResourceString(IDS_CONFIG_SERVER_VERSION, nPaddedLength);
|
||||
PrintPaddedMessageString(4484, nPaddedLength);
|
||||
ConPrintf(StdOut, L"%lu.%lu\n",
|
||||
ServerInfo->sv102_version_major,
|
||||
ServerInfo->sv102_version_minor);
|
||||
|
||||
ConResPuts(StdOut, IDS_CONFIG_SERVER_ACTIVE);
|
||||
PrintPaddedMessageString(4489, nPaddedLength);
|
||||
ConPuts(StdOut, L"\n");
|
||||
for (i = 0; i < dwRead; i++)
|
||||
{
|
||||
|
@ -46,17 +46,17 @@ DisplayServerConfig(
|
|||
}
|
||||
ConPuts(StdOut, L"\n");
|
||||
|
||||
PrintPaddedResourceString(IDS_CONFIG_SERVER_HIDDEN, nPaddedLength);
|
||||
PrintPaddedMessageString(4492, nPaddedLength);
|
||||
ConResPuts(StdOut, (ServerInfo->sv102_hidden == SV_HIDDEN) ? IDS_GENERIC_YES : IDS_GENERIC_NO);
|
||||
ConPuts(StdOut, L"\n");
|
||||
|
||||
PrintPaddedResourceString(IDS_CONFIG_SERVER_USERS, nPaddedLength);
|
||||
PrintPaddedMessageString(4506, nPaddedLength);
|
||||
ConPrintf(StdOut, L"%lu\n", ServerInfo->sv102_users);
|
||||
|
||||
PrintPaddedResourceString(IDS_CONFIG_SERVER_FILES, nPaddedLength);
|
||||
PrintPaddedMessageString(4511, nPaddedLength);
|
||||
ConPuts(StdOut, L"...\n\n");
|
||||
|
||||
PrintPaddedResourceString(IDS_CONFIG_SERVER_IDLE, nPaddedLength);
|
||||
PrintPaddedMessageString(4520, nPaddedLength);
|
||||
if (ServerInfo->sv102_disc == SV_NODISC)
|
||||
ConResPuts(StdOut, IDS_GENERIC_UNLIMITED);
|
||||
else
|
||||
|
@ -99,18 +99,18 @@ DisplayWorkstationConfig(VOID)
|
|||
if (Status != NERR_Success)
|
||||
goto done;
|
||||
|
||||
PrintPaddedResourceString(IDS_CONFIG_WORKSTATION_NAME, nPaddedLength);
|
||||
PrintPaddedMessageString(4450, nPaddedLength);
|
||||
ConPrintf(StdOut, L"\\\\%s\n", WorkstationInfo->wki100_computername);
|
||||
|
||||
PrintPaddedResourceString(IDS_CONFIG_WORKSTATION_FULLNAME, nPaddedLength);
|
||||
PrintPaddedMessageString(4468, nPaddedLength);
|
||||
ConPuts(StdOut, L"...\n");
|
||||
|
||||
PrintPaddedResourceString(IDS_CONFIG_WORKSTATION_USERNAME, nPaddedLength);
|
||||
PrintPaddedMessageString(4451, nPaddedLength);
|
||||
ConPrintf(StdOut, L"%s\n", UserInfo->wkui1_username);
|
||||
|
||||
ConPuts(StdOut, L"\n");
|
||||
|
||||
ConResPuts(StdOut, IDS_CONFIG_WORKSTATION_ACTIVE);
|
||||
PrintPaddedMessageString(4453, nPaddedLength);
|
||||
ConPuts(StdOut, L"\n");
|
||||
for (i = 0; i < dwRead; i++)
|
||||
{
|
||||
|
@ -120,19 +120,33 @@ DisplayWorkstationConfig(VOID)
|
|||
}
|
||||
ConPuts(StdOut, L"\n");
|
||||
|
||||
PrintPaddedResourceString(IDS_CONFIG_WORKSTATION_VERSION, nPaddedLength);
|
||||
PrintPaddedMessageString(4452, nPaddedLength);
|
||||
ConPrintf(StdOut, L"%lu.%lu\n",
|
||||
WorkstationInfo->wki100_ver_major,
|
||||
WorkstationInfo->wki100_ver_minor);
|
||||
|
||||
ConPuts(StdOut, L"\n");
|
||||
|
||||
PrintPaddedResourceString(IDS_CONFIG_WORKSTATION_DOMAIN, nPaddedLength);
|
||||
PrintPaddedMessageString(4455, nPaddedLength);
|
||||
ConPrintf(StdOut, L"%s\n", WorkstationInfo->wki100_langroup);
|
||||
|
||||
PrintPaddedResourceString(IDS_CONFIG_WORKSTATION_LOGON, nPaddedLength);
|
||||
PrintPaddedMessageString(4469, nPaddedLength);
|
||||
ConPuts(StdOut, L"...\n");
|
||||
|
||||
PrintPaddedMessageString(4456, nPaddedLength);
|
||||
ConPrintf(StdOut, L"%s\n", UserInfo->wkui1_logon_domain);
|
||||
|
||||
ConPuts(StdOut, L"\n");
|
||||
|
||||
PrintPaddedMessageString(4458, nPaddedLength);
|
||||
ConPuts(StdOut, L"...\n");
|
||||
|
||||
PrintPaddedMessageString(4459, nPaddedLength);
|
||||
ConPuts(StdOut, L"...\n");
|
||||
|
||||
PrintPaddedMessageString(4460, nPaddedLength);
|
||||
ConPuts(StdOut, L"...\n");
|
||||
|
||||
done:
|
||||
if (TransportInfo != NULL)
|
||||
NetApiBufferFree(TransportInfo);
|
||||
|
@ -288,7 +302,11 @@ cmdConfig(
|
|||
}
|
||||
else
|
||||
{
|
||||
ConResPuts(StdOut, IDS_CONFIG_TEXT);
|
||||
PrintMessageString(4378);
|
||||
ConPuts(StdOut, L"\n");
|
||||
ConPuts(StdOut, L" Server\n");
|
||||
ConPuts(StdOut, L" Workstation\n");
|
||||
ConPuts(StdOut, L"\n");
|
||||
}
|
||||
|
||||
done:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue