aboutsummaryrefslogtreecommitdiff
path: root/app/source/Cplt/Utils/I18n.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/source/Cplt/Utils/I18n.hpp')
-rw-r--r--app/source/Cplt/Utils/I18n.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/source/Cplt/Utils/I18n.hpp b/app/source/Cplt/Utils/I18n.hpp
new file mode 100644
index 0000000..895856a
--- /dev/null
+++ b/app/source/Cplt/Utils/I18n.hpp
@@ -0,0 +1,10 @@
+#pragma once
+
+#include <Cplt/Utils/Macros.hpp>
+
+#if !defined(TARGET_LOCALE)
+# define I18N_TEXT(defaultText, name) defaultText
+#else
+# include TARGET_LOCALE_FILE
+# define I18N_TEXT(defaultText, name) name
+#endif