From d233f9981f327068ce70da730badbf649a8f3a35 Mon Sep 17 00:00:00 2001 From: Maxim Ganetsky Date: Tue, 22 Feb 2022 01:26:39 +0300 Subject: [PATCH] Pas2JS: fixed typos in resource strings, regenerated translations and updated Russian translation --- components/pas2js/languages/strpas2jsdesign.fr.po | 4 ++-- components/pas2js/languages/strpas2jsdesign.hu.po | 4 ++-- components/pas2js/languages/strpas2jsdesign.pot | 4 ++-- .../pas2js/languages/strpas2jsdesign.pt_BR.po | 4 ++-- components/pas2js/languages/strpas2jsdesign.ru.po | 14 +++++++------- components/pas2js/languages/strpas2jsdesign.tr.po | 4 ++-- components/pas2js/languages/strpas2jsdesign.uk.po | 4 ++-- .../pas2js/languages/strpas2jsdesign.zh_CN.po | 4 ++-- components/pas2js/strpas2jsdesign.pp | 8 ++++---- 9 files changed, 25 insertions(+), 25 deletions(-) diff --git a/components/pas2js/languages/strpas2jsdesign.fr.po b/components/pas2js/languages/strpas2jsdesign.fr.po index f36292baec..61f7794e9a 100644 --- a/components/pas2js/languages/strpas2jsdesign.fr.po +++ b/components/pas2js/languages/strpas2jsdesign.fr.po @@ -299,11 +299,11 @@ msgid "Pas2JS class definition from HTML file" msgstr "" #: strpas2jsdesign.rscreateunitfromtypescript -msgid "Pas2JS import unit from Typescript declaration module." +msgid "Pas2JS import unit from TypeScript declaration module" msgstr "" #: strpas2jsdesign.rscreateunitfromtypescriptdescription -msgid "Create a Pas2JS import unit from a Typescript declaration module." +msgid "Create a Pas2JS import unit from a TypeScript declaration module." msgstr "" #: strpas2jsdesign.rsdtsdidnotproduceoutput diff --git a/components/pas2js/languages/strpas2jsdesign.hu.po b/components/pas2js/languages/strpas2jsdesign.hu.po index bc2be50e85..44bed23c47 100644 --- a/components/pas2js/languages/strpas2jsdesign.hu.po +++ b/components/pas2js/languages/strpas2jsdesign.hu.po @@ -303,11 +303,11 @@ msgid "Pas2JS class definition from HTML file" msgstr "" #: strpas2jsdesign.rscreateunitfromtypescript -msgid "Pas2JS import unit from Typescript declaration module." +msgid "Pas2JS import unit from TypeScript declaration module" msgstr "" #: strpas2jsdesign.rscreateunitfromtypescriptdescription -msgid "Create a Pas2JS import unit from a Typescript declaration module." +msgid "Create a Pas2JS import unit from a TypeScript declaration module." msgstr "" #: strpas2jsdesign.rsdtsdidnotproduceoutput diff --git a/components/pas2js/languages/strpas2jsdesign.pot b/components/pas2js/languages/strpas2jsdesign.pot index 3d3929cfdc..0178f57916 100644 --- a/components/pas2js/languages/strpas2jsdesign.pot +++ b/components/pas2js/languages/strpas2jsdesign.pot @@ -289,11 +289,11 @@ msgid "Pas2JS class definition from HTML file" msgstr "" #: strpas2jsdesign.rscreateunitfromtypescript -msgid "Pas2JS import unit from Typescript declaration module." +msgid "Pas2JS import unit from TypeScript declaration module" msgstr "" #: strpas2jsdesign.rscreateunitfromtypescriptdescription -msgid "Create a Pas2JS import unit from a Typescript declaration module." +msgid "Create a Pas2JS import unit from a TypeScript declaration module." msgstr "" #: strpas2jsdesign.rsdtsdidnotproduceoutput diff --git a/components/pas2js/languages/strpas2jsdesign.pt_BR.po b/components/pas2js/languages/strpas2jsdesign.pt_BR.po index c8edf1f09a..7a1551a2a9 100644 --- a/components/pas2js/languages/strpas2jsdesign.pt_BR.po +++ b/components/pas2js/languages/strpas2jsdesign.pt_BR.po @@ -302,11 +302,11 @@ msgid "Pas2JS class definition from HTML file" msgstr "" #: strpas2jsdesign.rscreateunitfromtypescript -msgid "Pas2JS import unit from Typescript declaration module." +msgid "Pas2JS import unit from TypeScript declaration module" msgstr "" #: strpas2jsdesign.rscreateunitfromtypescriptdescription -msgid "Create a Pas2JS import unit from a Typescript declaration module." +msgid "Create a Pas2JS import unit from a TypeScript declaration module." msgstr "" #: strpas2jsdesign.rsdtsdidnotproduceoutput diff --git a/components/pas2js/languages/strpas2jsdesign.ru.po b/components/pas2js/languages/strpas2jsdesign.ru.po index 50903aa848..3ee26e4645 100644 --- a/components/pas2js/languages/strpas2jsdesign.ru.po +++ b/components/pas2js/languages/strpas2jsdesign.ru.po @@ -62,7 +62,7 @@ msgid "" "%s\n" "Would you like to select the file from disk?" msgstr "" -"Невозможно найти файл с исходным текстом HTML для следующего класса:\n" +"Невозможно найти файл с исходным текстом HTML для класса в модуле %s:\n" "%s\n" "Выбрать файл на диске?" @@ -302,21 +302,21 @@ msgid "Pas2JS class definition from HTML file" msgstr "Объявление класса Pas2JS из файла HTML" #: strpas2jsdesign.rscreateunitfromtypescript -msgid "Pas2JS import unit from Typescript declaration module." -msgstr "" +msgid "Pas2JS import unit from TypeScript declaration module" +msgstr "Модуль импорта Pas2JS из модуля объявлений TypeScript" #: strpas2jsdesign.rscreateunitfromtypescriptdescription -msgid "Create a Pas2JS import unit from a Typescript declaration module." -msgstr "" +msgid "Create a Pas2JS import unit from a TypeScript declaration module." +msgstr "Создать модуль импорта Pas2JS из модуля объявлений TypeScript." #: strpas2jsdesign.rsdtsdidnotproduceoutput msgid "The DTS2pas tool did not produce an output file." -msgstr "" +msgstr "Средство DTS2pas не создало файл вывода." #: strpas2jsdesign.rshttprequestfailed #, object-pascal-format msgid "HTML request to service URL %s failed: %s" -msgstr "" +msgstr "Запрос HTML по адресу сервиса %s завершился с ошибкой: %s" #: strpas2jsdesign.spasjswebservercaption msgctxt "strpas2jsdesign.spasjswebservercaption" diff --git a/components/pas2js/languages/strpas2jsdesign.tr.po b/components/pas2js/languages/strpas2jsdesign.tr.po index f538a1d0be..5a15aa5fc7 100644 --- a/components/pas2js/languages/strpas2jsdesign.tr.po +++ b/components/pas2js/languages/strpas2jsdesign.tr.po @@ -303,11 +303,11 @@ msgid "Pas2JS class definition from HTML file" msgstr "" #: strpas2jsdesign.rscreateunitfromtypescript -msgid "Pas2JS import unit from Typescript declaration module." +msgid "Pas2JS import unit from TypeScript declaration module" msgstr "" #: strpas2jsdesign.rscreateunitfromtypescriptdescription -msgid "Create a Pas2JS import unit from a Typescript declaration module." +msgid "Create a Pas2JS import unit from a TypeScript declaration module." msgstr "" #: strpas2jsdesign.rsdtsdidnotproduceoutput diff --git a/components/pas2js/languages/strpas2jsdesign.uk.po b/components/pas2js/languages/strpas2jsdesign.uk.po index ace4aff93a..b5d125357d 100644 --- a/components/pas2js/languages/strpas2jsdesign.uk.po +++ b/components/pas2js/languages/strpas2jsdesign.uk.po @@ -301,11 +301,11 @@ msgid "Pas2JS class definition from HTML file" msgstr "" #: strpas2jsdesign.rscreateunitfromtypescript -msgid "Pas2JS import unit from Typescript declaration module." +msgid "Pas2JS import unit from TypeScript declaration module" msgstr "" #: strpas2jsdesign.rscreateunitfromtypescriptdescription -msgid "Create a Pas2JS import unit from a Typescript declaration module." +msgid "Create a Pas2JS import unit from a TypeScript declaration module." msgstr "" #: strpas2jsdesign.rsdtsdidnotproduceoutput diff --git a/components/pas2js/languages/strpas2jsdesign.zh_CN.po b/components/pas2js/languages/strpas2jsdesign.zh_CN.po index 29c34b00f4..9fde58a7a0 100644 --- a/components/pas2js/languages/strpas2jsdesign.zh_CN.po +++ b/components/pas2js/languages/strpas2jsdesign.zh_CN.po @@ -304,11 +304,11 @@ msgid "Pas2JS class definition from HTML file" msgstr "" #: strpas2jsdesign.rscreateunitfromtypescript -msgid "Pas2JS import unit from Typescript declaration module." +msgid "Pas2JS import unit from TypeScript declaration module" msgstr "" #: strpas2jsdesign.rscreateunitfromtypescriptdescription -msgid "Create a Pas2JS import unit from a Typescript declaration module." +msgid "Create a Pas2JS import unit from a TypeScript declaration module." msgstr "" #: strpas2jsdesign.rsdtsdidnotproduceoutput diff --git a/components/pas2js/strpas2jsdesign.pp b/components/pas2js/strpas2jsdesign.pp index caf96087a4..1fcd0e5252 100644 --- a/components/pas2js/strpas2jsdesign.pp +++ b/components/pas2js/strpas2jsdesign.pp @@ -95,8 +95,8 @@ Resourcestring rsCreateClassFromHTMLName = 'Pas2JS class definition from HTML file'; rsCreateClassFromHTMLDescription = 'Create a Pas2JS "form" class definition from HTML file using ID attributes in the HTML file.'; - rsCreateUnitFromTypeScript = 'Pas2JS import unit from Typescript declaration module.'; - rsCreateUnitFromTypeScriptDescription = 'Create a Pas2JS import unit from a Typescript declaration module.'; + rsCreateUnitFromTypeScript = 'Pas2JS import unit from TypeScript declaration module'; + rsCreateUnitFromTypeScriptDescription = 'Create a Pas2JS import unit from a TypeScript declaration module.'; rsDTSDidNotProduceOutput = 'The DTS2pas tool did not produce an output file.'; @@ -116,8 +116,8 @@ Resourcestring pjsdFileNameDoesNotStartWithPas2js = 'filename does not start with "pas2js"'; pjsdHTMLFilter = 'HTML Files|*.html|All files|*.*'; pjsdHTMLSourceFileNotFound = 'HTML Source not found'; - pjsdHTMLFileNotFound = 'Cannot find the HTML Source file for the class in unit %s:'#13#10+ - '%s'#13#10+ + pjsdHTMLFileNotFound = 'Cannot find the HTML Source file for the class in unit %s:'+LineEnding+ + '%s'+LineEnding+ 'Would you like to select the file from disk?'; pjsdBtnSelectFile = 'Select the file'; pjsdButtonCancel = 'Cancel refresh';