mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 01:38:01 +02:00
icons_to_html: Restored German translation broken after 9bd8fbdd2d
This commit is contained in:
parent
2c4ac0fb42
commit
38ce55d2e3
@ -419,31 +419,33 @@ begin
|
|||||||
IcoFileList.Count, IconGroups, PixSizeList.Count
|
IcoFileList.Count, IconGroups, PixSizeList.Count
|
||||||
]));
|
]));
|
||||||
|
|
||||||
if cbTranslatedHTML.Checked then
|
|
||||||
begin
|
|
||||||
HTMLLines.Add('<hr>');
|
|
||||||
HTMLLines.Add('<p>' + rsInfoText1 + '</p>');
|
|
||||||
HTMLLines.Add('<p>' + rsInfoText2 + '</p>');
|
|
||||||
HTMLLines.Add('<ul>');
|
|
||||||
HTMLLines.Add(' <li>' + rsSizeInfoSmall + '</li>');
|
|
||||||
HTMLLines.Add(' <li>' + rsSizeInfoMedium + '</li>');
|
|
||||||
HTMLLines.Add(' <li>' + rsSizeInfoLarge + '</li>');
|
|
||||||
HTMLLines.Add('</ul>');
|
|
||||||
HTMLLines.Add('<p>' + Format(rsImagesWereProvidedBy, [Link(URL_RolandHahn, URL_RolandHahn)]) + '</p>');
|
|
||||||
HTMLLines.Add('<p>' + Format(rsLicense, [License_CC0]) + '<br>');
|
|
||||||
HTMLLines.Add(Link(URL_CC0, URL_CC0) + '<br>');
|
|
||||||
HTMLLines.Add(rsFreelyAvailable + '</p>');
|
|
||||||
end else
|
|
||||||
if FileExists(ImgDirectory + InfoTextFileName) then
|
if FileExists(ImgDirectory + InfoTextFileName) then
|
||||||
begin
|
begin
|
||||||
try
|
if cbTranslatedHTML.Checked then
|
||||||
InfoTxtList := TStringList.Create;
|
begin
|
||||||
InfoTxtList.LoadFromFile(ImgDirectory + InfoTextFileName);
|
|
||||||
HTMLLines.Add('<hr>');
|
HTMLLines.Add('<hr>');
|
||||||
for i := 0 to InfoTxtList.Count - 1 do
|
HTMLLines.Add('<p>' + rsInfoText1 + '</p>');
|
||||||
HTMLLines.Add(InfoTxtList[i] + '<br>');
|
HTMLLines.Add('<p>' + rsInfoText2 + '</p>');
|
||||||
finally
|
HTMLLines.Add('<ul>');
|
||||||
InfoTxtList.Free;
|
HTMLLines.Add(' <li>' + rsSizeInfoSmall + '</li>');
|
||||||
|
HTMLLines.Add(' <li>' + rsSizeInfoMedium + '</li>');
|
||||||
|
HTMLLines.Add(' <li>' + rsSizeInfoLarge + '</li>');
|
||||||
|
HTMLLines.Add('</ul>');
|
||||||
|
HTMLLines.Add('<p>' + Format(rsImagesWereProvidedBy, [Link(URL_RolandHahn, URL_RolandHahn)]) + '</p>');
|
||||||
|
HTMLLines.Add('<p>' + Format(rsLicense, [License_CC0]) + '<br>');
|
||||||
|
HTMLLines.Add(Link(URL_CC0, URL_CC0) + '<br>');
|
||||||
|
HTMLLines.Add(rsFreelyAvailable + '</p>');
|
||||||
|
end else
|
||||||
|
begin
|
||||||
|
InfoTxtList := TStringList.Create;
|
||||||
|
try
|
||||||
|
InfoTxtList.LoadFromFile(ImgDirectory + InfoTextFileName);
|
||||||
|
HTMLLines.Add('<hr>');
|
||||||
|
for i := 0 to InfoTxtList.Count - 1 do
|
||||||
|
HTMLLines.Add(InfoTxtList[i] + '<br>');
|
||||||
|
finally
|
||||||
|
InfoTxtList.Free;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
HTMLLines.Add('</div>');
|
HTMLLines.Add('</div>');
|
||||||
|
Loading…
Reference in New Issue
Block a user