]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix typos.
authorBruno Haible <bruno@clisp.org>
Mon, 21 Jul 2025 13:31:01 +0000 (15:31 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 21 Jul 2025 20:08:41 +0000 (22:08 +0200)
Reported by <Jens.Schleusener@fossies.org>.

* gettext-tools/libgrep/m-regex.c: Fix typo in comments.
* gettext-tools/misc/autopoint.in: Likewise.
* gettext-tools/misc/gettextize.in: Likewise.
* gettext-tools/src/format-python-brace.c: Likewise.
* gettext-tools/src/gnu/gettext/DumpResource.java: Likewise.
* gettext-tools/src/its.h: Likewise.
* gettext-tools/src/locating-rules.h: Likewise.
* gettext-tools/src/msgmerge.c: Likewise.
* gettext-tools/src/read-catalog-abstract.h: Likewise.
* gettext-tools/src/read-catalog-abstract.c: Likewise.
* gettext-tools/src/read-catalog.h: Likewise.
* gettext-tools/src/read-properties.c: Likewise.
* gettext-tools/src/write-java.c: Likewise.
* gettext-tools/src/write-mo.c: Likewise.
* gettext-tools/src/x-d.c: Likewise.
* gettext-tools/src/x-scheme.c: Likewise.
* gettext-tools/src/x-sh.c: Likewise.
* gettext-tools/emacs/po-mode.el: Fix typos in help and comments.
* gettext-tools/doc/gettext.texi: Fix typos.
* NEWS: Fix typos.

20 files changed:
NEWS
gettext-tools/doc/gettext.texi
gettext-tools/emacs/po-mode.el
gettext-tools/libgrep/m-regex.c
gettext-tools/misc/autopoint.in
gettext-tools/misc/gettextize.in
gettext-tools/src/format-python-brace.c
gettext-tools/src/gnu/gettext/DumpResource.java
gettext-tools/src/its.h
gettext-tools/src/locating-rules.h
gettext-tools/src/msgmerge.c
gettext-tools/src/read-catalog-abstract.c
gettext-tools/src/read-catalog-abstract.h
gettext-tools/src/read-catalog.h
gettext-tools/src/read-properties.c
gettext-tools/src/write-java.c
gettext-tools/src/write-mo.c
gettext-tools/src/x-d.c
gettext-tools/src/x-scheme.c
gettext-tools/src/x-sh.c

diff --git a/NEWS b/NEWS
index e10776206fd1948c734f788cad008c224b156e80..56645e9ebdbc7c5a989d7d9ae005ee94de52d805 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -732,7 +732,7 @@ Version 0.18.3 - July 2013
     set of formatting methods nor translation functions, the
     implementation supports only a limited set of formatting methods
     and translation functions commonly used in Gjs and other popular
-    JavaScript implemenations and libraries.
+    JavaScript implementations and libraries.
 
   - Lua:
     xgettext now supports Lua, using Ľubomír Remák's lua-gettext.
@@ -848,7 +848,7 @@ Version 0.18 - May 2010
   version 0.12.
 
 * msgfilter now sets environment variables during the invocation of the
-  filter, indicating the msgid and location of the messge being processed.
+  filter, indicating the msgid and location of the message being processed.
 
 * xgettext now can extract plural forms from Qt 4 programs. The recommended
   xgettext command-line options for this case are:
index 77459001deb900398298603569026fd00f325736..4fd819e9e8e2abec87be6d7a4baa4e52d66aff81 100644 (file)
@@ -212,7 +212,7 @@ The User's View
 Setting the Locale through Environment Variables
 
 * Locale Names::                How a Locale Specification Looks Like
-* Locale Environment Variables::  Which Environment Variable Specfies What
+* Locale Environment Variables::  Which Environment Variable Specifies What
 * The LANGUAGE variable::       How to Specify a Priority List of Languages
 
 The Format of PO Files
@@ -1298,7 +1298,7 @@ prompt, merely execute
 
 @menu
 * Locale Names::                How a Locale Specification Looks Like
-* Locale Environment Variables::  Which Environment Variable Specfies What
+* Locale Environment Variables::  Which Environment Variable Specifies What
 * The LANGUAGE variable::       How to Specify a Priority List of Languages
 @end menu
 
@@ -5805,7 +5805,7 @@ you therefore normally don't need to save output produced with the
 
 @vindex TERM@r{, environment variable}
 The environment variable @code{TERM} contains a identifier for the text
-window's capabilities.  You can get a detailed list of these cababilities
+window's capabilities.  You can get a detailed list of these capabilities
 by using the @samp{infocmp} command, using @samp{man 5 terminfo} as a
 reference.
 
index cad2bdac7226e52a2bec7f60931ef4ae5c554515..2cde7af14687c3acae48f70f4fa6520ff6c42fde 100644 (file)
@@ -1,6 +1,6 @@
 ;;; po-mode.el --- major mode for GNU gettext PO files
 
-;; Copyright (C) 1995-2024 Free Software Foundation, Inc.
+;; Copyright (C) 1995-2025 Free Software Foundation, Inc.
 
 ;; Authors: François Pinard <pinard@iro.umontreal.ca>
 ;;          Greg McGary <gkm@magilla.cichlid.com>
@@ -466,7 +466,7 @@ slightly different."
     )
   "*Association list giving team codes from team names.
 This is used for generating a submission file name for the 'M' command.
-If a string instead of an alist, it is a team code to use unconditionnally."
+If a string instead of an alist, it is a team code to use unconditionally."
   :type 'sexp
   :group 'po)
 
@@ -710,7 +710,7 @@ M-S  Ignore path          M-A  Ignore PO file      *M-L  Ignore lexicon
       :help "Initialize or replace current translation with the original message"])
     ("Other files"
      ["Other window" po-other-window
-      :help "Select other window; if necessay split current frame"]
+      :help "Select other window; if necessary split current frame"]
      "---"
      ;; "Program sources"
      ["Cycle reference in source file" po-cycle-source-reference t]
@@ -1335,7 +1335,7 @@ fuzzy, untranslated, or translated."
                  nil t)
                 (replace-match "" t t)))))))
 \f
-;;; Entry positionning.
+;;; Entry positioning.
 
 (defun po-say-location-depth ()
   "Tell how many entries in the entry location stack."
index 60e8955b65362082f45500addf1e49328c487a91..37719f42f70160ad7a25f1c8a460793e3ab0b2eb 100644 (file)
@@ -1,5 +1,5 @@
 /* Pattern Matchers for Regular Expressions.
-   Copyright (C) 1992-2024 Free Software Foundation, Inc.
+   Copyright (C) 1992-2025 Free Software Foundation, Inc.
 
    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
@@ -188,7 +188,7 @@ EGexecute (const void *compiled_pattern,
                 {
                   /* If -w, check if the match aligns with word boundaries.
                      We do this iteratively because:
-                     (a) the line may contain more than one occurence of the
+                     (a) the line may contain more than one occurrence of the
                          pattern, and
                      (b) Several alternatives in the pattern might be valid at
                          a given point, and we may need to consider a shorter
index 9f26e2096885f69e57aa66e5281345520d68d7bf..7bf6ed03dfc28108744d3c2861a1f377af77caa1 100644 (file)
@@ -277,7 +277,7 @@ unset CLICOLOR_FORCE GREP_OPTIONS
       --version | --versio | --versi | --vers | --ver | --ve | --v )
         func_version true
         exit 0 ;;
-      -- ) # Stop option prcessing
+      -- ) # Stop option processing
         shift; break ;;
       -* )
         echo "autopoint: unknown option $1" 1>&2
index 856e0e1a0fa0c6593eedd8b94d49debf77f4539b..11c31bf9107e61b95edcfb40df53b0093346a9b0 100644 (file)
@@ -283,7 +283,7 @@ unset CLICOLOR_FORCE GREP_OPTIONS
       --version | --versio | --versi | --vers | --ver | --ve | --v )
         func_version
         exit 0 ;;
-      -- ) # Stop option prcessing
+      -- ) # Stop option processing
         shift; break ;;
       -* )
         echo "gettextize: unknown option $1" 1>&2
index 168356b320758d6fe689562c649895f131cfda00..7dc3b725df90eddd2a09996119c9249676893f94 100644 (file)
@@ -171,7 +171,7 @@ parse_directive (struct spec *spec,
       || parse_numeric_field (spec, &format, translated, fdi, invalid_reason))
     {
       /* Parse '.' (getattr) or '[..]' (getitem) operators followed by a
-         name.  If must not recurse, but can be specifed in a chain, such
+         name.  If must not recurse, but can be specified in a chain, such
          as "foo.bar.baz[0]".  */
       for (;;)
         {
index 41f002a6f63ffbc2bb806387b317db0b24349e77..6586494d14c677f2813a89a1c1dd479d66ffb044 100644 (file)
@@ -1,5 +1,5 @@
 /* GNU gettext for Java
- * Copyright (C) 2001-2003, 2007 Free Software Foundation, Inc.
+ * Copyright (C) 2001-2025 Free Software Foundation, Inc.
  *
  * 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
@@ -211,7 +211,7 @@ public class DumpResource {
     Locale locale = new Locale(language,country,variant);
     // Get the resource.
     ResourceBundle catalog = ResourceBundle.getBundle(resource_name,locale);
-    // We are only interested in the messsages belonging to the locale
+    // We are only interested in the messages belonging to the locale
     // itself, not in the inherited messages. But catalog.getLocale() exists
     // only in Java2 and sometimes differs from the given locale.
     try {
index f5221ef495a6d64e6eb353415fe5dee2d7660aec..93e6a0f2bb9d6503e6c6cb243d52df27c910a7e2 100644 (file)
@@ -1,5 +1,5 @@
 /* Internationalization Tag Set (ITS) handling
-   Copyright (C) 2015-2024 Free Software Foundation, Inc.
+   Copyright (C) 2015-2025 Free Software Foundation, Inc.
 
    This file was written by Daiki Ueno <ueno@gnu.org>, 2015.
 
@@ -67,7 +67,7 @@ typedef message_ty *
                                     const char *marker,
                                     enum its_whitespace_type_ty whitespace);
 
-/* Extracts messages from FP, accoding to the loaded ITS rules.  */
+/* Extracts messages from FP, according to the loaded ITS rules.  */
 extern void its_rule_list_extract (its_rule_list_ty *rules,
                                    FILE *fp, const char *real_filename,
                                    const char *logical_filename,
index f50ef6e96317cb660e6e6c950491ac995820bfca..dc7473e9567a13e277e211fc5d0dece01568dea9 100644 (file)
@@ -1,5 +1,5 @@
 /* XML resource locating rules
-   Copyright (C) 2015-2024 Free Software Foundation, Inc.
+   Copyright (C) 2015-2025 Free Software Foundation, Inc.
 
    This file was written by Daiki Ueno <ueno@gnu.org>, 2015.
 
@@ -88,7 +88,7 @@ extern bool
 
 /* Determines the location of the .its file to be used for FILENAME,
    when the "language name" is NAME (can be NULL if not provided),
-   accoding to the locating rules in the RULES object.
+   according to the locating rules in the RULES object.
    The result is just the base name of the .its file; the caller then
    needs to find it, using "search-path.h".
    The lifetime of the result is limited by the lifetime of the RULES
index df4a89ea900eaf67e2266f2cf8245bc779455652..dacd319497a4063d2c20e395bfddd45909524988 100644 (file)
@@ -1169,7 +1169,7 @@ message_merge (message_ty *def, message_ty *ref, bool force_fuzzy,
               }
 
               /* The rest of the Language-Team field should be the english name
-                 of the languge.  Convert to ISO 639 and ISO 3166 syntax.  */
+                 of the language.  Convert to ISO 639 and ISO 3166 syntax.  */
               {
                 size_t i;
 
index d14c7db1d5177ff7820a8e662b999742f94a9fa8..754d6db52046ec2ddc5f877d870850908a3943da 100644 (file)
@@ -558,7 +558,7 @@ parse_comment_solaris_filepos (abstract_catalog_reader_ty *catr, const char *s)
 }
 
 
-/* This callback is called whenever a generic comment line has been seeen.
+/* This callback is called whenever a generic comment line has been seen.
    It parses s and invokes the appropriate method: call_comment,
    call_comment_dot, call_comment_filepos (via parse_comment_filepos), or
    call_comment_special.  */
index e18f9ac6d51bbdb451b5b2036a8ad92f007d0598..9112226feab5854538c19c7600baa9770bfec53a 100644 (file)
@@ -1,5 +1,5 @@
 /* Reading textual message catalogs (such as PO files), abstract class.
-   Copyright (C) 1995-2024 Free Software Foundation, Inc.
+   Copyright (C) 1995-2025 Free Software Foundation, Inc.
 
    This file was written by Peter Miller <millerp@canb.auug.org.au>
 
@@ -229,7 +229,7 @@ extern void
 extern void
        catalog_reader_seen_comment_special (abstract_catalog_reader_ty *catr,
                                             const char *s);
-/* This callback is called whenever a generic comment line has been seeen.
+/* This callback is called whenever a generic comment line has been seen.
    It parses s and invokes the appropriate method.  */
 extern void
        catalog_reader_seen_generic_comment (abstract_catalog_reader_ty *catr,
index 875b19137b413e89b5c86d0ae3133edbeda27699..dc4b54503734310aa77b967e7d6133b00d477475 100644 (file)
@@ -80,7 +80,7 @@ struct default_catalog_reader_class_ty
   /* If true, pay attention to comments and filepos comments.  */       \
   bool handle_comments;                                                 \
                                                                         \
-  /* If false, domain directives lead to an error messsage.  */         \
+  /* If false, domain directives lead to an error message.  */          \
   bool allow_domain_directives;                                         \
                                                                         \
   /* If false, duplicate msgids in the same domain and file generate an \
index 3531065ea38110bd95fa1501a68b026b2c144916..91f5c9fb87eb6de8bd959559873bdded07fba533 100644 (file)
@@ -55,7 +55,7 @@
 
    The encoding of Java .properties files is:
      - ASCII with Java \uxxxx escape sequences,
-     - ISO-8859-1 if non-ASCII bytes are encounterd,
+     - ISO-8859-1 if non-ASCII bytes are encountered,
      - UTF-8 if non-ASCII bytes are encountered and the entire file is
        valid UTF-8 (in Java 9 or newer), see
        https://docs.oracle.com/javase/9/intl/internationalization-enhancements-jdk-9.htm */
index 02b0add95a9d9b9becd7868c7d715019873b1f02..6b22c4c51ac60339efefb9db6339c1b4aedd6d36 100644 (file)
@@ -1,5 +1,5 @@
 /* Writing Java ResourceBundles.
-   Copyright (C) 2001-2024 Free Software Foundation, Inc.
+   Copyright (C) 2001-2025 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software: you can redistribute it and/or modify
@@ -255,7 +255,7 @@ compute_hashsize (message_list_ty *mlp, bool *collisionp)
           unsigned int incr;
 
           /* Since the set { idx0, idx0 + incr, ... } depends only on idx0
-             and gcd(hashsize,incr), we only need to conside incr that
+             and gcd(hashsize,incr), we only need to consider incr that
              divides hashsize.  */
           for (incr = 1; incr <= hashsize / 2; incr++)
             if ((hashsize % incr) == 0)
index 390deaff3d0ded927949014b7ca771175ca5ff71..281c1d788f9cdb4f9112ee5ac82354ebbee289e8 100644 (file)
@@ -172,7 +172,7 @@ struct pre_sysdep_message
      * None of these PO files uses the 'I' format string flag.
 
    There are few possible <inttypes.h> flavours.  Each such flavour gives rise
-   to an instantation rule.  We ran this test program on various platforms:
+   to an instantiation rule.  We ran this test program on various platforms:
    =============================================================================
    #include <inttypes.h>
    #include <stdio.h>
@@ -300,7 +300,7 @@ concat_prefix_cs (const char *prefix, char conversion)
   return result;
 }
 
-/* Expand a system dependent string segment for a specific instantation.
+/* Expand a system dependent string segment for a specific instantiation.
    Return NULL if unsupported.  */
 static const char *
 get_sysdep_segment_value (struct pre_sysdep_segment segment,
index d530bb081b02f9836adf1bb7999eefcc4992640c..f151495f672ecaaecc64cd774e5a92ef9cc2d562 100644 (file)
@@ -1320,7 +1320,7 @@ extract_from_function_call_without_args (TSNode callee_node,
   unref_region (arg_region);
 }
 
-/* Extracts messages from the template instantation NODE consisting of
+/* Extracts messages from the template instantiation NODE consisting of
      - IDENTIFIER_NODE: a tree node of type 'identifier',
      - ARGS_NODE: a tree node of type 'template_arguments'.
    Extracted messages are added to MLP.  */
index 62be465cfba1bf3357d866945833a294a6c5c6df..e73ec8a843ce7a6ee9db64d25e9dbe0b04367331 100644 (file)
@@ -1,5 +1,5 @@
 /* xgettext Scheme backend.
-   Copyright (C) 2004-2024 Free Software Foundation, Inc.
+   Copyright (C) 2004-2025 Free Software Foundation, Inc.
 
    This file was written by Bruno Haible <bruno@clisp.org>, 2004-2005.
 
@@ -1301,7 +1301,7 @@ read_object (struct object *op, flag_region_ty *outer_region)
                         phase1_ungetc (c);
                       if (c == '(')
                         {
-                          /* Homogenous vector syntax:
+                          /* Homogeneous vector syntax:
                                #a(...) - vector of char
                                #c(...) - vector of complex (old)
                                #c32(...) - vector of complex of single-float
@@ -1371,7 +1371,7 @@ read_object (struct object *op, flag_region_ty *outer_region)
                             phase1_ungetc (c);
                           if (c == '(')
                             {
-                              /* Homogenous vector syntax:
+                              /* Homogeneous vector syntax:
                                    #e(...) - vector of long (old)
                                    #i(...) - vector of double-float (old)
                                */
index 9b7249fa7464d015fea6b75795a36cb931173d79..6cdc18e0b56c2e3b4a6afc5bfa2f218cfcdba064 100644 (file)
@@ -466,7 +466,7 @@ static int phase2_pushback_length;
    The result is QUOTED(c) for some unsigned char c, if the next character
    is escaped sufficiently often to make it a regular constituent character,
    or simply an 'unsigned char' if it has its special meaning (of special,
-   whitespace or operator charcter), or OPENING_BACKQUOTE, CLOSING_BACKQUOTE,
+   whitespace or operator character), or OPENING_BACKQUOTE, CLOSING_BACKQUOTE,
    EOF.
    It's the caller's responsibility to update the state.  */
 static int