diff options
Diffstat (limited to 'src/i18n.hpp')
-rw-r--r-- | src/i18n.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/i18n.hpp b/src/i18n.hpp new file mode 100644 index 0000000..ebf8fd1 --- /dev/null +++ b/src/i18n.hpp @@ -0,0 +1,12 @@ +// Copyright 2022 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: GPL-3.0-or-later + +#ifndef PATCHAGE_I18N_HPP +#define PATCHAGE_I18N_HPP + +#include <libintl.h> + +/// Mark a string literal as translatable +#define T(msgid) gettext(msgid) + +#endif // PATCHAGE_I18N_HPP |