From: Dmitry D. Chernov Date: Mon, 4 Sep 2023 13:30:41 +0000 (+1000) Subject: Fix typos: promt -> prompt X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=dd6a8c0ae0c61fbd1d070e83b5d54c41edeb6df8;p=d2df-editor.git Fix typos: promt -> prompt --- diff --git a/lang/editor.ru_RU.lng b/lang/editor.ru_RU.lng index 0f4f628..681f634 100644 --- a/lang/editor.ru_RU.lng +++ b/lang/editor.ru_RU.lng @@ -614,32 +614,32 @@ g_language.MsgMsgChooseRes$ = "Resource hasn't been selected" g_language.MsgMsgChooseRes = "Не выбран ресурс" g_language.MsgMsgExit$ = "Exit" g_language.MsgMsgExit = "Выход" -g_language.MsgMsgExitPromt$ = "Leaving so soon?" -g_language.MsgMsgExitPromt = "Уже уходите?" +g_language.MsgMsgExitPrompt$ = "Leaving so soon?" +g_language.MsgMsgExitPrompt = "Уже уходите?" g_language.MsgMsgDelTexture$ = "Delete the texture" g_language.MsgMsgDelTexture = "Удалить текстуру" -g_language.MsgMsgDelTexturePromt$ = "Delete the texture "%s" ?" -g_language.MsgMsgDelTexturePromt = "Удалить текстуру "%s" ?" +g_language.MsgMsgDelTexturePrompt$ = "Delete the texture "%s" ?" +g_language.MsgMsgDelTexturePrompt = "Удалить текстуру "%s" ?" g_language.MsgMsgDelTextureCant$ = "Can't delete texture in use. Replace it on all panels with this texture." g_language.MsgMsgDelTextureCant = "Нельзя удалить используемую текстуру. Замените её на каждой панели с ней." g_language.MsgMsgDelRecent$ = "File does not longer exist" g_language.MsgMsgDelRecent = "Этого файла больше нет" -g_language.MsgMsgDelRecentPromt$ = "Remove entry from recent list?" -g_language.MsgMsgDelRecentPromt = "Убрать запись из истории?" +g_language.MsgMsgDelRecentPrompt$ = "Remove entry from recent list?" +g_language.MsgMsgDelRecentPrompt = "Убрать запись из истории?" g_language.MsgMsgClearMap$ = "New map" g_language.MsgMsgClearMap = "Новая карта" -g_language.MsgMsgClearMapPromt$ = "Clear the entire map?" -g_language.MsgMsgClearMapPromt = "Очистить всю карту?" +g_language.MsgMsgClearMapPrompt$ = "Clear the entire map?" +g_language.MsgMsgClearMapPrompt = "Очистить всю карту?" g_language.MsgMsgDeleteMap$ = "Delete the map" g_language.MsgMsgDeleteMap = "Удалить карту" -g_language.MsgMsgDeleteMapPromt$ = "Delete the map "%s" from "%s" ?" -g_language.MsgMsgDeleteMapPromt = "Удалить карту "%s" из "%s" ?" +g_language.MsgMsgDeleteMapPrompt$ = "Delete the map "%s" from "%s" ?" +g_language.MsgMsgDeleteMapPrompt = "Удалить карту "%s" из "%s" ?" g_language.MsgMsgMapDeleted$ = "Map is deleted" g_language.MsgMsgMapDeleted = "Карта удалена" -g_language.MsgMsgMapDeletedPromt$ = "Map "%s" is deleted" -g_language.MsgMsgMapDeletedPromt = "Карта "%s" удалена" -g_language.MsgMsgReopenMapPromt$ = "Reopen this map?" -g_language.MsgMsgReopenMapPromt = "Загрузить карту заново?" +g_language.MsgMsgMapDeletedPrompt$ = "Map "%s" is deleted" +g_language.MsgMsgMapDeletedPrompt = "Карта "%s" удалена" +g_language.MsgMsgReopenMapPrompt$ = "Reopen this map?" +g_language.MsgMsgReopenMapPrompt = "Загрузить карту заново?" g_language.MsgMsgExecError$ = "Game start error" g_language.MsgMsgExecError = "Ошибка запуска игры" g_language.MsgMsgSoundError$ = "Can't play sound" diff --git a/src/editor/f_main.pas b/src/editor/f_main.pas index 5d86350..53bf85d 100644 --- a/src/editor/f_main.pas +++ b/src/editor/f_main.pas @@ -2568,7 +2568,7 @@ begin OpenMap(fn, g_ExtractFilePathName(s)) else Application.MessageBox('', 'File not available anymore', MB_OK); -// if Application.MessageBox(PChar(MsgMsgDelRecentPromt), PChar(MsgMsgDelRecent), MB_ICONQUESTION or MB_YESNO) = idYes then +// if Application.MessageBox(PChar(MsgMsgDelRecentPrompt), PChar(MsgMsgDelRecent), MB_ICONQUESTION or MB_YESNO) = idYes then // begin // RecentFiles.Delete(n); // RefreshRecentMenu(); @@ -4352,7 +4352,7 @@ end; procedure TMainForm.FormCloseQuery(Sender: TObject; var CanClose: Boolean); begin - CanClose := Application.MessageBox(PChar(MsgMsgExitPromt), + CanClose := Application.MessageBox(PChar(MsgMsgExitPrompt), PChar(MsgMsgExit), MB_ICONQUESTION or MB_YESNO or MB_DEFBUTTON1) = idYes; @@ -4891,7 +4891,7 @@ begin if OpenedMap = '' then Exit; - if Application.MessageBox(PChar(MsgMsgReopenMapPromt), + if Application.MessageBox(PChar(MsgMsgReopenMapPrompt), PChar(MsgMenuFileReopen), MB_ICONQUESTION or MB_YESNO) <> idYes then Exit; @@ -5521,7 +5521,7 @@ begin if i = -1 then Exit; - if Application.MessageBox(PChar(Format(MsgMsgDelTexturePromt, + if Application.MessageBox(PChar(Format(MsgMsgDelTexturePrompt, [SelectedTexture()])), PChar(MsgMsgDelTexture), MB_ICONQUESTION or MB_YESNO or @@ -5547,7 +5547,7 @@ end; procedure TMainForm.aNewMapExecute(Sender: TObject); begin - if Application.MessageBox(PChar(MsgMsgClearMapPromt), PChar(MsgMsgClearMap), MB_ICONQUESTION or MB_YESNO or MB_DEFBUTTON1) = mrYes then + if Application.MessageBox(PChar(MsgMsgClearMapPrompt), PChar(MsgMsgClearMap), MB_ICONQUESTION or MB_YESNO or MB_DEFBUTTON1) = mrYes then FullClear(); end; @@ -6412,7 +6412,7 @@ begin Exit; MapName := SelectMapForm.lbMapList.Items[SelectMapForm.lbMapList.ItemIndex]; - if Application.MessageBox(PChar(Format(MsgMsgDeleteMapPromt, [MapName, OpenDialog.FileName])), PChar(MsgMsgDeleteMap), MB_ICONQUESTION or MB_YESNO or MB_DEFBUTTON2) <> mrYes then + if Application.MessageBox(PChar(Format(MsgMsgDeleteMapPrompt, [MapName, OpenDialog.FileName])), PChar(MsgMsgDeleteMap), MB_ICONQUESTION or MB_YESNO or MB_DEFBUTTON2) <> mrYes then Exit; g_DeleteResource(FileName, '', MapName, res); @@ -6423,7 +6423,7 @@ begin end; Application.MessageBox( - PChar(Format(MsgMsgMapDeletedPromt, [MapName])), + PChar(Format(MsgMsgMapDeletedPrompt, [MapName])), PChar(MsgMsgMapDeleted), MB_ICONINFORMATION or MB_OK or MB_DEFBUTTON1 ); diff --git a/src/editor/g_language.pas b/src/editor/g_language.pas index 369176e..9edd887 100644 --- a/src/editor/g_language.pas +++ b/src/editor/g_language.pas @@ -307,19 +307,19 @@ Interface MsgMsgChooseTexture = 'Select Texture'; MsgMsgChooseRes = 'Resource hasn''t been selected'; MsgMsgExit = 'Exit'; - MsgMsgExitPromt = 'Leaving so soon?'; + MsgMsgExitPrompt = 'Leaving so soon?'; MsgMsgDelTexture = 'Delete the texture'; - MsgMsgDelTexturePromt = 'Delete the texture "%s" ?'; + MsgMsgDelTexturePrompt = 'Delete the texture "%s" ?'; MsgMsgDelTextureCant = 'Can''t delete texture in use. Replace it on all panels with this texture.'; MsgMsgDelRecent = 'File does not longer exist'; - MsgMsgDelRecentPromt = 'Remove entry from recent list?'; + MsgMsgDelRecentPrompt = 'Remove entry from recent list?'; MsgMsgClearMap = 'New map'; - MsgMsgClearMapPromt = 'Clear the entire map?'; + MsgMsgClearMapPrompt = 'Clear the entire map?'; MsgMsgDeleteMap = 'Delete the map'; - MsgMsgDeleteMapPromt = 'Delete the map "%s" from "%s" ?'; + MsgMsgDeleteMapPrompt = 'Delete the map "%s" from "%s" ?'; MsgMsgMapDeleted = 'Map is deleted'; - MsgMsgMapDeletedPromt = 'Map "%s" is deleted'; - MsgMsgReopenMapPromt = 'Reopen this map?'; + MsgMsgMapDeletedPrompt = 'Map "%s" is deleted'; + MsgMsgReopenMapPrompt = 'Reopen this map?'; MsgMsgExecError = 'Game start error'; MsgMsgSoundError = 'Can''t play sound'; MsgMsgWadError = 'Can''t open WAD: %s';