Skip to content
Snippets Groups Projects
Commit 90c96482 authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

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.
parent 470d886c
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,7 @@ pgwin32_is_admin(void) ...@@ -65,7 +65,7 @@ pgwin32_is_admin(void)
if (!OpenProcessToken(GetCurrentProcess(), TOKEN_READ, &AccessToken)) if (!OpenProcessToken(GetCurrentProcess(), TOKEN_READ, &AccessToken))
{ {
log_error("could not open process token: error code %lu\n", log_error(_("could not open process token: error code %lu\n"),
GetLastError()); GetLastError());
exit(1); exit(1);
} }
...@@ -86,7 +86,7 @@ pgwin32_is_admin(void) ...@@ -86,7 +86,7 @@ pgwin32_is_admin(void)
DOMAIN_ALIAS_RID_ADMINS, 0, 0, 0, 0, 0, DOMAIN_ALIAS_RID_ADMINS, 0, 0, 0, 0, 0,
0, &AdministratorsSid)) 0, &AdministratorsSid))
{ {
log_error("could not get SID for Administrators group: error code %lu\n", log_error(_("could not get SID for Administrators group: error code %lu\n"),
GetLastError()); GetLastError());
exit(1); exit(1);
} }
...@@ -96,7 +96,7 @@ pgwin32_is_admin(void) ...@@ -96,7 +96,7 @@ pgwin32_is_admin(void)
DOMAIN_ALIAS_RID_POWER_USERS, 0, 0, 0, 0, 0, DOMAIN_ALIAS_RID_POWER_USERS, 0, 0, 0, 0, 0,
0, &PowerUsersSid)) 0, &PowerUsersSid))
{ {
log_error("could not get SID for PowerUsers group: error code %lu\n", log_error(_("could not get SID for PowerUsers group: error code %lu\n"),
GetLastError()); GetLastError());
exit(1); exit(1);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment