texinfo-commits
[Top][All Lists]
Advanced

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

[7773] remove full stop from end of user messages


From: gavinsmith0123
Subject: [7773] remove full stop from end of user messages
Date: Sat, 13 May 2017 09:38:44 -0400 (EDT)

Revision: 7773
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7773
Author:   gavin
Date:     2017-05-13 09:38:44 -0400 (Sat, 13 May 2017)
Log Message:
-----------
remove full stop from end of user messages

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/indices.c
    trunk/info/indices.h
    trunk/info/info-utils.c
    trunk/info/info.c
    trunk/info/infodoc.c
    trunk/info/m-x.c
    trunk/info/session.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2017-05-12 18:54:19 UTC (rev 7772)
+++ trunk/ChangeLog     2017-05-13 13:38:44 UTC (rev 7773)
@@ -1,3 +1,21 @@
+2017-05-13  Gavin Smith  <address@hidden>
+
+       * info/indices.c (info_index_search, info_next_index_match),
+       * info/indices.h (APROPOS_NONE),
+       * info/info-utils.c (copy_converting),
+       * info/info.c (get_initial_file, add_initial_nodes, init_messages),
+       * info/infodoc.c (describe_key, info_where_is),
+       * info/m-x.c (info_execute_command),
+       * info/session.c
+       (menu_digit, info_menu_or_ref_item, info_follow_menus)
+       (forward_move_node_structure, backward_move_node_structure)
+       (info_view_file, dump_nodes_to_file, info_print_node)
+       (info_toggle_regexp, info_search_internal)
+       (tree_search_check_node, tree_search_check_node_backwards)
+       (wipe_seen_flags, dispatch_error): Remove full stop from end
+       of messages given to the user.  Inconsistent use of full stops
+       reported by Benno Schulenberg.
+
 2017-05-12  Gavin Smith  <address@hidden>
 
        * doc/info-stnd.texi (infokey format): Correct documentation of

Modified: trunk/info/indices.c
===================================================================
--- trunk/info/indices.c        2017-05-12 18:54:19 UTC (rev 7772)
+++ trunk/info/indices.c        2017-05-13 13:38:44 UTC (rev 7773)
@@ -212,7 +212,7 @@
 
   if (!fb || !index_index)
     {
-      info_error (_("No indices found."));
+      info_error (_("No indices found"));
       return;
     }
 
@@ -456,7 +456,7 @@
      yet. */
   if (!index_search)
     {
-      info_error (_("No previous index search string."));
+      info_error (_("No previous index search string"));
       return;
     }
 
@@ -474,7 +474,7 @@
   if (!result)
     {
       info_error (index_offset > 0 ?
-                 _("No more index entries containing '%s'.") :
+                  _("No more index entries containing '%s'") :
                  _("No index entries containing '%s'."),
                  index_search);
       index_offset = 0;

Modified: trunk/info/indices.h
===================================================================
--- trunk/info/indices.h        2017-05-12 18:54:19 UTC (rev 7772)
+++ trunk/info/indices.h        2017-05-13 13:38:44 UTC (rev 7773)
@@ -39,6 +39,6 @@
 NODE *create_virtual_index (FILE_BUFFER *file_buffer, char *index_search);
 
 #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-utils.c
===================================================================
--- trunk/info/info-utils.c     2017-05-12 18:54:19 UTC (rev 7772)
+++ trunk/info/info-utils.c     2017-05-13 13:38:44 UTC (rev 7773)
@@ -877,7 +877,7 @@
             }
           continue;
         default: /* Unknown error */
-          info_error (_("Error converting file character encoding."));
+          info_error (_("Error converting file character encoding"));
 
           /* Skip past current input and hope we don't get an
              error next time. */

Modified: trunk/info/info.c
===================================================================
--- trunk/info/info.c   2017-05-12 18:54:19 UTC (rev 7772)
+++ trunk/info/info.c   2017-05-13 13:38:44 UTC (rev 7773)
@@ -277,7 +277,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");
     }
 
@@ -412,7 +412,7 @@
               if (!node_nodename)
                 {
                   free (*error);
-                  asprintf (error, _("Cannot find node '%s'."),
+                  asprintf (error, _("Cannot find node '%s'"),
                             user_nodenames[i]);
                   continue;
                 }
@@ -434,7 +434,7 @@
 
       if (ref_index == 0)
         {
-          info_error (_("No program name given."));
+          info_error (_("No program name given"));
           exit (1);
         }
 
@@ -1185,20 +1185,20 @@
 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_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.");
-  msg_win_too_small    = _("Resulting window would be too small.");
-  msg_cant_make_help   = _("Not enough room for a help window, please delete a 
window.");
+  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_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");
+  msg_win_too_small    = _("Resulting window would be too small");
+  msg_cant_make_help   = _("Not enough room for a help window, please delete a 
window");
 }

Modified: trunk/info/infodoc.c
===================================================================
--- trunk/info/infodoc.c        2017-05-12 18:54:19 UTC (rev 7772)
+++ trunk/info/infodoc.c        2017-05-13 13:38:44 UTC (rev 7773)
@@ -470,7 +470,7 @@
 
       if (map[keystroke].value.function == NULL)
         {
-          message_in_echo_area (_("%s is undefined."), pretty_keyseq (keys));
+          message_in_echo_area (_("%s is undefined"), pretty_keyseq (keys));
           return;
         }
       else if (map[keystroke].type == ISKMAP)
@@ -506,7 +506,7 @@
 
               if (map[lowerkey].value.function == NULL)
                 {
-                  message_in_echo_area (_("%s is undefined."),
+                  message_in_echo_area (_("%s is undefined"),
                                        pretty_keyseq (keys));
                   return;
                 }
@@ -900,11 +900,11 @@
             {
               if (strstr (location, function_name (command)))
                 window_message_in_echo_area
-                  (_("%s can only be invoked via %s."),
+                  (_("%s can only be invoked via %s"),
                    command_name, location);
               else
                 window_message_in_echo_area
-                  (_("%s can be invoked via %s."),
+                  (_("%s can be invoked via %s"),
                    command_name, location);
             }
         }

Modified: trunk/info/m-x.c
===================================================================
--- trunk/info/m-x.c    2017-05-12 18:54:19 UTC (rev 7772)
+++ trunk/info/m-x.c    2017-05-13 13:38:44 UTC (rev 7773)
@@ -133,7 +133,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/session.c
===================================================================
--- trunk/info/session.c        2017-05-12 18:54:19 UTC (rev 7772)
+++ trunk/info/session.c        2017-05-13 13:38:44 UTC (rev 7773)
@@ -2233,11 +2233,11 @@
   if (entry = select_menu_digit (window, key))
     info_select_reference (window, entry);
   else if (key == '0')
-    /* Don't print "There aren't 0 items in this menu." */
+    /* Don't print "There aren't 0 items in this menu" */
     info_error ("%s", msg_no_menu_node);
   else
-    info_error (ngettext ("There isn't %d item in this menu.",
-                          "There aren't %d items in this menu.",
+    info_error (ngettext ("There isn't %d item in this menu",
+                          "There aren't %d items in this menu",
                           item),
                 item);
   return;
@@ -2444,7 +2444,7 @@
         }
 
       if (!entry && defentry)
-        info_error (_("The reference disappeared! (%s)."), line);
+        info_error (_("The reference disappeared! (%s)"), line);
       else
         {
           info_select_reference (window, entry);
@@ -2767,7 +2767,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"));
@@ -2789,7 +2789,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"));
@@ -2814,7 +2814,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));
             }
@@ -3164,7 +3164,7 @@
                     {
                     case SLN_Stop:
                       info_error ("%s",
-                                  _("No more nodes within this document."));
+                                  _("No more nodes within this document"));
                       return 1;
                       
                     case SLN_Top:
@@ -3208,8 +3208,7 @@
              Don't do anything. */
           if (!strncasecmp (window->node->up, "(dir)", strlen ("(dir)")))
             {
-              info_error ("%s", 
-                    _("No 'Prev' or 'Up' for this node within this 
document."));
+              info_error ("%s", _("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
@@ -3248,8 +3247,7 @@
         info_handle_pointer ("Prev", window);
       else
         {
-          info_error ("%s", 
-                _("No 'Prev' or 'Up' for this node within this document."));
+          info_error ("%s", _("No 'Prev' or 'Up' for this node within this 
document"));
           return 1;
         }
 
@@ -3670,7 +3668,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);
@@ -3718,7 +3716,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;
     }
 
@@ -3864,7 +3862,7 @@
 
   if (!printer_pipe)
     {
-      info_error (_("Cannot open pipe to '%s'."), print_command);
+      info_error (_("Cannot open pipe to '%s'"), print_command);
       return;
     }
 
@@ -3913,8 +3911,8 @@
 {
   use_regex = !use_regex;
   window_message_in_echo_area (use_regex
-                               ? _("Using regular expressions for searches.")
-                               : _("Using literal strings for searches."));
+                               ? _("Using regular expressions for searches")
+                               : _("Using literal strings for searches"));
 }
 
 /* Search for STRING in NODE starting at START.  The DIR argument says which
@@ -4117,12 +4115,12 @@
         {
           if (i < 0)
             {
-              msg = N_("Search continued from the end of the document.");
+              msg = N_("Search continued from the end of the document");
               i = number_of_tags - 1;
             }
           else if (i == number_of_tags)
             {
-              msg = N_("Search continued from the beginning of the document.");
+              msg = N_("Search continued from the beginning of the document");
               i = 0;
             }
           
@@ -4175,7 +4173,7 @@
 
   /* Not in interactive search. */
   if (!echo_area_is_active)
-    info_error ("%s", _("Search failed."));
+    info_error ("%s", _("Search failed"));
 
 funexit:
   return -1;
@@ -4435,7 +4433,7 @@
       window->point = window->node->body_start;
       tree_search_check_node_backwards (window);
     }
-  info_error (previous_match ?  _("No more matches.") : _("Search failed."));
+  info_error (previous_match ?  _("No more matches") : _("Search failed"));
 
 funexit:
   free (string);
@@ -4548,7 +4546,7 @@
     }
 
   /* Otherwise, no result. */
-  info_error (previous_match ?  _("No more matches.") : _("Search failed."));
+  info_error (previous_match ?  _("No more matches") : _("Search failed"));
 
 funexit:
   free (string);
@@ -4575,7 +4573,7 @@
 }
 
 DECLARE_INFO_COMMAND (info_tree_search,
-                      _("Search this node and subnodes for a string."))
+                      _("Search this node and subnodes for a string"))
 {
   char *prompt, *line;
   int i;
@@ -5355,7 +5353,7 @@
   rep = pretty_keyseq (keyseq);
 
   if (!echo_area_is_active)
-    info_error (_("Unknown command (%s)."), rep);
+    info_error (_("Unknown command (%s)"), rep);
   else
     {
       char *temp = xmalloc (1 + strlen (rep) + strlen (_("\"%s\" is 
invalid")));




reply via email to

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