tweaks: shorten two messages that translators tend to make too long

master
Benno Schulenberg 2019-06-19 19:34:19 +02:00
parent 9ea1cd947c
commit bbab9e2e62
1 changed files with 2 additions and 4 deletions

View File

@ -178,8 +178,7 @@ int write_lockfile(const char *lockfilename, const char *origfilename, bool modi
/* First run things that might fail before blowing away the old state. */
if ((mypwuid = getpwuid(myuid)) == NULL) {
/* TRANSLATORS: Keep the next eight messages at most 76 characters. */
statusline(MILD, _("Couldn't determine my identity for lock file "
"(getpwuid() failed)"));
statusline(MILD, _("Couldn't determine my identity for lock file"));
goto free_the_data;
}
@ -187,8 +186,7 @@ int write_lockfile(const char *lockfilename, const char *origfilename, bool modi
if (errno == ENAMETOOLONG)
myhostname[31] = '\0';
else {
statusline(MILD, _("Couldn't determine hostname for lock file: %s"),
strerror(errno));
statusline(MILD, _("Couldn't determine hostname: %s"), strerror(errno));
goto free_the_data;
}
}