nano

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

commit 54217ea5001e4e3846e6057e69c515fe8343c0ba
parent ba38d61f225614bbd2ea9d5ff61d7b8373bdfcb0
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Tue,  5 Apr 2016 16:29:36 +0200

i18n: advise the translators about the maximum length of some strings

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

diff --git a/src/files.c b/src/files.c @@ -149,7 +149,7 @@ void set_modified(void) return; if (openfile->lock_filename == NULL) { - /* TRANSLATORS: Try to keep this at most 76 characters. */ + /* TRANSLATORS: Keep the next two messages at most 76 characters. */ statusbar(_("Warning: Modifying a file which is not locked," " check directory permission?")); } else { @@ -934,13 +934,12 @@ void read_file(FILE *f, int fd, const char *filename, bool undoable, bool checkw if (format == 3) { if (writable) - statusbar( - P_("Read %lu line (Converted from DOS and Mac format)", + statusbar(P_("Read %lu line (Converted from DOS and Mac format)", "Read %lu lines (Converted from DOS and Mac format)", (unsigned long)num_lines), (unsigned long)num_lines); else - statusbar( - P_("Read %lu line (Converted from DOS and Mac format - NO write permission)", + /* TRANSLATORS: Keep the next handful of messages at most 76 characters long. */ + statusbar(P_("Read %lu line (Converted from DOS and Mac format - NO write permission)", "Read %lu lines (Converted from DOS and Mac format - NO write permission)", (unsigned long)num_lines), (unsigned long)num_lines); } else if (format == 2) {