Skip to content

Commit 78cf622

Browse files
committed
Change name of XHTML files in save dialogue boxes
Name is dialogue box drop down lists change from HTML to XHTML
1 parent 050bc58 commit 78cf622

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Src/USaveSnippetMgr.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ implementation
9999
sCategory = 'category';
100100
sSnippet = 'routine';
101101
// File filter strings
102-
sHtmExtDesc = 'HTML file';
102+
sXHtmExtDesc = 'XHTML file';
103103
sRtfExtDesc = 'Rich text file';
104104
sIncExtDesc = 'Pascal include file';
105105
sTxtExtDesc = 'Plain text file';
@@ -170,7 +170,7 @@ function TSaveSnippetMgr.GetFileTypeDesc(
170170
const FileType: TSourceFileType): string;
171171
const
172172
Descriptions: array[TSourceFileType] of string = (
173-
sTxtExtDesc, sIncExtDesc, sHtmExtDesc, sRtfExtDesc
173+
sTxtExtDesc, sIncExtDesc, sXHtmExtDesc, sRtfExtDesc
174174
);
175175
begin
176176
Result := Descriptions[FileType];

Src/USaveUnitMgr.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ implementation
107107
// Dialog box title
108108
sSaveDlgTitle = 'Save Unit';
109109
// File filter strings
110-
sHTMLDesc = 'HTML file';
110+
sXHTMLDesc = 'XHTML file';
111111
sRTFDesc = 'Rich text file';
112112
sPascalDesc = 'Pascal unit';
113113
sTextDesc = 'Plain text file';
@@ -241,7 +241,7 @@ function TSaveUnitMgr.GetDocTitle: string;
241241
function TSaveUnitMgr.GetFileTypeDesc(const FileType: TSourceFileType): string;
242242
const
243243
Descriptions: array[TSourceFileType] of string = (
244-
sTextDesc, sPascalDesc, sHTMLDesc, sRTFDesc
244+
sTextDesc, sPascalDesc, sXHTMLDesc, sRTFDesc
245245
);
246246
begin
247247
Result := Descriptions[FileType];

0 commit comments

Comments
 (0)