summaryrefslogtreecommitdiff
path: root/plugins/QuickSearch
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2014-01-17 21:34:23 +0000
committerAlexey Kulakov <panda75@bk.ru>2014-01-17 21:34:23 +0000
commit56273a2a767e4cdb504397121ec8aeb0ca20e55f (patch)
tree883231df3c21648bcace6d00f2639aa9e3830192 /plugins/QuickSearch
parent5a2906aae51a358bd3bdbcad336629e9d4449405 (diff)
QuickSearch: Added combobox list translation in option dialog
git-svn-id: http://svn.miranda-ng.org/main/trunk@7700 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/QuickSearch')
-rw-r--r--plugins/QuickSearch/sr_optdialog.pas34
1 files changed, 17 insertions, 17 deletions
diff --git a/plugins/QuickSearch/sr_optdialog.pas b/plugins/QuickSearch/sr_optdialog.pas
index 4178849543..ed7e48eba5 100644
--- a/plugins/QuickSearch/sr_optdialog.pas
+++ b/plugins/QuickSearch/sr_optdialog.pas
@@ -461,37 +461,37 @@ end;
procedure adddbsettypes(list:hwnd);
begin
- CB_AddStrDataW(list,stByte ,QSTS_BYTE);
- CB_AddStrDataW(list,stWord ,QSTS_WORD);
- CB_AddStrDataW(list,stDword ,QSTS_DWORD);
- CB_AddStrDataW(list,stSigned ,QSTS_SIGNED);
- CB_AddStrDataW(list,stHexnum ,QSTS_HEXNUM);
- CB_AddStrDataW(list,stString ,QSTS_STRING);
- CB_AddStrDataW(list,stIP ,QSTS_IP);
- CB_AddStrDataW(list,stTimeStamp,QSTS_TIMESTAMP);
+ CB_AddStrDataW(list,TranslateW(stByte) ,QSTS_BYTE);
+ CB_AddStrDataW(list,TranslateW(stWord) ,QSTS_WORD);
+ CB_AddStrDataW(list,TranslateW(stDword) ,QSTS_DWORD);
+ CB_AddStrDataW(list,TranslateW(stSigned) ,QSTS_SIGNED);
+ CB_AddStrDataW(list,TranslateW(stHexnum) ,QSTS_HEXNUM);
+ CB_AddStrDataW(list,TranslateW(stString) ,QSTS_STRING);
+ CB_AddStrDataW(list,TranslateW(stIP) ,QSTS_IP);
+ CB_AddStrDataW(list,TranslateW(stTimeStamp),QSTS_TIMESTAMP);
SendMessage(list,CB_SETCURSEL,0,0);
end;
procedure addothertypes(list:hwnd);
begin
- CB_AddStrDataW(list,stLastSeen ,QSTO_LASTSEEN);
- CB_AddStrDataW(list,stLastEvent ,QSTO_LASTEVENT);
- CB_AddStrDataW(list,stMetacontact,QSTO_METACONTACT);
- CB_AddStrDataW(list,stEventCount ,QSTO_EVENTCOUNT);
+ CB_AddStrDataW(list,TranslateW(stLastSeen) ,QSTO_LASTSEEN);
+ CB_AddStrDataW(list,TranslateW(stLastEvent) ,QSTO_LASTEVENT);
+ CB_AddStrDataW(list,TranslateW(stMetacontact),QSTO_METACONTACT);
+ CB_AddStrDataW(list,TranslateW(stEventCount) ,QSTO_EVENTCOUNT);
SendMessage(list,CB_SETCURSEL,0,0);
end;
procedure addsettypes(list:hwnd);
begin
- CB_AddStrDataW(list,stSetting,QST_SETTING);
+ CB_AddStrDataW(list,TranslateW(stSetting),QST_SETTING);
- CB_AddStrDataW(list,stScript ,QST_SCRIPT);
- CB_AddStrDataW(list,stService ,QST_SERVICE);
- CB_AddStrDataW(list,stContactInfo,QST_CONTACTINFO);
+ CB_AddStrDataW(list,TranslateW(stScript) ,QST_SCRIPT);
+ CB_AddStrDataW(list,TranslateW(stService) ,QST_SERVICE);
+ CB_AddStrDataW(list,TranslateW(stContactInfo),QST_CONTACTINFO);
- CB_AddStrDataW(list,stOther,QST_OTHER);
+ CB_AddStrDataW(list,TranslateW(stOther),QST_OTHER);
SendMessage(list,CB_SETCURSEL,0,0);
end;