Reduce the possibility of translator errors
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 11 Aug 2013 05:40:27 +0000 (07:40 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 11 Aug 2013 05:40:27 +0000 (07:40 +0200)
src/ui/source-init-opts.c

index 9627fdf57a5525696f2ba5953b110a0b2f14cf94..f9ced35c95816625bcc163790d17d10a43791f5a 100644 (file)
@@ -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: