--- /dev/null
+/*
+ * Copyright © 2023 Nick Bowler
+ *
+ * Stub gettext macros for test purposes.
+ *
+ * License WTFPL2: Do What The Fuck You Want To Public License, version 2.
+ * This is free software: you are free to do what the fuck you want to.
+ * There is NO WARRANTY, to the extent permitted by law.
+ */
+
+#ifndef TEST_NLS_GETTEXT_H_
+#define TEST_NLS_GETTEXT_H_
+
+#define gettext(s) (s)
+#define pgettext_expr(a, s) (s)
+
+#endif