Opkman: Reuse already existing strings for localization.

git-svn-id: trunk@56676 -
This commit is contained in:
balazs 2017-12-09 07:52:16 +00:00
parent 601a6c90ba
commit 46ff77357e
2 changed files with 9 additions and 18 deletions

View File

@ -479,15 +479,6 @@ resourcestring
rsOPMIntfPackageListFrm_pnInfo = 'Please check before install: Lazarus/FPC compatibility, widgetset support, license and version info';
rsOPMIntfPackageListFrm_VSTHeaderColumn_LazarusPackage = 'Lazarus Package';
rsOPMIntfPackageListFrm_VSTHeaderColumn_Data = 'Data';
rsOPMIntfPackageListFrm_VSTText_Description = 'Description';
rsOPMIntfPackageListFrm_VSTText_Author = 'Author';
rsOPMIntfPackageListFrm_VSTText_LazCompatibility = 'Lazarus compatibility';
rsOPMIntfPackageListFrm_VSTText_FPCCompatibility = 'FPC compatibility';
rsOPMIntfPackageListFrm_VSTText_SupportedWidgetsets = 'Supported widgetsets';
rsOPMIntfPackageListFrm_VSTText_Packagetype = 'Package type';
rsOPMIntfPackageListFrm_VSTText_License = 'License';
rsOPMIntfPackageListFrm_VSTText_Dependecies = 'Dependencies';
rsOPMIntfPackageListFrm_VSTText_Version = 'Version';
implementation

View File

@ -152,15 +152,15 @@ begin
case Column of
0: case Data^.DataType of
0: CellText := Data^.LazarusPackageName;
1: CellText := rsOPMIntfPackageListFrm_VSTText_Description;
2: CellText := rsOPMIntfPackageListFrm_VSTText_Author;
3: CellText := rsOPMIntfPackageListFrm_VSTText_LazCompatibility;
4: CellText := rsOPMIntfPackageListFrm_VSTText_FPCCompatibility;
5: CellText := rsOPMIntfPackageListFrm_VSTText_SupportedWidgetsets;
6: CellText := rsOPMIntfPackageListFrm_VSTText_Packagetype;
7: CellText := rsOPMIntfPackageListFrm_VSTText_License;
8: CellText := rsOPMIntfPackageListFrm_VSTText_Dependecies;
9: CellText := rsOPMIntfPackageListFrm_VSTText_Version;
1: CellText := rsMainFrm_VSTText_Description;
2: CellText := rsMainFrm_VSTText_Author;
3: CellText := rsMainFrm_VSTText_LazCompatibility;
4: CellText := rsMainFrm_VSTText_FPCCompatibility;
5: CellText := rsMainFrm_VSTText_SupportedWidgetsets;
6: CellText := rsMainFrm_VSTText_Packagetype;
7: CellText := rsMainFrm_VSTText_License;
8: CellText := rsMainFrm_VSTText_Dependecies;
9: CellText := rsMainFrm_VSTText_Version;
end;
1: case Data^.DataType of
0: CellText := '';