Skip to content

Commit 90c9648

Browse files
committed
Re-add translation markers that were lost
When win32security.c was moved from src/backend/port/win32/security.c, the message writing function was changed from write_stderr to log_error, but nls.mk was not updated. We could add log_error to GETTEXT_TRIGGERS, but it's also used in src/common/exec.c in a different way and that would create some confusion or a larger patch. For now, just put an explicit translation marker onto the strings that were previously translated.
1 parent 470d886 commit 90c9648

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/port/win32security.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pgwin32_is_admin(void)
6565

6666
if (!OpenProcessToken(GetCurrentProcess(), TOKEN_READ, &AccessToken))
6767
{
68-
log_error("could not open process token: error code %lu\n",
68+
log_error(_("could not open process token: error code %lu\n"),
6969
GetLastError());
7070
exit(1);
7171
}
@@ -86,7 +86,7 @@ pgwin32_is_admin(void)
8686
DOMAIN_ALIAS_RID_ADMINS, 0, 0, 0, 0, 0,
8787
0, &AdministratorsSid))
8888
{
89-
log_error("could not get SID for Administrators group: error code %lu\n",
89+
log_error(_("could not get SID for Administrators group: error code %lu\n"),
9090
GetLastError());
9191
exit(1);
9292
}
@@ -96,7 +96,7 @@ pgwin32_is_admin(void)
9696
DOMAIN_ALIAS_RID_POWER_USERS, 0, 0, 0, 0, 0,
9797
0, &PowerUsersSid))
9898
{
99-
log_error("could not get SID for PowerUsers group: error code %lu\n",
99+
log_error(_("could not get SID for PowerUsers group: error code %lu\n"),
100100
GetLastError());
101101
exit(1);
102102
}

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