LazThread: enabled i18n; added Russian translation. Bug #26499.

git-svn-id: trunk@45970 -
This commit is contained in:
maxim 2014-07-24 22:33:50 +00:00
parent ed087f691f
commit 162fe350f3
7 changed files with 95 additions and 11 deletions

4
.gitattributes vendored
View File

@ -2563,6 +2563,10 @@ components/lazsvnpkg/svnstatusform.lfm svneol=native#text/plain
components/lazsvnpkg/svnstatusform.pas svneol=native#text/plain components/lazsvnpkg/svnstatusform.pas svneol=native#text/plain
components/lazsvnpkg/svnupdateform.lfm svneol=native#text/plain components/lazsvnpkg/svnupdateform.lfm svneol=native#text/plain
components/lazsvnpkg/svnupdateform.pas svneol=native#text/plain components/lazsvnpkg/svnupdateform.pas svneol=native#text/plain
components/lazthread/languages/reglazthread.po svneol=native#text/plain
components/lazthread/languages/reglazthread.ru.po svneol=native#text/plain
components/lazthread/languages/threadoptionsdialog.po svneol=native#text/plain
components/lazthread/languages/threadoptionsdialog.ru.po svneol=native#text/plain
components/lazthread/lazthread.lpk svneol=native#text/plain components/lazthread/lazthread.lpk svneol=native#text/plain
components/lazthread/lazthread.pas svneol=native#text/plain components/lazthread/lazthread.pas svneol=native#text/plain
components/lazthread/reglazthread.pas svneol=native#text/plain components/lazthread/reglazthread.pas svneol=native#text/plain

View File

@ -0,0 +1,11 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
#: reglazthread.sthreaddescription
msgid "A Pascal unit with a subclass of TThread class."
msgstr ""
#: reglazthread.sthreadname
msgid "Thread Object"
msgstr ""

View File

@ -0,0 +1,19 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Maxim Ganetsky <maxkill@mail.ru>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
#: reglazthread.sthreaddescription
msgid "A Pascal unit with a subclass of TThread class."
msgstr "Модуль Паскаля с потомком класса TThread."
#: reglazthread.sthreadname
msgid "Thread Object"
msgstr "Объект потока исполнения"

View File

@ -0,0 +1,19 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
#: threadoptionsdialog.screateunitbuttoncaption
msgid "Create Unit"
msgstr ""
#: threadoptionsdialog.soptionsgroupboxcaption
msgid "Options"
msgstr ""
#: threadoptionsdialog.sthreaddialogtitle
msgid "Thread Class Options"
msgstr ""
#: threadoptionsdialog.sthreadnamelabelcaption
msgid "Thread Class Name"
msgstr ""

View File

@ -0,0 +1,27 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Maxim Ganetsky <maxkill@mail.ru>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
#: threadoptionsdialog.screateunitbuttoncaption
msgid "Create Unit"
msgstr "Создать модуль"
#: threadoptionsdialog.soptionsgroupboxcaption
msgid "Options"
msgstr "Параметры"
#: threadoptionsdialog.sthreaddialogtitle
msgid "Thread Class Options"
msgstr "Параметры класса потока исполнения"
#: threadoptionsdialog.sthreadnamelabelcaption
msgid "Thread Class Name"
msgstr "Имя класса потока исполнения"

View File

@ -1,19 +1,19 @@
<?xml version="1.0"?> <?xml version="1.0" encoding="UTF-8"?>
<CONFIG> <CONFIG>
<Package Version="3"> <Package Version="4">
<Name Value="lazthread"/> <Name Value="lazthread"/>
<AddToProjectUsesSection Value="True"/>
<Author Value="Carlos German Tejero"/> <Author Value="Carlos German Tejero"/>
<CompilerOptions> <CompilerOptions>
<Version Value="5"/> <Version Value="11"/>
<SearchPaths> <SearchPaths>
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)"/> <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)"/>
</SearchPaths> </SearchPaths>
<CodeGeneration> <Parsing>
<Generate Value="Faster"/> <SyntaxOptions>
</CodeGeneration> <UseAnsiStrings Value="False"/>
<Other> </SyntaxOptions>
<CompilerPath Value="$(CompPath)"/> </Parsing>
</Other>
</CompilerOptions> </CompilerOptions>
<Description Value="Extends IDE with a new unit type. <Description Value="Extends IDE with a new unit type.
"/> "/>
@ -30,6 +30,10 @@
<UnitName Value="ThreadOptionsDialog"/> <UnitName Value="ThreadOptionsDialog"/>
</Item2> </Item2>
</Files> </Files>
<i18n>
<EnableI18N Value="True"/>
<OutDir Value="languages"/>
</i18n>
<Type Value="RunAndDesignTime"/> <Type Value="RunAndDesignTime"/>
<RequiredPkgs Count="3"> <RequiredPkgs Count="3">
<Item1> <Item1>
@ -44,7 +48,7 @@
</Item3> </Item3>
</RequiredPkgs> </RequiredPkgs>
<UsageOptions> <UsageOptions>
<UnitPath Value="$(PkgOutDir)/"/> <UnitPath Value="$(PkgOutDir)"/>
</UsageOptions> </UsageOptions>
<PublishOptions> <PublishOptions>
<Version Value="2"/> <Version Value="2"/>

View File

@ -39,7 +39,7 @@ uses
resourcestring resourcestring
SThreadName = 'Thread Object'; SThreadName = 'Thread Object';
SThreadDescription = 'A Pascal unit with a subclass of TThread class'; SThreadDescription = 'A Pascal unit with a subclass of TThread class.';
//---------------// //---------------//
procedure register; procedure register;