X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fsource-init-opts.c;h=baa24d303fdc3bbac4f68266f247d98fa06c1ad7;hb=f7d622c96c3a9e10447a23c1efb9e027c8bde7cf;hp=9627fdf57a5525696f2ba5953b110a0b2f14cf94;hpb=9ade26c8349b4434008c46cf09bc7473ec743972;p=pspp diff --git a/src/ui/source-init-opts.c b/src/ui/source-init-opts.c index 9627fdf57a..baa24d303f 100644 --- a/src/ui/source-init-opts.c +++ b/src/ui/source-init-opts.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2008, 2010 Free Software Foundation + Copyright (C) 2008, 2010, 2014 Free Software Foundation This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,10 +22,7 @@ #include #include -#include "data/file-name.h" -#include "data/por-file-reader.h" #include "data/settings.h" -#include "data/sys-file-reader.h" #include "language/lexer/include-path.h" #include "language/lexer/lexer.h" #include "libpspp/assertion.h" @@ -71,10 +68,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 +93,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: