Commit 54217ea5 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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

parent ba38d61f
Showing with 4 additions and 5 deletions
+4 -5
...@@ -149,7 +149,7 @@ void set_modified(void) ...@@ -149,7 +149,7 @@ void set_modified(void)
return; return;
if (openfile->lock_filename == NULL) { 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," statusbar(_("Warning: Modifying a file which is not locked,"
" check directory permission?")); " check directory permission?"));
} else { } else {
...@@ -934,13 +934,12 @@ void read_file(FILE *f, int fd, const char *filename, bool undoable, bool checkw ...@@ -934,13 +934,12 @@ void read_file(FILE *f, int fd, const char *filename, bool undoable, bool checkw
if (format == 3) { if (format == 3) {
if (writable) if (writable)
statusbar( statusbar(P_("Read %lu line (Converted from DOS and Mac format)",
P_("Read %lu line (Converted from DOS and Mac format)",
"Read %lu lines (Converted from DOS and Mac format)", "Read %lu lines (Converted from DOS and Mac format)",
(unsigned long)num_lines), (unsigned long)num_lines); (unsigned long)num_lines), (unsigned long)num_lines);
else else
statusbar( /* TRANSLATORS: Keep the next handful of messages at most 76 characters long. */
P_("Read %lu line (Converted from DOS and Mac format - NO write permission)", 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)", "Read %lu lines (Converted from DOS and Mac format - NO write permission)",
(unsigned long)num_lines), (unsigned long)num_lines); (unsigned long)num_lines), (unsigned long)num_lines);
} else if (format == 2) { } else if (format == 2) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment