commit 9a77c997e2c4525ae59feced4f557f8d59123563
parent 2cee79fbbf69ba235d86dc5a16c08449d3016665
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Mon, 26 Nov 2018 09:13:22 +0100
tweaks: remove two tag definitions that are no longer needed
Diffstat:
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/src/global.c b/src/global.c
@@ -518,14 +518,10 @@ void print_sclist(void)
}
#endif
-/* These four tags are used elsewhere too, so they are global. */
-/* TRANSLATORS: Try to keep the next four strings at most 10 characters. */
+/* These two tags are used elsewhere too, so they are global. */
+/* TRANSLATORS: Try to keep the next two strings at most 10 characters. */
const char *exit_tag = N_("Exit");
const char *close_tag = N_("Close");
-const char *uncut_tag = N_("Uncut Text");
-#ifdef ENABLE_JUSTIFY
-const char *unjust_tag = N_("Unjustify");
-#endif
/* Initialize the list of functions and the list of shortcuts. */
void shortcut_init(void)
@@ -765,7 +761,7 @@ void shortcut_init(void)
N_("Cut Text"), WITHORSANS(cut_gist), TOGETHER, NOVIEW);
add_to_funcs(do_uncut_text, MMAIN,
- uncut_tag, WITHORSANS(uncut_gist), BLANKAFTER, NOVIEW);
+ N_("Uncut Text"), WITHORSANS(uncut_gist), BLANKAFTER, NOVIEW);
if (!ISSET(RESTRICTED)) {
#ifdef ENABLE_JUSTIFY
diff --git a/src/proto.h b/src/proto.h
@@ -103,9 +103,7 @@ extern int whitespace_len[2];
extern const char *exit_tag;
extern const char *close_tag;
-extern const char *uncut_tag;
#ifdef ENABLE_JUSTIFY
-extern const char *unjust_tag;
extern char *punct;
extern char *brackets;
extern char *quotestr;