tweaks: shorten two messages that translators tend to make too long
This commit is contained in:
@@ -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. */
|
/* First run things that might fail before blowing away the old state. */
|
||||||
if ((mypwuid = getpwuid(myuid)) == NULL) {
|
if ((mypwuid = getpwuid(myuid)) == NULL) {
|
||||||
/* TRANSLATORS: Keep the next eight messages at most 76 characters. */
|
/* TRANSLATORS: Keep the next eight messages at most 76 characters. */
|
||||||
statusline(MILD, _("Couldn't determine my identity for lock file "
|
statusline(MILD, _("Couldn't determine my identity for lock file"));
|
||||||
"(getpwuid() failed)"));
|
|
||||||
goto free_the_data;
|
goto free_the_data;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -187,8 +186,7 @@ int write_lockfile(const char *lockfilename, const char *origfilename, bool modi
|
|||||||
if (errno == ENAMETOOLONG)
|
if (errno == ENAMETOOLONG)
|
||||||
myhostname[31] = '\0';
|
myhostname[31] = '\0';
|
||||||
else {
|
else {
|
||||||
statusline(MILD, _("Couldn't determine hostname for lock file: %s"),
|
statusline(MILD, _("Couldn't determine hostname: %s"), strerror(errno));
|
||||||
strerror(errno));
|
|
||||||
goto free_the_data;
|
goto free_the_data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user