X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Feditor%2Fg_language.pas;h=369176e6e1e0b51922e23fa529563ef0a82088a3;hb=3c82d66d2cc9d0ea466a0129c1455b2fa194c810;hp=b97edfecbf4333f7fed41356fcb1911229d7d471;hpb=88f7e4ccb03ce2eb561b0faba1957503aae4a27a;p=d2df-editor.git diff --git a/src/editor/g_language.pas b/src/editor/g_language.pas index b97edfe..369176e 100644 --- a/src/editor/g_language.pas +++ b/src/editor/g_language.pas @@ -423,7 +423,7 @@ Interface 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'; @@ -487,6 +487,7 @@ Interface MsgCtrlSetsStats = 'Statistics:'; MsgCtrlSetsSizes = 'Map Size:'; + MsgCtrlEsTesting = 'Testing'; MsgCtrlLaunchDm = 'Deathmatch'; MsgCtrlLaunchTdm = 'Team Deathmatch'; MsgCtrlLaunchCtf = 'Capture the Flag'; @@ -499,6 +500,7 @@ Interface 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'; @@ -546,7 +548,9 @@ Interface 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:'; @@ -557,6 +561,9 @@ Interface 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'; @@ -624,6 +631,9 @@ Interface MsgFileFilterAll = 'Doom 2D: Forever Maps (*.dfz, *.dfzip, *.zip, *.wad)|*.dfz;*.dfzip;*.zip;*.wad|Doom 2D: Forever 0.30 Maps (*.ini)|*.ini|All Files (*.*)|*.*'; MsgFileFilterWad = 'Doom 2D: Forever Maps (*.dfz)|*.dfz|Doom 2D: Forever Maps (*.dfzip)|*.dfzip|Doom 2D: Forever Maps (*.zip)|*.zip|Doom 2D: Forever Maps (*.wad)|*.wad|All Files (*.*)|*.*'; + MsgFileFilterExeMac = 'Doom 2D Forever.app|*.app|Doom 2D Forever (Unix Executable)|Doom2DF;*'; + MsgFileFilterExeWin = 'Doom2DF.exe|Doom2DF.exe;*.exe'; + MsgFileFilterExeUnix = 'Doom2DF|Doom2DF;*'; MsgEditorTitle = 'Doom 2D: Forever Map Editor'; @@ -1144,13 +1154,14 @@ begin 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; @@ -1163,10 +1174,12 @@ begin 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; @@ -1180,8 +1193,19 @@ begin LabelTime.Caption := MsgLabLaunchTime; LabelSecs.Caption := MsgLabLaunchSecs; LabelScore.Caption := MsgLabLaunchScore; - LabelPath.Caption := MsgLabLaunchPath; - FindD2dDialog.Title := MsgCtrlLaunchOpen; + {$IF DEFINED(DARWIN)} + LabelPath.Caption := MsgLabLaunchPathMac; + ExeEdit.DialogTitle := MsgCtrlLaunchOpen; + ExeEdit.Filter := MsgFileFilterExeMac; + {$ELSEIF DEFINED(WINDOWS)} + LabelPath.Caption := MsgLabLaunchPathWin; + ExeEdit.DialogTitle := MsgCtrlLaunchOpen; + ExeEdit.Filter := MsgFileFilterExeWin; + {$ELSE} + LabelPath.Caption := MsgLabLaunchPathUnix; + ExeEdit.DialogTitle := MsgCtrlLaunchOpen; + ExeEdit.Filter := MsgFileFilterExeUnix; + {$ENDIF} LabelArgs.Caption := MsgLabLaunchArgs; end;