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
tools/icons_to_html

View File

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

View File

@ -1,14 +1,13 @@
{"version":1,"strings":[
{"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":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":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":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":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":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":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":126668695,"name":"tmainform.bbtnpreview.caption","sourcebytes":[80,114,101,118,105,101,119],"value":"Preview"}
]}

View File

@ -61,13 +61,13 @@ implementation
resourcestring
rsInformation = 'Information';
rsError = 'Error';
rsTheConfigurationCouldNotBeSaved = 'The configuration could not be saved.';
rsTheTempFileCouldNotBeDeleted = 'The temp file could not be deleted.';
rsTheConfigurationCouldNotBeSaved = 'Configuration file could not be saved.';
rsTheTempFileCouldNotBeDeleted = 'Temporary file could not be deleted.';
rsTheFileCouldNotBeSavedAs = 'The file could not be saved as: %s';
rsSavedAs = 'Saved as: %s';
rsNoPngImageFilesFoundIn = 'No 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?';
rsNoPngImageFilesFoundIn = 'No PNG image files found in %s';
rsNoMatchingPngImageFilesFoundIn = 'No matching PNG image files found in %s';
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.';
rsSize = 'Size';
rsName = 'Name';