From 54217ea5001e4e3846e6057e69c515fe8343c0ba Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 5 Apr 2016 16:29:36 +0200 Subject: [PATCH] i18n: advise the translators about the maximum length of some strings --- src/files.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/files.c b/src/files.c index a24b5612..e359ec3e 100644 --- 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) {