commit fd667b519188576200db4d121853d1205ccf2ab3
parent aabfefde7e5cfb70831c8aa89683fb6430f6942b
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Mon, 27 Jul 2020 10:33:42 +0200
tweaks: add four more translator hints
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/files.c b/src/files.c
@@ -1693,6 +1693,7 @@ bool make_backup_of(char *realname)
/* If both attempts failed, and it isn't because of lack of disk space,
* ask the user what to do, because if something goes wrong during the
* save of the file itself, its contents may be lost. */
+ /* TRANSLATORS: Try to keep this message at most 76 characters. */
if (errno != ENOSPC && do_yesno_prompt(FALSE, _("Cannot make backup; "
"continue and save actual file? ")) == 1)
return TRUE;
@@ -2235,6 +2236,7 @@ int do_writeout(bool exiting, bool withprompt)
warn_and_briefly_pause(_("File on disk has changed"));
+ /* TRANSLATORS: Try to keep this at most 76 characters. */
choice = do_yesno_prompt(FALSE, _("File was modified "
"since you opened it; continue saving? "));
wipe_statusbar();
diff --git a/src/global.c b/src/global.c
@@ -1016,6 +1016,7 @@ void shortcut_init(void)
N_("Down to anchor"), WITHORSANS(nextanchor_gist), BLANKAFTER, VIEW);
add_to_funcs(zap_text, MMAIN,
+ /* TRANSLATORS: This *deletes* a line or marked region. */
N_("Zap"), WITHORSANS(zap_gist), BLANKAFTER, NOVIEW);
if (!ISSET(RESTRICTED)) {
@@ -1111,6 +1112,7 @@ void shortcut_init(void)
/* The file browser is only available when not in restricted mode. */
if (!ISSET(RESTRICTED))
add_to_funcs(to_files, MWRITEFILE|MINSERTFILE,
+ /* TRANSLATORS: This invokes the file browser. */
N_("Browse"), WITHORSANS(tofiles_gist), BLANKAFTER, VIEW);
add_to_funcs(do_page_up, MBROWSER,