diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/m_langpack.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/m_langpack.h b/include/m_langpack.h index 26f37ff380..0eb2a0a677 100644 --- a/include/m_langpack.h +++ b/include/m_langpack.h @@ -50,6 +50,9 @@ EXTERN_C MIR_CORE_DLL(char*) TranslateU_LP(const char *str, HPLUGIN = nullptr EXTERN_C MIR_CORE_DLL(wchar_t*) TranslateW_LP(const wchar_t *str, HPLUGIN = nullptr);
EXTERN_C MIR_CORE_DLL(void) TranslateDialog_LP(HWND hDlg, HPLUGIN = nullptr);
+// if uuid == NULL, translations are loaded from the global section only
+EXTERN_C MIR_CORE_DLL(wchar_t *) TranslateW_UUID(const wchar_t *str, const MUUID *uuid);
+
#define Translate(s) TranslateA_LP(s, &g_plugin)
#define TranslateU(s) TranslateU_LP(s, &g_plugin)
#define TranslateW(s) TranslateW_LP(s, &g_plugin)
|