bug-gettext
[Top][All Lists]
Advanced

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

[bug #57868] gettext.m4: consider using 'gettext_' prefix instead of 'gt


From: Martin Blanchard
Subject: [bug #57868] gettext.m4: consider using 'gettext_' prefix instead of 'gt_'
Date: Thu, 20 Feb 2020 15:35:11 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0

URL:
  <https://savannah.gnu.org/bugs/?57868>

                 Summary: gettext.m4: consider using 'gettext_' prefix instead
of 'gt_'
                 Project: GNU gettext
            Submitted by: tchaik
            Submitted on: Thu 20 Feb 2020 08:35:09 PM UTC
                Category: End-user / runtime
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The macros from gettext.m4 use 'gt_' as a prefix for their variables. Sadly,
'gt' isn't that uncommon for a namespace. While porting GNOME Terminal from
intltool to gettext, its own configure.ac gt_api_version variable [0] clashed
with gettext.m4 gt_api_version [1] and broke AM_GNU_GETTEXT...

As a workaround, GNOME Terminal changed its prefix [1] but it would be nice
for gettext use a stronger namespace like eg. 'gettext_'.

[0] https://gitlab.gnome.org/GNOME/gnome-terminal/blob/3.34.2/configure.ac#L7
[1]
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=blob;f=gettext-runtime/m4/gettext.m4;h=039a6ad02d14e2f4339216e52048cba756705b6d;hb=HEAD#l115
[2]
https://gitlab.gnome.org/GNOME/gnome-terminal/commit/2d01dc732d30f689a6b3d960b5556862c610ed27




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57868>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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