In Mousepad source code where is the underscore _ function defined?
Alexander Schwinn
acs82 at gmx.de
Sun Jun 21 08:54:55 CEST 2026
|"_"| is simply a common macro/function name convention for |the
gettext()/dgettext()| function, defined in GNU "gettext"
More info here:
- https://linux.die.net/man/3/dgettext
- https://ftp.gnu.org/old-gnu/Manuals/gawk-3.1.0/html_node/gawk_149.html
Best regards, Alex
Am 21.06.26 um 01:09 schrieb Robert:
> The _ function is used with translations, e.g.
>
> https://gitlab.xfce.org/apps/mousepad/-/blob/master/mousepad/mousepad-dialogs.c?ref_type=heads#L339
>
> image.png
>
> Where is this function defined?
>
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce4-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.xfce.org/pipermail/xfce4-dev/attachments/20260621/6cf6b9b5/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 35349 bytes
Desc: not available
URL: <https://mail.xfce.org/pipermail/xfce4-dev/attachments/20260621/6cf6b9b5/attachment-0001.png>
More information about the Xfce4-dev
mailing list