cody: clean up

git-svn-id: trunk@40344 -
This commit is contained in:
mattias 2013-02-18 18:39:12 +00:00
parent f2ffc5a7d1
commit d2b6e81288
4 changed files with 31 additions and 39 deletions

2
.gitattributes vendored
View File

@ -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

View File

@ -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 <http://www.gnu.org/copyleft/gpl.html>. 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;

View File

@ -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 ""

View File

@ -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 <maxkill@mail.ru>\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 "Выберите модуль"