Translate symbol tree roots
commit201ac64545ea0d2857f55dcd7440b07a1672bbcb
authorJiří Techet <techet@gmail.com>
Mon, 21 Mar 2022 17:34:17 +0000 (21 18:34 +0100)
committerJiří Techet <techet@gmail.com>
Sun, 10 Apr 2022 12:34:15 +0000 (10 14:34 +0200)
tree23db7879edf60e294d373bd9701acc441a699283
parent0333c75a08cfc64b347c8780cc7cd3b9af8d94b1
Translate symbol tree roots

Using _() macros from glib/gi18n-lib.h for translatable strings isn't
possible because we need to use them in global static initializers where
g_dgettext() (to which _() expands) cannot be called.

Still, we need to define _() and use it to mark translatable strings so
the command-line xgettext finds them. Then, we can call g_dgettext()
manually at the appropriate place to get the translated string.
po/POTFILES.in
src/tagmanager/tm_parser.c