X-Git-Url: https://deadsoftware.ru/gitweb?p=d2df-editor.git;a=blobdiff_plain;f=src%2Feditor%2Ff_packmap.pas;h=f06f5c8c6b15e7715131a600304fc5abf2f1c7b3;hp=a8ad07a7eecc8b9120c3e4d9d6f7512b71c793d9;hb=3360cb5c3e96b591451afa67a0f8a281db79e8c5;hpb=6440b720d7e55069ae59d8c4340981b594c4499b diff --git a/src/editor/f_packmap.pas b/src/editor/f_packmap.pas index a8ad07a..f06f5c8 100644 --- a/src/editor/f_packmap.pas +++ b/src/editor/f_packmap.pas @@ -64,7 +64,7 @@ const procedure TPackMapForm.bSelectWADClick(Sender: TObject); begin - SaveDialog.Filter := _lc[I_FILE_FILTER_WAD]; + SaveDialog.Filter := MsgFileFilterWad; if SaveDialog.Execute() then eWAD.Text := SaveDialog.FileName; @@ -99,8 +99,8 @@ begin end else begin - //Application.MessageBox(PChar(Format(_lc[I_MSG_WAD_ERROR], [ExtractFileName(filename)])), PChar(_lc[I_MSG_ERROR]), MB_OK + MB_ICONERROR); - Application.MessageBox(PChar(Format(_lc[I_MSG_RES_ERROR], [filename, section, resource])), PChar(_lc[I_MSG_ERROR]), MB_OK + MB_ICONERROR); + //Application.MessageBox(PChar(Format(MsgMsgWadError, [ExtractFileName(filename)])), PChar(MsgMsgError), MB_OK + MB_ICONERROR); + Application.MessageBox(PChar(Format(MsgMsgResError, [filename, section, resource])), PChar(MsgMsgError), MB_OK + MB_ICONERROR); Result := False end end; @@ -309,7 +309,7 @@ begin Close(); ASSERT(a = 0); (* saved *) - MessageDlg(Format(_lc[I_MSG_PACKED], [eResource.Text, ExtractFileName(eWAD.Text)]), mtInformation, [mbOK], 0); + MessageDlg(Format(MsgMsgPacked, [eResource.Text, ExtractFileName(eWAD.Text)]), mtInformation, [mbOK], 0); end; procedure TPackMapForm.FormCreate(Sender: TObject);