mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 07:22:36 +02:00
Win Installer: removed unused po functionality. It does not compile with the unicode inno setup. Inno has build in translation, no po needed
git-svn-id: trunk@38109 -
This commit is contained in:
parent
3b206ae108
commit
6c8d7c1dae
@ -430,21 +430,6 @@ begin
|
||||
Result := not IsHKLMWriteable();
|
||||
end;
|
||||
|
||||
var
|
||||
PoFileStrings: TArrayOfString;
|
||||
|
||||
procedure LoadPoFile;
|
||||
var
|
||||
PoFilename: string;
|
||||
begin
|
||||
if (GetArrayLength(PoFileStrings)=0) then begin
|
||||
PoFilename := ExpandConstant('{app}\languages\installerstrconsts.{language}.po');
|
||||
if not FileExists(PoFileName) then
|
||||
PoFilename := ExpandConstant('{app}\languages\installerstrconsts.po');
|
||||
LoadStringsFromFile(PoFileName, PoFileStrings);
|
||||
end;
|
||||
end;
|
||||
|
||||
function GetAssociateDesc(const ext: string): string;
|
||||
var
|
||||
AmpersandPos: integer;
|
||||
|
Loading…
Reference in New Issue
Block a user