summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e9f9c62)
raw | patch | inline | side by side (parent: e9f9c62)
author | Dmitry D. Chernov <blackdoomer@yandex.ru> | |
Mon, 4 Sep 2023 13:30:41 +0000 (23:30 +1000) | ||
committer | Dmitry D. Chernov <blackdoomer@yandex.ru> | |
Mon, 4 Sep 2023 13:30:41 +0000 (23:30 +1000) |
lang/editor.ru_RU.lng | patch | blob | history | |
src/editor/f_main.pas | patch | blob | history | |
src/editor/g_language.pas | patch | blob | history |
diff --git a/lang/editor.ru_RU.lng b/lang/editor.ru_RU.lng
index 0f4f6285ca0278311715a1ffdf5730f1bad77ff8..681f634a2b843edfee718af889cfb77933506d24 100644 (file)
--- a/lang/editor.ru_RU.lng
+++ b/lang/editor.ru_RU.lng
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 5d8635099881daf655c9a2c27798bd14e8971b1c..53bf85da742cf26b936bb5276e2694763f6bc7ea 100644 (file)
--- a/src/editor/f_main.pas
+++ b/src/editor/f_main.pas
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();
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;
if OpenedMap = '' then
Exit;
- if Application.MessageBox(PChar(MsgMsgReopenMapPromt),
+ if Application.MessageBox(PChar(MsgMsgReopenMapPrompt),
PChar(MsgMenuFileReopen), MB_ICONQUESTION or MB_YESNO) <> idYes then
Exit;
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
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;
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);
end;
Application.MessageBox(
- PChar(Format(MsgMsgMapDeletedPromt, [MapName])),
+ PChar(Format(MsgMsgMapDeletedPrompt, [MapName])),
PChar(MsgMsgMapDeleted),
MB_ICONINFORMATION or MB_OK or MB_DEFBUTTON1
);
index 369176e6e1e0b51922e23fa529563ef0a82088a3..9edd8876eb39be6b19a3ce26f485ab441cff7590 100644 (file)
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';