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" "Language: fr\n"
"X-Generator: Poedit 2.2.1\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 #: strpas2jsdesign.pjsdnodejsappdescription
msgid "A pas2js program running in node.js" msgid "A pas2js program running in node.js"
msgstr "Un programme pas2js en cours d'exécution dans 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" msgid "Node.js Application"
msgstr "Application Node.js" 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 #: strpas2jsdesign.pjsdwebappdescription
msgid "A pas2js program running in the browser" msgid "A pas2js program running in the browser"
msgstr "Un programme pas2js en cours d'exécution dans le navigateur" 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" msgid "Web Browser Application"
msgstr "Application navigateur Web" 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 #: strpas2jsdesign.spasjswebserverscaption
msgid "Pas2JS WebServers" msgid "Pas2JS WebServers"
msgstr "WebServers Pas2JS" msgstr "WebServers Pas2JS"

View File

@ -11,6 +11,14 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.7.1\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 #: strpas2jsdesign.pjsdnodejsappdescription
msgid "A pas2js program running in node.js" msgid "A pas2js program running in node.js"
msgstr "Fut egy pas2js program node.js-ben" msgstr "Fut egy pas2js program node.js-ben"
@ -19,6 +27,44 @@ msgstr "Fut egy pas2js program node.js-ben"
msgid "Node.js Application" msgid "Node.js Application"
msgstr "Node.js alkalmazás" 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 #: strpas2jsdesign.pjsdwebappdescription
msgid "A pas2js program running in the browser" msgid "A pas2js program running in the browser"
msgstr "Fut egy pas2js program a webböngészőben" 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" msgid "Web Browser Application"
msgstr "Webböngésző alkalmazás" 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 #: strpas2jsdesign.spasjswebserverscaption
msgid "Pas2JS WebServers" msgid "Pas2JS WebServers"
msgstr "Pas2JS webkiszolgálók" msgstr "Pas2JS webkiszolgálók"

View File

@ -1,6 +1,14 @@
msgid "" msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8" 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 #: strpas2jsdesign.pjsdnodejsappdescription
msgid "A pas2js program running in node.js" msgid "A pas2js program running in node.js"
msgstr "" msgstr ""
@ -9,6 +17,44 @@ msgstr ""
msgid "Node.js Application" msgid "Node.js Application"
msgstr "" 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 #: strpas2jsdesign.pjsdwebappdescription
msgid "A pas2js program running in the browser" msgid "A pas2js program running in the browser"
msgstr "" msgstr ""
@ -17,6 +63,11 @@ msgstr ""
msgid "Web Browser Application" msgid "Web Browser Application"
msgstr "" 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 #: strpas2jsdesign.spasjswebserverscaption
msgid "Pas2JS WebServers" msgid "Pas2JS WebServers"
msgstr "" msgstr ""

View File

@ -11,6 +11,14 @@ msgstr ""
"Language: pt_BR\n" "Language: pt_BR\n"
"X-Generator: Poedit 1.8.13\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 #: strpas2jsdesign.pjsdnodejsappdescription
msgctxt "strpas2jsdesign.pjsdnodejsappdescription" msgctxt "strpas2jsdesign.pjsdnodejsappdescription"
msgid "A pas2js program running in node.js" msgid "A pas2js program running in node.js"
@ -21,6 +29,44 @@ msgctxt "strpas2jsdesign.pjsdnodejsapplication"
msgid "Node.js Application" msgid "Node.js Application"
msgstr "Aplicação Node.js" 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 #: strpas2jsdesign.pjsdwebappdescription
msgctxt "strpas2jsdesign.pjsdwebappdescription" msgctxt "strpas2jsdesign.pjsdwebappdescription"
msgid "A pas2js program running in the browser" msgid "A pas2js program running in the browser"
@ -31,6 +77,11 @@ msgctxt "strpas2jsdesign.pjsdwebapplication"
msgid "Web Browser Application" msgid "Web Browser Application"
msgstr "Aplicação navegador web" 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 #: strpas2jsdesign.spasjswebserverscaption
msgid "Pas2JS WebServers" msgid "Pas2JS WebServers"
msgstr "Pas2JS WebServers" msgstr "Pas2JS WebServers"

View File

@ -9,7 +9,15 @@ msgstr ""
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Language: ru\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 #: strpas2jsdesign.pjsdnodejsappdescription
msgid "A pas2js program running in node.js" msgid "A pas2js program running in node.js"
@ -19,6 +27,44 @@ msgstr "Программа pas2js, запускаемая в node.js"
msgid "Node.js Application" msgid "Node.js Application"
msgstr "Приложение Node.js" 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 #: strpas2jsdesign.pjsdwebappdescription
msgid "A pas2js program running in the browser" msgid "A pas2js program running in the browser"
msgstr "Программа pas2js, запускаемая в браузере" msgstr "Программа pas2js, запускаемая в браузере"
@ -27,6 +73,11 @@ msgstr "Программа pas2js, запускаемая в браузере"
msgid "Web Browser Application" msgid "Web Browser Application"
msgstr "Приложение для веб-браузера" 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 #: strpas2jsdesign.spasjswebserverscaption
msgid "Pas2JS WebServers" msgid "Pas2JS WebServers"
msgstr "Веб-серверы Pas2JS" msgstr "Веб-серверы Pas2JS"

View File

@ -11,6 +11,14 @@ msgstr ""
"Language: tr\n" "Language: tr\n"
"X-Generator: Poedit 2.2.3\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 #: strpas2jsdesign.pjsdnodejsappdescription
msgid "A pas2js program running in node.js" msgid "A pas2js program running in node.js"
msgstr "Node.js içinde çalışan bir pas2js programı" 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" msgid "Node.js Application"
msgstr "Node.js uygulaması" 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 #: strpas2jsdesign.pjsdwebappdescription
msgid "A pas2js program running in the browser" msgid "A pas2js program running in the browser"
msgstr "Tarayıcıda çalışan bir pas2js programı" 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" msgid "Web Browser Application"
msgstr "Web Tarayıcı Uygulaması" 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 #: strpas2jsdesign.spasjswebserverscaption
msgid "Pas2JS WebServers" msgid "Pas2JS WebServers"
msgstr "Pas2JS Web Sunucuları" msgstr "Pas2JS Web Sunucuları"

View File

@ -13,6 +13,14 @@ msgstr ""
"X-Generator: Lokalize 2.0\n" "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" "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 #: strpas2jsdesign.pjsdnodejsappdescription
msgid "A pas2js program running in node.js" msgid "A pas2js program running in node.js"
msgstr "Програма pas2js, що запускається в node.js" msgstr "Програма pas2js, що запускається в node.js"
@ -21,6 +29,44 @@ msgstr "Програма pas2js, що запускається в node.js"
msgid "Node.js Application" msgid "Node.js Application"
msgstr "Застосунок Node.js" 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 #: strpas2jsdesign.pjsdwebappdescription
msgid "A pas2js program running in the browser" msgid "A pas2js program running in the browser"
msgstr "Програма pas2js, що запускається в оглядачі" msgstr "Програма pas2js, що запускається в оглядачі"
@ -29,6 +75,11 @@ msgstr "Програма pas2js, що запускається в оглядач
msgid "Web Browser Application" msgid "Web Browser Application"
msgstr "Додаток для веб-оглядача" 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 #: strpas2jsdesign.spasjswebserverscaption
msgid "Pas2JS WebServers" msgid "Pas2JS WebServers"
msgstr "Веб-сервери Pas2JS" msgstr "Веб-сервери Pas2JS"

View File

@ -12,6 +12,14 @@ msgstr ""
"X-Generator: Poedit 1.8.7.1\n" "X-Generator: Poedit 1.8.7.1\n"
"X-Poedit-SourceCharset: UTF-8\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 #: strpas2jsdesign.pjsdnodejsappdescription
msgid "A pas2js program running in node.js" msgid "A pas2js program running in node.js"
msgstr "一个pas2js程序运行在node.js" msgstr "一个pas2js程序运行在node.js"
@ -20,6 +28,44 @@ msgstr "一个pas2js程序运行在node.js"
msgid "Node.js Application" msgid "Node.js Application"
msgstr "Node.js应用程序" 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 #: strpas2jsdesign.pjsdwebappdescription
msgid "A pas2js program running in the browser" msgid "A pas2js program running in the browser"
msgstr "一个pas2js程序运行在浏览器" msgstr "一个pas2js程序运行在浏览器"
@ -28,6 +74,11 @@ msgstr "一个pas2js程序运行在浏览器"
msgid "Web Browser Application" msgid "Web Browser Application"
msgstr "网页浏览器(Web Browser)应用程序" 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 #: strpas2jsdesign.spasjswebserverscaption
msgid "Pas2JS WebServers" msgid "Pas2JS WebServers"
msgstr "Pas2JS Web服务器(WebServers)" msgstr "Pas2JS Web服务器(WebServers)"

View File

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

View File

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

View File

@ -28,6 +28,24 @@ Resourcestring
SStatusStopped = 'Stopped'; SStatusStopped = 'Stopped';
SStatusError = 'Error starting'; 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 implementation