From 3c0e7cf64511c0079475fd6370b3c799f0cd38e1 Mon Sep 17 00:00:00 2001 From: maxim Date: Mon, 28 Oct 2019 23:08:32 +0000 Subject: [PATCH] Pas2JS: cleaned up unused strings, regenerated translations and updated Russian translation git-svn-id: trunk@62142 - --- .../pas2js/languages/strpas2jsdesign.fr.po | 13 ++------ .../pas2js/languages/strpas2jsdesign.hu.po | 13 ++------ .../pas2js/languages/strpas2jsdesign.pot | 13 ++------ .../pas2js/languages/strpas2jsdesign.pt_BR.po | 13 ++------ .../pas2js/languages/strpas2jsdesign.ru.po | 32 ++++++------------- .../pas2js/languages/strpas2jsdesign.tr.po | 13 ++------ .../pas2js/languages/strpas2jsdesign.uk.po | 13 ++------ .../pas2js/languages/strpas2jsdesign.zh_CN.po | 13 ++------ components/pas2js/strpas2jsdesign.pp | 3 -- 9 files changed, 24 insertions(+), 102 deletions(-) diff --git a/components/pas2js/languages/strpas2jsdesign.fr.po b/components/pas2js/languages/strpas2jsdesign.fr.po index 21a88a0b30..63f04411be 100644 --- a/components/pas2js/languages/strpas2jsdesign.fr.po +++ b/components/pas2js/languages/strpas2jsdesign.fr.po @@ -91,19 +91,10 @@ msgstr "" msgid "Pas2JS webserver port" msgstr "" -#: strpas2jsdesign.pjsdpathof -#, object-pascal-format -msgid "Path of %s" -msgstr "" - #: strpas2jsdesign.pjsdpathofnodejsexecutable msgid "Path of Node.js executable, macro $(Pas2JSNodeJS)" msgstr "" -#: strpas2jsdesign.pjsdpathofpas2jsexecutablemacropas2js -msgid "Path of pas2js executable, macro $(pas2js)" -msgstr "" - #: strpas2jsdesign.pjsdpathofxmacropas2js #, object-pascal-format msgctxt "strpas2jsdesign.pjsdpathofxmacropas2js" @@ -117,8 +108,7 @@ msgid "Path of %s, macro $(Pas2JSWebServer)" msgstr "" #: strpas2jsdesign.pjsdportnumbertostartallocatingfrom -#, object-pascal-format -msgid "Port number to start allocating from %s" +msgid "Port number to start allocating from, macro $(Pas2JSWebServerPort)" msgstr "" #: strpas2jsdesign.pjsdprojecthtmlpage @@ -159,6 +149,7 @@ msgstr "" #: strpas2jsdesign.pjsdselectxexecutable #, object-pascal-format +msgctxt "strpas2jsdesign.pjsdselectxexecutable" msgid "Select %s executable" msgstr "" diff --git a/components/pas2js/languages/strpas2jsdesign.hu.po b/components/pas2js/languages/strpas2jsdesign.hu.po index 4c10cee636..7ae0be8c20 100644 --- a/components/pas2js/languages/strpas2jsdesign.hu.po +++ b/components/pas2js/languages/strpas2jsdesign.hu.po @@ -91,19 +91,10 @@ msgstr "" msgid "Pas2JS webserver port" msgstr "" -#: strpas2jsdesign.pjsdpathof -#, object-pascal-format -msgid "Path of %s" -msgstr "" - #: strpas2jsdesign.pjsdpathofnodejsexecutable msgid "Path of Node.js executable, macro $(Pas2JSNodeJS)" msgstr "" -#: strpas2jsdesign.pjsdpathofpas2jsexecutablemacropas2js -msgid "Path of pas2js executable, macro $(pas2js)" -msgstr "" - #: strpas2jsdesign.pjsdpathofxmacropas2js #, object-pascal-format msgctxt "strpas2jsdesign.pjsdpathofxmacropas2js" @@ -117,8 +108,7 @@ msgid "Path of %s, macro $(Pas2JSWebServer)" msgstr "" #: strpas2jsdesign.pjsdportnumbertostartallocatingfrom -#, object-pascal-format -msgid "Port number to start allocating from %s" +msgid "Port number to start allocating from, macro $(Pas2JSWebServerPort)" msgstr "" #: strpas2jsdesign.pjsdprojecthtmlpage @@ -159,6 +149,7 @@ msgstr "" #: strpas2jsdesign.pjsdselectxexecutable #, object-pascal-format +msgctxt "strpas2jsdesign.pjsdselectxexecutable" msgid "Select %s executable" msgstr "" diff --git a/components/pas2js/languages/strpas2jsdesign.pot b/components/pas2js/languages/strpas2jsdesign.pot index 567271bb0f..4d325e2480 100644 --- a/components/pas2js/languages/strpas2jsdesign.pot +++ b/components/pas2js/languages/strpas2jsdesign.pot @@ -81,19 +81,10 @@ msgstr "" msgid "Pas2JS webserver port" msgstr "" -#: strpas2jsdesign.pjsdpathof -#, object-pascal-format -msgid "Path of %s" -msgstr "" - #: strpas2jsdesign.pjsdpathofnodejsexecutable msgid "Path of Node.js executable, macro $(Pas2JSNodeJS)" msgstr "" -#: strpas2jsdesign.pjsdpathofpas2jsexecutablemacropas2js -msgid "Path of pas2js executable, macro $(pas2js)" -msgstr "" - #: strpas2jsdesign.pjsdpathofxmacropas2js #, object-pascal-format msgctxt "strpas2jsdesign.pjsdpathofxmacropas2js" @@ -107,8 +98,7 @@ msgid "Path of %s, macro $(Pas2JSWebServer)" msgstr "" #: strpas2jsdesign.pjsdportnumbertostartallocatingfrom -#, object-pascal-format -msgid "Port number to start allocating from %s" +msgid "Port number to start allocating from, macro $(Pas2JSWebServerPort)" msgstr "" #: strpas2jsdesign.pjsdprojecthtmlpage @@ -149,6 +139,7 @@ msgstr "" #: strpas2jsdesign.pjsdselectxexecutable #, object-pascal-format +msgctxt "strpas2jsdesign.pjsdselectxexecutable" msgid "Select %s executable" msgstr "" diff --git a/components/pas2js/languages/strpas2jsdesign.pt_BR.po b/components/pas2js/languages/strpas2jsdesign.pt_BR.po index f6cf612d68..0f4ac796f6 100644 --- a/components/pas2js/languages/strpas2jsdesign.pt_BR.po +++ b/components/pas2js/languages/strpas2jsdesign.pt_BR.po @@ -93,21 +93,12 @@ msgstr "" msgid "Pas2JS webserver port" msgstr "" -#: strpas2jsdesign.pjsdpathof -#, object-pascal-format -msgid "Path of %s" -msgstr "Caminho para %s" - #: strpas2jsdesign.pjsdpathofnodejsexecutable #, fuzzy #| msgid "Path of Node.js executable" msgid "Path of Node.js executable, macro $(Pas2JSNodeJS)" msgstr "Caminho do executável Node.js" -#: strpas2jsdesign.pjsdpathofpas2jsexecutablemacropas2js -msgid "Path of pas2js executable, macro $(pas2js)" -msgstr "" - #: strpas2jsdesign.pjsdpathofxmacropas2js #, object-pascal-format msgctxt "strpas2jsdesign.pjsdpathofxmacropas2js" @@ -121,8 +112,7 @@ msgid "Path of %s, macro $(Pas2JSWebServer)" msgstr "" #: strpas2jsdesign.pjsdportnumbertostartallocatingfrom -#, object-pascal-format -msgid "Port number to start allocating from %s" +msgid "Port number to start allocating from, macro $(Pas2JSWebServerPort)" msgstr "" #: strpas2jsdesign.pjsdprojecthtmlpage @@ -163,6 +153,7 @@ msgstr "Selecionar executável pas2js" #: strpas2jsdesign.pjsdselectxexecutable #, object-pascal-format +msgctxt "strpas2jsdesign.pjsdselectxexecutable" msgid "Select %s executable" msgstr "" diff --git a/components/pas2js/languages/strpas2jsdesign.ru.po b/components/pas2js/languages/strpas2jsdesign.ru.po index a6de76b75f..50c9426c18 100644 --- a/components/pas2js/languages/strpas2jsdesign.ru.po +++ b/components/pas2js/languages/strpas2jsdesign.ru.po @@ -18,7 +18,7 @@ msgstr "Обзор" #: strpas2jsdesign.pjsdbrowsertoopenhtmlpage msgctxt "strpas2jsdesign.pjsdbrowsertoopenhtmlpage" msgid "Browser to open HTML page, macro $(Pas2JSBrowser)" -msgstr "" +msgstr "Браузер для открытия страницы HTML, макрос $(Pas2JSBrowser)" #: strpas2jsdesign.pjsdcreateinitialhtmlpage msgid "Create initial HTML page" @@ -85,43 +85,31 @@ msgstr "Выбранный исполнимый файл NodeJS для Pas2JS" #: strpas2jsdesign.pjsdpas2jswebserverexe msgid "Pas2JS webserver executable" -msgstr "" +msgstr "Исполнимый файл веб-сервера Pas2JS" #: strpas2jsdesign.pjsdpas2jswebserverport msgid "Pas2JS webserver port" -msgstr "" - -#: strpas2jsdesign.pjsdpathof -#, object-pascal-format -msgid "Path of %s" -msgstr "Путь к %s" +msgstr "Порт веб-сервера Pas2JS" #: strpas2jsdesign.pjsdpathofnodejsexecutable -#, fuzzy -#| msgid "Path of Node.js executable" msgid "Path of Node.js executable, macro $(Pas2JSNodeJS)" -msgstr "Путь к исполнимому файлу Node.js" - -#: strpas2jsdesign.pjsdpathofpas2jsexecutablemacropas2js -msgid "Path of pas2js executable, macro $(pas2js)" -msgstr "" +msgstr "Путь к исполнимому файлу Node.js, макрос $(Pas2JSNodeJS)" #: strpas2jsdesign.pjsdpathofxmacropas2js #, object-pascal-format msgctxt "strpas2jsdesign.pjsdpathofxmacropas2js" msgid "Path of %s, macro $(pas2js)" -msgstr "" +msgstr "Путь к %s, макрос $(pas2js)" #: strpas2jsdesign.pjsdpathofxmacropas2jswebserver #, object-pascal-format msgctxt "strpas2jsdesign.pjsdpathofxmacropas2jswebserver" msgid "Path of %s, macro $(Pas2JSWebServer)" -msgstr "" +msgstr "Путь к %s, макрос $(Pas2JSWebServer)" #: strpas2jsdesign.pjsdportnumbertostartallocatingfrom -#, object-pascal-format -msgid "Port number to start allocating from %s" -msgstr "" +msgid "Port number to start allocating from, macro $(Pas2JSWebServerPort)" +msgstr "Начало диапазона запрашиваемых портов, макрос $(Pas2JSWebServerPort)" #: strpas2jsdesign.pjsdprojecthtmlpage msgid "Project HTML page:" @@ -161,8 +149,9 @@ msgstr "Выберите исполнимый файл pas2js" #: strpas2jsdesign.pjsdselectxexecutable #, object-pascal-format +msgctxt "strpas2jsdesign.pjsdselectxexecutable" msgid "Select %s executable" -msgstr "" +msgstr "Выберите исполнимый файл %s" #: strpas2jsdesign.pjsdserverinstanceswillbestartedwithaportstartingfromt msgid "Server instances will be started with a port starting from this number, increasing per new project" @@ -210,7 +199,6 @@ msgid "You can use IDE macros like $MakeExe(). Without a full path, %s is search msgstr "Можно использовать макросы IDE, например, $MakeExe(). Если полный путь не указан, поиск %s производится при помощи переменной окружения PATH." #: strpas2jsdesign.spasjswebservercaption -#, fuzzy msgctxt "strpas2jsdesign.spasjswebservercaption" msgid "Pas2JS WebServers" msgstr "Веб-серверы Pas2JS" diff --git a/components/pas2js/languages/strpas2jsdesign.tr.po b/components/pas2js/languages/strpas2jsdesign.tr.po index f8ef8fb4f2..8e9e77f108 100644 --- a/components/pas2js/languages/strpas2jsdesign.tr.po +++ b/components/pas2js/languages/strpas2jsdesign.tr.po @@ -91,19 +91,10 @@ msgstr "" msgid "Pas2JS webserver port" msgstr "" -#: strpas2jsdesign.pjsdpathof -#, object-pascal-format -msgid "Path of %s" -msgstr "" - #: strpas2jsdesign.pjsdpathofnodejsexecutable msgid "Path of Node.js executable, macro $(Pas2JSNodeJS)" msgstr "" -#: strpas2jsdesign.pjsdpathofpas2jsexecutablemacropas2js -msgid "Path of pas2js executable, macro $(pas2js)" -msgstr "" - #: strpas2jsdesign.pjsdpathofxmacropas2js #, object-pascal-format msgctxt "strpas2jsdesign.pjsdpathofxmacropas2js" @@ -117,8 +108,7 @@ msgid "Path of %s, macro $(Pas2JSWebServer)" msgstr "" #: strpas2jsdesign.pjsdportnumbertostartallocatingfrom -#, object-pascal-format -msgid "Port number to start allocating from %s" +msgid "Port number to start allocating from, macro $(Pas2JSWebServerPort)" msgstr "" #: strpas2jsdesign.pjsdprojecthtmlpage @@ -159,6 +149,7 @@ msgstr "" #: strpas2jsdesign.pjsdselectxexecutable #, object-pascal-format +msgctxt "strpas2jsdesign.pjsdselectxexecutable" msgid "Select %s executable" msgstr "" diff --git a/components/pas2js/languages/strpas2jsdesign.uk.po b/components/pas2js/languages/strpas2jsdesign.uk.po index 710b3038d6..bb9e15ec53 100644 --- a/components/pas2js/languages/strpas2jsdesign.uk.po +++ b/components/pas2js/languages/strpas2jsdesign.uk.po @@ -93,21 +93,12 @@ msgstr "" msgid "Pas2JS webserver port" msgstr "" -#: strpas2jsdesign.pjsdpathof -#, object-pascal-format -msgid "Path of %s" -msgstr "Шлях до %s" - #: strpas2jsdesign.pjsdpathofnodejsexecutable #, fuzzy #| msgid "Path of Node.js executable" msgid "Path of Node.js executable, macro $(Pas2JSNodeJS)" msgstr "Шлях до виконуваного файлу Node.js" -#: strpas2jsdesign.pjsdpathofpas2jsexecutablemacropas2js -msgid "Path of pas2js executable, macro $(pas2js)" -msgstr "" - #: strpas2jsdesign.pjsdpathofxmacropas2js #, object-pascal-format msgctxt "strpas2jsdesign.pjsdpathofxmacropas2js" @@ -121,8 +112,7 @@ msgid "Path of %s, macro $(Pas2JSWebServer)" msgstr "" #: strpas2jsdesign.pjsdportnumbertostartallocatingfrom -#, object-pascal-format -msgid "Port number to start allocating from %s" +msgid "Port number to start allocating from, macro $(Pas2JSWebServerPort)" msgstr "" #: strpas2jsdesign.pjsdprojecthtmlpage @@ -163,6 +153,7 @@ msgstr "Вибрати виконуваний файл pas2js" #: strpas2jsdesign.pjsdselectxexecutable #, object-pascal-format +msgctxt "strpas2jsdesign.pjsdselectxexecutable" msgid "Select %s executable" msgstr "" diff --git a/components/pas2js/languages/strpas2jsdesign.zh_CN.po b/components/pas2js/languages/strpas2jsdesign.zh_CN.po index 8462688a61..ad6755dc36 100644 --- a/components/pas2js/languages/strpas2jsdesign.zh_CN.po +++ b/components/pas2js/languages/strpas2jsdesign.zh_CN.po @@ -92,19 +92,10 @@ msgstr "" msgid "Pas2JS webserver port" msgstr "" -#: strpas2jsdesign.pjsdpathof -#, object-pascal-format -msgid "Path of %s" -msgstr "" - #: strpas2jsdesign.pjsdpathofnodejsexecutable msgid "Path of Node.js executable, macro $(Pas2JSNodeJS)" msgstr "" -#: strpas2jsdesign.pjsdpathofpas2jsexecutablemacropas2js -msgid "Path of pas2js executable, macro $(pas2js)" -msgstr "" - #: strpas2jsdesign.pjsdpathofxmacropas2js #, object-pascal-format msgctxt "strpas2jsdesign.pjsdpathofxmacropas2js" @@ -118,8 +109,7 @@ msgid "Path of %s, macro $(Pas2JSWebServer)" msgstr "" #: strpas2jsdesign.pjsdportnumbertostartallocatingfrom -#, object-pascal-format -msgid "Port number to start allocating from %s" +msgid "Port number to start allocating from, macro $(Pas2JSWebServerPort)" msgstr "" #: strpas2jsdesign.pjsdprojecthtmlpage @@ -160,6 +150,7 @@ msgstr "" #: strpas2jsdesign.pjsdselectxexecutable #, object-pascal-format +msgctxt "strpas2jsdesign.pjsdselectxexecutable" msgid "Select %s executable" msgstr "" diff --git a/components/pas2js/strpas2jsdesign.pp b/components/pas2js/strpas2jsdesign.pp index 9e3a8c23a5..785f9ade40 100644 --- a/components/pas2js/strpas2jsdesign.pp +++ b/components/pas2js/strpas2jsdesign.pp @@ -35,12 +35,9 @@ Resourcestring pjsdSelectXExecutable = 'Select %s 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.'; pjsdPathOfXMacroPas2js = 'Path of %s, macro $(pas2js)'; - pjsdPathOfPas2jsExecutableMacroPas2js = 'Path of pas2js executable, macro $(' - +'pas2js)'; pjsdBrowse = 'Browse'; pjsdPathOfXMacroPas2JSWebServer = 'Path of %s, macro $(Pas2JSWebServer)'; pjsdPortNumberToStartAllocatingFrom = 'Port number to start allocating '