Skip to content

Commit 8c8745b

Browse files
committed
Add some strings that were not marked for translation
1 parent 4635d3c commit 8c8745b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/bin/pg_ctl/pg_ctl.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,7 +1570,7 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, bool as_ser
15701570
* NT4 doesn't have CreateRestrictedToken, so just call ordinary
15711571
* CreateProcess
15721572
*/
1573-
write_stderr("WARNING: cannot create restricted tokens on this platform\n");
1573+
write_stderr(_("%s: WARNING: cannot create restricted tokens on this platform\n"), progname);
15741574
if (Advapi32Handle != NULL)
15751575
FreeLibrary(Advapi32Handle);
15761576
return CreateProcess(NULL, cmd, NULL, NULL, FALSE, 0, NULL, NULL, &si, processInfo);
@@ -1579,7 +1579,7 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, bool as_ser
15791579
/* Open the current token to use as a base for the restricted one */
15801580
if (!OpenProcessToken(GetCurrentProcess(), TOKEN_ALL_ACCESS, &origToken))
15811581
{
1582-
write_stderr("Failed to open process token: %lu\n", GetLastError());
1582+
write_stderr(_("%s: could not open process token: %lu\n"), progname, GetLastError());
15831583
return 0;
15841584
}
15851585

@@ -1592,7 +1592,7 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, bool as_ser
15921592
SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_POWER_USERS, 0, 0, 0, 0, 0,
15931593
0, &dropSids[1].Sid))
15941594
{
1595-
write_stderr("Failed to allocate SIDs: %lu\n", GetLastError());
1595+
write_stderr(_("%s: could not allocate SIDs: %lu\n"), progname, GetLastError());
15961596
return 0;
15971597
}
15981598

@@ -1611,7 +1611,7 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, bool as_ser
16111611

16121612
if (!b)
16131613
{
1614-
write_stderr("Failed to create restricted token: %lu\n", GetLastError());
1614+
write_stderr(_("%s: could not create restricted token: %lu\n"), progname, GetLastError());
16151615
return 0;
16161616
}
16171617

@@ -1649,7 +1649,7 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, bool as_ser
16491649
* Log error if we can't get version, or if we're on WinXP/2003 or
16501650
* newer
16511651
*/
1652-
write_stderr("WARNING: could not locate all job object functions in system API\n");
1652+
write_stderr(_("%s: WARNING: could not locate all job object functions in system API\n"), progname);
16531653
}
16541654
else
16551655
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy