summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f20e858)
raw | patch | inline | side by side (parent: f20e858)
author | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Sun, 17 Apr 2016 05:42:17 +0000 (08:42 +0300) | ||
committer | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Sun, 17 Apr 2016 05:42:17 +0000 (08:42 +0300) |
src/game/g_menu.pas | patch | blob | history |
diff --git a/src/game/g_menu.pas b/src/game/g_menu.pas
index 23e9629666c3a91727a73c2829b8ce74dd283072..46d6dad134bf6b4010b3e9974797dca04253adf0 100644 (file)
--- a/src/game/g_menu.pas
+++ b/src/game/g_menu.pas
Name := '__temp_yes_no_menu:'+WinName;
YesNo := true;
AddText(Text, MaxLen);
- with AddButton(nil, 'Yes') do begin ProcEx := @YesButtonCB; UserData := @ActionProc; end;
- with AddButton(nil, 'No') do begin ProcEx := @NoButtonCB; UserData := @ActionProc; end;
+ with AddButton(nil, _lc[I_MENU_YES]) do begin ProcEx := @YesButtonCB; UserData := @ActionProc; end;
+ with AddButton(nil, _lc[I_MENU_NO]) do begin ProcEx := @NoButtonCB; UserData := @ActionProc; end;
end;
DefControl := '__temp_yes_no_menu:'+WinName;
SetActive(nil);