Fix typos in printed strings
[pspp] / src / language / utilities / set.q
index 30f3c56e578fda7ed4c7b6ba79d5058c4bbb07ed..9a2e981a910d1d3930a41b4de03d8bf6ca3bb8c4 100644 (file)
@@ -402,7 +402,7 @@ stc_custom_locale (struct lexer *lexer, struct dataset *ds UNUSED,
     }
   else
     {
-      msg (ME, _("%s is not a recognised encoding or locale name"),
+      msg (ME, _("%s is not a recognized encoding or locale name"),
           ds_cstr (s));
       return 0;
     }
@@ -509,7 +509,7 @@ stc_custom_journal (struct lexer *lexer, struct dataset *ds UNUSED, struct cmd_s
     journal_enable ();
   else if (lex_match_id (lexer, "OFF") || lex_match_id (lexer, "NO"))
     journal_disable ();
-  else if (lex_token (lexer) == T_STRING || lex_token (lexer) == T_ID)
+  else if (lex_is_string (lexer) || lex_token (lexer) == T_ID)
     {
       journal_set_file_name (ds_cstr (lex_tokstr (lexer)));
       lex_get (lexer);
@@ -618,13 +618,13 @@ show_cce (const struct dataset *ds UNUSED)
 static char *
 show_decimals (const struct dataset *ds UNUSED)
 {
-  return xasprintf ("\"%c\"", settings_get_decimal_char (FMT_F));
+  return xasprintf ("`%c'", settings_get_decimal_char (FMT_F));
 }
 
 static char *
 show_endcmd (const struct dataset *ds UNUSED)
 {
-  return xasprintf ("\"%c\"", settings_get_endcmd ());
+  return xasprintf ("`%c'", settings_get_endcmd ());
 }
 
 static char *