]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix typos in comments.
authorBruno Haible <bruno@clisp.org>
Sun, 27 Jul 2025 07:46:59 +0000 (09:46 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 27 Jul 2025 07:46:59 +0000 (09:46 +0200)
* gettext-tools/src/format-lua.c: Fix typos in comments.
* gettext-tools/src/format-d.c: Likewise.

gettext-tools/src/format-d.c
gettext-tools/src/format-lua.c

index c26540e266eea6731e46b7f183ba8897c95dea7d..75d2eff4767521ddaa990f6a295e6fbee65528a2 100644 (file)
@@ -53,8 +53,8 @@
    - starts with '%',
    - is optionally followed by
        a positive integer m, then '$', or
-       a positive integer m, then ':', then a positive integer m₂ ≥ m, then '$',
-       a positive integer m, then ':', then '$', or
+       a positive integer m, then ':', then a positive integer m₂ ≥ m, then '$', or
+       a positive integer m, then ':', then '$',
    - is optionally followed by a sequence of flags, each being one of
        '+', '-', ' ', '0', '#', '=',
    - is optionally followed by a width specification:
index afac28bd7e282544544c2dd42f54b70f82d46b05..4bab92d1af76b2d36301a67f5f16285b9a133e25 100644 (file)
@@ -37,7 +37,7 @@
    They are implemented in lua-5.2.4/src/lstrlib.c.
 
    A directive
-   - starts with '%'
+   - starts with '%',
    - is optionally followed by any of the characters '0', '-', ' ', or
      each of which acts as a flag,
    - is optionally followed by a width specification: a nonempty digit
@@ -45,7 +45,7 @@
    - is optionally followed by '.' and a precision specification: an optional
      nonempty digit sequence with at most 2 digits,
    - is finished by a specifier
-       - 's', 'q', that needs a string argument,
+       - 's', 'q', that need a string argument,
        - 'd', 'i', 'o', 'u', 'X', 'x', that need an integer argument,
        - 'A', 'a', 'E', 'e', 'f', 'G', 'g', that need a floating-point argument,
        - 'c', that needs a character argument.