From d2b6e812888f24fb5dd1b79ffa2a283d8ea3cfee Mon Sep 17 00:00:00 2001 From: mattias Date: Mon, 18 Feb 2013 18:39:12 +0000 Subject: [PATCH] cody: clean up git-svn-id: trunk@40344 - --- .gitattributes | 2 - components/codetools/ide/codyunitdepwnd.pas | 37 ++++++++++++++++--- .../codetools/ide/languages/codyunitdepwnd.po | 11 ------ .../ide/languages/codyunitdepwnd.ru.po | 20 ---------- 4 files changed, 31 insertions(+), 39 deletions(-) delete mode 100644 components/codetools/ide/languages/codyunitdepwnd.po delete mode 100644 components/codetools/ide/languages/codyunitdepwnd.ru.po diff --git a/.gitattributes b/.gitattributes index 9d8de1903b..6c6120b0d3 100644 --- a/.gitattributes +++ b/.gitattributes @@ -805,8 +805,6 @@ components/codetools/ide/languages/codystrconsts.po svneol=native#text/plain components/codetools/ide/languages/codystrconsts.pt_BR.po svneol=native#text/plain components/codetools/ide/languages/codystrconsts.ru.po svneol=native#text/plain components/codetools/ide/languages/codystrconsts.uk.po svneol=native#text/plain -components/codetools/ide/languages/codyunitdepwnd.po svneol=native#text/plain -components/codetools/ide/languages/codyunitdepwnd.ru.po svneol=native#text/plain components/codetools/ide/newidewnddlg.lfm svneol=native#text/plain components/codetools/ide/newidewnddlg.pas svneol=native#text/plain components/codetools/ide/ppulistdlg.lfm svneol=native#text/plain diff --git a/components/codetools/ide/codyunitdepwnd.pas b/components/codetools/ide/codyunitdepwnd.pas index 8260c5bfde..bd40cbdfaa 100644 --- a/components/codetools/ide/codyunitdepwnd.pas +++ b/components/codetools/ide/codyunitdepwnd.pas @@ -1,3 +1,28 @@ +{ +*************************************************************************** +* * +* This source is free software; you can redistribute it and/or modify * +* it under the terms of the GNU General Public License as published by * +* the Free Software Foundation; either version 2 of the License, or * +* (at your option) any later version. * +* * +* This code is distributed in the hope that it will be useful, but * +* WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * +* General Public License for more details. * +* * +* A copy of the GNU General Public License is available on the World * +* Wide Web at . You can also * +* obtain it by writing to the Free Software Foundation, * +* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * +* * +*************************************************************************** + + Author: Mattias Gaertner + + Abstract: + IDE Window showing dependecies of units and packages. +} unit CodyUnitDepWnd; {$mode objfpc}{$H+} @@ -13,9 +38,9 @@ uses CTUnitGraph, CodeToolManager, DefineTemplates, CTUnitGroupGraph, CodyCtrls; -resourcestring - rsSelectAUnit = 'Select an unit'; - rsClose = 'Close'; +const // ToDo: make resourcestring + lisSelectAUnit = 'Select an unit'; + lisClose = 'Close'; const GroupPrefixProject = '-Project-'; GroupPrefixFPCSrc = 'FPC:'; @@ -138,7 +163,7 @@ begin AddStartAndTargetUnits; Caption:='Unit Dependencies'; - CloseBitBtn.Caption:=rsClose; + CloseBitBtn.Caption:=lisClose; IDEDialogLayoutList.ApplyLayout(Self,600,400); @@ -158,7 +183,7 @@ begin fCircleCategories[uddutImplementationUses].Color:=clRed; fCircleCategories[uddutInterfaceUses]:=AddCategory('Interface'); fCircleCategories[uddutInterfaceUses].Color:=clGreen; - CenterCaption:=rsSelectAUnit; + CenterCaption:=lisSelectAUnit; Parent:=UnitsTabSheet; end; @@ -415,7 +440,7 @@ begin UpdateCircleCategory(CurrentUnit.UsedByUnits,uddutUsedByInterface); UpdateCircleCategory(CurrentUnit.UsedByUnits,uddutUsedByImplementation); end else begin - CurUnitDiagram.CenterCaption:=rsSelectAUnit; + CurUnitDiagram.CenterCaption:=lisSelectAUnit; end; finally CurUnitDiagram.EndUpdate; diff --git a/components/codetools/ide/languages/codyunitdepwnd.po b/components/codetools/ide/languages/codyunitdepwnd.po deleted file mode 100644 index 761b96f029..0000000000 --- a/components/codetools/ide/languages/codyunitdepwnd.po +++ /dev/null @@ -1,11 +0,0 @@ -msgid "" -msgstr "Content-Type: text/plain; charset=UTF-8" - -#: codyunitdepwnd.rsclose -msgid "Close" -msgstr "" - -#: codyunitdepwnd.rsselectaunit -msgid "Select an unit" -msgstr "" - diff --git a/components/codetools/ide/languages/codyunitdepwnd.ru.po b/components/codetools/ide/languages/codyunitdepwnd.ru.po deleted file mode 100644 index 6bbc6c44f9..0000000000 --- a/components/codetools/ide/languages/codyunitdepwnd.ru.po +++ /dev/null @@ -1,20 +0,0 @@ -msgid "" -msgstr "" -"Content-Type: text/plain; charset=UTF-8\n" -"Project-Id-Version: \n" -"POT-Creation-Date: \n" -"PO-Revision-Date: \n" -"Last-Translator: Maxim Ganetsky \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.5.5\n" - -#: codyunitdepwnd.rsclose -msgid "Close" -msgstr "Закрыть" - -#: codyunitdepwnd.rsselectaunit -msgid "Select an unit" -msgstr "Выберите модуль" -