mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 08:16:14 +02:00
Pas2JS: moved resource strings for VS Code extensions to the correct location, improved wording, i18n, regenerated translations and updated Russian translation
git-svn-id: trunk@64296 -
This commit is contained in:
parent
a32ac8e665
commit
fe9ac84b09
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -4020,7 +4020,6 @@ components/pas2js/frmpas2jsvscodeextensionsettings.lfm svneol=native#text/plain
|
||||
components/pas2js/frmpas2jsvscodeextensionsettings.pas svneol=native#text/plain
|
||||
components/pas2js/frmpas2jswebservers.lfm svneol=native#text/plain
|
||||
components/pas2js/frmpas2jswebservers.pp svneol=native#text/plain
|
||||
components/pas2js/languages/regpas2jsvscode.pot svneol=native#text/plain
|
||||
components/pas2js/languages/strpas2jsdesign.fr.po svneol=native#text/plain
|
||||
components/pas2js/languages/strpas2jsdesign.hu.po svneol=native#text/plain
|
||||
components/pas2js/languages/strpas2jsdesign.pot svneol=native#text/plain
|
||||
|
@ -1,11 +0,0 @@
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=UTF-8"
|
||||
|
||||
#: regpas2jsvscode.snewvscodeextension
|
||||
msgid "Pas2js VS Code extension"
|
||||
msgstr ""
|
||||
|
||||
#: regpas2jsvscode.snewvscodeextensiondescr
|
||||
msgid "Create a new pas2js VS Code extension"
|
||||
msgstr ""
|
||||
|
@ -71,6 +71,14 @@ msgstr ""
|
||||
msgid "A pas2js program running as Atom package."
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnewvscodeextension
|
||||
msgid "Visual Studio Code extension"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnewvscodeextensiondescr
|
||||
msgid "A pas2js program running as Visual Studio Code extension."
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnodejsappdescription
|
||||
#, fuzzy
|
||||
#| msgid "A pas2js program running in node.js"
|
||||
@ -174,7 +182,7 @@ msgid "Select pas2js executable"
|
||||
msgstr "Sélectionner l'exécutable de pas2js"
|
||||
|
||||
#: strpas2jsdesign.pjsdselectvscodetemplatedir
|
||||
msgid "Select VS Code extension template directory"
|
||||
msgid "Select Visual Studio Code extension template directory"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdselectxexecutable
|
||||
@ -211,6 +219,10 @@ msgstr "Utiliser ce navigateur lors de l'ouverture de l'URL ou du fichier HTML d
|
||||
msgid "Use this URL to start application"
|
||||
msgstr "Utiliser cette URL pour démarrer l'application"
|
||||
|
||||
#: strpas2jsdesign.pjsdvisualstudiocodeextensiontemplatedirectory
|
||||
msgid "Visual Studio Code extension template directory"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdwebappdescription
|
||||
#, fuzzy
|
||||
#| msgid "A pas2js program running in the browser"
|
||||
|
@ -71,6 +71,14 @@ msgstr ""
|
||||
msgid "A pas2js program running as Atom package."
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnewvscodeextension
|
||||
msgid "Visual Studio Code extension"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnewvscodeextensiondescr
|
||||
msgid "A pas2js program running as Visual Studio Code extension."
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnodejsappdescription
|
||||
#, fuzzy
|
||||
#| msgid "A pas2js program running in node.js"
|
||||
@ -174,7 +182,7 @@ msgid "Select pas2js executable"
|
||||
msgstr "A pas2js alkalmazás kiválasztása"
|
||||
|
||||
#: strpas2jsdesign.pjsdselectvscodetemplatedir
|
||||
msgid "Select VS Code extension template directory"
|
||||
msgid "Select Visual Studio Code extension template directory"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdselectxexecutable
|
||||
@ -211,6 +219,10 @@ msgstr "Ez a böngésző legyen használva amikor egy böngészős projekt URL-j
|
||||
msgid "Use this URL to start application"
|
||||
msgstr "Az alkalmazás indításához ezt az URL-t használja"
|
||||
|
||||
#: strpas2jsdesign.pjsdvisualstudiocodeextensiontemplatedirectory
|
||||
msgid "Visual Studio Code extension template directory"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdwebappdescription
|
||||
#, fuzzy
|
||||
#| msgid "A pas2js program running in the browser"
|
||||
|
@ -61,6 +61,14 @@ msgstr ""
|
||||
msgid "A pas2js program running as Atom package."
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnewvscodeextension
|
||||
msgid "Visual Studio Code extension"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnewvscodeextensiondescr
|
||||
msgid "A pas2js program running as Visual Studio Code extension."
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnodejsappdescription
|
||||
msgid "A pas2js program running in node.js."
|
||||
msgstr ""
|
||||
@ -162,7 +170,7 @@ msgid "Select pas2js executable"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdselectvscodetemplatedir
|
||||
msgid "Select VS Code extension template directory"
|
||||
msgid "Select Visual Studio Code extension template directory"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdselectxexecutable
|
||||
@ -199,6 +207,10 @@ msgstr ""
|
||||
msgid "Use this URL to start application"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdvisualstudiocodeextensiontemplatedirectory
|
||||
msgid "Visual Studio Code extension template directory"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdwebappdescription
|
||||
msgid "A pas2js program running in the browser."
|
||||
msgstr ""
|
||||
|
@ -71,6 +71,14 @@ msgstr ""
|
||||
msgid "A pas2js program running as Atom package."
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnewvscodeextension
|
||||
msgid "Visual Studio Code extension"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnewvscodeextensiondescr
|
||||
msgid "A pas2js program running as Visual Studio Code extension."
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnodejsappdescription
|
||||
#, fuzzy
|
||||
#| msgid "A pas2js program running in node.js"
|
||||
@ -176,7 +184,7 @@ msgid "Select pas2js executable"
|
||||
msgstr "Selecionar executável pas2js"
|
||||
|
||||
#: strpas2jsdesign.pjsdselectvscodetemplatedir
|
||||
msgid "Select VS Code extension template directory"
|
||||
msgid "Select Visual Studio Code extension template directory"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdselectxexecutable
|
||||
@ -212,6 +220,10 @@ msgstr "Usar este navegador ao abrir a URL ou arquivo HTML de um projeto de nave
|
||||
msgid "Use this URL to start application"
|
||||
msgstr "Usar esta URL para iniciar a aplicação"
|
||||
|
||||
#: strpas2jsdesign.pjsdvisualstudiocodeextensiontemplatedirectory
|
||||
msgid "Visual Studio Code extension template directory"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdwebappdescription
|
||||
#, fuzzy
|
||||
#| msgid "A pas2js program running in the browser"
|
||||
|
@ -71,6 +71,14 @@ msgstr "Пакет Atom"
|
||||
msgid "A pas2js program running as Atom package."
|
||||
msgstr "Программа pas2js, запускаемая в качестве пакета Atom."
|
||||
|
||||
#: strpas2jsdesign.pjsdnewvscodeextension
|
||||
msgid "Visual Studio Code extension"
|
||||
msgstr "Расширение Visual Studio Code"
|
||||
|
||||
#: strpas2jsdesign.pjsdnewvscodeextensiondescr
|
||||
msgid "A pas2js program running as Visual Studio Code extension."
|
||||
msgstr "Программа pas2js, запускаемая в качестве расширения Visual Studio Code."
|
||||
|
||||
#: strpas2jsdesign.pjsdnodejsappdescription
|
||||
msgid "A pas2js program running in node.js."
|
||||
msgstr "Программа pas2js, запускаемая в node.js."
|
||||
@ -172,8 +180,8 @@ msgid "Select pas2js executable"
|
||||
msgstr "Выберите исполнимый файл pas2js"
|
||||
|
||||
#: strpas2jsdesign.pjsdselectvscodetemplatedir
|
||||
msgid "Select VS Code extension template directory"
|
||||
msgstr ""
|
||||
msgid "Select Visual Studio Code extension template directory"
|
||||
msgstr "Выберите каталог шаблона расширения Visual Studio Code"
|
||||
|
||||
#: strpas2jsdesign.pjsdselectxexecutable
|
||||
#, object-pascal-format
|
||||
@ -209,6 +217,10 @@ msgstr "Браузер для открытия предназначенного
|
||||
msgid "Use this URL to start application"
|
||||
msgstr "Использовать следующий адрес для запуска приложения"
|
||||
|
||||
#: strpas2jsdesign.pjsdvisualstudiocodeextensiontemplatedirectory
|
||||
msgid "Visual Studio Code extension template directory"
|
||||
msgstr "Каталог шаблона расширения Visual Studio Code"
|
||||
|
||||
#: strpas2jsdesign.pjsdwebappdescription
|
||||
msgid "A pas2js program running in the browser."
|
||||
msgstr "Программа pas2js, запускаемая в браузере."
|
||||
|
@ -71,6 +71,14 @@ msgstr ""
|
||||
msgid "A pas2js program running as Atom package."
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnewvscodeextension
|
||||
msgid "Visual Studio Code extension"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnewvscodeextensiondescr
|
||||
msgid "A pas2js program running as Visual Studio Code extension."
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnodejsappdescription
|
||||
#, fuzzy
|
||||
#| msgid "A pas2js program running in node.js"
|
||||
@ -174,7 +182,7 @@ msgid "Select pas2js executable"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdselectvscodetemplatedir
|
||||
msgid "Select VS Code extension template directory"
|
||||
msgid "Select Visual Studio Code extension template directory"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdselectxexecutable
|
||||
@ -211,6 +219,10 @@ msgstr ""
|
||||
msgid "Use this URL to start application"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdvisualstudiocodeextensiontemplatedirectory
|
||||
msgid "Visual Studio Code extension template directory"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdwebappdescription
|
||||
#, fuzzy
|
||||
#| msgid "A pas2js program running in the browser"
|
||||
|
@ -73,6 +73,14 @@ msgstr "Пакунок Atom"
|
||||
msgid "A pas2js program running as Atom package."
|
||||
msgstr "Програма pas2js запущена, як пакунок Atom"
|
||||
|
||||
#: strpas2jsdesign.pjsdnewvscodeextension
|
||||
msgid "Visual Studio Code extension"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnewvscodeextensiondescr
|
||||
msgid "A pas2js program running as Visual Studio Code extension."
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnodejsappdescription
|
||||
msgid "A pas2js program running in node.js."
|
||||
msgstr "Програма pas2js, що запускається в node.js."
|
||||
@ -174,7 +182,7 @@ msgid "Select pas2js executable"
|
||||
msgstr "Вибрати виконуваний файл pas2js"
|
||||
|
||||
#: strpas2jsdesign.pjsdselectvscodetemplatedir
|
||||
msgid "Select VS Code extension template directory"
|
||||
msgid "Select Visual Studio Code extension template directory"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdselectxexecutable
|
||||
@ -211,6 +219,10 @@ msgstr "Для відкривання URL або HTML-файлів проєкт
|
||||
msgid "Use this URL to start application"
|
||||
msgstr "Для запуску застосунку використати цей URL"
|
||||
|
||||
#: strpas2jsdesign.pjsdvisualstudiocodeextensiontemplatedirectory
|
||||
msgid "Visual Studio Code extension template directory"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdwebappdescription
|
||||
msgid "A pas2js program running in the browser."
|
||||
msgstr "Програма pas2js, що запускається в оглядачі."
|
||||
|
@ -72,6 +72,14 @@ msgstr ""
|
||||
msgid "A pas2js program running as Atom package."
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnewvscodeextension
|
||||
msgid "Visual Studio Code extension"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnewvscodeextensiondescr
|
||||
msgid "A pas2js program running as Visual Studio Code extension."
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdnodejsappdescription
|
||||
#, fuzzy
|
||||
#| msgid "A pas2js program running in node.js"
|
||||
@ -175,7 +183,7 @@ msgid "Select pas2js executable"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdselectvscodetemplatedir
|
||||
msgid "Select VS Code extension template directory"
|
||||
msgid "Select Visual Studio Code extension template directory"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdselectxexecutable
|
||||
@ -212,6 +220,10 @@ msgstr ""
|
||||
msgid "Use this URL to start application"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdvisualstudiocodeextensiontemplatedirectory
|
||||
msgid "Visual Studio Code extension template directory"
|
||||
msgstr ""
|
||||
|
||||
#: strpas2jsdesign.pjsdwebappdescription
|
||||
#, fuzzy
|
||||
#| msgid "A pas2js program running in the browser"
|
||||
|
@ -246,6 +246,7 @@ begin
|
||||
HTTPServerOptsLabel.Hint:=pjsdHTTPServerOptsLabelHint;
|
||||
|
||||
lblAtomTemplateDir.Caption := pjsdAtomPackageTemplateDirectory;
|
||||
lblVSCodeTemplateDir.Caption := pjsdVisualStudioCodeExtensionTemplateDirectory;
|
||||
end;
|
||||
|
||||
procedure TPas2jsOptionsFrame.ReadSettings(AOptions: TAbstractIDEOptions);
|
||||
|
@ -56,11 +56,7 @@ implementation
|
||||
|
||||
uses
|
||||
fpjson,frmpas2jsvscodeextensionsettings, CompOptsIntf,
|
||||
NewItemIntf, MenuIntf, pjsprojectoptions, pjsdsgnoptions;
|
||||
|
||||
Resourcestring
|
||||
SNewVSCodeExtension = 'Pas2js VS Code extension';
|
||||
SNewVSCodeExtensionDescr = 'Create a new pas2js VS Code extension';
|
||||
NewItemIntf, MenuIntf, pjsprojectoptions, pjsdsgnoptions, strpas2jsdesign;
|
||||
|
||||
Var
|
||||
VSCodeProjDesc:TVSCodeExtensionProjectDescriptor;
|
||||
@ -131,12 +127,12 @@ end;
|
||||
|
||||
function TVSCodeExtensionProjectDescriptor.GetLocalizedName: string;
|
||||
begin
|
||||
Result:=SNewVSCodeExtension;
|
||||
Result:=pjsdNewVSCodeExtension;
|
||||
end;
|
||||
|
||||
function TVSCodeExtensionProjectDescriptor.GetLocalizedDescription: string;
|
||||
begin
|
||||
Result:=SNewVSCodeExtensionDescr;
|
||||
Result:=pjsdNewVSCodeExtensionDescr;
|
||||
end;
|
||||
|
||||
Procedure TVSCodeExtensionProjectDescriptor.InitVars;
|
||||
|
@ -14,6 +14,8 @@ Resourcestring
|
||||
pjsdNodeJSAppDescription = 'A pas2js program running in node.js.';
|
||||
pjsdNewAtomPackage = 'Atom package';
|
||||
pjsdNewAtomPackageDescr = 'A pas2js program running as Atom package.';
|
||||
pjsdNewVSCodeExtension = 'Visual Studio Code extension';
|
||||
pjsdNewVSCodeExtensionDescr = 'A pas2js program running as Visual Studio Code extension.';
|
||||
|
||||
// menu item
|
||||
SPasJSWebserverCaption = 'Pas2JS WebServers';
|
||||
@ -38,7 +40,7 @@ Resourcestring
|
||||
pjsdSelectNodeJSExecutable = 'Select Node.js executable';
|
||||
pjsdSelectBrowserExecutable = 'Select browser executable';
|
||||
pjsdSelectAtomTemplateDir = 'Select Atom package template directory';
|
||||
pjsdSelectVSCodeTemplateDir = 'Select VS Code extension template directory';
|
||||
pjsdSelectVSCodeTemplateDir = 'Select Visual Studio Code extension template directory';
|
||||
pjsdYouCanUseIDEMacrosLikeMakeExeWithoutAFullPathIsSea = 'You can use IDE '
|
||||
+'macros like $MakeExe(). Without a full path, %s is searched in PATH.';
|
||||
pjsdPathOfXMacroPas2js = 'Path of %s, macro $(pas2js)';
|
||||
@ -56,6 +58,8 @@ Resourcestring
|
||||
pjsdHTTPServerOptsLabelCaption = 'HTTP Server extra command-line options (one per line)';
|
||||
pjsdHTTPServerOptsLabelHint = 'Add extra command-line options for the command which starts the webserver.';
|
||||
pjsdAtomPackageTemplateDirectory = 'Atom package template directory';
|
||||
pjsdVisualStudioCodeExtensionTemplateDirectory = 'Visual Studio Code '
|
||||
+'extension template directory';
|
||||
|
||||
// Project options frame
|
||||
pjsdWebProjectPas2js = 'Web Project (pas2js)';
|
||||
|
Loading…
Reference in New Issue
Block a user