Pas2JS: improved layout of 'new node.js application' form and i18n-ed it; regenerated translations and updated Russian translation.

git-svn-id: trunk@61728 -
This commit is contained in:
maxim 2019-08-19 23:00:06 +00:00
parent 9b72361186
commit b6065e6658
11 changed files with 89 additions and 8 deletions

View File

@ -6,20 +6,25 @@ object NodeJSProjectOptionsForm: TNodeJSProjectOptionsForm
Caption = 'NodeJS project options'
ClientHeight = 240
ClientWidth = 320
OnCreate = FormCreate
Position = poScreenCenter
LCLVersion = '1.9.0.0'
LCLVersion = '2.1.0.0'
object CBUseNodeJSApplication: TCheckBox
Left = 16
Height = 22
Top = 8
Width = 188
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = Owner
Left = 6
Height = 19
Top = 6
Width = 178
BorderSpacing.Left = 6
BorderSpacing.Top = 6
Caption = 'Use NodeJSApplication object'
TabOrder = 0
end
object BPNode: TButtonPanel
Left = 6
Height = 42
Top = 192
Height = 34
Top = 200
Width = 308
OKButton.Name = 'OKButton'
OKButton.DefaultCaption = True

View File

@ -5,7 +5,8 @@ unit frmpas2jsnodejsprojectoptions;
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ButtonPanel;
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ButtonPanel,
strpas2jsdesign;
type
@ -14,6 +15,7 @@ type
TNodeJSProjectOptionsForm = class(TForm)
BPNode: TButtonPanel;
CBUseNodeJSApplication: TCheckBox;
procedure FormCreate(Sender: TObject);
private
function GetB(AIndex: Integer): Boolean;
procedure SetB(AIndex: Integer; AValue: Boolean);
@ -31,6 +33,12 @@ implementation
{ TNodeJSProjectOptionsForm }
procedure TNodeJSProjectOptionsForm.FormCreate(Sender: TObject);
begin
Caption:=pjsdNodeJSProjectOptions;
CBUseNodeJSApplication.Caption:=pjsdUseNodeJSApplicationObject;
end;
function TNodeJSProjectOptionsForm.GetB(AIndex: Integer): Boolean;
begin
Case Aindex of

View File

@ -39,6 +39,10 @@ msgstr "Un programme pas2js en cours d'exécution dans node.js"
msgid "Node.js Application"
msgstr "Application Node.js"
#: strpas2jsdesign.pjsdnodejsprojectoptions
msgid "NodeJS project options"
msgstr ""
#: strpas2jsdesign.pjsdpas2jsbrowserprojectoptions
msgid "Pas2JS Browser project options"
msgstr ""
@ -113,6 +117,10 @@ msgstr ""
msgid "Use Browser Console unit to display writeln() output"
msgstr ""
#: strpas2jsdesign.pjsdusenodejsapplicationobject
msgid "Use NodeJS Application object"
msgstr ""
#: strpas2jsdesign.pjsdusethisbrowserwhenopeningtheurlorhtmlfileofawebbro
msgid "Use this browser when opening the URL or HTML file of a web browser project"
msgstr ""

View File

@ -39,6 +39,10 @@ msgstr "Fut egy pas2js program node.js-ben"
msgid "Node.js Application"
msgstr "Node.js alkalmazás"
#: strpas2jsdesign.pjsdnodejsprojectoptions
msgid "NodeJS project options"
msgstr ""
#: strpas2jsdesign.pjsdpas2jsbrowserprojectoptions
msgid "Pas2JS Browser project options"
msgstr ""
@ -113,6 +117,10 @@ msgstr ""
msgid "Use Browser Console unit to display writeln() output"
msgstr ""
#: strpas2jsdesign.pjsdusenodejsapplicationobject
msgid "Use NodeJS Application object"
msgstr ""
#: strpas2jsdesign.pjsdusethisbrowserwhenopeningtheurlorhtmlfileofawebbro
msgid "Use this browser when opening the URL or HTML file of a web browser project"
msgstr ""

View File

@ -29,6 +29,10 @@ msgstr ""
msgid "Node.js Application"
msgstr ""
#: strpas2jsdesign.pjsdnodejsprojectoptions
msgid "NodeJS project options"
msgstr ""
#: strpas2jsdesign.pjsdpas2jsbrowserprojectoptions
msgid "Pas2JS Browser project options"
msgstr ""
@ -103,6 +107,10 @@ msgstr ""
msgid "Use Browser Console unit to display writeln() output"
msgstr ""
#: strpas2jsdesign.pjsdusenodejsapplicationobject
msgid "Use NodeJS Application object"
msgstr ""
#: strpas2jsdesign.pjsdusethisbrowserwhenopeningtheurlorhtmlfileofawebbro
msgid "Use this browser when opening the URL or HTML file of a web browser project"
msgstr ""

View File

@ -41,6 +41,10 @@ msgctxt "strpas2jsdesign.pjsdnodejsapplication"
msgid "Node.js Application"
msgstr "Aplicação Node.js"
#: strpas2jsdesign.pjsdnodejsprojectoptions
msgid "NodeJS project options"
msgstr ""
#: strpas2jsdesign.pjsdpas2jsbrowserprojectoptions
msgid "Pas2JS Browser project options"
msgstr ""
@ -115,6 +119,10 @@ msgstr ""
msgid "Use Browser Console unit to display writeln() output"
msgstr ""
#: strpas2jsdesign.pjsdusenodejsapplicationobject
msgid "Use NodeJS Application object"
msgstr ""
#: strpas2jsdesign.pjsdusethisbrowserwhenopeningtheurlorhtmlfileofawebbro
msgid "Use this browser when opening the URL or HTML file of a web browser project"
msgstr ""

View File

@ -39,6 +39,10 @@ msgstr "Программа pas2js, запускаемая в node.js"
msgid "Node.js Application"
msgstr "Приложение Node.js"
#: strpas2jsdesign.pjsdnodejsprojectoptions
msgid "NodeJS project options"
msgstr "Параметры проекта NodeJS"
#: strpas2jsdesign.pjsdpas2jsbrowserprojectoptions
msgid "Pas2JS Browser project options"
msgstr "Параметры проекта Pas2JS для браузера"
@ -113,6 +117,10 @@ msgstr "Использовать объект приложения для бра
msgid "Use Browser Console unit to display writeln() output"
msgstr "Отображать вывод writeln() посредством модуля консоли браузера"
#: strpas2jsdesign.pjsdusenodejsapplicationobject
msgid "Use NodeJS Application object"
msgstr "Использовать объект приложения для NodeJS"
#: strpas2jsdesign.pjsdusethisbrowserwhenopeningtheurlorhtmlfileofawebbro
msgid "Use this browser when opening the URL or HTML file of a web browser project"
msgstr "Браузер для открытия предназначенного для него проекта по указанному адресу либо из файла HTML"

View File

@ -39,6 +39,10 @@ msgstr "Node.js içinde çalışan bir pas2js programı"
msgid "Node.js Application"
msgstr "Node.js uygulaması"
#: strpas2jsdesign.pjsdnodejsprojectoptions
msgid "NodeJS project options"
msgstr ""
#: strpas2jsdesign.pjsdpas2jsbrowserprojectoptions
msgid "Pas2JS Browser project options"
msgstr ""
@ -113,6 +117,10 @@ msgstr ""
msgid "Use Browser Console unit to display writeln() output"
msgstr ""
#: strpas2jsdesign.pjsdusenodejsapplicationobject
msgid "Use NodeJS Application object"
msgstr ""
#: strpas2jsdesign.pjsdusethisbrowserwhenopeningtheurlorhtmlfileofawebbro
msgid "Use this browser when opening the URL or HTML file of a web browser project"
msgstr ""

View File

@ -41,6 +41,10 @@ msgstr "Програма pas2js, що запускається в node.js"
msgid "Node.js Application"
msgstr "Застосунок Node.js"
#: strpas2jsdesign.pjsdnodejsprojectoptions
msgid "NodeJS project options"
msgstr ""
#: strpas2jsdesign.pjsdpas2jsbrowserprojectoptions
msgid "Pas2JS Browser project options"
msgstr ""
@ -115,6 +119,10 @@ msgstr ""
msgid "Use Browser Console unit to display writeln() output"
msgstr ""
#: strpas2jsdesign.pjsdusenodejsapplicationobject
msgid "Use NodeJS Application object"
msgstr ""
#: strpas2jsdesign.pjsdusethisbrowserwhenopeningtheurlorhtmlfileofawebbro
msgid "Use this browser when opening the URL or HTML file of a web browser project"
msgstr ""

View File

@ -40,6 +40,10 @@ msgstr "一个pas2js程序运行在node.js"
msgid "Node.js Application"
msgstr "Node.js应用程序"
#: strpas2jsdesign.pjsdnodejsprojectoptions
msgid "NodeJS project options"
msgstr ""
#: strpas2jsdesign.pjsdpas2jsbrowserprojectoptions
msgid "Pas2JS Browser project options"
msgstr ""
@ -114,6 +118,10 @@ msgstr ""
msgid "Use Browser Console unit to display writeln() output"
msgstr ""
#: strpas2jsdesign.pjsdusenodejsapplicationobject
msgid "Use NodeJS Application object"
msgstr ""
#: strpas2jsdesign.pjsdusethisbrowserwhenopeningtheurlorhtmlfileofawebbro
msgid "Use this browser when opening the URL or HTML file of a web browser project"
msgstr ""

View File

@ -69,6 +69,10 @@ Resourcestring
pjsdMaintainHTMLPage = 'Maintain HTML page';
pjsdUseBrowserApplicationObject = 'Use Browser Application object';
// New NodeJS project options form
pjsdNodeJSProjectOptions = 'NodeJS project options';
pjsdUseNodeJSApplicationObject = 'Use NodeJS Application object';
implementation
end.