diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2016-09-20 12:00:00 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2016-09-20 12:00:00 -0400 |
commit | 00e1933ef30c212b35d3360aff0e77211352dbd7 (patch) | |
tree | 97a6d55786ad531d1f2dfb1c3513091b4b5b5863 /src | |
parent | 92668cd4d3df5a7a48408fc722e876a3e1c167d9 (diff) | |
download | postgresql-00e1933ef30c212b35d3360aff0e77211352dbd7.tar.gz postgresql-00e1933ef30c212b35d3360aff0e77211352dbd7.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/port/win32security.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/port/win32security.c b/src/port/win32security.c index ab9cd67748d..2c9ca15a6d9 100644 --- a/src/port/win32security.c +++ b/src/port/win32security.c @@ -65,7 +65,7 @@ pgwin32_is_admin(void) 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()); exit(1); } @@ -86,7 +86,7 @@ pgwin32_is_admin(void) DOMAIN_ALIAS_RID_ADMINS, 0, 0, 0, 0, 0, 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()); exit(1); } @@ -96,7 +96,7 @@ pgwin32_is_admin(void) DOMAIN_ALIAS_RID_POWER_USERS, 0, 0, 0, 0, 0, 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()); exit(1); } |