texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[5800] change quotation style for info user messages


From: Gavin D. Smith
Subject: [5800] change quotation style for info user messages
Date: Thu, 04 Sep 2014 11:29:54 +0000

Revision: 5800
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5800
Author:   gavin
Date:     2014-09-04 11:29:52 +0000 (Thu, 04 Sep 2014)
Log Message:
-----------
change quotation style for info user messages

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/dir.c
    trunk/info/footnotes.c
    trunk/info/indices.c
    trunk/info/indices.h
    trunk/info/info.c
    trunk/info/infodoc.c
    trunk/info/infomap.c
    trunk/info/m-x.c
    trunk/info/nodemenu.c
    trunk/info/pcterm.c
    trunk/info/session.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-09-04 10:54:03 UTC (rev 5799)
+++ trunk/ChangeLog     2014-09-04 11:29:52 UTC (rev 5800)
@@ -5,6 +5,9 @@
        * info/display.c (display_update_window_1): Go to new line properly
        when highlighted region crosses line.
 
+       * info: (all files) Change use of quotation marks.  Quote 'thusly'
+       instead of `thusly' in user messages.
+
 2014-09-01  Gavin Smith  <address@hidden>
 
        * info/session.c (info_move_to_prev_xref, info_move_to_next_xref):

Modified: trunk/info/dir.c
===================================================================
--- trunk/info/dir.c    2014-09-04 10:54:03 UTC (rev 5799)
+++ trunk/info/dir.c    2014-09-04 11:29:52 UTC (rev 5800)
@@ -72,10 +72,10 @@
 "This is the Info main menu (aka directory node).\n"
 "A few useful Info commands:\n"
 "\n"
-"  `q' quits;\n"
-"  `?' lists all Info commands;\n"
-"  `h' starts the Info tutorial;\n"
-"  `mTexinfo RET' visits the Texinfo manual, etc.\n"
+"  'q' quits;\n"
+"  '?' lists all Info commands;\n"
+"  'h' starts the Info tutorial;\n"
+"  'mTexinfo RET' visits the Texinfo manual, etc.\n"
 
   );
 

Modified: trunk/info/footnotes.c
===================================================================
--- trunk/info/footnotes.c      2014-09-04 10:54:03 UTC (rev 5799)
+++ trunk/info/footnotes.c      2014-09-04 11:29:52 UTC (rev 5800)
@@ -29,7 +29,7 @@
 NODE * make_footnotes_node (NODE *node);
 
 #define FOOTNOTE_HEADER_FORMAT \
-   "*** Footnotes appearing in the node `%s' ***\n"
+   "*** Footnotes appearing in the node '%s' ***\n"
 
 /* Find the window currently showing footnotes. */
 static WINDOW *

Modified: trunk/info/indices.c
===================================================================
--- trunk/info/indices.c        2014-09-04 10:54:03 UTC (rev 5799)
+++ trunk/info/indices.c        2014-09-04 11:29:52 UTC (rev 5800)
@@ -347,7 +347,7 @@
 }
 
 DECLARE_INFO_COMMAND (info_next_index_match,
- _("Go to the next matching index item from the last `\\[index-search]' 
command"))
+ _("Go to the next matching index item from the last '\\[index-search]' 
command"))
 {
   register int i;
   int partial, dir;
@@ -412,8 +412,8 @@
   if ((i < 0) || (!index_index[i]))
     {
       info_error (index_offset > 0 ?
-                 _("No more index entries containing `%s'.") :
-                 _("No index entries containing `%s'."),
+                 _("No more index entries containing '%s'.") :
+                 _("No index entries containing '%s'."),
                  index_search);
       index_offset = 0;
       return;
@@ -461,7 +461,7 @@
       char *format;
 
       format = replace_in_documentation
-        (_("Found `%s' in %s. (`\\[next-index-match]' tries to find next.)"),
+        (_("Found '%s' in %s. ('\\[next-index-match]' tries to find next.)"),
          0);
 
       window_message_in_echo_area (format, match, (char *) name);
@@ -525,7 +525,7 @@
         continue;
 
       if (this_fb && inform)
-        message_in_echo_area (_("Scanning indices of `%s'..."), 
this_item->filename);
+        message_in_echo_area (_("Scanning indices of '%s'..."), 
this_item->filename);
 
       this_index = info_indices_of_file_buffer (this_fb);
 
@@ -612,7 +612,7 @@
 
           text_buffer_init (&message);
           text_buffer_printf (&message,
-            _("\n* Menu: Nodes whose indices contain `%s':\n"),
+            _("\n* Menu: Nodes whose indices contain '%s':\n"),
              line);
 
           for (i = 0; apropos_list[i]; i++)
@@ -786,14 +786,14 @@
     }
   
   text_buffer_init (&text);
-  text_buffer_printf (&text, _("Index for `%s'"), line);
+  text_buffer_printf (&text, _("Index for '%s'"), line);
   text_buffer_add_char (&text, 0);
   off = text.off;
   text_buffer_printf (&text,
                      "\n\n%c\n%s %s,  %s %s,  %s Top\n\n"
                      "Info Virtual Index\n"
                      "******************\n\n"
-                     "Index entries that match `%s':\n"
+                     "Index entries that match '%s':\n"
                       " \b[index \b]"
                      "\n* Menu:\n\n",
                      INFO_COOKIE,
@@ -816,7 +816,7 @@
   if (cnt == 0)
     {
       text_buffer_free (&text);
-      info_error (_("No index entries containing `%s'."), line);
+      info_error (_("No index entries containing '%s'."), line);
       return;
     }
 

Modified: trunk/info/indices.h
===================================================================
--- trunk/info/indices.h        2014-09-04 10:54:03 UTC (rev 5799)
+++ trunk/info/indices.h        2014-09-04 11:29:52 UTC (rev 5800)
@@ -38,6 +38,6 @@
 extern int index_entry_exists (FILE_BUFFER *fb, char *string);
 
 #define APROPOS_NONE \
-   N_("No available info files have `%s' in their indices.")
+   N_("No available info files have '%s' in their indices.")
 
 #endif /* not INFO_INDICES_H */

Modified: trunk/info/info.c
===================================================================
--- trunk/info/info.c   2014-09-04 10:54:03 UTC (rev 5799)
+++ trunk/info/info.c   2014-09-04 11:29:52 UTC (rev 5800)
@@ -232,7 +232,7 @@
           return;
         }
       else
-        asprintf (error, _("No menu item `%s' in node `%s'."),
+        asprintf (error, _("No menu item '%s' in node '%s'."),
             (*argv)[0], "(dir)Top");
     }
 
@@ -315,7 +315,7 @@
             {
               if (!initial_file)
                 {
-                  asprintf (error, _("No file given for node `%s'."),
+                  asprintf (error, _("No file given for node '%s'."),
                             user_nodenames[i]);
                   continue;
                 }
@@ -842,7 +842,7 @@
             }
           else
             {
-              fprintf (stderr, _("no index entries found for `%s'\n"),
+              fprintf (stderr, _("no index entries found for '%s'\n"),
                        index_search_string);
               close_dribble_file ();
               exit (1);
@@ -1086,8 +1086,8 @@
 
   puts (_("\n\
 The first non-option argument, if present, is the menu entry to start from;\n\
-it is searched for in all `dir' files along INFOPATH.\n\
-If it is not present, info merges all `dir' files and shows the result.\n\
+it is searched for in all 'dir' files along INFOPATH.\n\
+If it is not present, info merges all 'dir' files and shows the result.\n\
 Any remaining arguments are treated as the names of menu\n\
 items relative to the initial node visited."));
 
@@ -1139,17 +1139,17 @@
 static void
 init_messages (void)
 {
-  msg_cant_find_node   = _("Cannot find node `%s'.");
-  msg_cant_file_node   = _("Cannot find node `(%s)%s'.");
+  msg_cant_find_node   = _("Cannot find node '%s'.");
+  msg_cant_file_node   = _("Cannot find node '(%s)%s'.");
   msg_cant_find_window = _("Cannot find a window!");
   msg_cant_find_point  = _("Point doesn't appear within this window's node!");
   msg_cant_kill_last   = _("Cannot delete the last window.");
   msg_no_menu_node     = _("No menu in this node.");
   msg_no_foot_node     = _("No footnotes in this node.");
   msg_no_xref_node     = _("No cross references in this node.");
-  msg_no_pointer       = _("No `%s' pointer for this node.");
-  msg_unknown_command  = _("Unknown Info command `%c'; try `?' for help.");
-  msg_term_too_dumb    = _("Terminal type `%s' is not smart enough to run 
Info.");
+  msg_no_pointer       = _("No '%s' pointer for this node.");
+  msg_unknown_command  = _("Unknown Info command '%c'; try '?' for help.");
+  msg_term_too_dumb    = _("Terminal type '%s' is not smart enough to run 
Info.");
   msg_at_node_bottom   = _("You are already at the last page of this node.");
   msg_at_node_top      = _("You are already at the first page of this node.");
   msg_one_window       = _("Only one window.");

Modified: trunk/info/infodoc.c
===================================================================
--- trunk/info/infodoc.c        2014-09-04 10:54:03 UTC (rev 5799)
+++ trunk/info/infodoc.c        2014-09-04 11:29:52 UTC (rev 5800)
@@ -63,7 +63,7 @@
   N_("\\%-10[next-node]  Go to the next node on this level.\n"),
   N_("\\%-10[up-node]  Go up one level.\n"),
   N_("\\%-10[top-node]  Go to the top node of this document.\n"),
-  N_("\\%-10[dir-node]  Go to the main `directory' node.\n"),
+  N_("\\%-10[dir-node]  Go to the main 'directory' node.\n"),
   "\n",
   N_("1...9       Pick the first...ninth item in this node's menu.\n"),
   N_("\\%-10[last-menu-item]  Pick the last item in this node's menu.\n"),
@@ -388,7 +388,7 @@
 
 /* Show the Info help node.  This means that the "info" file is installed
    where it can easily be found on your system. */
-DECLARE_INFO_COMMAND (info_get_info_help_node, _("Visit Info node 
`(info)Help'"))
+DECLARE_INFO_COMMAND (info_get_info_help_node, _("Visit Info node 
'(info)Help'"))
 {
   NODE *node;
   char *nodename;
@@ -917,7 +917,7 @@
 
           if (!location || !location[0])
             {
-              info_error (_("`%s' is not on any keys"), command_name);
+              info_error (_("'%s' is not on any keys"), command_name);
             }
           else
             {
@@ -932,7 +932,7 @@
             }
         }
       else
-        info_error (_("There is no function named `%s'"), command_name);
+        info_error (_("There is no function named '%s'"), command_name);
     }
 
   free (command_name);

Modified: trunk/info/infomap.c
===================================================================
--- trunk/info/infomap.c        2014-09-04 10:54:03 UTC (rev 5799)
+++ trunk/info/infomap.c        2014-09-04 11:29:52 UTC (rev 5800)
@@ -596,10 +596,10 @@
   if (!inf)
     {
       if (errno)
-        info_error (_("cannot open input file `%s' - %s"),
+        info_error (_("cannot open input file '%s' - %s"),
             filename, strerror (errno));
       else
-        info_error (_("cannot open input file `%s'"), filename);
+        info_error (_("cannot open input file '%s'"), filename);
       return 0;
     }
 

Modified: trunk/info/m-x.c
===================================================================
--- trunk/info/m-x.c    2014-09-04 10:54:03 UTC (rev 5799)
+++ trunk/info/m-x.c    2014-09-04 11:29:52 UTC (rev 5800)
@@ -130,7 +130,7 @@
         (strncmp (line, "echo-area-", 10) == 0))
       {
         free (line);
-        info_error (_("Cannot execute an `echo-area' command here."));
+        info_error (_("Cannot execute an 'echo-area' command here."));
         return;
       }
 

Modified: trunk/info/nodemenu.c
===================================================================
--- trunk/info/nodemenu.c       2014-09-04 10:54:03 UTC (rev 5799)
+++ trunk/info/nodemenu.c       2014-09-04 11:29:52 UTC (rev 5800)
@@ -181,7 +181,7 @@
   text_buffer_printf (&message,
     "%s", replace_in_documentation
      (_("Here is the menu of nodes you have recently visited.\n\
-Select one from this menu, or use `\\[history-node]' in another window.\n"), 
0));
+Select one from this menu, or use '\\[history-node]' in another window.\n"), 
0));
 
   text_buffer_printf (&message, "%s\n", nodemenu_format_info ());
 

Modified: trunk/info/pcterm.c
===================================================================
--- trunk/info/pcterm.c 2014-09-04 10:54:03 UTC (rev 5799)
+++ trunk/info/pcterm.c 2014-09-04 11:29:52 UTC (rev 5800)
@@ -1209,7 +1209,7 @@
 kill (pid_t pid, int sig)
 {
   static char interrupted_msg[] = "Interrupted\r\n";
-  static char stopped_msg[] = "Stopped.  Type `exit RET' to return.\r\n";
+  static char stopped_msg[] = "Stopped.  Type 'exit RET' to return.\r\n";
   char cwd[PATH_MAX + 1];
 
   if (pid == getpid ()

Modified: trunk/info/session.c
===================================================================
--- trunk/info/session.c        2014-09-04 10:54:03 UTC (rev 5799)
+++ trunk/info/session.c        2014-09-04 11:29:52 UTC (rev 5800)
@@ -74,10 +74,10 @@
   text_buffer_init (&text);
 
   text_buffer_printf (&text,
-                      "%s File names matching `%s'\n\n"
+                      "%s File names matching '%s'\n\n"
                       "Info File Index\n"
                       "***************\n\n"
-                      "File names that match `%s':\n",
+                      "File names that match '%s':\n",
                       INFO_NODE_LABEL,
                       term, term);
 
@@ -2076,7 +2076,7 @@
               || !strcmp ("(DIR)", window->node->up))
             {
               info_error ("%s", 
-                    _("No `Prev' or `Up' for this node within this 
document."));
+                    _("No 'Prev' or 'Up' for this node within this 
document."));
               return 1;
             }
           /* If 'Prev' and 'Up' are the same, we are at the first node
@@ -2111,7 +2111,7 @@
       else
         {
           info_error ("%s", 
-                _("No `Prev' or `Up' for this node within this document."));
+                _("No 'Prev' or 'Up' for this node within this document."));
           return 1;
         }
 
@@ -2776,7 +2776,7 @@
           if (error)
             {
               free (*error);
-              asprintf (error, _("No menu in node `%s'."),
+              asprintf (error, _("No menu in node '%s'."),
                         node_printed_rep (initial_node));
             }
           debug (3, ("no menu found"));
@@ -2798,7 +2798,7 @@
           if (error)
             {
               free (*error);
-              asprintf (error, _("No menu item `%s' in node `%s'."),
+              asprintf (error, _("No menu item '%s' in node '%s'."),
                         arg, node_printed_rep (initial_node));
             }
           debug (3, ("no entry found"));
@@ -2823,7 +2823,7 @@
             {
               free (*error);
               asprintf (error,
-                        _("Unable to find node referenced by `%s' in `%s'."),
+                        _("Unable to find node referenced by '%s' in '%s'."),
                         entry->label,
                         node_printed_rep (initial_node));
             }
@@ -3194,13 +3194,13 @@
 }
 
 /* Move to the "Top" node in this file. */
-DECLARE_INFO_COMMAND (info_top_node, _("Select the node `Top' in this file"))
+DECLARE_INFO_COMMAND (info_top_node, _("Select the node 'Top' in this file"))
 {
   info_parse_and_select ("Top", window);
 }
 
 /* Move to the node "(dir)Top". */
-DECLARE_INFO_COMMAND (info_dir_node, _("Select the node `(dir)'"))
+DECLARE_INFO_COMMAND (info_dir_node, _("Select the node '(dir)'"))
 {
   info_parse_and_select ("(dir)Top", window);
 }
@@ -3251,7 +3251,7 @@
           if (info_recent_file_error)
             info_error ("%s", info_recent_file_error);
           else
-            info_error (_("Cannot find `%s'."), line);
+            info_error (_("Cannot find '%s'."), line);
         }
       else
         info_set_node_of_window (window, node);
@@ -3300,7 +3300,7 @@
 
   if (!output_stream)
     {
-      info_error (_("Could not create output file `%s'."), output_filename);
+      info_error (_("Could not create output file '%s'."), output_filename);
       return;
     }
 
@@ -3446,7 +3446,7 @@
 
   if (!printer_pipe)
     {
-      info_error (_("Cannot open pipe to `%s'."), print_command);
+      info_error (_("Cannot open pipe to '%s'."), print_command);
       return;
     }
 
@@ -4706,7 +4706,7 @@
   else
     {
       char *temp = xmalloc (1 + strlen (rep) + strlen (_("\"%s\" is 
invalid")));
-      sprintf (temp, _("`%s' is invalid"), rep);
+      sprintf (temp, _("'%s' is invalid"), rep);
       terminal_ring_bell ();
       inform_in_echo_area (temp);
       free (temp);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]