Components, project templates:

1) Improved localization and Portuguese translation from Marcelo B Paula, part of bug #16726.
  2) Regenerated translations and updated Russian translation.

git-svn-id: trunk@26115 -
This commit is contained in:
maxim 2010-06-14 17:17:27 +00:00
parent 3fa7522110
commit 8d60e0b642
19 changed files with 414 additions and 40 deletions

3
.gitattributes vendored
View File

@ -1787,6 +1787,9 @@ components/projecttemplates/frmtemplatesettings.pas svneol=native#text/plain
components/projecttemplates/frmtemplatevariables.lfm svneol=native#text/plain
components/projecttemplates/frmtemplatevariables.pas svneol=native#text/plain
components/projecttemplates/idetemplateproject.pp svneol=native#text/plain
components/projecttemplates/languages/frmtemplatesettings.pb.po svneol=native#text/plain
components/projecttemplates/languages/frmtemplatesettings.po svneol=native#text/plain
components/projecttemplates/languages/frmtemplatesettings.ru.po svneol=native#text/plain
components/projecttemplates/languages/frmtemplatevariables.de.po svneol=native#text/plain
components/projecttemplates/languages/frmtemplatevariables.es.po svneol=native#text/plain
components/projecttemplates/languages/frmtemplatevariables.fr.po svneol=native#text/plain

View File

@ -1,55 +1,57 @@
object TemplateSettingsForm: TTemplateSettingsForm
Caption = 'Project templates settings'
ClientHeight = 127
ClientWidth = 400
PixelsPerInch = 90
Position = poScreenCenter
HorzScrollBar.Page = 399
VertScrollBar.Page = 126
Left = 470
Height = 127
Top = 175
Width = 400
HorzScrollBar.Page = 399
VertScrollBar.Page = 126
Caption = 'Project templates settings'
ClientHeight = 127
ClientWidth = 400
OnCreate = FormCreate
Position = poScreenCenter
LCLVersion = '0.9.29'
object Label1: TLabel
AutoSize = False
Caption = '&Directory with templates:'
Color = clNone
FocusControl = DETemplates
Layout = tlCenter
Left = 8
Height = 24
Top = 16
Width = 160
AutoSize = False
Caption = '&Directory with templates:'
FocusControl = DETemplates
Layout = tlCenter
ParentColor = False
end
object BOK: TButton
Left = 296
Height = 25
Top = 96
Width = 91
Caption = '&OK'
Default = True
ModalResult = 1
OnClick = BOKClick
TabOrder = 0
Left = 296
Height = 25
Top = 96
Width = 91
end
object BCancel: TButton
Cancel = True
Caption = '&Cancel'
ModalResult = 2
TabOrder = 1
Left = 192
Height = 25
Top = 96
Width = 96
Cancel = True
Caption = '&Cancel'
ModalResult = 2
TabOrder = 1
end
object DETemplates: TDirectoryEdit
ButtonWidth = 23
NumGlyphs = 1
TabOrder = 2
TabOrder = 2
Left = 8
Height = 23
Height = 25
Top = 41
Width = 360
ShowHidden = False
ButtonWidth = 23
NumGlyphs = 1
MaxLength = 0
TabOrder = 2
end
end

View File

@ -18,6 +18,7 @@ type
DETemplates: TDirectoryEdit;
Label1: TLabel;
procedure BOKClick(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
{ private declarations }
FTemplates : TProjectTemplates;
@ -32,6 +33,12 @@ var
implementation
resourcestring
STitle = 'Project templates settings';
SDirect= '&Directory with templates:';
SbtnCancel = 'Cancel';
SbtnOk = 'OK';
{$R *.lfm}
{ TTemplateSettingsForm }
@ -43,6 +50,14 @@ begin
FTemplates.Initialize(DETemplates.Directory);
end;
procedure TTemplateSettingsForm.FormCreate(Sender: TObject);
begin
Caption := STitle;
Label1.Caption := SDirect;
BCancel.Caption:= SbtnCancel;
BOK.Caption:= SbtnOk;
end;
procedure TTemplateSettingsForm.SetTemplates(const AValue: TProjectTemplates);
begin
FTemplates:=AValue;

View File

@ -3,18 +3,18 @@ object ProjectVariablesForm: TProjectVariablesForm
Height = 326
Top = 306
Width = 573
ActiveControl = EProjectName
Caption = 'New project from template'
ClientHeight = 326
ClientWidth = 573
OnCreate = FormCreate
OnShow = ProjectVariablesFormShow
Position = poScreenCenter
LCLVersion = '0.9.27'
LCLVersion = '0.9.29'
object Label1: TLabel
Left = 8
Height = 18
Height = 14
Top = 16
Width = 153
Width = 109
Alignment = taRightJustify
Caption = '&Name for new project:'
Layout = tlCenter
@ -22,9 +22,9 @@ object ProjectVariablesForm: TProjectVariablesForm
end
object Label2: TLabel
Left = 8
Height = 18
Height = 14
Top = 48
Width = 133
Width = 95
Alignment = taRightJustify
Caption = 'Create in &directory:'
Layout = tlCenter
@ -89,10 +89,10 @@ object ProjectVariablesForm: TProjectVariablesForm
AnchorSideLeft.Side = asrBottom
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
Left = 167
Height = 27
Left = 123
Height = 21
Top = 16
Width = 400
Width = 444
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 6
BorderSpacing.Right = 6
@ -101,14 +101,15 @@ object ProjectVariablesForm: TProjectVariablesForm
object DEProject: TDirectoryEdit
AnchorSideLeft.Control = EProjectName
AnchorSideRight.Side = asrBottom
Left = 167
Height = 27
Left = 123
Height = 21
Top = 48
Width = 376
Width = 420
ShowHidden = False
ButtonWidth = 23
NumGlyphs = 1
Anchors = [akTop, akLeft, akRight]
MaxLength = 0
TabOrder = 4
end
end

View File

@ -22,6 +22,7 @@ type
PDescription: TPanel;
SGVariables: TStringGrid;
procedure BOKClick(Sender: TObject);
procedure FormCreate(Sender: TObject);
procedure ProjectVariablesFormShow(Sender: TObject);
private
FSChanged: Boolean;
@ -47,12 +48,18 @@ implementation
{$R *.lfm}
ResourceString
resourcestring
SVariable = 'Variable';
SValue = 'Value';
SDescription = 'Description';
SNoAdditionalVars = 'This project has no additional variables.';
//
SNameforProject = '&Name for new project:';
SCreateinDir = 'Create in &directory:';
SThisProject = 'This project contains some additional variables. Please provide values for these variables.';
STitle = 'New project from template';
SbtnOK = 'OK';
SbtnCancel = 'Cancel';
{ TProjectVariablesForm }
@ -80,6 +87,15 @@ begin
end;
end;
procedure TProjectVariablesForm.FormCreate(Sender: TObject);
begin
Caption := STitle;
Label1.Caption:= SNameforProject;
Label2.Caption:= SCreateinDir;
PDescription.Caption:= SThisProject;
BCancel.Caption:= SbtnCancel;
BOK.Caption:= SbtnOK;
end;
procedure TProjectVariablesForm.SetVariables(const AValue: TStrings);

View File

@ -0,0 +1,27 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Marcelo Borges de Paula\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
#: frmtemplatesettings.sbtncancel
msgid "Cancel"
msgstr "Cancelar"
#: frmtemplatesettings.sbtnok
msgid "OK"
msgstr "OK"
#: frmtemplatesettings.sdirect
msgid "&Directory with templates:"
msgstr "&Diretório com modelos:"
#: frmtemplatesettings.stitle
msgid "Project templates settings"
msgstr "Ajustes dos modelos de Projeto"

View File

@ -0,0 +1,19 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
#: frmtemplatesettings.sbtncancel
msgid "Cancel"
msgstr ""
#: frmtemplatesettings.sbtnok
msgid "OK"
msgstr ""
#: frmtemplatesettings.sdirect
msgid "&Directory with templates:"
msgstr ""
#: frmtemplatesettings.stitle
msgid "Project templates settings"
msgstr ""

View File

@ -0,0 +1,27 @@
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"
#: frmtemplatesettings.sbtncancel
msgid "Cancel"
msgstr "Отмена"
#: frmtemplatesettings.sbtnok
msgid "OK"
msgstr "ОК"
#: frmtemplatesettings.sdirect
msgid "&Directory with templates:"
msgstr "&Каталог с шаблонами:"
#: frmtemplatesettings.stitle
msgid "Project templates settings"
msgstr "Параметры шаблонов проекта"

View File

@ -9,14 +9,38 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: frmtemplatevariables.sbtncancel
msgid "Cancel"
msgstr ""
#: frmtemplatevariables.sbtnok
msgid "OK"
msgstr ""
#: frmtemplatevariables.screateindir
msgid "Create in &directory:"
msgstr ""
#: frmtemplatevariables.sdescription
msgid "Description"
msgstr "Beschreibung"
#: frmtemplatevariables.snameforproject
msgid "&Name for new project:"
msgstr ""
#: frmtemplatevariables.snoadditionalvars
msgid "This project has no additional variables."
msgstr "Das Projekt enthält keine weiteren Variablen."
#: frmtemplatevariables.sthisproject
msgid "This project contains some additional variables. Please provide values for these variables."
msgstr ""
#: frmtemplatevariables.stitle
msgid "New project from template"
msgstr ""
#: frmtemplatevariables.svalue
msgid "Value"
msgstr "Wert"

View File

@ -9,14 +9,38 @@ msgstr ""
"Last-Translator: javivf <javivf@gmail.com>\n"
"Language-Team: \n"
#: frmtemplatevariables.sbtncancel
msgid "Cancel"
msgstr ""
#: frmtemplatevariables.sbtnok
msgid "OK"
msgstr ""
#: frmtemplatevariables.screateindir
msgid "Create in &directory:"
msgstr ""
#: frmtemplatevariables.sdescription
msgid "Description"
msgstr "Descripcion"
#: frmtemplatevariables.snameforproject
msgid "&Name for new project:"
msgstr ""
#: frmtemplatevariables.snoadditionalvars
msgid "This project has no additional variables."
msgstr "Este proyecto no tiene variables adicionales"
#: frmtemplatevariables.sthisproject
msgid "This project contains some additional variables. Please provide values for these variables."
msgstr ""
#: frmtemplatevariables.stitle
msgid "New project from template"
msgstr ""
#: frmtemplatevariables.svalue
msgid "Value"
msgstr "Valor"

View File

@ -9,14 +9,38 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: frmtemplatevariables.sbtncancel
msgid "Cancel"
msgstr ""
#: frmtemplatevariables.sbtnok
msgid "OK"
msgstr ""
#: frmtemplatevariables.screateindir
msgid "Create in &directory:"
msgstr ""
#: frmtemplatevariables.sdescription
msgid "Description"
msgstr "Description"
#: frmtemplatevariables.snameforproject
msgid "&Name for new project:"
msgstr ""
#: frmtemplatevariables.snoadditionalvars
msgid "This project has no additional variables."
msgstr ""
#: frmtemplatevariables.sthisproject
msgid "This project contains some additional variables. Please provide values for these variables."
msgstr ""
#: frmtemplatevariables.stitle
msgid "New project from template"
msgstr ""
#: frmtemplatevariables.svalue
msgid "Value"
msgstr "Valeur"

View File

@ -9,14 +9,38 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: frmtemplatevariables.sbtncancel
msgid "Cancel"
msgstr ""
#: frmtemplatevariables.sbtnok
msgid "OK"
msgstr ""
#: frmtemplatevariables.screateindir
msgid "Create in &directory:"
msgstr ""
#: frmtemplatevariables.sdescription
msgid "Description"
msgstr "Deskripsi"
#: frmtemplatevariables.snameforproject
msgid "&Name for new project:"
msgstr ""
#: frmtemplatevariables.snoadditionalvars
msgid "This project has no additional variables."
msgstr ""
#: frmtemplatevariables.sthisproject
msgid "This project contains some additional variables. Please provide values for these variables."
msgstr ""
#: frmtemplatevariables.stitle
msgid "New project from template"
msgstr ""
#: frmtemplatevariables.svalue
msgid "Value"
msgstr "Nilai"

View File

@ -9,14 +9,38 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: frmtemplatevariables.sbtncancel
msgid "Cancel"
msgstr ""
#: frmtemplatevariables.sbtnok
msgid "OK"
msgstr ""
#: frmtemplatevariables.screateindir
msgid "Create in &directory:"
msgstr ""
#: frmtemplatevariables.sdescription
msgid "Description"
msgstr "Descrizione"
#: frmtemplatevariables.snameforproject
msgid "&Name for new project:"
msgstr ""
#: frmtemplatevariables.snoadditionalvars
msgid "This project has no additional variables."
msgstr ""
#: frmtemplatevariables.sthisproject
msgid "This project contains some additional variables. Please provide values for these variables."
msgstr ""
#: frmtemplatevariables.stitle
msgid "New project from template"
msgstr ""
#: frmtemplatevariables.svalue
msgid "Value"
msgstr "Valore"

View File

@ -11,14 +11,38 @@ msgstr ""
"Last-Translator: Valdas Jankūnas <zmuogs@gmail.com>\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#: frmtemplatevariables.sbtncancel
msgid "Cancel"
msgstr ""
#: frmtemplatevariables.sbtnok
msgid "OK"
msgstr ""
#: frmtemplatevariables.screateindir
msgid "Create in &directory:"
msgstr ""
#: frmtemplatevariables.sdescription
msgid "Description"
msgstr "Aprašas"
#: frmtemplatevariables.snameforproject
msgid "&Name for new project:"
msgstr ""
#: frmtemplatevariables.snoadditionalvars
msgid "This project has no additional variables."
msgstr "Šiame projekte papildomų kintamųjų nėra."
#: frmtemplatevariables.sthisproject
msgid "This project contains some additional variables. Please provide values for these variables."
msgstr ""
#: frmtemplatevariables.stitle
msgid "New project from template"
msgstr ""
#: frmtemplatevariables.svalue
msgid "Value"
msgstr "Vertė"

View File

@ -9,14 +9,38 @@ msgstr ""
"Last-Translator: Marcelo Borges de Paula\n"
"Language-Team: \n"
#: frmtemplatevariables.sbtncancel
msgid "Cancel"
msgstr "Cancelar"
#: frmtemplatevariables.sbtnok
msgid "OK"
msgstr "OK"
#: frmtemplatevariables.screateindir
msgid "Create in &directory:"
msgstr "Criar no &diretório:"
#: frmtemplatevariables.sdescription
msgid "Description"
msgstr "Descrição"
#: frmtemplatevariables.snameforproject
msgid "&Name for new project:"
msgstr "&Nome para o novo projeto:"
#: frmtemplatevariables.snoadditionalvars
msgid "This project has no additional variables."
msgstr "Este projeto não tem variáveis adicionais."
#: frmtemplatevariables.sthisproject
msgid "This project contains some additional variables. Please provide values for these variables."
msgstr "Este projeto contem algumas variáveis adicionais. Favor informar os valores dessas variáveis."
#: frmtemplatevariables.stitle
msgid "New project from template"
msgstr "Novo projeto do modelo"
#: frmtemplatevariables.svalue
msgid "Value"
msgstr "Valor"

View File

@ -11,14 +11,38 @@ msgstr ""
"X-Poedit-Language: Polish\n"
"X-Poedit-Country: POLAND\n"
#: frmtemplatevariables.sbtncancel
msgid "Cancel"
msgstr ""
#: frmtemplatevariables.sbtnok
msgid "OK"
msgstr ""
#: frmtemplatevariables.screateindir
msgid "Create in &directory:"
msgstr ""
#: frmtemplatevariables.sdescription
msgid "Description"
msgstr "Opis"
#: frmtemplatevariables.snameforproject
msgid "&Name for new project:"
msgstr ""
#: frmtemplatevariables.snoadditionalvars
msgid "This project has no additional variables."
msgstr "Projekt nie zawiera żadnych dodatkowych zmiennych."
#: frmtemplatevariables.sthisproject
msgid "This project contains some additional variables. Please provide values for these variables."
msgstr ""
#: frmtemplatevariables.stitle
msgid "New project from template"
msgstr ""
#: frmtemplatevariables.svalue
msgid "Value"
msgstr "Wartość"

View File

@ -4,14 +4,38 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: frmtemplatevariables.sbtncancel
msgid "Cancel"
msgstr ""
#: frmtemplatevariables.sbtnok
msgid "OK"
msgstr ""
#: frmtemplatevariables.screateindir
msgid "Create in &directory:"
msgstr ""
#: frmtemplatevariables.sdescription
msgid "Description"
msgstr ""
#: frmtemplatevariables.snameforproject
msgid "&Name for new project:"
msgstr ""
#: frmtemplatevariables.snoadditionalvars
msgid "This project has no additional variables."
msgstr ""
#: frmtemplatevariables.sthisproject
msgid "This project contains some additional variables. Please provide values for these variables."
msgstr ""
#: frmtemplatevariables.stitle
msgid "New project from template"
msgstr ""
#: frmtemplatevariables.svalue
msgid "Value"
msgstr ""

View File

@ -2,21 +2,45 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2009-04-23 02:15+0300\n"
"PO-Revision-Date: 2010-06-14 21:05+0300\n"
"Last-Translator: Maxim Ganetsky <maxkill@mail.ru>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: frmtemplatevariables.sbtncancel
msgid "Cancel"
msgstr "Отмена"
#: frmtemplatevariables.sbtnok
msgid "OK"
msgstr "ОК"
#: frmtemplatevariables.screateindir
msgid "Create in &directory:"
msgstr "Создать в &каталоге:"
#: frmtemplatevariables.sdescription
msgid "Description"
msgstr "Описание"
#: frmtemplatevariables.snameforproject
msgid "&Name for new project:"
msgstr "&Имя нового проекта:"
#: frmtemplatevariables.snoadditionalvars
msgid "This project has no additional variables."
msgstr "Этот проект не имеет дополнительных переменных."
#: frmtemplatevariables.sthisproject
msgid "This project contains some additional variables. Please provide values for these variables."
msgstr "Этот проект содержит дополнительные переменные. Задайте их значения."
#: frmtemplatevariables.stitle
msgid "New project from template"
msgstr "Новый проект из шаблона"
#: frmtemplatevariables.svalue
msgid "Value"
msgstr "Значение"

View File

@ -12,14 +12,38 @@ msgstr ""
"X-Poedit-Country: CHINA\n"
"X-Poedit-SourceCharset: utf-8\n"
#: frmtemplatevariables.sbtncancel
msgid "Cancel"
msgstr ""
#: frmtemplatevariables.sbtnok
msgid "OK"
msgstr ""
#: frmtemplatevariables.screateindir
msgid "Create in &directory:"
msgstr ""
#: frmtemplatevariables.sdescription
msgid "Description"
msgstr "描述"
#: frmtemplatevariables.snameforproject
msgid "&Name for new project:"
msgstr ""
#: frmtemplatevariables.snoadditionalvars
msgid "This project has no additional variables."
msgstr "工程未附加变量."
#: frmtemplatevariables.sthisproject
msgid "This project contains some additional variables. Please provide values for these variables."
msgstr ""
#: frmtemplatevariables.stitle
msgid "New project from template"
msgstr ""
#: frmtemplatevariables.svalue
msgid "Value"
msgstr "值"