commit 2d16c2782039abf69992e63c81e8e59196677f64
parent ad65b79ac7693ccb1b5906a3db27907d7e8ed1c4
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 22 Sep 2019 17:30:22 +0200
tweaks: add two hints for translators, to try and help avoid mistakes
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/nano.c b/src/nano.c
@@ -763,7 +763,9 @@ void usage(void)
#endif
#ifdef ENABLE_JUSTIFY
print_opt(_("-Q <regex>"), _("--quotestr=<regex>"),
- N_("Regular expression to match quoting"));
+ /* TRANSLATORS: This refers to email quoting,
+ * like the > in: > quoted text. */
+ N_("Regular expression to match quoting"));
#endif
if (!ISSET(RESTRICTED))
print_opt("-R", "--restricted", N_("Restricted mode"));
diff --git a/src/text.c b/src/text.c
@@ -3182,6 +3182,7 @@ void complete_a_word(void)
/* If there is no word fragment before the cursor, do nothing. */
if (start_of_shard == openfile->current_x) {
+ /* TRANSLATORS: Shown when no text is directly left of the cursor. */
statusbar(_("No word fragment"));
pletion_line = NULL;
return;