summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 88f7e4c)
raw | patch | inline | side by side (parent: 88f7e4c)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Mon, 29 May 2023 13:13:58 +0000 (16:13 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Mon, 29 May 2023 13:13:58 +0000 (16:13 +0300) |
lang/editor.ru_RU.lng | patch | blob | history | |
src/editor/f_options.lfm | patch | blob | history | |
src/editor/f_options.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 d3ee951e6965f634fc3dc90715ad0c82aeb797c5..76d05ab24dba666299448c10bf81d5947ed72011 100644 (file)
--- a/lang/editor.ru_RU.lng
+++ b/lang/editor.ru_RU.lng
g_language.MsgCapSets = "Свойства карты"
g_language.MsgCapLaunch$ = "In-game test Settings"
g_language.MsgCapLaunch = "Настройки теста в игре"
-g_language.MsgCapEs$ = "Editor Preferences"
-g_language.MsgCapEs = "Настройки редактора"
+g_language.MsgCapEs$ = "Preferences"
+g_language.MsgCapEs = "Настройки"
g_language.MsgCapPack$ = "Pack Map"
g_language.MsgCapPack = "Упаковать карту"
g_language.MsgCapSave$ = "Save Map"
g_language.MsgCtrlSetsSizes$ = "Map Size:"
g_language.MsgCtrlSetsSizes = "Размеры:"
+g_language.MsgCtrlEsTesting$ = "Testing"
+g_language.MsgCtrlEsTesting = "Тестирование"
g_language.MsgCtrlLaunchDm$ = "Deathmatch"
g_language.MsgCtrlLaunchDm = "Deathmatch"
g_language.MsgCtrlLaunchTdm$ = "Team Deathmatch"
g_language.MsgCtrlLaunchOpen$ = "Select Doom 2D: Forever executable"
g_language.MsgCtrlLaunchOpen = "Выберите файл игры Doom 2D: Forever"
+g_language.MsgCtrlEsGeneral$ = "General"
+g_language.MsgCtrlEsGeneral = "Общие"
g_language.MsgCtrlEsGrid$ = "Show Grid"
g_language.MsgCtrlEsGrid = "Показывать сетку"
g_language.MsgCtrlEsTexture$ = "Show Panel Texture"
g_language.MsgLabLaunchSecs = "секунд"
g_language.MsgLabLaunchScore$ = "Score Limit:"
g_language.MsgLabLaunchScore = "Лимит очков:"
-g_language.MsgLabLaunchPath$ = "Path to Doom2DF.exe:"
-g_language.MsgLabLaunchPath = "Путь к Doom2DF.exe:"
+g_language.MsgLabLaunchPathWin$ = "Path to Doom2DF.exe:"
+g_language.MsgLabLaunchPathWin = "Путь к Doom2DF.exe:"
+g_language.MsgLabLaunchPathMac$ = "Path to Doom 2D Forever.app:"
+g_language.MsgLabLaunchPathMac = "Путь к Doom 2D Forever.app:"
+g_language.MsgLabLaunchPathUnix$ = "Path to Doom2DF:"
+g_language.MsgLabLaunchPathUnix = "Путь к Doom2DF:"
g_language.MsgLabLaunchArgs$ = "Launch Arguments:"
g_language.MsgLabLaunchArgs = "Параметры запуска:"
g_language.MsgLabEsRecent = "Запоминать последних открытых карт:"
g_language.MsgLabEsLanguage$ = "Language:"
g_language.MsgLabEsLanguage = "Язык:"
+g_language.MsgLabEsLanguageAuto$ = "System Default"
+g_language.MsgLabEsLanguageAuto = "Системный"
+
+g_language.MsgCtrlEsFiles$ = "Files"
+g_language.MsgCtrlEsFiles = "Файлы"
g_language.MsgLabEsCompress$ = "Compress archive when save"
g_language.MsgLabEsCompress = "Сжимать архив при сохранении"
g_language.MsgLabEsBackup$ = "Make backup before save"
index d579158963d59ff71dfb1fda12d746d67df24634..a2ff37d5f1b3696828d4751f862d57dc4023a029 100644 (file)
--- a/src/editor/f_options.lfm
+++ b/src/editor/f_options.lfm
Left = 304
Height = 26
Top = 192
- Width = 68
+ Width = 120
ItemHeight = 0
Style = csDropDownList
TabOrder = 13
Left = 8
Height = 21
Top = 8
- Width = 249
+ Width = 208
Caption = 'Сжимать архив при сохранении'
TabOrder = 2
end
Left = 8
Height = 21
Top = 32
- Width = 258
+ Width = 218
Caption = 'Резервная копия при сохранении'
TabOrder = 3
end
Left = 8
Height = 21
Top = 104
- Width = 103
+ Width = 91
Caption = 'Deathmatch'
Checked = True
TabOrder = 0
Left = 8
Height = 21
Top = 120
- Width = 142
+ Width = 124
Caption = 'Team Deathmatch'
TabOrder = 1
end
Left = 8
Height = 21
Top = 136
- Width = 131
+ Width = 114
Caption = 'Capture the Flag'
TabOrder = 2
end
Left = 8
Height = 21
Top = 152
- Width = 102
+ Width = 92
Caption = 'Cooperative'
TabOrder = 3
end
Left = 168
Height = 21
Top = 104
- Width = 101
+ Width = 89
Caption = 'Два игрока'
TabOrder = 4
end
Left = 168
Height = 21
Top = 120
- Width = 164
+ Width = 141
Caption = 'Урон своей команде'
TabOrder = 5
end
Left = 168
Height = 21
Top = 136
- Width = 141
+ Width = 122
Caption = 'Выход из уровня'
Checked = True
State = cbChecked
Left = 168
Height = 21
Top = 152
- Width = 145
+ Width = 125
Caption = 'Оружие остается'
TabOrder = 7
end
Left = 168
Height = 21
Top = 168
- Width = 124
+ Width = 103
Caption = 'Монстры в DM'
TabOrder = 8
end
Left = 8
Height = 21
Top = 256
- Width = 287
+ Width = 241
Caption = 'Закрыть игру после выхода из карты'
TabOrder = 11
end
index 588d9c49a8c807e34d42960c4fdf9c762f977ff1..aebf686a6d997e511dd08db58578fb4b8e4d7f3f 100644 (file)
--- a/src/editor/f_options.pas
+++ b/src/editor/f_options.pas
try
cbLanguage.Items.BeginUpdate;
cbLanguage.Items.Clear;
- cbLanguage.Items.Add('Auto');
+ cbLanguage.Items.Add(MsgLabEsLanguageAuto);
list := g_Language_GetList();
cbLanguage.Items.AddStrings(list);
list.Free();
index b97edfecbf4333f7fed41356fcb1911229d7d471..241660c4c2a72bb354e32a8517b2c94bf0ecd187 100644 (file)
MsgCapOpt = 'Optimize Map';
MsgCapSets = 'Map Properties';
MsgCapLaunch = 'In-game test Settings';
- MsgCapEs = 'Editor Preferences';
+ MsgCapEs = 'Preferences';
MsgCapPack = 'Pack Map';
MsgCapSave = 'Save Map';
MsgCapMini = 'Save Minimap';
MsgCtrlSetsStats = 'Statistics:';
MsgCtrlSetsSizes = 'Map Size:';
+ MsgCtrlEsTesting = 'Testing';
MsgCtrlLaunchDm = 'Deathmatch';
MsgCtrlLaunchTdm = 'Team Deathmatch';
MsgCtrlLaunchCtf = 'Capture the Flag';
MsgCtrlLaunchClose = 'Close the game after exiting the map';
MsgCtrlLaunchOpen = 'Select Doom 2D: Forever executable';
+ MsgCtrlEsGeneral = 'General';
MsgCtrlEsGrid = 'Show Grid';
MsgCtrlEsTexture = 'Show Panel Texture';
MsgCtrlEsPanelSize = 'Show Panel Size';
MsgLabLaunchTime = 'Time Limit:';
MsgLabLaunchSecs = 'seconds';
MsgLabLaunchScore = 'Score Limit:';
- MsgLabLaunchPath = 'Path to Doom2DF.exe:';
+ MsgLabLaunchPathWin = 'Path to Doom2DF.exe:';
+ MsgLabLaunchPathMac = 'Path to Doom 2D Forever.app:';
+ MsgLabLaunchPathUnix = 'Path to Doom2DF:';
MsgLabLaunchArgs = 'Launch Arguments:';
MsgLabEsGrid = 'Grid Step:';
MsgLabEsMinimap = 'Mini-map Scale:';
MsgLabEsRecent = 'Recent Maps List Contains:';
MsgLabEsLanguage = 'Language:';
+ MsgLabEsLanguageAuto = 'System Default';
+
+ MsgCtrlEsFiles = 'Files';
MsgLabEsCompress = 'Compress archive when save';
MsgLabEsBackup = 'Make backup before save';
bCancel.Caption := MsgBtnCancel;
end;
-// From "Editor settings":
+// Form preferences:
with OptionsForm do
begin
Caption := MsgCapEs;
bOK.Caption := MsgBtnOk;
bCancel.Caption := MsgBtnCancel;
// TabGeneral:
+ TabGeneral.Caption := MsgCtrlEsGeneral;
cbShowDots.Caption := MsgCtrlEsGrid;
cbShowTexture.Caption := MsgCtrlEsTexture;
cbShowSize.Caption := MsgCtrlEsPanelSize;
LabelMinimap.Caption := MsgLabEsMinimap;
LabelLanguage.Caption := MsgLabEsLanguage;
// TabFiles:
+ TabFiles.Caption := MsgCtrlEsFiles;
cbCompress.Caption := MsgLabEsCompress;
cbBackup.Caption := MsgLabEsBackup;
LabelRecent.Caption := MsgLabEsRecent;
// TabTesting:
+ TabTesting.Caption := MsgCtrlEsTesting;
rbDM.Caption := MsgCtrlLaunchDm;
rbTDM.Caption := MsgCtrlLaunchTdm;
rbCTF.Caption := MsgCtrlLaunchCtf;
LabelTime.Caption := MsgLabLaunchTime;
LabelSecs.Caption := MsgLabLaunchSecs;
LabelScore.Caption := MsgLabLaunchScore;
- LabelPath.Caption := MsgLabLaunchPath;
+ {$IF DEFINED(DARWIN)}
+ LabelPath.Caption := MsgLabLaunchPathMac;
+ {$ELSEIF DEFINED(WINDOWS)}
+ LabelPath.Caption := MsgLabLaunchPathWin;
+ {$ELSE}
+ LabelPath.Caption := MsgLabLaunchPathUnix;
+ {$ENDIF}
FindD2dDialog.Title := MsgCtrlLaunchOpen;
LabelArgs.Caption := MsgLabLaunchArgs;
end;