From e0d14e98e7e7e2e413944005c94fbbc2969b908a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 6 Nov 2023 13:04:24 +0300 Subject: =?UTF-8?q?fixes=20#3822=20(=D0=9F=D1=80=D0=BE=D0=BF=D0=B0=D0=BB?= =?UTF-8?q?=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B2=D0=BE=D0=B4=20=D0=BE=D0=BF?= =?UTF-8?q?=D0=B8=D1=81=D0=B0=D0=BD=D0=B8=D0=B9=20=D0=B2=D1=8B=D0=B3=D1=80?= =?UTF-8?q?=D1=83=D0=B6=D0=B5=D0=BD=D0=BD=D1=8B=D1=85=20=D0=BF=D0=BB=D0=B0?= =?UTF-8?q?=D0=B3=D0=B8=D0=BD=D0=BE=D0=B2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/m_langpack.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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) -- cgit v1.2.3