Pas2JS: improved layout of IDE options frame and i18n-ed it; regenerated translations and updated Russian translation.

git-svn-id: trunk@61714 -
This commit is contained in:
maxim 2019-08-16 23:41:32 +00:00
parent 779c2fa332
commit 38d1c0116f
11 changed files with 509 additions and 72 deletions

View File

@ -11,6 +11,14 @@ msgstr ""
"Language: fr\n"
"X-Generator: Poedit 2.2.1\n"
#: strpas2jsdesign.pjsdbrowse
msgid "Browse"
msgstr ""
#: strpas2jsdesign.pjsdbrowsertousewhenopeninghtmlpage
msgid "Browser to use when opening HTML page"
msgstr ""
#: strpas2jsdesign.pjsdnodejsappdescription
msgid "A pas2js program running in node.js"
msgstr "Un programme pas2js en cours d'exécution dans node.js"
@ -19,6 +27,44 @@ msgstr "Un programme pas2js en cours d'exécution dans node.js"
msgid "Node.js Application"
msgstr "Application Node.js"
#: strpas2jsdesign.pjsdpathof
#, object-pascal-format
msgid "Path of %s"
msgstr ""
#: strpas2jsdesign.pjsdpathofnodejsexecutable
msgid "Path of Node.js executable"
msgstr ""
#: strpas2jsdesign.pjsdportnumberstostartallocatingfrom
#, object-pascal-format
msgid "Port numbers to start allocating from %s"
msgstr ""
#: strpas2jsdesign.pjsdselectbrowserexecutable
msgid "Select browser executable"
msgstr ""
#: strpas2jsdesign.pjsdselectnodejsexecutable
msgid "Select Node.js executable"
msgstr ""
#: strpas2jsdesign.pjsdselectpas2jsexecutable
msgid "Select pas2js executable"
msgstr ""
#: strpas2jsdesign.pjsdselectsimpleserverexecutable
msgid "Select simpleserver executable"
msgstr ""
#: strpas2jsdesign.pjsdserverinstanceswillbestartedwithaportstartingfromt
msgid "Server instances will be started with a port starting from this number, increasing per new project"
msgstr ""
#: strpas2jsdesign.pjsdusethisbrowserwhenopeningtheurlorhtmlfileofawebbro
msgid "Use this browser when opening the URL or HTML file of a web browser project"
msgstr ""
#: strpas2jsdesign.pjsdwebappdescription
msgid "A pas2js program running in the browser"
msgstr "Un programme pas2js en cours d'exécution dans le navigateur"
@ -27,6 +73,11 @@ msgstr "Un programme pas2js en cours d'exécution dans le navigateur"
msgid "Web Browser Application"
msgstr "Application navigateur Web"
#: strpas2jsdesign.pjsdyoucanuseidemacroslikemakeexewithoutafullpathissea
#, object-pascal-format
msgid "You can use IDE macros like $MakeExe(). Without a full path, %s is searched in PATH."
msgstr ""
#: strpas2jsdesign.spasjswebserverscaption
msgid "Pas2JS WebServers"
msgstr "WebServers Pas2JS"

View File

@ -11,6 +11,14 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\n"
#: strpas2jsdesign.pjsdbrowse
msgid "Browse"
msgstr ""
#: strpas2jsdesign.pjsdbrowsertousewhenopeninghtmlpage
msgid "Browser to use when opening HTML page"
msgstr ""
#: strpas2jsdesign.pjsdnodejsappdescription
msgid "A pas2js program running in node.js"
msgstr "Fut egy pas2js program node.js-ben"
@ -19,6 +27,44 @@ msgstr "Fut egy pas2js program node.js-ben"
msgid "Node.js Application"
msgstr "Node.js alkalmazás"
#: strpas2jsdesign.pjsdpathof
#, object-pascal-format
msgid "Path of %s"
msgstr ""
#: strpas2jsdesign.pjsdpathofnodejsexecutable
msgid "Path of Node.js executable"
msgstr ""
#: strpas2jsdesign.pjsdportnumberstostartallocatingfrom
#, object-pascal-format
msgid "Port numbers to start allocating from %s"
msgstr ""
#: strpas2jsdesign.pjsdselectbrowserexecutable
msgid "Select browser executable"
msgstr ""
#: strpas2jsdesign.pjsdselectnodejsexecutable
msgid "Select Node.js executable"
msgstr ""
#: strpas2jsdesign.pjsdselectpas2jsexecutable
msgid "Select pas2js executable"
msgstr ""
#: strpas2jsdesign.pjsdselectsimpleserverexecutable
msgid "Select simpleserver executable"
msgstr ""
#: strpas2jsdesign.pjsdserverinstanceswillbestartedwithaportstartingfromt
msgid "Server instances will be started with a port starting from this number, increasing per new project"
msgstr ""
#: strpas2jsdesign.pjsdusethisbrowserwhenopeningtheurlorhtmlfileofawebbro
msgid "Use this browser when opening the URL or HTML file of a web browser project"
msgstr ""
#: strpas2jsdesign.pjsdwebappdescription
msgid "A pas2js program running in the browser"
msgstr "Fut egy pas2js program a webböngészőben"
@ -27,6 +73,11 @@ msgstr "Fut egy pas2js program a webböngészőben"
msgid "Web Browser Application"
msgstr "Webböngésző alkalmazás"
#: strpas2jsdesign.pjsdyoucanuseidemacroslikemakeexewithoutafullpathissea
#, object-pascal-format
msgid "You can use IDE macros like $MakeExe(). Without a full path, %s is searched in PATH."
msgstr ""
#: strpas2jsdesign.spasjswebserverscaption
msgid "Pas2JS WebServers"
msgstr "Pas2JS webkiszolgálók"

View File

@ -1,6 +1,14 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
#: strpas2jsdesign.pjsdbrowse
msgid "Browse"
msgstr ""
#: strpas2jsdesign.pjsdbrowsertousewhenopeninghtmlpage
msgid "Browser to use when opening HTML page"
msgstr ""
#: strpas2jsdesign.pjsdnodejsappdescription
msgid "A pas2js program running in node.js"
msgstr ""
@ -9,6 +17,44 @@ msgstr ""
msgid "Node.js Application"
msgstr ""
#: strpas2jsdesign.pjsdpathof
#, object-pascal-format
msgid "Path of %s"
msgstr ""
#: strpas2jsdesign.pjsdpathofnodejsexecutable
msgid "Path of Node.js executable"
msgstr ""
#: strpas2jsdesign.pjsdportnumberstostartallocatingfrom
#, object-pascal-format
msgid "Port numbers to start allocating from %s"
msgstr ""
#: strpas2jsdesign.pjsdselectbrowserexecutable
msgid "Select browser executable"
msgstr ""
#: strpas2jsdesign.pjsdselectnodejsexecutable
msgid "Select Node.js executable"
msgstr ""
#: strpas2jsdesign.pjsdselectpas2jsexecutable
msgid "Select pas2js executable"
msgstr ""
#: strpas2jsdesign.pjsdselectsimpleserverexecutable
msgid "Select simpleserver executable"
msgstr ""
#: strpas2jsdesign.pjsdserverinstanceswillbestartedwithaportstartingfromt
msgid "Server instances will be started with a port starting from this number, increasing per new project"
msgstr ""
#: strpas2jsdesign.pjsdusethisbrowserwhenopeningtheurlorhtmlfileofawebbro
msgid "Use this browser when opening the URL or HTML file of a web browser project"
msgstr ""
#: strpas2jsdesign.pjsdwebappdescription
msgid "A pas2js program running in the browser"
msgstr ""
@ -17,6 +63,11 @@ msgstr ""
msgid "Web Browser Application"
msgstr ""
#: strpas2jsdesign.pjsdyoucanuseidemacroslikemakeexewithoutafullpathissea
#, object-pascal-format
msgid "You can use IDE macros like $MakeExe(). Without a full path, %s is searched in PATH."
msgstr ""
#: strpas2jsdesign.spasjswebserverscaption
msgid "Pas2JS WebServers"
msgstr ""

View File

@ -11,6 +11,14 @@ msgstr ""
"Language: pt_BR\n"
"X-Generator: Poedit 1.8.13\n"
#: strpas2jsdesign.pjsdbrowse
msgid "Browse"
msgstr ""
#: strpas2jsdesign.pjsdbrowsertousewhenopeninghtmlpage
msgid "Browser to use when opening HTML page"
msgstr ""
#: strpas2jsdesign.pjsdnodejsappdescription
msgctxt "strpas2jsdesign.pjsdnodejsappdescription"
msgid "A pas2js program running in node.js"
@ -21,6 +29,44 @@ msgctxt "strpas2jsdesign.pjsdnodejsapplication"
msgid "Node.js Application"
msgstr "Aplicação Node.js"
#: strpas2jsdesign.pjsdpathof
#, object-pascal-format
msgid "Path of %s"
msgstr ""
#: strpas2jsdesign.pjsdpathofnodejsexecutable
msgid "Path of Node.js executable"
msgstr ""
#: strpas2jsdesign.pjsdportnumberstostartallocatingfrom
#, object-pascal-format
msgid "Port numbers to start allocating from %s"
msgstr ""
#: strpas2jsdesign.pjsdselectbrowserexecutable
msgid "Select browser executable"
msgstr ""
#: strpas2jsdesign.pjsdselectnodejsexecutable
msgid "Select Node.js executable"
msgstr ""
#: strpas2jsdesign.pjsdselectpas2jsexecutable
msgid "Select pas2js executable"
msgstr ""
#: strpas2jsdesign.pjsdselectsimpleserverexecutable
msgid "Select simpleserver executable"
msgstr ""
#: strpas2jsdesign.pjsdserverinstanceswillbestartedwithaportstartingfromt
msgid "Server instances will be started with a port starting from this number, increasing per new project"
msgstr ""
#: strpas2jsdesign.pjsdusethisbrowserwhenopeningtheurlorhtmlfileofawebbro
msgid "Use this browser when opening the URL or HTML file of a web browser project"
msgstr ""
#: strpas2jsdesign.pjsdwebappdescription
msgctxt "strpas2jsdesign.pjsdwebappdescription"
msgid "A pas2js program running in the browser"
@ -31,6 +77,11 @@ msgctxt "strpas2jsdesign.pjsdwebapplication"
msgid "Web Browser Application"
msgstr "Aplicação navegador web"
#: strpas2jsdesign.pjsdyoucanuseidemacroslikemakeexewithoutafullpathissea
#, object-pascal-format
msgid "You can use IDE macros like $MakeExe(). Without a full path, %s is searched in PATH."
msgstr ""
#: strpas2jsdesign.spasjswebserverscaption
msgid "Pas2JS WebServers"
msgstr "Pas2JS WebServers"

View File

@ -9,7 +9,15 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ru\n"
"X-Generator: Poedit 1.7.7\n"
"X-Generator: Poedit 2.2.1\n"
#: strpas2jsdesign.pjsdbrowse
msgid "Browse"
msgstr "Обзор"
#: strpas2jsdesign.pjsdbrowsertousewhenopeninghtmlpage
msgid "Browser to use when opening HTML page"
msgstr "Браузер для открытия страницы HTML"
#: strpas2jsdesign.pjsdnodejsappdescription
msgid "A pas2js program running in node.js"
@ -19,6 +27,44 @@ msgstr "Программа pas2js, запускаемая в node.js"
msgid "Node.js Application"
msgstr "Приложение Node.js"
#: strpas2jsdesign.pjsdpathof
#, object-pascal-format
msgid "Path of %s"
msgstr "Путь к %s"
#: strpas2jsdesign.pjsdpathofnodejsexecutable
msgid "Path of Node.js executable"
msgstr "Путь к исполнимому файлу Node.js"
#: strpas2jsdesign.pjsdportnumberstostartallocatingfrom
#, object-pascal-format
msgid "Port numbers to start allocating from %s"
msgstr "Начало диапазона запрашиваемых у %s портов"
#: strpas2jsdesign.pjsdselectbrowserexecutable
msgid "Select browser executable"
msgstr "Выберите исполнимый файл браузера"
#: strpas2jsdesign.pjsdselectnodejsexecutable
msgid "Select Node.js executable"
msgstr "Выберите исполнимый файл Node.js"
#: strpas2jsdesign.pjsdselectpas2jsexecutable
msgid "Select pas2js executable"
msgstr "Выберите исполнимый файл pas2js"
#: strpas2jsdesign.pjsdselectsimpleserverexecutable
msgid "Select simpleserver executable"
msgstr "Выберите исполнимый файл simpleserver"
#: strpas2jsdesign.pjsdserverinstanceswillbestartedwithaportstartingfromt
msgid "Server instances will be started with a port starting from this number, increasing per new project"
msgstr "Экземпляры серверов будут запускаться на портах с номерами, начинающимися с указанного и увеличивающимися в каждом новом проекте"
#: strpas2jsdesign.pjsdusethisbrowserwhenopeningtheurlorhtmlfileofawebbro
msgid "Use this browser when opening the URL or HTML file of a web browser project"
msgstr "Браузер для открытия предназначенного для него проекта по указанному адресу либо из файла HTML"
#: strpas2jsdesign.pjsdwebappdescription
msgid "A pas2js program running in the browser"
msgstr "Программа pas2js, запускаемая в браузере"
@ -27,6 +73,11 @@ msgstr "Программа pas2js, запускаемая в браузере"
msgid "Web Browser Application"
msgstr "Приложение для веб-браузера"
#: strpas2jsdesign.pjsdyoucanuseidemacroslikemakeexewithoutafullpathissea
#, object-pascal-format
msgid "You can use IDE macros like $MakeExe(). Without a full path, %s is searched in PATH."
msgstr "Можно использовать макросы IDE, например, $MakeExe(). Если полный путь не указан, поиск %s производится при помощи переменной окружения PATH."
#: strpas2jsdesign.spasjswebserverscaption
msgid "Pas2JS WebServers"
msgstr "Веб-серверы Pas2JS"

View File

@ -11,6 +11,14 @@ msgstr ""
"Language: tr\n"
"X-Generator: Poedit 2.2.3\n"
#: strpas2jsdesign.pjsdbrowse
msgid "Browse"
msgstr ""
#: strpas2jsdesign.pjsdbrowsertousewhenopeninghtmlpage
msgid "Browser to use when opening HTML page"
msgstr ""
#: strpas2jsdesign.pjsdnodejsappdescription
msgid "A pas2js program running in node.js"
msgstr "Node.js içinde çalışan bir pas2js programı"
@ -19,6 +27,44 @@ msgstr "Node.js içinde çalışan bir pas2js programı"
msgid "Node.js Application"
msgstr "Node.js uygulaması"
#: strpas2jsdesign.pjsdpathof
#, object-pascal-format
msgid "Path of %s"
msgstr ""
#: strpas2jsdesign.pjsdpathofnodejsexecutable
msgid "Path of Node.js executable"
msgstr ""
#: strpas2jsdesign.pjsdportnumberstostartallocatingfrom
#, object-pascal-format
msgid "Port numbers to start allocating from %s"
msgstr ""
#: strpas2jsdesign.pjsdselectbrowserexecutable
msgid "Select browser executable"
msgstr ""
#: strpas2jsdesign.pjsdselectnodejsexecutable
msgid "Select Node.js executable"
msgstr ""
#: strpas2jsdesign.pjsdselectpas2jsexecutable
msgid "Select pas2js executable"
msgstr ""
#: strpas2jsdesign.pjsdselectsimpleserverexecutable
msgid "Select simpleserver executable"
msgstr ""
#: strpas2jsdesign.pjsdserverinstanceswillbestartedwithaportstartingfromt
msgid "Server instances will be started with a port starting from this number, increasing per new project"
msgstr ""
#: strpas2jsdesign.pjsdusethisbrowserwhenopeningtheurlorhtmlfileofawebbro
msgid "Use this browser when opening the URL or HTML file of a web browser project"
msgstr ""
#: strpas2jsdesign.pjsdwebappdescription
msgid "A pas2js program running in the browser"
msgstr "Tarayıcıda çalışan bir pas2js programı"
@ -27,6 +73,11 @@ msgstr "Tarayıcıda çalışan bir pas2js programı"
msgid "Web Browser Application"
msgstr "Web Tarayıcı Uygulaması"
#: strpas2jsdesign.pjsdyoucanuseidemacroslikemakeexewithoutafullpathissea
#, object-pascal-format
msgid "You can use IDE macros like $MakeExe(). Without a full path, %s is searched in PATH."
msgstr ""
#: strpas2jsdesign.spasjswebserverscaption
msgid "Pas2JS WebServers"
msgstr "Pas2JS Web Sunucuları"

View File

@ -13,6 +13,14 @@ msgstr ""
"X-Generator: Lokalize 2.0\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#: strpas2jsdesign.pjsdbrowse
msgid "Browse"
msgstr ""
#: strpas2jsdesign.pjsdbrowsertousewhenopeninghtmlpage
msgid "Browser to use when opening HTML page"
msgstr ""
#: strpas2jsdesign.pjsdnodejsappdescription
msgid "A pas2js program running in node.js"
msgstr "Програма pas2js, що запускається в node.js"
@ -21,6 +29,44 @@ msgstr "Програма pas2js, що запускається в node.js"
msgid "Node.js Application"
msgstr "Застосунок Node.js"
#: strpas2jsdesign.pjsdpathof
#, object-pascal-format
msgid "Path of %s"
msgstr ""
#: strpas2jsdesign.pjsdpathofnodejsexecutable
msgid "Path of Node.js executable"
msgstr ""
#: strpas2jsdesign.pjsdportnumberstostartallocatingfrom
#, object-pascal-format
msgid "Port numbers to start allocating from %s"
msgstr ""
#: strpas2jsdesign.pjsdselectbrowserexecutable
msgid "Select browser executable"
msgstr ""
#: strpas2jsdesign.pjsdselectnodejsexecutable
msgid "Select Node.js executable"
msgstr ""
#: strpas2jsdesign.pjsdselectpas2jsexecutable
msgid "Select pas2js executable"
msgstr ""
#: strpas2jsdesign.pjsdselectsimpleserverexecutable
msgid "Select simpleserver executable"
msgstr ""
#: strpas2jsdesign.pjsdserverinstanceswillbestartedwithaportstartingfromt
msgid "Server instances will be started with a port starting from this number, increasing per new project"
msgstr ""
#: strpas2jsdesign.pjsdusethisbrowserwhenopeningtheurlorhtmlfileofawebbro
msgid "Use this browser when opening the URL or HTML file of a web browser project"
msgstr ""
#: strpas2jsdesign.pjsdwebappdescription
msgid "A pas2js program running in the browser"
msgstr "Програма pas2js, що запускається в оглядачі"
@ -29,6 +75,11 @@ msgstr "Програма pas2js, що запускається в оглядач
msgid "Web Browser Application"
msgstr "Додаток для веб-оглядача"
#: strpas2jsdesign.pjsdyoucanuseidemacroslikemakeexewithoutafullpathissea
#, object-pascal-format
msgid "You can use IDE macros like $MakeExe(). Without a full path, %s is searched in PATH."
msgstr ""
#: strpas2jsdesign.spasjswebserverscaption
msgid "Pas2JS WebServers"
msgstr "Веб-сервери Pas2JS"

View File

@ -12,6 +12,14 @@ msgstr ""
"X-Generator: Poedit 1.8.7.1\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: strpas2jsdesign.pjsdbrowse
msgid "Browse"
msgstr ""
#: strpas2jsdesign.pjsdbrowsertousewhenopeninghtmlpage
msgid "Browser to use when opening HTML page"
msgstr ""
#: strpas2jsdesign.pjsdnodejsappdescription
msgid "A pas2js program running in node.js"
msgstr "一个pas2js程序运行在node.js"
@ -20,6 +28,44 @@ msgstr "一个pas2js程序运行在node.js"
msgid "Node.js Application"
msgstr "Node.js应用程序"
#: strpas2jsdesign.pjsdpathof
#, object-pascal-format
msgid "Path of %s"
msgstr ""
#: strpas2jsdesign.pjsdpathofnodejsexecutable
msgid "Path of Node.js executable"
msgstr ""
#: strpas2jsdesign.pjsdportnumberstostartallocatingfrom
#, object-pascal-format
msgid "Port numbers to start allocating from %s"
msgstr ""
#: strpas2jsdesign.pjsdselectbrowserexecutable
msgid "Select browser executable"
msgstr ""
#: strpas2jsdesign.pjsdselectnodejsexecutable
msgid "Select Node.js executable"
msgstr ""
#: strpas2jsdesign.pjsdselectpas2jsexecutable
msgid "Select pas2js executable"
msgstr ""
#: strpas2jsdesign.pjsdselectsimpleserverexecutable
msgid "Select simpleserver executable"
msgstr ""
#: strpas2jsdesign.pjsdserverinstanceswillbestartedwithaportstartingfromt
msgid "Server instances will be started with a port starting from this number, increasing per new project"
msgstr ""
#: strpas2jsdesign.pjsdusethisbrowserwhenopeningtheurlorhtmlfileofawebbro
msgid "Use this browser when opening the URL or HTML file of a web browser project"
msgstr ""
#: strpas2jsdesign.pjsdwebappdescription
msgid "A pas2js program running in the browser"
msgstr "一个pas2js程序运行在浏览器"
@ -28,6 +74,11 @@ msgstr "一个pas2js程序运行在浏览器"
msgid "Web Browser Application"
msgstr "网页浏览器(Web Browser)应用程序"
#: strpas2jsdesign.pjsdyoucanuseidemacroslikemakeexewithoutafullpathissea
#, object-pascal-format
msgid "You can use IDE macros like $MakeExe(). Without a full path, %s is searched in PATH."
msgstr ""
#: strpas2jsdesign.spasjswebserverscaption
msgid "Pas2JS WebServers"
msgstr "Pas2JS Web服务器(WebServers)"

View File

@ -13,9 +13,9 @@ object Pas2jsOptionsFrame: TPas2jsOptionsFrame
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = Owner
Left = 6
Height = 17
Height = 15
Top = 6
Width = 160
Width = 151
BorderSpacing.Left = 6
BorderSpacing.Top = 6
Caption = 'Pas2JS command executable'
@ -29,11 +29,11 @@ object Pas2jsOptionsFrame: TPas2jsOptionsFrame
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Pas2jsPathBrowseButton
Left = 6
Height = 29
Top = 23
Width = 396
Height = 23
Top = 21
Width = 380
Anchors = [akTop, akLeft, akRight]
ItemHeight = 0
ItemHeight = 15
TabOrder = 0
end
object Pas2jsPathBrowseButton: TButton
@ -42,10 +42,10 @@ object Pas2jsOptionsFrame: TPas2jsOptionsFrame
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = Pas2jsPathComboBox
AnchorSideBottom.Side = asrBottom
Left = 402
Height = 29
Top = 23
Width = 19
Left = 386
Height = 23
Top = 21
Width = 35
Anchors = [akTop, akRight, akBottom]
AutoSize = True
BorderSpacing.Right = 6
@ -60,13 +60,15 @@ object Pas2jsOptionsFrame: TPas2jsOptionsFrame
AnchorSideTop.Control = Pas2jsPathComboBox
AnchorSideTop.Side = asrBottom
Left = 6
Height = 17
Top = 60
Width = 170
Height = 15
Top = 52
Width = 162
BorderSpacing.Left = 6
BorderSpacing.Top = 8
Caption = 'Simple HTTP Server command'
ParentColor = False
ParentShowHint = False
ShowHint = True
end
object HTTPServerBrowseButton: TButton
AnchorSideTop.Control = HTTPServerCmdLabel
@ -75,14 +77,17 @@ object Pas2jsOptionsFrame: TPas2jsOptionsFrame
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = HTTPServerComboBox
AnchorSideBottom.Side = asrBottom
Left = 402
Height = 29
Top = 77
Width = 19
Left = 386
Height = 23
Top = 67
Width = 35
Anchors = [akTop, akRight, akBottom]
AutoSize = True
BorderSpacing.Right = 6
Caption = '...'
OnClick = HTTPServerBrowseButtonClick
ParentShowHint = False
ShowHint = True
TabOrder = 2
end
object HTTPServerComboBox: TComboBox
@ -91,11 +96,11 @@ object Pas2jsOptionsFrame: TPas2jsOptionsFrame
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = HTTPServerBrowseButton
Left = 6
Height = 29
Top = 77
Width = 396
Height = 23
Top = 67
Width = 380
Anchors = [akTop, akLeft, akRight]
ItemHeight = 0
ItemHeight = 15
TabOrder = 3
end
object ServerPortSpinEdit: TSpinEdit
@ -103,8 +108,8 @@ object Pas2jsOptionsFrame: TPas2jsOptionsFrame
AnchorSideTop.Control = ServerPortLabel
AnchorSideTop.Side = asrBottom
Left = 6
Height = 27
Top = 131
Height = 23
Top = 113
Width = 74
MaxValue = 65353
MinValue = 1024
@ -116,13 +121,15 @@ object Pas2jsOptionsFrame: TPas2jsOptionsFrame
AnchorSideTop.Control = HTTPServerComboBox
AnchorSideTop.Side = asrBottom
Left = 6
Height = 17
Top = 114
Width = 116
Height = 15
Top = 98
Width = 106
BorderSpacing.Left = 6
BorderSpacing.Top = 8
Caption = 'Standard server port'
ParentColor = False
ParentShowHint = False
ShowHint = True
end
object BrowserComboBox: TComboBox
AnchorSideLeft.Control = BrowserLabel
@ -130,11 +137,11 @@ object Pas2jsOptionsFrame: TPas2jsOptionsFrame
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = BBrowserBrowseButton
Left = 6
Height = 29
Top = 181
Width = 396
Height = 23
Top = 157
Width = 380
Anchors = [akTop, akLeft, akRight]
ItemHeight = 0
ItemHeight = 15
TabOrder = 5
Text = 'BrowserComboBox'
end
@ -143,13 +150,15 @@ object Pas2jsOptionsFrame: TPas2jsOptionsFrame
AnchorSideTop.Control = ServerPortSpinEdit
AnchorSideTop.Side = asrBottom
Left = 6
Height = 17
Top = 164
Width = 260
Height = 15
Top = 142
Width = 250
BorderSpacing.Left = 6
BorderSpacing.Top = 6
Caption = 'Browser to launch when opening project HTML'
ParentColor = False
ParentShowHint = False
ShowHint = True
end
object BBrowserBrowseButton: TButton
AnchorSideTop.Control = BrowserComboBox
@ -157,40 +166,41 @@ object Pas2jsOptionsFrame: TPas2jsOptionsFrame
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = BrowserComboBox
AnchorSideBottom.Side = asrBottom
Left = 402
Height = 29
Top = 181
Width = 19
Left = 386
Height = 23
Top = 157
Width = 35
Anchors = [akTop, akRight, akBottom]
AutoSize = True
BorderSpacing.Right = 6
Caption = '...'
OnClick = BBrowserBrowseButtonClick
TabOrder = 6
end
object BrowserLabel1: TLabel
object NodeJSLabel: TLabel
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = BrowserComboBox
AnchorSideTop.Side = asrBottom
Left = 6
Height = 17
Top = 216
Width = 106
Height = 15
Top = 186
Width = 99
BorderSpacing.Left = 6
BorderSpacing.Top = 6
Caption = 'Node.js executable'
ParentColor = False
end
object NodeJSComboBox: TComboBox
AnchorSideLeft.Control = BrowserLabel1
AnchorSideTop.Control = BrowserLabel1
AnchorSideLeft.Control = NodeJSLabel
AnchorSideTop.Control = NodeJSLabel
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = NodeJSBrowseButton
Left = 6
Height = 29
Top = 233
Width = 396
Height = 23
Top = 201
Width = 380
Anchors = [akTop, akLeft, akRight]
ItemHeight = 0
ItemHeight = 15
TabOrder = 7
Text = 'NodeJSComboBox'
end
@ -200,11 +210,12 @@ object Pas2jsOptionsFrame: TPas2jsOptionsFrame
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = NodeJSComboBox
AnchorSideBottom.Side = asrBottom
Left = 402
Height = 29
Top = 233
Width = 19
Left = 386
Height = 23
Top = 201
Width = 35
Anchors = [akTop, akRight, akBottom]
AutoSize = True
BorderSpacing.Right = 6
Caption = '...'
OnClick = NodeJSBrowseButtonClick

View File

@ -18,7 +18,7 @@ uses
// IdeIntf
IDEOptionsIntf, IDEOptEditorIntf, IDEUtils,
// Pas2Js
PJSDsgnOptions;
PJSDsgnOptions, strpas2jsdesign;
Type
{ TPas2jsOptionsFrame }
@ -28,7 +28,7 @@ Type
NodeJSBrowseButton: TButton;
BrowserComboBox: TComboBox;
NodeJSComboBox: TComboBox;
BrowserLabel1: TLabel;
NodeJSLabel: TLabel;
HTTPServerBrowseButton: TButton;
HTTPServerComboBox: TComboBox;
HTTPServerCmdLabel: TLabel;
@ -54,8 +54,6 @@ Type
implementation
{$R *.lfm}
{ TPas2jsOptionsFrame }
@ -69,7 +67,7 @@ begin
try
//InputHistories.ApplyFileDialogSettings(OpenDialog);
OpenDialog.Options:=OpenDialog.Options+[ofPathMustExist];
OpenDialog.Title:='Select pas2js executable';
OpenDialog.Title:=pjsdSelectPas2jsExecutable;
if OpenDialog.Execute then begin
AFilename:=CleanAndExpandFilename(OpenDialog.Filename);
SetComboBoxText(Pas2jsPathComboBox,AFilename,cstFilename,30);
@ -91,7 +89,7 @@ begin
try
//InputHistories.ApplyFileDialogSettings(OpenDialog);
OpenDialog.Options:=OpenDialog.Options+[ofPathMustExist];
OpenDialog.Title:='Select simpleserver executable';
OpenDialog.Title:=pjsdSelectSimpleserverExecutable;
if OpenDialog.Execute then begin
AFilename:=CleanAndExpandFilename(OpenDialog.Filename);
SetComboBoxText(HTTPServerComboBox,AFilename,cstFilename,30);
@ -112,7 +110,7 @@ begin
try
//InputHistories.ApplyFileDialogSettings(OpenDialog);
OpenDialog.Options:=OpenDialog.Options+[ofPathMustExist];
OpenDialog.Title:='Select browser executable';
OpenDialog.Title:=pjsdSelectNodeJSExecutable;
if OpenDialog.Execute then begin
AFilename:=CleanAndExpandFilename(OpenDialog.Filename);
SetComboBoxText(NodeJSComboBox,AFilename,cstFilename,30);
@ -134,7 +132,7 @@ begin
try
//InputHistories.ApplyFileDialogSettings(OpenDialog);
OpenDialog.Options:=OpenDialog.Options+[ofPathMustExist];
OpenDialog.Title:='Select browser executable';
OpenDialog.Title:=pjsdSelectBrowserExecutable;
if OpenDialog.Execute then begin
AFilename:=CleanAndExpandFilename(OpenDialog.Filename);
SetComboBoxText(BrowserComboBox,AFilename,cstFilename,30);
@ -175,18 +173,20 @@ begin
ExeName:=GetStandardPas2jsExe;
ServerName:=GetStandardHTTPServer;
//BrowserName:=GetStandardBrowser;
Pas2jsPathLabel.Caption:='Path of '+ExeName;
Pas2jsPathLabel.Hint:='You can use IDE macros like $MakeExe(). Without a full path, '+ExeName+' is searched in PATH.';
Pas2jsPathBrowseButton.Caption:='...';
Pas2jsPathBrowseButton.Hint:='Browse';
HTTPServerCmdLabel.Caption:='Path of '+ServerName;
HTTPServerCmdLabel.Hint:='You can use IDE macros like $MakeExe(). Without a full path, '+ServerName+' is searched in PATH.';
HTTPServerBrowseButton.Caption:='...';
HTTPServerBrowseButton.Hint:='Browse';
ServerPortLabel.Caption:='Port numbers to start allocating from '+ServerName;
ServerPortLabel.Hint:='Server instances will be started with a port starting from this number, increasing per new project';
BrowserLabel.Caption:='Browser to use when opening HTML page';
BrowserLabel.Hint:='Use this browser when opening the URL or HTML file of a web browser project';
Pas2jsPathLabel.Caption:=Format(pjsdPathOf, [ExeName]);
Pas2jsPathLabel.Hint:=Format(
pjsdYouCanUseIDEMacrosLikeMakeExeWithoutAFullPathIsSea, [ExeName]);
Pas2jsPathBrowseButton.Hint:=pjsdBrowse;
HTTPServerCmdLabel.Caption:=Format(pjsdPathOf, [ServerName]);
HTTPServerCmdLabel.Hint:=Format(
pjsdYouCanUseIDEMacrosLikeMakeExeWithoutAFullPathIsSea, [ServerName]);
HTTPServerBrowseButton.Hint:=pjsdBrowse;
ServerPortLabel.Caption:=Format(pjsdPortNumbersToStartAllocatingFrom, [
ServerName]);
ServerPortLabel.Hint:=pjsdServerInstancesWillBeStartedWithAPortStartingFromT;
BrowserLabel.Caption:=pjsdBrowserToUseWhenOpeningHTMLPage;
BrowserLabel.Hint:=pjsdUseThisBrowserWhenOpeningTheURLOrHTMLFileOfAWebBro;
NodeJSLabel.Caption:=pjsdPathOfNodeJsExecutable;
end;
procedure TPas2jsOptionsFrame.ReadSettings(AOptions: TAbstractIDEOptions);

View File

@ -28,6 +28,24 @@ Resourcestring
SStatusStopped = 'Stopped';
SStatusError = 'Error starting';
// Options frame
pjsdSelectPas2jsExecutable = 'Select pas2js executable';
pjsdSelectSimpleserverExecutable = 'Select simpleserver executable';
pjsdSelectNodeJSExecutable = 'Select Node.js executable';
pjsdSelectBrowserExecutable = 'Select browser executable';
pjsdPathOf = 'Path of %s';
pjsdYouCanUseIDEMacrosLikeMakeExeWithoutAFullPathIsSea = 'You can use IDE '
+'macros like $MakeExe(). Without a full path, %s is searched in PATH.';
pjsdBrowse = 'Browse';
pjsdPortNumbersToStartAllocatingFrom = 'Port numbers to start allocating '
+'from %s';
pjsdServerInstancesWillBeStartedWithAPortStartingFromT = 'Server instances '
+'will be started with a port starting from this number, increasing per '
+'new project';
pjsdBrowserToUseWhenOpeningHTMLPage = 'Browser to use when opening HTML page';
pjsdUseThisBrowserWhenOpeningTheURLOrHTMLFileOfAWebBro = 'Use this browser '
+'when opening the URL or HTML file of a web browser project';
pjsdPathOfNodeJsExecutable = 'Path of Node.js executable';
implementation