summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-09-24 23:02:18 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-09-24 23:02:18 +0300
commit47eef82f3819f6fb18dcdf13d959869472be19bb (patch)
treee07315c019cd702d90104422fc0d1267db41990b /plugins
parent8ee92185df8b0d44bdec3527b1b4e00c1ae0a0a4 (diff)
pascal plugin must call Langpack_register; to work with translations correctly
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ImportTXT/importtxt.dpr1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/ImportTXT/importtxt.dpr b/plugins/ImportTXT/importtxt.dpr
index 06eaca2ff2..ee3a9be548 100644
--- a/plugins/ImportTXT/importtxt.dpr
+++ b/plugins/ImportTXT/importtxt.dpr
@@ -123,6 +123,7 @@ function Load(): int; cdecl;
var
mi:TMO_MenuItem;
begin
+ Langpack_register;
cp := Langpack_GetDefaultCodePage;
CreateServiceFunction(IMPORT_TXT_SERVICE, @ContactMenuCommand);