commit:     50571616a21617687a7fddcb95c9f2f5ce69952a
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Wed Nov 19 16:03:40 2025 +0000
Commit:     Kerin Millar <kfm <AT> plushkava <DOT> net>
CommitDate: Wed Nov 19 16:04:24 2025 +0000
URL:        https://gitweb.gentoo.org/proj/locale-gen.git/commit/?id=50571616

Adjust the wording of a comment in the parse_entry() subroutine

Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>

 locale-gen | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/locale-gen b/locale-gen
index 248d780..1c25e6b 100644
--- a/locale-gen
+++ b/locale-gen
@@ -400,11 +400,11 @@ sub parse_entry ($locale, $charmap) {
                # en_US ISO-8859-1 => en_US.ISO-8859-1
                $canonical = "$locale.$charmap";
 
-               # Where given an input path whose name does not incorporate a
-               # charmap, localedef(1) will incorporate it into the archive as
-               # an alias of its canonical name. For example, "en_US" may refer
-               # to "en_US.iso88591". It is strongly discouraged to rely on
-               # this behaviour. Still, for now, ensure that the aliases exist.
+               # Where given an input path whose name lacks a codeset part,
+               # localedef(1) will incorporate it into the archive as an alias
+               # of its canonical name. For example, "en_US" may refer to
+               # "en_US.iso88591". It is strongly discouraged to rely on this
+               # behaviour. Still, for now, arrange for such aliases to exist.
                $name = $locale;
        }
        return $locale, $canonical, $name // $canonical;

Reply via email to