From df3b6e284482157a28f9737b873b119447e48ff9 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 11 Aug 2013 07:40:27 +0200 Subject: [PATCH] Reduce the possibility of translator errors --- src/ui/source-init-opts.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/ui/source-init-opts.c b/src/ui/source-init-opts.c index 9627fdf57a..f9ced35c95 100644 --- a/src/ui/source-init-opts.c +++ b/src/ui/source-init-opts.c @@ -71,10 +71,8 @@ source_init_option_callback (int id, void *aux UNUSED) else if (!strcmp (optarg, "enhanced")) settings_set_algorithm (ENHANCED); else - /* TRANSLATORS: Leave the words `compatible' and `enhanced' in their - original English. */ error (1, 0, - _("Algorithm must be either `compatible' or `enhanced'.")); + _("Algorithm must be either `%s' or `%s'."), "compatible", "enhanced"); break; case OPT_INCLUDE: @@ -98,10 +96,8 @@ source_init_option_callback (int id, void *aux UNUSED) else if (!strcmp (optarg, "enhanced")) settings_set_syntax (ENHANCED); else - /* TRANSLATORS: Leave the words `compatible' and `enhanced' in their - original English. */ error (1, 0, - _("Syntax must be either `compatible' or `enhanced'.")); + _("Syntax must be either `%s' or `%s'."), "compatible", "enhanced"); break; default: -- 2.30.2