Witam, tworzę translator i mam problemik. Otóż na razie robie tak że tłumaczy po 1 słowie i robie tak że robie 2 pola edit i 1 button
i na button daje to
procedure TForm1.Button1Click(Sender: TObject);
begin
if (edit1.Text='pies') then edit2.text:=('dog');
if (edit1.Text='samochód') then edit2.text:=('car');
end;
A jak zrobić żeby tłumaczyło wszystko co jest w polu edit a nie tylko 1 słowo? tak żeby np mogło być naraz pies i samochód?