summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-06 13:04:24 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-06 13:04:24 +0300
commite0d14e98e7e7e2e413944005c94fbbc2969b908a (patch)
treec56dc077a6c8870eaa708afbd8b1a3ce0c7b083e /include
parent096367c287e7bb04852a43d775e4da5b8e9614d9 (diff)
fixes #3822 (Пропал перевод описаний выгруженных плагинов)
Diffstat (limited to 'include')
-rw-r--r--include/m_langpack.h3
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)