index b97edfecbf4333f7fed41356fcb1911229d7d471..7d4f2d83c869aca819ce76a250843520163f549d 100644 (file)
MsgArrayItemRocketLauncher = 'Rocket Launcher';
MsgArrayItemPlasmaRifle = 'Plasma Rifle';
MsgArrayItemBfg = 'BFG9000';
- MsgArrayItemSuperMinigun = 'Super Chaingun';
+ MsgArrayItemSuperChaingun = 'Super Chaingun';
MsgArrayItemFlamethrower = 'Flamethrower';
MsgArrayItemClip = 'Clip';
MsgArrayItemAmmoBox = 'Box of Bullets';
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';
MsgMenuEditPaste = 'Paste';
MsgMenuEditSelectAll = 'Select All';
MsgMenuEditSnapGrid = 'Snap to Grid';
- MsgMenuEditStepGrid = 'Switch Grid Granularity';
+ MsgMenuEditStepGrid = 'Switch Grid Step';
MsgMenuEditToFore = 'Bring to Front';
MsgMenuEditToBack = 'Send to Back';
MsgMenuEditMapProps = 'Map Properties...';
MsgMenuView = 'View';
MsgMenuViewLayers = 'Layers';
- MsgMenuViewMinimap = 'Show Minimap';
+ MsgMenuViewMinimap = 'Show Minimap Navigator';
MsgMenuViewBounds = 'Show Map Bounds';
MsgMenuViewPreview = 'Preview Mode';
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:';
- MsgLabEsCompress = 'Compress archive when save';
- MsgLabEsBackup = 'Make backup before save';
+ MsgLabEsLanguageAuto = 'System Default';
+
+ MsgCtrlEsFiles = 'Files';
MsgLabPackSaveTo = 'Save to:';
MsgLabPackMapName = 'Map Resource Name:';
MsgOptPanelsAfter = 'Panels after Optimization:';
MsgWadSpecialMap = '<MAP WAD-FILE>';
- MsgWadSpecialTexs = '<EXTRA TEXTURES>';
+ MsgWadSpecialTexs = '<COLORFILTERS>';
- 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 (*.*)|*.*';
+ MsgFileFilterSaveDFWAD = 'Doom 2D: Forever Maps in DFWAD packages (*.wad)|*.wad';
+ MsgFileFilterSaveDFZIP = 'Doom 2D: Forever Maps in DFZIP archives (*.dfz)|*.dfz';
+ MsgFileFilterAll = 'Doom 2D: Forever Maps (*.dfz, *.wad)|*.wad;*.dfz|Doom 2D: Forever 0.30 Maps (*.ini)|*.ini|All Files (*.*)|*.*';
+ MsgFileFilterWad = 'Doom 2D: Forever Maps (*.dfz, *.wad)|*.wad;*.dfz|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';
ItemNames[ITEM_WEAPON_ROCKETLAUNCHER] := MsgArrayItemRocketLauncher;
ItemNames[ITEM_WEAPON_PLASMA] := MsgArrayItemPlasmaRifle;
ItemNames[ITEM_WEAPON_BFG] := MsgArrayItemBfg;
- ItemNames[ITEM_WEAPON_SUPERPULEMET] := MsgArrayItemSuperMinigun;
+ ItemNames[ITEM_WEAPON_SUPERCHAINGUN] := MsgArrayItemSuperChaingun;
ItemNames[ITEM_WEAPON_FLAMETHROWER] := MsgArrayItemFlamethrower;
ItemNames[ITEM_AMMO_BULLETS] := MsgArrayItemClip;
ItemNames[ITEM_AMMO_BULLETS_BOX] := MsgArrayItemAmmoBox;
ItemNames[ITEM_KEY_RED] := MsgArrayItemKeyRed;
ItemNames[ITEM_KEY_GREEN] := MsgArrayItemKeyGreen;
ItemNames[ITEM_KEY_BLUE] := MsgArrayItemKeyBlue;
- ItemNames[ITEM_WEAPON_KASTET] := '?';
+ ItemNames[ITEM_WEAPON_IRONFIST] := '?';
ItemNames[ITEM_WEAPON_PISTOL] := '??';
ItemNames[ITEM_BOTTLE] := MsgArrayItemBottle;
ItemNames[ITEM_HELMET] := MsgArrayItemHelmet;
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:
- cbCompress.Caption := MsgLabEsCompress;
- cbBackup.Caption := MsgLabEsBackup;
+ TabFiles.Caption := MsgCtrlEsFiles;
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;
- 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;
list := TStringList.Create;
list.Duplicates := dupIgnore;
list.Add(InSourceLanguage);
- if FindFirst(LangDir + DirectorySeparator + langfilename + '.*.lng', faAnyFile, info) = 0 then
+ if FindFirst(LangDir + DirectorySeparator + langfilename + '.*.lng', faReadOnly, info) = 0 then
begin
repeat
list.Add(Copy(ExtractFileNameWithoutExt(info.Name), Length(langfilename) + 2));