Add _cF translation macro

This commit is contained in:
Patrick Nicolas
2026-04-19 09:14:03 +02:00
parent 3f732a70f8
commit 72dca53617
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -23,6 +23,7 @@
#define _(x) boost::locale::gettext(x)
#define _F(x) fmt::runtime(boost::locale::gettext(x))
#define _cF(c, x) fmt::runtime(boost::locale::pgettext(c, x))
#define _S(x) boost::locale::gettext(x).c_str()
#define _C(c, x) boost::locale::pgettext(c, x)
#define _cS(c, x) _C(c, x).c_str()