diff --git a/components/ideintf/objinspstrconsts.pas b/components/ideintf/objinspstrconsts.pas index 64541f8978..6319c096a6 100644 --- a/components/ideintf/objinspstrconsts.pas +++ b/components/ideintf/objinspstrconsts.pas @@ -384,7 +384,6 @@ resourcestring // TFileNamePropertyEditor oisSelectAFile = 'Select a file'; oisPropertiesOf = 'Properties of %s'; - oisAllFiles = 'All files'; // TCommonDialogComponentEditor oisTestDialog = 'Test dialog ...'; @@ -531,6 +530,10 @@ resourcestring lrsCopyFromDataset = 'Copy data from other dataset'; lrsNoDatasetsAvailableForCopy = 'No dataset available to copy data from.'; + // File types + oisAllFiles = 'All files'; + oisFilterXML = 'XML files'; + implementation end. diff --git a/components/ideintf/treeviewpropedit.pas b/components/ideintf/treeviewpropedit.pas index 93cf1a389c..7cb8dac880 100644 --- a/components/ideintf/treeviewpropedit.pas +++ b/components/ideintf/treeviewpropedit.pas @@ -156,7 +156,7 @@ begin // dialogs dlgOpen.Title := sccsTrEdtOpenDialog; dlgSave.Title := sccsTrEdtSaveDialog; - dlgSave.Filter := 'xml files|*.xml|All files|'+GetAllFilesMask+'|'; + dlgSave.Filter := oisFilterXML+'|*.xml|'+oisAllFiles+'|'+GetAllFilesMask+'|'; dlgOpen.Filter := dlgSave.Filter; // button panel