IDE: lazconf: clean up

git-svn-id: trunk@32520 -
This commit is contained in:
mattias 2011-09-26 19:12:39 +00:00
parent a66b61d32c
commit d551fda25d
2 changed files with 15 additions and 29 deletions

View File

@ -400,11 +400,11 @@ msgstr ""
#, fuzzy
#| msgid "Shortcut already exists"
msgid "The keystroke \"%s\" is already assigned to another editor command. (%s)"
msgstr "La séquence \"%s\" est déjà affectée à une autre commande de l'éditeur. (%s)"
msgstr "La s?quence \"%s\" est d?j? affect?e ? une autre commande de l'?diteur. (%s)"
#: syneditstrconst.syns_eduplicateshortcut
msgid "Mouse-Shortcut already exists"
msgstr "Raccourci déjà existant"
msgstr "Raccourci d?j? existant"
#: syneditstrconst.syns_emcbreakpointtoggle
msgid "Toggle Breakpoint"

View File

@ -84,19 +84,23 @@ procedure CopySecondaryConfigFile(const AFilename: String);
function GetProjectSessionsConfigPath: String;
function GetDefaultTestBuildDirectory: string;
procedure GetDefaultTestBuildDirs(List: TStrings);
// create a pascal file, which can be used to test the compiler
function CreateCompilerTestPascalFilename: string;
function FindDefaultExecutablePath(const Executable: string): string;
function FindDefaultCompilerPath: string;
function FindDefaultMakePath: string;
function FindDefaultFPCSrcDirectory: string;
function GetDefaultCompilerFilename: string; // e.g. ppc386.exe
procedure GetDefaultCompilerFilenames(List: TStrings); // list of standard paths of compiler on various distributions
function FindDefaultCompilerPath: string; // full path of GetDefaultCompilerFilename
function FindDefaultMakePath: string; // full path of "make"
procedure GetDefaultMakeFilenames(List: TStrings); // list of standard paths of "make" on various distributions
function GetDefaultFPCSrcDirectories: TStringList;
function FindDefaultLazarusSrcDirectory: string;
function GetDefaultLazarusSrcDirectories: TStringList;
function CheckFPCSourceDir(ADirectory: string): boolean;
function CheckLazarusDirectory(const ADirectory: string): boolean;
// create a pascal file, which can be used to test the compiler
function CreateCompilerTestPascalFilename: string;
function GetDefaultTargetCPU: string;
function GetDefaultTargetOS: string;
// returns the standard executable extension (e.g '.exe')
function GetExecutableExt(TargetOS: string = ''): string;
@ -112,20 +116,13 @@ function GetDefaultCompiledUnitExt({%H-}FPCVersion, {%H-}FPCRelease: integer): s
function OSLocksExecutables: boolean;
procedure GetDefaultCompilerFilenames(List: TStrings);
procedure GetDefaultMakeFilenames(List: TStrings);
procedure GetDefaultTestBuildDirs(List: TStrings);
function GetDefaultCompilerFilename: string;
function GetDefaultTargetCPU: string;
function GetDefaultTargetOS: string;
// returns the default browser
procedure GetDefaultBrowser(var Browser, Params: string);
// LCL
function GetDefaultLCLWidgetType: TLCLPlatform;
function DirNameToLCLPlatform(const ADirName: string): TLCLPlatform;
// returrns the default browser
procedure GetDefaultBrowser(var Browser, Params: string);
// Replace OnGetApplicationName, so that Application.Title
// doesn't interfere with GetAppConfigDir and related.
function GetLazarusApplicationName: string;
@ -432,17 +429,6 @@ begin
end;
end;
function FindDefaultFPCSrcDirectory: string;
var
i: integer;
begin
for i:=Low(DefaultFPCSrcDirs) to High(DefaultFPCSrcDirs) do begin
Result:=DefaultFPCSrcDirs[i];
if CheckFPCSourceDir(Result) then exit;
end;
Result:='';
end;
function GetDefaultFPCSrcDirectories: TStringList;
var
i: Integer;