X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fsource-init-opts.c;h=d55a2d5d9fb246f66779ff86d178924639c3da93;hb=0b5b20375dfeb7a471c92c14dffd1e2b8b771166;hp=9627fdf57a5525696f2ba5953b110a0b2f14cf94;hpb=fe8dc2171009e90d2335f159d05f7e6660e24780;p=pspp diff --git a/src/ui/source-init-opts.c b/src/ui/source-init-opts.c index 9627fdf57a..d55a2d5d9f 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 @@ -23,9 +23,7 @@ #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 +69,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 +94,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: