mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 22:19:18 +02:00
LCL: TForm.Create: give a hint how to fix resourceless forms
git-svn-id: trunk@29267 -
This commit is contained in:
parent
dca336b627
commit
950a89dbc3
@ -1880,7 +1880,8 @@ begin
|
|||||||
Include(FFormState, fsCreating);
|
Include(FFormState, fsCreating);
|
||||||
try
|
try
|
||||||
if not InitResourceComponent(Self, TForm) then
|
if not InitResourceComponent(Self, TForm) then
|
||||||
raise EResNotFound.CreateFmt(rsResourceNotFound, [ClassName]);
|
raise EResNotFound.CreateFmt(
|
||||||
|
rsFormResourceSNotFoundForResourcelessFormsCreateNew, [ClassName]);
|
||||||
finally
|
finally
|
||||||
Exclude(FFormState, fsCreating);
|
Exclude(FFormState, fsCreating);
|
||||||
end;
|
end;
|
||||||
|
@ -530,6 +530,10 @@ msgstr "FixedRows (files fixades) no poden ser >= RowCount (recompte de files)"
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "Formació del corrent \"%s\" amb error: %s"
|
msgstr "Formació del corrent \"%s\" amb error: %s"
|
||||||
|
@ -528,6 +528,10 @@ msgstr "FixedRows nemůže být >= RowCount"
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr "Formulář"
|
msgstr "Formulář"
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "Chyba zřetězení \"%s\" chyba: %s"
|
msgstr "Chyba zřetězení \"%s\" chyba: %s"
|
||||||
|
@ -533,6 +533,10 @@ msgstr "FixedRows kann nicht größer/gleich RowCount sein"
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr "Form"
|
msgstr "Form"
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "Form-Streaming \"%s\" Fehler: %s"
|
msgstr "Form-Streaming \"%s\" Fehler: %s"
|
||||||
|
@ -530,6 +530,10 @@ msgstr "FixedRows no puede ser >= RowCount"
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr "Formulario"
|
msgstr "Formulario"
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "Flujo de Formulario \"%s\" error: %s"
|
msgstr "Flujo de Formulario \"%s\" error: %s"
|
||||||
|
@ -521,6 +521,10 @@ msgstr "FixedRows ei voi olla suurempi kuin kaikkien rivien määrä (RowCount)"
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -532,6 +532,10 @@ msgstr "FixedRows ne peut pas être supérieur RowCount"
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "Dans le flux de fiche \"%s\" : erreur %s"
|
msgstr "Dans le flux de fiche \"%s\" : erreur %s"
|
||||||
|
@ -526,6 +526,10 @@ msgstr "FixedRows can't be >= RowCount"
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr "טופס"
|
msgstr "טופס"
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "זרימת טופס \"%s\" שגיאה: %s"
|
msgstr "זרימת טופס \"%s\" שגיאה: %s"
|
||||||
|
@ -531,6 +531,10 @@ msgstr "FixedRows tidak bisa >= RowCount"
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "Pengaliran form \"%s\" salah: %s"
|
msgstr "Pengaliran form \"%s\" salah: %s"
|
||||||
|
@ -529,6 +529,10 @@ msgstr "FixedRows non può essere >= RowCount"
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr "Form"
|
msgstr "Form"
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "Streaming della form \"%s\" errore: %s"
|
msgstr "Streaming della form \"%s\" errore: %s"
|
||||||
|
@ -532,6 +532,10 @@ msgstr "„FixedRows“ reikšmė negali būti lygi ar didesnė nei „RowCount
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr "Forma"
|
msgstr "Forma"
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "Formą siunčiant srautu „%s“ įvyko klaida: %s"
|
msgstr "Formą siunčiant srautu „%s“ įvyko klaida: %s"
|
||||||
|
@ -530,6 +530,10 @@ msgstr "FixedRows kan niet >= RowCount"
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "\"%s\" fout: %s bij het streamen van form."
|
msgstr "\"%s\" fout: %s bij het streamen van form."
|
||||||
|
@ -530,6 +530,10 @@ msgstr "FixedRows kan ikke være >= RowCount"
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "Form streaming \"%s\" feil: %s"
|
msgstr "Form streaming \"%s\" feil: %s"
|
||||||
|
@ -532,6 +532,10 @@ msgstr "FixedRows nie może być >= RowCount"
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "Błąd przy zapisie formularza do strumienia \"%s\": %s"
|
msgstr "Błąd przy zapisie formularza do strumienia \"%s\": %s"
|
||||||
|
@ -521,6 +521,10 @@ msgstr ""
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -529,6 +529,10 @@ msgstr "\"FixedRows\" não pode ser >= \"RowCount\""
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr "Formulário"
|
msgstr "Formulário"
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "Fluxo formulário \"%s\" com erro: %s"
|
msgstr "Fluxo formulário \"%s\" com erro: %s"
|
||||||
|
@ -529,6 +529,10 @@ msgstr "\"FixedRows\" não pode ser >= \"RowCount\""
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr "Formulário"
|
msgstr "Formulário"
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "Fluxo formulário \"%s\" com erro: %s"
|
msgstr "Fluxo formulário \"%s\" com erro: %s"
|
||||||
|
@ -528,6 +528,10 @@ msgstr "FixedRows не может быть >= RowCount"
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr "Форма"
|
msgstr "Форма"
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "Ошибка потоков \"%s\" форм: %s"
|
msgstr "Ошибка потоков \"%s\" форм: %s"
|
||||||
|
@ -535,6 +535,10 @@ msgstr "FixedRows nemôže byť >= RowCount"
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "Chyba streamovania formulára \"%s\": %s"
|
msgstr "Chyba streamovania formulára \"%s\": %s"
|
||||||
|
@ -530,6 +530,10 @@ msgstr "FixedRows >= RowCount olamaz"
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "Form akışı \"%s\" hatası: %s"
|
msgstr "Form akışı \"%s\" hatası: %s"
|
||||||
|
@ -523,6 +523,10 @@ msgstr "FixedRows не може бути >= RowCount"
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "Помилка потоків \"%s\" форм: %s"
|
msgstr "Помилка потоків \"%s\" форм: %s"
|
||||||
|
@ -533,6 +533,10 @@ msgstr "FixedRows 不能 >= RowCount"
|
|||||||
msgid "Form"
|
msgid "Form"
|
||||||
msgstr "窗体"
|
msgstr "窗体"
|
||||||
|
|
||||||
|
#: lclstrconsts.rsformresourcesnotfoundforresourcelessformscreatenew
|
||||||
|
msgid "Form resource %s not found. For resourceless forms CreateNew constructor must be used."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: lclstrconsts.rsformstreamingerror
|
#: lclstrconsts.rsformstreamingerror
|
||||||
msgid "Form streaming \"%s\" error: %s"
|
msgid "Form streaming \"%s\" error: %s"
|
||||||
msgstr "窗体流 \"%s\" 错误: %s"
|
msgstr "窗体流 \"%s\" 错误: %s"
|
||||||
|
@ -254,6 +254,8 @@ resourceString
|
|||||||
rsControlHasNoParentWindow = 'Control ''%s'' has no parent window';
|
rsControlHasNoParentWindow = 'Control ''%s'' has no parent window';
|
||||||
rsControlClassCantContainChildClass = 'Control of class ''%s'' can''t have control of class ''%s'' as a child';
|
rsControlClassCantContainChildClass = 'Control of class ''%s'' can''t have control of class ''%s'' as a child';
|
||||||
lisLCLResourceSNotFound = 'Resource %s not found';
|
lisLCLResourceSNotFound = 'Resource %s not found';
|
||||||
|
rsFormResourceSNotFoundForResourcelessFormsCreateNew = 'Form resource %s '
|
||||||
|
+'not found. For resourceless forms CreateNew constructor must be used.';
|
||||||
rsErrorCreatingDeviceContext = 'Error creating device context for %s.%s';
|
rsErrorCreatingDeviceContext = 'Error creating device context for %s.%s';
|
||||||
rsIndexOutOfBounds = '%s Index %d out of bounds 0 .. %d';
|
rsIndexOutOfBounds = '%s Index %d out of bounds 0 .. %d';
|
||||||
rsUnknownPictureExtension = 'Unknown picture extension';
|
rsUnknownPictureExtension = 'Unknown picture extension';
|
||||||
|
Loading…
Reference in New Issue
Block a user