nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit bbab9e2e625837e719341bd6e379ab4fa5bb6c3d
parent 9ea1cd947c7387296c48d971ff19ac0f300499e3
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed, 19 Jun 2019 19:34:19 +0200

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

Diffstat:
Msrc/files.c | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git 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; } }