Icons_to_html: improved captions

This commit is contained in:
Maxim Ganetsky 2024-10-20 16:58:16 +03:00
parent a39246b862
commit 26691cdf96
3 changed files with 37 additions and 39 deletions

View File

@ -11,7 +11,6 @@ object MainForm: TMainForm
Constraints.MinWidth = 700 Constraints.MinWidth = 700
Position = poScreenCenter Position = poScreenCenter
ShowHint = True ShowHint = True
LCLVersion = '4.99.0.0'
OnClose = FormClose OnClose = FormClose
OnCreate = FormCreate OnCreate = FormCreate
OnDropFiles = FormDropFiles OnDropFiles = FormDropFiles
@ -22,9 +21,9 @@ object MainForm: TMainForm
AnchorSideTop.Side = asrCenter AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = sbtnLastDirs AnchorSideRight.Control = sbtnLastDirs
Left = 10 Left = 10
Height = 23 Height = 27
Hint = 'Folder with images for which the html preview should be created' Hint = 'Folder with images for which the HTML preview should be created'
Top = 10 Top = 8
Width = 655 Width = 655
ShowHidden = False ShowHidden = False
ButtonWidth = 23 ButtonWidth = 23
@ -48,8 +47,8 @@ object MainForm: TMainForm
AnchorSideRight.Side = asrBottom AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = bbtnClose AnchorSideBottom.Control = bbtnClose
Left = 0 Left = 0
Height = 426 Height = 423
Top = 43 Top = 45
Width = 700 Width = 700
BorderSpacing.Top = 10 BorderSpacing.Top = 10
BorderSpacing.Bottom = 10 BorderSpacing.Bottom = 10
@ -555,10 +554,10 @@ object MainForm: TMainForm
AnchorSideTop.Control = bbtnClose AnchorSideTop.Control = bbtnClose
AnchorSideTop.Side = asrCenter AnchorSideTop.Side = asrCenter
Left = 15 Left = 15
Height = 19 Height = 21
Hint = 'Creates an html page with dark background' Hint = 'Create HTML page with dark background'
Top = 483 Top = 481
Width = 76 Width = 89
BorderSpacing.Left = 15 BorderSpacing.Left = 15
Caption = 'Dark Mode' Caption = 'Dark Mode'
TabOrder = 2 TabOrder = 2
@ -585,11 +584,10 @@ object MainForm: TMainForm
AnchorSideRight.Side = asrBottom AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = Owner AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom AnchorSideBottom.Side = asrBottom
Left = 614 Left = 627
Height = 26 Height = 27
Hint = 'Closes the application' Top = 478
Top = 479 Width = 63
Width = 76
Anchors = [akRight, akBottom] Anchors = [akRight, akBottom]
AutoSize = True AutoSize = True
BorderSpacing.Right = 10 BorderSpacing.Right = 10
@ -598,6 +596,7 @@ object MainForm: TMainForm
Caption = 'Close' Caption = 'Close'
Images = ImageList Images = ImageList
ImageIndex = 6 ImageIndex = 6
ParentShowHint = False
Spacing = 5 Spacing = 5
TabOrder = 6 TabOrder = 6
OnClick = bbtnCloseClick OnClick = bbtnCloseClick
@ -606,11 +605,11 @@ object MainForm: TMainForm
AnchorSideTop.Control = bbtnClose AnchorSideTop.Control = bbtnClose
AnchorSideTop.Side = asrCenter AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = bbtnClose AnchorSideRight.Control = bbtnClose
Left = 535 Left = 561
Height = 26 Height = 27
Hint = 'Save the generated html text as file "IconTable.html" in the specified folder' Hint = 'Save created HTML page as "IconTable.html" file in the specified folder'
Top = 479 Top = 478
Width = 71 Width = 58
Anchors = [akTop, akRight] Anchors = [akTop, akRight]
AutoSize = True AutoSize = True
BorderSpacing.Right = 8 BorderSpacing.Right = 8
@ -626,11 +625,11 @@ object MainForm: TMainForm
AnchorSideTop.Control = bbtnPreview AnchorSideTop.Control = bbtnPreview
AnchorSideTop.Side = asrCenter AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = bbtnPreview AnchorSideRight.Control = bbtnPreview
Left = 316 Left = 361
Height = 26 Height = 27
Hint = 'Create a html page for the images found in the selected directory' Hint = 'Create HTML page for images found in the selected directory'
Top = 479 Top = 478
Width = 116 Width = 108
Anchors = [akTop, akRight] Anchors = [akTop, akRight]
AutoSize = True AutoSize = True
BorderSpacing.Right = 8 BorderSpacing.Right = 8
@ -646,10 +645,10 @@ object MainForm: TMainForm
object bbtnPreview: TBitBtn object bbtnPreview: TBitBtn
AnchorSideTop.Control = bbtnSave AnchorSideTop.Control = bbtnSave
AnchorSideRight.Control = bbtnSave AnchorSideRight.Control = bbtnSave
Left = 440 Left = 477
Height = 26 Height = 27
Top = 479 Top = 478
Width = 87 Width = 76
Anchors = [akTop, akRight] Anchors = [akTop, akRight]
AutoSize = True AutoSize = True
BorderSpacing.Right = 8 BorderSpacing.Right = 8

View File

@ -1,14 +1,13 @@
{"version":1,"strings":[ {"version":1,"strings":[
{"hash":104478853,"name":"tmainform.caption","sourcebytes":[73,99,111,110,84,97,98,108,101],"value":"IconTable"}, {"hash":104478853,"name":"tmainform.caption","sourcebytes":[73,99,111,110,84,97,98,108,101],"value":"IconTable"},
{"hash":182020612,"name":"tmainform.directoryedit.hint","sourcebytes":[70,111,108,100,101,114,32,119,105,116,104,32,105,109,97,103,101,115,32,102,111,114,32,119,104,105,99,104,32,116,104,101,32,104,116,109,108,32,112,114,101,118,105,101,119,32,115,104,111,117,108,100,32,98,101,32,99,114,101,97,116,101,100],"value":"Folder with images for which the html preview should be created"}, {"hash":150702596,"name":"tmainform.directoryedit.hint","sourcebytes":[70,111,108,100,101,114,32,119,105,116,104,32,105,109,97,103,101,115,32,102,111,114,32,119,104,105,99,104,32,116,104,101,32,72,84,77,76,32,112,114,101,118,105,101,119,32,115,104,111,117,108,100,32,98,101,32,99,114,101,97,116,101,100],"value":"Folder with images for which the HTML preview should be created"},
{"hash":60826484,"name":"tmainform.cbdarkmode.hint","sourcebytes":[67,114,101,97,116,101,115,32,97,110,32,104,116,109,108,32,112,97,103,101,32,119,105,116,104,32,100,97,114,107,32,98,97,99,107,103,114,111,117,110,100],"value":"Creates an html page with dark background"}, {"hash":29255300,"name":"tmainform.cbdarkmode.hint","sourcebytes":[67,114,101,97,116,101,32,72,84,77,76,32,112,97,103,101,32,119,105,116,104,32,100,97,114,107,32,98,97,99,107,103,114,111,117,110,100],"value":"Create HTML page with dark background"},
{"hash":148213541,"name":"tmainform.cbdarkmode.caption","sourcebytes":[68,97,114,107,32,77,111,100,101],"value":"Dark Mode"}, {"hash":148213541,"name":"tmainform.cbdarkmode.caption","sourcebytes":[68,97,114,107,32,77,111,100,101],"value":"Dark Mode"},
{"hash":174562100,"name":"tmainform.sbtnlastdirs.hint","sourcebytes":[76,97,115,116,32,117,115,101,100],"value":"Last used"}, {"hash":174562100,"name":"tmainform.sbtnlastdirs.hint","sourcebytes":[76,97,115,116,32,117,115,101,100],"value":"Last used"},
{"hash":19996926,"name":"tmainform.bbtnclose.hint","sourcebytes":[67,108,111,115,101,115,32,116,104,101,32,97,112,112,108,105,99,97,116,105,111,110],"value":"Closes the application"},
{"hash":4863637,"name":"tmainform.bbtnclose.caption","sourcebytes":[67,108,111,115,101],"value":"Close"}, {"hash":4863637,"name":"tmainform.bbtnclose.caption","sourcebytes":[67,108,111,115,101],"value":"Close"},
{"hash":186047810,"name":"tmainform.bbtnsave.hint","sourcebytes":[83,97,118,101,32,116,104,101,32,103,101,110,101,114,97,116,101,100,32,104,116,109,108,32,116,101,120,116,32,97,115,32,102,105,108,101,32,34,73,99,111,110,84,97,98,108,101,46,104,116,109,108,34,32,105,110,32,116,104,101,32,115,112,101,99,105,102,105,101,100,32,102,111,108,100,101,114],"value":"Save the generated html text as file \"IconTable.html\" in the specified folder"}, {"hash":121132146,"name":"tmainform.bbtnsave.hint","sourcebytes":[83,97,118,101,32,99,114,101,97,116,101,100,32,72,84,77,76,32,112,97,103,101,32,97,115,32,34,73,99,111,110,84,97,98,108,101,46,104,116,109,108,34,32,102,105,108,101,32,105,110,32,116,104,101,32,115,112,101,99,105,102,105,101,100,32,102,111,108,100,101,114],"value":"Save created HTML page as \"IconTable.html\" file in the specified folder"},
{"hash":366789,"name":"tmainform.bbtnsave.caption","sourcebytes":[83,97,118,101],"value":"Save"}, {"hash":366789,"name":"tmainform.bbtnsave.caption","sourcebytes":[83,97,118,101],"value":"Save"},
{"hash":241090185,"name":"tmainform.bbtncreatehtml.hint","sourcebytes":[67,114,101,97,116,101,32,97,32,104,116,109,108,32,112,97,103,101,32,102,111,114,32,116,104,101,32,105,109,97,103,101,115,32,102,111,117,110,100,32,105,110,32,116,104,101,32,115,101,108,101,99,116,101,100,32,100,105,114,101,99,116,111,114,121],"value":"Create a html page for the images found in the selected directory"}, {"hash":119190121,"name":"tmainform.bbtncreatehtml.hint","sourcebytes":[67,114,101,97,116,101,32,72,84,77,76,32,112,97,103,101,32,102,111,114,32,105,109,97,103,101,115,32,102,111,117,110,100,32,105,110,32,116,104,101,32,115,101,108,101,99,116,101,100,32,100,105,114,101,99,116,111,114,121],"value":"Create HTML page for images found in the selected directory"},
{"hash":171857052,"name":"tmainform.bbtncreatehtml.caption","sourcebytes":[67,114,101,97,116,101,32,72,84,77,76],"value":"Create HTML"}, {"hash":171857052,"name":"tmainform.bbtncreatehtml.caption","sourcebytes":[67,114,101,97,116,101,32,72,84,77,76],"value":"Create HTML"},
{"hash":126668695,"name":"tmainform.bbtnpreview.caption","sourcebytes":[80,114,101,118,105,101,119],"value":"Preview"} {"hash":126668695,"name":"tmainform.bbtnpreview.caption","sourcebytes":[80,114,101,118,105,101,119],"value":"Preview"}
]} ]}

View File

@ -61,13 +61,13 @@ implementation
resourcestring resourcestring
rsInformation = 'Information'; rsInformation = 'Information';
rsError = 'Error'; rsError = 'Error';
rsTheConfigurationCouldNotBeSaved = 'The configuration could not be saved.'; rsTheConfigurationCouldNotBeSaved = 'Configuration file could not be saved.';
rsTheTempFileCouldNotBeDeleted = 'The temp file could not be deleted.'; rsTheTempFileCouldNotBeDeleted = 'Temporary file could not be deleted.';
rsTheFileCouldNotBeSavedAs = 'The file could not be saved as: %s'; rsTheFileCouldNotBeSavedAs = 'The file could not be saved as: %s';
rsSavedAs = 'Saved as: %s'; rsSavedAs = 'Saved as: %s';
rsNoPngImageFilesFoundIn = 'No png image files found in %s'; rsNoPngImageFilesFoundIn = 'No PNG image files found in %s';
rsNoMatchingPngImageFilesFoundIn = 'No matching png image files found in %s'; rsNoMatchingPngImageFilesFoundIn = 'No matching PNG image files found in %s';
rsTheFolderDoesNotExist = 'The folder [%s] does not exist or is currently not available.'#13#13'Should it be removed from the list?'; rsTheFolderDoesNotExist = 'Folder "%s" does not exist or is currently not available.'+LineEnding+LineEnding+'Should it be removed from the list?';
rsThisFolderContains = 'This folder contains %0:d icons in %1:d icon groups with %2:d icon sizes.'; rsThisFolderContains = 'This folder contains %0:d icons in %1:d icon groups with %2:d icon sizes.';
rsSize = 'Size'; rsSize = 'Size';
rsName = 'Name'; rsName = 'Name';