diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-06 13:04:24 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-06 13:04:24 +0300 |
commit | e0d14e98e7e7e2e413944005c94fbbc2969b908a (patch) | |
tree | c56dc077a6c8870eaa708afbd8b1a3ce0c7b083e /include | |
parent | 096367c287e7bb04852a43d775e4da5b8e9614d9 (diff) |
fixes #3822 (Пропал перевод описаний выгруженных плагинов)
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)
|