mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[IPCONFIG] Replace some DNS related strings by resources
This commit is contained in:
parent
edd332c952
commit
4328b858e5
21 changed files with 166 additions and 4 deletions
|
@ -927,9 +927,14 @@ FlushDns(VOID)
|
|||
ConResPrintf(StdOut, IDS_HEADER);
|
||||
|
||||
if (DnsFlushResolverCache())
|
||||
_tprintf(_T("The DNS Resolver Cache has been deleted.\n"));
|
||||
{
|
||||
ConResPrintf(StdOut, IDS_DNSFLUSHSUCCESS);
|
||||
}
|
||||
else
|
||||
{
|
||||
ConResPrintf(StdOut, IDS_DNSFLUSHERROR);
|
||||
DoFormatMessage(GetLastError());
|
||||
}
|
||||
}
|
||||
|
||||
VOID
|
||||
|
@ -965,11 +970,11 @@ DisplayDnsRecord(
|
|||
{
|
||||
if (Status == DNS_ERROR_RCODE_NAME_ERROR)
|
||||
{
|
||||
_tprintf(_T("\tName does not exist\n\n"));
|
||||
ConResPrintf(StdOut, IDS_DNSNONAME);
|
||||
}
|
||||
else if (Status == DNS_INFO_NO_RECORDS)
|
||||
{
|
||||
_tprintf(_T("\tNo records of type %s\n\n"), GetRecordTypeName(wType));
|
||||
ConResPrintf(StdOut, IDS_DNSNORECORD, GetRecordTypeName(wType));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -79,6 +79,14 @@ BEGIN
|
|||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tNo records of type %ls\n\n"
|
||||
IDS_DNSNONAME "\tName does not exist.\n\n"
|
||||
IDS_DNSFLUSHERROR "Could not flush the DNS Resolver Cache: "
|
||||
IDS_DNSFLUSHSUCCESS "Successfully flushed the DNS Resolver Cache.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* Please keep the spacing/formatting as per En.rc when translating */
|
||||
|
|
|
@ -81,6 +81,14 @@ BEGIN
|
|||
IDS_DNSTYPESRV "\tSRV-Eintrag . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tKeine Einträge vom Typ %ls\n\n"
|
||||
IDS_DNSNONAME "\tName existiert nicht.\n\n"
|
||||
IDS_DNSFLUSHERROR "Der DNS-Auflösungscache konnte nicht geleert werden: "
|
||||
IDS_DNSFLUSHSUCCESS "Der DNS-Auflösungscache wurde geleert.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_USAGE
|
||||
|
|
|
@ -79,6 +79,14 @@ BEGIN
|
|||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tNo records of type %ls\n\n"
|
||||
IDS_DNSNONAME "\tName does not exist.\n\n"
|
||||
IDS_DNSFLUSHERROR "Could not flush the DNS Resolver Cache: "
|
||||
IDS_DNSFLUSHSUCCESS "Successfully flushed the DNS Resolver Cache.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* Please keep the spacing/formatting as per En.rc when translating */
|
||||
|
|
|
@ -79,6 +79,14 @@ BEGIN
|
|||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tNo records of type %ls\n\n"
|
||||
IDS_DNSNONAME "\tName does not exist.\n\n"
|
||||
IDS_DNSFLUSHERROR "Could not flush the DNS Resolver Cache: "
|
||||
IDS_DNSFLUSHSUCCESS "Successfully flushed the DNS Resolver Cache.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* Please keep the spacing/formatting as per En.rc when translating */
|
||||
|
|
|
@ -80,6 +80,14 @@ BEGIN
|
|||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tNo records of type %ls\n\n"
|
||||
IDS_DNSNONAME "\tName does not exist.\n\n"
|
||||
IDS_DNSFLUSHERROR "Could not flush the DNS Resolver Cache: "
|
||||
IDS_DNSFLUSHSUCCESS "Successfully flushed the DNS Resolver Cache.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* Please keep the spacing/formatting as per En.rc when translating */
|
||||
|
|
|
@ -81,6 +81,14 @@ BEGIN
|
|||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tNo records of type %ls\n\n"
|
||||
IDS_DNSNONAME "\tName does not exist.\n\n"
|
||||
IDS_DNSFLUSHERROR "Could not flush the DNS Resolver Cache: "
|
||||
IDS_DNSFLUSHSUCCESS "Successfully flushed the DNS Resolver Cache.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* Please keep the spacing/formatting as per En.rc when translating */
|
||||
|
|
|
@ -79,6 +79,14 @@ BEGIN
|
|||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tNo records of type %ls\n\n"
|
||||
IDS_DNSNONAME "\tName does not exist.\n\n"
|
||||
IDS_DNSFLUSHERROR "Could not flush the DNS Resolver Cache: "
|
||||
IDS_DNSFLUSHSUCCESS "Successfully flushed the DNS Resolver Cache.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* Please keep the spacing/formatting as per En.rc when translating */
|
||||
|
|
|
@ -79,6 +79,14 @@ BEGIN
|
|||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tNo records of type %ls\n\n"
|
||||
IDS_DNSNONAME "\tName does not exist.\n\n"
|
||||
IDS_DNSFLUSHERROR "Could not flush the DNS Resolver Cache: "
|
||||
IDS_DNSFLUSHSUCCESS "Successfully flushed the DNS Resolver Cache.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* Please keep the spacing/formatting as per En.rc when translating */
|
||||
|
|
|
@ -79,6 +79,14 @@ BEGIN
|
|||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tNo records of type %ls\n\n"
|
||||
IDS_DNSNONAME "\tName does not exist.\n\n"
|
||||
IDS_DNSFLUSHERROR "Could not flush the DNS Resolver Cache: "
|
||||
IDS_DNSFLUSHSUCCESS "Successfully flushed the DNS Resolver Cache.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* Please keep the spacing/formatting as per En.rc when translating */
|
||||
|
|
|
@ -58,6 +58,14 @@ BEGIN
|
|||
IDS_WIFI "\nKarta bezprzewodowej sieci LAN: %ls\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tNo records of type %ls\n\n"
|
||||
IDS_DNSNONAME "\tName does not exist.\n\n"
|
||||
IDS_DNSFLUSHERROR "Could not flush the DNS Resolver Cache: "
|
||||
IDS_DNSFLUSHSUCCESS "Successfully flushed the DNS Resolver Cache.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNAME "\t%ls\n"
|
||||
|
|
|
@ -80,6 +80,14 @@ BEGIN
|
|||
IDS_DNSTYPESRV "\tÎnregistrarea SRV . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tNo records of type %ls\n\n"
|
||||
IDS_DNSNONAME "\tName does not exist.\n\n"
|
||||
IDS_DNSFLUSHERROR "Could not flush the DNS Resolver Cache: "
|
||||
IDS_DNSFLUSHSUCCESS "Successfully flushed the DNS Resolver Cache.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* Please keep the spacing/formatting as per En.rc when translating */
|
||||
|
|
|
@ -80,6 +80,14 @@ BEGIN
|
|||
IDS_DNSTYPESRV "\tSRV-запись . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tNo records of type %ls\n\n"
|
||||
IDS_DNSNONAME "\tName does not exist.\n\n"
|
||||
IDS_DNSFLUSHERROR "Could not flush the DNS Resolver Cache: "
|
||||
IDS_DNSFLUSHSUCCESS "Successfully flushed the DNS Resolver Cache.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* Please keep the spacing/formatting as per En.rc when translating */
|
||||
|
|
|
@ -79,6 +79,14 @@ BEGIN
|
|||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tNo records of type %ls\n\n"
|
||||
IDS_DNSNONAME "\tName does not exist.\n\n"
|
||||
IDS_DNSFLUSHERROR "Could not flush the DNS Resolver Cache: "
|
||||
IDS_DNSFLUSHSUCCESS "Successfully flushed the DNS Resolver Cache.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* Please keep the spacing/formatting as per En.rc when translating */
|
||||
|
|
|
@ -79,6 +79,14 @@ BEGIN
|
|||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tNo records of type %ls\n\n"
|
||||
IDS_DNSNONAME "\tName does not exist.\n\n"
|
||||
IDS_DNSFLUSHERROR "Could not flush the DNS Resolver Cache: "
|
||||
IDS_DNSFLUSHSUCCESS "Successfully flushed the DNS Resolver Cache.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* Please keep the spacing/formatting as per En.rc when translating */
|
||||
|
|
|
@ -80,6 +80,14 @@ BEGIN
|
|||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tNo records of type %ls\n\n"
|
||||
IDS_DNSNONAME "\tName does not exist.\n\n"
|
||||
IDS_DNSFLUSHERROR "Could not flush the DNS Resolver Cache: "
|
||||
IDS_DNSFLUSHSUCCESS "Successfully flushed the DNS Resolver Cache.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* Please keep the spacing/formatting as per En.rc when translating */
|
||||
|
|
|
@ -80,6 +80,14 @@ BEGIN
|
|||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tNo records of type %ls\n\n"
|
||||
IDS_DNSNONAME "\tName does not exist.\n\n"
|
||||
IDS_DNSFLUSHERROR "Could not flush the DNS Resolver Cache: "
|
||||
IDS_DNSFLUSHSUCCESS "Successfully flushed the DNS Resolver Cache.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* Please keep the spacing/formatting as per En.rc when translating */
|
||||
|
|
|
@ -80,6 +80,14 @@ BEGIN
|
|||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tNo records of type %ls\n\n"
|
||||
IDS_DNSNONAME "\tName does not exist.\n\n"
|
||||
IDS_DNSFLUSHERROR "Could not flush the DNS Resolver Cache: "
|
||||
IDS_DNSFLUSHSUCCESS "Successfully flushed the DNS Resolver Cache.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* Please keep the spacing/formatting as per En.rc when translating */
|
||||
|
|
|
@ -80,6 +80,14 @@ BEGIN
|
|||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tNo records of type %ls\n\n"
|
||||
IDS_DNSNONAME "\tName does not exist.\n\n"
|
||||
IDS_DNSFLUSHERROR "Could not flush the DNS Resolver Cache: "
|
||||
IDS_DNSFLUSHSUCCESS "Successfully flushed the DNS Resolver Cache.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* Please keep the spacing/formatting as per En.rc when translating */
|
||||
|
|
|
@ -80,6 +80,14 @@ BEGIN
|
|||
IDS_DNSTYPESRV "\tSRV Record. . . . . . : %ls\n\t %hu\n\t %hu\n\t %hu\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_DNSNORECORD "\tNo records of type %ls\n\n"
|
||||
IDS_DNSNONAME "\tName does not exist.\n\n"
|
||||
IDS_DNSFLUSHERROR "Could not flush the DNS Resolver Cache: "
|
||||
IDS_DNSFLUSHSUCCESS "Successfully flushed the DNS Resolver Cache.\n"
|
||||
END
|
||||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
/* Please keep the spacing/formatting as per En.rc when translating */
|
||||
|
|
|
@ -65,4 +65,9 @@
|
|||
#define IDS_DNSTYPEATMA 178
|
||||
#define IDS_DNSTYPESRV 179
|
||||
|
||||
#define IDS_USAGE 180
|
||||
#define IDS_USAGE 180
|
||||
|
||||
#define IDS_DNSNORECORD 200
|
||||
#define IDS_DNSNONAME 201
|
||||
#define IDS_DNSFLUSHERROR 202
|
||||
#define IDS_DNSFLUSHSUCCESS 203
|
||||
|
|
Loading…
Reference in a new issue