From bbab9e2e625837e719341bd6e379ab4fa5bb6c3d Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 19 Jun 2019 19:34:19 +0200 Subject: [PATCH] tweaks: shorten two messages that translators tend to make too long --- src/files.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/files.c b/src/files.c index 142f2ac9..5aaf33d3 100644 --- a/src/files.c +++ b/src/files.c @@ -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; } }