lazthread: moved all resource strings to lazthreadstrconst.pas, merged translations accordingly

git-svn-id: trunk@63994 -
This commit is contained in:
maxim 2020-10-12 15:03:42 +00:00
parent 0074814a23
commit 2ec4db75e6
27 changed files with 187 additions and 304 deletions

31
.gitattributes vendored
View File

@ -3334,28 +3334,19 @@ components/lazsvnpkg/svnstatusform.lfm svneol=native#text/plain
components/lazsvnpkg/svnstatusform.pas svneol=native#text/plain
components/lazsvnpkg/svnupdateform.lfm svneol=native#text/plain
components/lazsvnpkg/svnupdateform.pas svneol=native#text/plain
components/lazthread/languages/reglazthread.de.po svneol=native#text/plain
components/lazthread/languages/reglazthread.fr.po svneol=native#text/plain
components/lazthread/languages/reglazthread.hu.po svneol=native#text/plain
components/lazthread/languages/reglazthread.it.po svneol=native#text/plain
components/lazthread/languages/reglazthread.lt.po svneol=native#text/plain
components/lazthread/languages/reglazthread.pot svneol=native#text/plain
components/lazthread/languages/reglazthread.pt_BR.po svneol=native#text/plain
components/lazthread/languages/reglazthread.ru.po svneol=native#text/plain
components/lazthread/languages/reglazthread.uk.po svneol=native#text/plain
components/lazthread/languages/reglazthread.zh_CN.po svneol=native#text/plain
components/lazthread/languages/threadoptionsdialog.de.po svneol=native#text/plain
components/lazthread/languages/threadoptionsdialog.fr.po svneol=native#text/plain
components/lazthread/languages/threadoptionsdialog.hu.po svneol=native#text/plain
components/lazthread/languages/threadoptionsdialog.it.po svneol=native#text/plain
components/lazthread/languages/threadoptionsdialog.lt.po svneol=native#text/plain
components/lazthread/languages/threadoptionsdialog.pot svneol=native#text/plain
components/lazthread/languages/threadoptionsdialog.pt_BR.po svneol=native#text/plain
components/lazthread/languages/threadoptionsdialog.ru.po svneol=native#text/plain
components/lazthread/languages/threadoptionsdialog.uk.po svneol=native#text/plain
components/lazthread/languages/threadoptionsdialog.zh_CN.po svneol=native#text/plain
components/lazthread/languages/lazthreadstrconst.de.po svneol=native#text/plain
components/lazthread/languages/lazthreadstrconst.fr.po svneol=native#text/plain
components/lazthread/languages/lazthreadstrconst.hu.po svneol=native#text/plain
components/lazthread/languages/lazthreadstrconst.it.po svneol=native#text/plain
components/lazthread/languages/lazthreadstrconst.lt.po svneol=native#text/plain
components/lazthread/languages/lazthreadstrconst.pot svneol=native#text/plain
components/lazthread/languages/lazthreadstrconst.pt_BR.po svneol=native#text/plain
components/lazthread/languages/lazthreadstrconst.ru.po svneol=native#text/plain
components/lazthread/languages/lazthreadstrconst.uk.po svneol=native#text/plain
components/lazthread/languages/lazthreadstrconst.zh_CN.po svneol=native#text/plain
components/lazthread/lazthread.lpk svneol=native#text/plain
components/lazthread/lazthread.pas svneol=native#text/plain
components/lazthread/lazthreadstrconst.pas svneol=native#text/pascal
components/lazthread/reglazthread.pas svneol=native#text/plain
components/lazthread/threadoptionsdialog.lfm svneol=native#text/plain
components/lazthread/threadoptionsdialog.pas svneol=native#text/plain

View File

@ -10,19 +10,27 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.4\n"
#: threadoptionsdialog.screateunitbuttoncaption
#: lazthreadstrconst.screateunitbuttoncaption
msgid "Create Unit"
msgstr "Unit erzeugen"
#: threadoptionsdialog.soptionsgroupboxcaption
#: lazthreadstrconst.soptionsgroupboxcaption
msgid "Options"
msgstr "Einstellungen"
#: threadoptionsdialog.sthreaddialogtitle
#: lazthreadstrconst.sthreaddescription
msgid "A Pascal unit with a subclass of TThread class."
msgstr "Eine Pascal-Unit mit einer Unterklasse der TThread-Klasse."
#: lazthreadstrconst.sthreaddialogtitle
msgid "Thread Class Options"
msgstr "Thread-Klasseneinstellungen"
#: threadoptionsdialog.sthreadnamelabelcaption
#: lazthreadstrconst.sthreadname
msgid "Thread Object"
msgstr "Thread-Objekt"
#: lazthreadstrconst.sthreadnamelabelcaption
msgid "Thread Class Name"
msgstr "Thread-Klassenname"

View File

@ -11,11 +11,27 @@ msgstr ""
"Language: fr\n"
"X-Generator: Poedit 2.2.1\n"
#: reglazthread.sthreaddescription
#: lazthreadstrconst.screateunitbuttoncaption
msgid "Create Unit"
msgstr "Créer l'unité"
#: lazthreadstrconst.soptionsgroupboxcaption
msgid "Options"
msgstr "Options"
#: lazthreadstrconst.sthreaddescription
msgid "A Pascal unit with a subclass of TThread class."
msgstr "Une unité Pascal avec un descendant de la classe TThread."
#: reglazthread.sthreadname
#: lazthreadstrconst.sthreaddialogtitle
msgid "Thread Class Options"
msgstr "Options de tâche"
#: lazthreadstrconst.sthreadname
msgid "Thread Object"
msgstr "Objet tâche"
#: lazthreadstrconst.sthreadnamelabelcaption
msgid "Thread Class Name"
msgstr "Nom de la classe de la tâche"

View File

@ -11,19 +11,27 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.4\n"
#: threadoptionsdialog.screateunitbuttoncaption
#: lazthreadstrconst.screateunitbuttoncaption
msgid "Create Unit"
msgstr "Unit létrehozása"
#: threadoptionsdialog.soptionsgroupboxcaption
#: lazthreadstrconst.soptionsgroupboxcaption
msgid "Options"
msgstr "Beállítások"
#: threadoptionsdialog.sthreaddialogtitle
#: lazthreadstrconst.sthreaddescription
msgid "A Pascal unit with a subclass of TThread class."
msgstr "Pascal unit egy TThread alosztállyal."
#: lazthreadstrconst.sthreaddialogtitle
msgid "Thread Class Options"
msgstr "Szál-osztály beállításai"
#: threadoptionsdialog.sthreadnamelabelcaption
#: lazthreadstrconst.sthreadname
msgid "Thread Object"
msgstr "Szál objektum"
#: lazthreadstrconst.sthreadnamelabelcaption
msgid "Thread Class Name"
msgstr "Szál-osztály neve"

View File

@ -10,11 +10,27 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Virtaal 0.6.1\n"
#: reglazthread.sthreaddescription
#: lazthreadstrconst.screateunitbuttoncaption
msgid "Create Unit"
msgstr "Creare la unit"
#: lazthreadstrconst.soptionsgroupboxcaption
msgid "Options"
msgstr "Opzioni"
#: lazthreadstrconst.sthreaddescription
msgid "A Pascal unit with a subclass of TThread class."
msgstr "Una unit Pascal con una classe derivata da TThread"
#: reglazthread.sthreadname
#: lazthreadstrconst.sthreaddialogtitle
msgid "Thread Class Options"
msgstr "Opzioni della classe Thread"
#: lazthreadstrconst.sthreadname
msgid "Thread Object"
msgstr "Oggetto Thread"
#: lazthreadstrconst.sthreadnamelabelcaption
msgid "Thread Class Name"
msgstr "Nome della classe Thread"

View File

@ -12,19 +12,27 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Lokalize 2.0\n"
#: threadoptionsdialog.screateunitbuttoncaption
#: lazthreadstrconst.screateunitbuttoncaption
msgid "Create Unit"
msgstr "Kurti modulį"
#: threadoptionsdialog.soptionsgroupboxcaption
#: lazthreadstrconst.soptionsgroupboxcaption
msgid "Options"
msgstr "Nuostatos"
#: threadoptionsdialog.sthreaddialogtitle
#: lazthreadstrconst.sthreaddescription
msgid "A Pascal unit with a subclass of TThread class."
msgstr "„Pascal“ modulis su klasės „TThread“ poklasiu."
#: lazthreadstrconst.sthreaddialogtitle
msgid "Thread Class Options"
msgstr "Gijos klasės nuostatos"
#: threadoptionsdialog.sthreadnamelabelcaption
#: lazthreadstrconst.sthreadname
msgid "Thread Object"
msgstr "Gijos objektas"
#: lazthreadstrconst.sthreadnamelabelcaption
msgid "Thread Class Name"
msgstr "Gijos klasės pavadinimas"

View File

@ -0,0 +1,27 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
#: lazthreadstrconst.screateunitbuttoncaption
msgid "Create Unit"
msgstr ""
#: lazthreadstrconst.soptionsgroupboxcaption
msgid "Options"
msgstr ""
#: lazthreadstrconst.sthreaddescription
msgid "A Pascal unit with a subclass of TThread class."
msgstr ""
#: lazthreadstrconst.sthreaddialogtitle
msgid "Thread Class Options"
msgstr ""
#: lazthreadstrconst.sthreadname
msgid "Thread Object"
msgstr ""
#: lazthreadstrconst.sthreadnamelabelcaption
msgid "Thread Class Name"
msgstr ""

View File

@ -11,19 +11,27 @@ msgstr ""
"Language: pt_BR\n"
"X-Generator: Poedit 1.8.13\n"
#: threadoptionsdialog.screateunitbuttoncaption
#: lazthreadstrconst.screateunitbuttoncaption
msgid "Create Unit"
msgstr "Criar Unidade"
#: threadoptionsdialog.soptionsgroupboxcaption
#: lazthreadstrconst.soptionsgroupboxcaption
msgid "Options"
msgstr "Opções"
#: threadoptionsdialog.sthreaddialogtitle
#: lazthreadstrconst.sthreaddescription
msgid "A Pascal unit with a subclass of TThread class."
msgstr "Uma unidade Pascal com uma subclasse da classe TThread."
#: lazthreadstrconst.sthreaddialogtitle
msgid "Thread Class Options"
msgstr "Opções Classe Thread"
#: threadoptionsdialog.sthreadnamelabelcaption
#: lazthreadstrconst.sthreadname
msgid "Thread Object"
msgstr "Objeto Thread"
#: lazthreadstrconst.sthreadnamelabelcaption
msgid "Thread Class Name"
msgstr "Nome Classe Thread"

View File

@ -9,19 +9,27 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
#: threadoptionsdialog.screateunitbuttoncaption
#: lazthreadstrconst.screateunitbuttoncaption
msgid "Create Unit"
msgstr "Создать модуль"
#: threadoptionsdialog.soptionsgroupboxcaption
#: lazthreadstrconst.soptionsgroupboxcaption
msgid "Options"
msgstr "Параметры"
#: threadoptionsdialog.sthreaddialogtitle
#: lazthreadstrconst.sthreaddescription
msgid "A Pascal unit with a subclass of TThread class."
msgstr "Модуль Паскаля с потомком класса TThread."
#: lazthreadstrconst.sthreaddialogtitle
msgid "Thread Class Options"
msgstr "Параметры класса потока исполнения"
#: threadoptionsdialog.sthreadnamelabelcaption
#: lazthreadstrconst.sthreadname
msgid "Thread Object"
msgstr "Объект потока исполнения"
#: lazthreadstrconst.sthreadnamelabelcaption
msgid "Thread Class Name"
msgstr "Имя класса потока исполнения"

View File

@ -13,19 +13,27 @@ msgstr ""
"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"
"X-Generator: Lokalize 1.5\n"
#: threadoptionsdialog.screateunitbuttoncaption
#: lazthreadstrconst.screateunitbuttoncaption
msgid "Create Unit"
msgstr "Створити модуль"
#: threadoptionsdialog.soptionsgroupboxcaption
#: lazthreadstrconst.soptionsgroupboxcaption
msgid "Options"
msgstr "Параметри"
#: threadoptionsdialog.sthreaddialogtitle
#: lazthreadstrconst.sthreaddescription
msgid "A Pascal unit with a subclass of TThread class."
msgstr "Модуль Паскаля з нащадком класу TThread."
#: lazthreadstrconst.sthreaddialogtitle
msgid "Thread Class Options"
msgstr "Параметри класу потоку виконання"
#: threadoptionsdialog.sthreadnamelabelcaption
#: lazthreadstrconst.sthreadname
msgid "Thread Object"
msgstr "Об'єкт потоку виконання"
#: lazthreadstrconst.sthreadnamelabelcaption
msgid "Thread Class Name"
msgstr "Назва класу потоку виконання"

View File

@ -12,19 +12,27 @@ msgstr ""
"X-Generator: Poedit 1.8.7.1\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: threadoptionsdialog.screateunitbuttoncaption
#: lazthreadstrconst.screateunitbuttoncaption
msgid "Create Unit"
msgstr "创建单元"
#: threadoptionsdialog.soptionsgroupboxcaption
#: lazthreadstrconst.soptionsgroupboxcaption
msgid "Options"
msgstr "选项"
#: threadoptionsdialog.sthreaddialogtitle
#: lazthreadstrconst.sthreaddescription
msgid "A Pascal unit with a subclass of TThread class."
msgstr "一个带有TThread 类的子类的Pascal unit"
#: lazthreadstrconst.sthreaddialogtitle
msgid "Thread Class Options"
msgstr "Thread类选项"
#: threadoptionsdialog.sthreadnamelabelcaption
#: lazthreadstrconst.sthreadname
msgid "Thread Object"
msgstr "Thread对象"
#: lazthreadstrconst.sthreadnamelabelcaption
msgid "Thread Class Name"
msgstr "Thread类名称"

View File

@ -1,20 +0,0 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Swen Heinig <swen@heinig.email>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.4\n"
#: reglazthread.sthreaddescription
msgid "A Pascal unit with a subclass of TThread class."
msgstr "Eine Pascal-Unit mit einer Unterklasse der TThread-Klasse."
#: reglazthread.sthreadname
msgid "Thread Object"
msgstr "Thread-Objekt"

View File

@ -1,21 +0,0 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Péter Gábor <ptrg@freemail.hu>\n"
"Language-Team: Magyar (Hungarian)\n"
"Language: hu\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.4\n"
#: reglazthread.sthreaddescription
msgid "A Pascal unit with a subclass of TThread class."
msgstr "Pascal unit egy TThread alosztállyal."
#: reglazthread.sthreadname
msgid "Thread Object"
msgstr "Szál objektum"

View File

@ -1,22 +0,0 @@
# Valdas Jankunas <zmuogs@gmail.com>, 2017.
msgid ""
msgstr ""
"Last-Translator: Valdas Jankunas <zmuogs@gmail.com>\n"
"PO-Revision-Date: 2017-07-05 17:37+0200\n"
"Project-Id-Version: \n"
"Language-Team: Lithuanian <kde-i18n-lt@kde.org>\n"
"Language: lt\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"MIME-Version: 1.0\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Lokalize 2.0\n"
#: reglazthread.sthreaddescription
msgid "A Pascal unit with a subclass of TThread class."
msgstr "„Pascal“ modulis su klasės „TThread“ poklasiu."
#: reglazthread.sthreadname
msgid "Thread Object"
msgstr "Gijos objektas"

View File

@ -1,11 +0,0 @@
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

@ -1,21 +0,0 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Marcelo B Paula <marcelo.bp@netsite.com.br>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pt_BR\n"
"X-Generator: Poedit 1.8.13\n"
#: reglazthread.sthreaddescription
msgid "A Pascal unit with a subclass of TThread class."
msgstr "Uma unidade Pascal com uma subclasse da classe TThread."
#: reglazthread.sthreadname
msgid "Thread Object"
msgstr "Objeto Thread"

View File

@ -1,19 +0,0 @@
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

@ -1,23 +0,0 @@
# Olexandr Pylypchuk <pilipchukap@rambler.ru>, 2017.
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2017-03-30 01:44+0300\n"
"Last-Translator: Olexandr Pylypchuk <pilipchukap@rambler.ru>\n"
"Language-Team: Ukrainian <kde-i18n-doc@kde.org>\n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: uk\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"
"X-Generator: Lokalize 1.5\n"
#: reglazthread.sthreaddescription
msgid "A Pascal unit with a subclass of TThread class."
msgstr "Модуль Паскаля з нащадком класу TThread."
#: reglazthread.sthreadname
msgid "Thread Object"
msgstr "Об'єкт потоку виконання"

View File

@ -1,22 +0,0 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: X\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: 郑建平@夏宗萍 aka robsean <robsean@126.com>\n"
"Language-Team: http://www.microsystem.studio\n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: zh_CN\n"
"X-Generator: Poedit 1.8.7.1\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: reglazthread.sthreaddescription
msgid "A Pascal unit with a subclass of TThread class."
msgstr "一个带有TThread 类的子类的Pascal unit"
#: reglazthread.sthreadname
msgid "Thread Object"
msgstr "Thread对象"

View File

@ -1,29 +0,0 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: http://lazarus.developpez.com/\n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fr\n"
"X-Generator: Poedit 2.2.1\n"
#: threadoptionsdialog.screateunitbuttoncaption
msgid "Create Unit"
msgstr "Créer l'unité"
#: threadoptionsdialog.soptionsgroupboxcaption
msgid "Options"
msgstr "Options"
#: threadoptionsdialog.sthreaddialogtitle
msgid "Thread Class Options"
msgstr "Options de tâche"
#: threadoptionsdialog.sthreadnamelabelcaption
msgid "Thread Class Name"
msgstr "Nom de la classe de la tâche"

View File

@ -1,28 +0,0 @@
# Giuliano Colla <giuliano.colla@fastwebnet.it>, 2014.
msgid ""
msgstr ""
"PO-Revision-Date: 2014-10-17 10:19+0200\n"
"Last-Translator: Giuliano Colla <giuliano.colla@fastwebnet.it>\n"
"Language-Team: Lazarus\n"
"Language: it\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Virtaal 0.6.1\n"
#: threadoptionsdialog.screateunitbuttoncaption
msgid "Create Unit"
msgstr "Creare la unit"
#: threadoptionsdialog.soptionsgroupboxcaption
msgid "Options"
msgstr "Opzioni"
#: threadoptionsdialog.sthreaddialogtitle
msgid "Thread Class Options"
msgstr "Opzioni della classe Thread"
#: threadoptionsdialog.sthreadnamelabelcaption
msgid "Thread Class Name"
msgstr "Nome della classe Thread"

View File

@ -1,19 +0,0 @@
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

@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<Package Version="4">
<Package Version="5">
<Name Value="lazthread"/>
<Type Value="RunAndDesignTime"/>
<AddToProjectUsesSection Value="True"/>
<Author Value="Carlos German Tejero"/>
<CompilerOptions>
@ -19,7 +20,7 @@
"/>
<License Value="modified LGPL. See the file COPYING.modifiedLGPL for details.
"/>
<Files Count="2">
<Files Count="3">
<Item1>
<Filename Value="reglazthread.pas"/>
<HasRegisterProc Value="True"/>
@ -29,12 +30,16 @@
<Filename Value="threadoptionsdialog.pas"/>
<UnitName Value="ThreadOptionsDialog"/>
</Item2>
<Item3>
<Filename Value="lazthreadstrconst.pas"/>
<UnitName Value="lazthreadstrconst"/>
</Item3>
</Files>
<CompatibilityMode Value="True"/>
<i18n>
<EnableI18N Value="True"/>
<OutDir Value="languages"/>
</i18n>
<Type Value="RunAndDesignTime"/>
<RequiredPkgs Count="3">
<Item1>
<PackageName Value="IDEIntf"/>
@ -52,7 +57,6 @@
</UsageOptions>
<PublishOptions>
<Version Value="2"/>
<IgnoreBinaries Value="False"/>
</PublishOptions>
</Package>
</CONFIG>

View File

@ -8,7 +8,7 @@ unit lazthread;
interface
uses
RegLazThread, ThreadOptionsDialog, LazarusPackageIntf;
RegLazThread, ThreadOptionsDialog, lazthreadstrconst, LazarusPackageIntf;
implementation

View File

@ -0,0 +1,18 @@
unit lazthreadstrconst;
{$mode objfpc}{$H+}
interface
resourcestring
SThreadName = 'Thread Object';
SThreadDescription = 'A Pascal unit with a subclass of TThread class.';
SThreadDialogTitle = 'Thread Class Options';
SOptionsGroupBoxCaption = 'Options';
SThreadNameLabelCaption = 'Thread Class Name';
SCreateUnitButtonCaption = 'Create Unit';
implementation
end.

View File

@ -12,7 +12,7 @@ unit RegLazThread;
interface
uses
Classes, SysUtils, ProjectIntf, LazIdeIntf;
Classes, SysUtils, ProjectIntf, LazIdeIntf, lazthreadstrconst;
type
{ TThreadFileDescriptor }
@ -37,10 +37,6 @@ implementation
uses
Controls, ThreadOptionsDialog;
resourcestring
SThreadName = 'Thread Object';
SThreadDescription = 'A Pascal unit with a subclass of TThread class.';
//---------------//
procedure register;
begin

View File

@ -12,7 +12,7 @@ unit ThreadOptionsDialog;
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls;
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls, lazthreadstrconst;
type
@ -34,12 +34,6 @@ implementation
{$R threadoptionsdialog.lfm}
resourcestring
SThreadDialogTitle = 'Thread Class Options';
SOptionsGroupBoxCaption = 'Options';
SThreadNameLabelCaption = 'Thread Class Name';
SCreateUnitButtonCaption = 'Create Unit';
{ TThreadOptionsDialog }
//--------------------------------------------------------//