From 46ff77357ec6ac242442cdd3d10d8a58e389cd29 Mon Sep 17 00:00:00 2001 From: balazs Date: Sat, 9 Dec 2017 07:52:16 +0000 Subject: [PATCH] Opkman: Reuse already existing strings for localization. git-svn-id: trunk@56676 - --- .../onlinepackagemanager/opkman_const.pas | 9 --------- .../opkman_intf_packagelistfrm.pas | 18 +++++++++--------- 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/components/onlinepackagemanager/opkman_const.pas b/components/onlinepackagemanager/opkman_const.pas index 86cfc7955a..4adcb40d1f 100644 --- a/components/onlinepackagemanager/opkman_const.pas +++ b/components/onlinepackagemanager/opkman_const.pas @@ -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 diff --git a/components/onlinepackagemanager/opkman_intf_packagelistfrm.pas b/components/onlinepackagemanager/opkman_intf_packagelistfrm.pas index a3ef17cc21..5b0715bac1 100644 --- a/components/onlinepackagemanager/opkman_intf_packagelistfrm.pas +++ b/components/onlinepackagemanager/opkman_intf_packagelistfrm.pas @@ -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 := '';