From 6c8d7c1dae88650325a193382d0da4b9f3c24ddf Mon Sep 17 00:00:00 2001 From: martin Date: Wed, 1 Aug 2012 20:59:59 +0000 Subject: [PATCH] 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 - --- tools/install/win/lazarus.iss | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/tools/install/win/lazarus.iss b/tools/install/win/lazarus.iss index dc8e289442..4c63ef11b1 100644 --- a/tools/install/win/lazarus.iss +++ b/tools/install/win/lazarus.iss @@ -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;