diff --git a/.gitattributes b/.gitattributes index 2dfa20517c..587e038156 100644 --- a/.gitattributes +++ b/.gitattributes @@ -11266,6 +11266,7 @@ tools/install/win/readme.txt svneol=native#text/plain tools/install/win/svn2revisioninc.bat svneol=native#text/x-msdos-program tools/jsonviewer/README.txt svneol=native#text/plain tools/jsonviewer/frmcreatecode.lfm svneol=native#text/plain +tools/jsonviewer/frmcreatecode.lrj svneol=native#text/plain tools/jsonviewer/frmcreatecode.pp svneol=native#text/plain tools/jsonviewer/frmmain.lfm svneol=native#text/plain tools/jsonviewer/frmmain.lrj svneol=native#text/plain diff --git a/tools/jsonviewer/frmcreatecode.lrj b/tools/jsonviewer/frmcreatecode.lrj new file mode 100644 index 0000000000..330a1c2b10 --- /dev/null +++ b/tools/jsonviewer/frmcreatecode.lrj @@ -0,0 +1,15 @@ +{"version":1,"strings":[ +{"hash":70825109,"name":"tcreatecodeform.caption","sourcebytes":[67,114,101,97,116,101,32,112,97,115,99,97,108,32,99,111,100,101],"value":"Create pascal code"}, +{"hash":108725763,"name":"tcreatecodeform.tsoptions.caption","sourcebytes":[79,112,116,105,111,110,115],"value":"Options"}, +{"hash":315429,"name":"tcreatecodeform.lfecode.caption","sourcebytes":[70,105,108,101],"value":"File"}, +{"hash":84192340,"name":"tcreatecodeform.lseindent.caption","sourcebytes":[73,110,100,101,110,116],"value":"Indent"}, +{"hash":6757477,"name":"tcreatecodeform.leunitname.caption","sourcebytes":[85,110,105,116,32,110,97,109,101],"value":"Unit name"}, +{"hash":28802920,"name":"tcreatecodeform.leunitname1.caption","sourcebytes":[70,105,101,108,100,32,80,114,101,102,105,120],"value":"Field Prefix"}, +{"hash":95750072,"name":"tcreatecodeform.lepropertytypesuffix.caption","sourcebytes":[80,114,111,112,101,114,116,121,32,116,121,112,101,32,115,117,102,102,105,120],"value":"Property type suffix"}, +{"hash":244063459,"name":"tcreatecodeform.leconstructorargslabel1.caption","sourcebytes":[67,111,110,115,116,114,117,99,116,111,114,32,97,114,103,117,109,101,110,116,115],"value":"Constructor arguments"}, +{"hash":161151955,"name":"tcreatecodeform.eextraunitnames.texthint","sourcebytes":[85,110,105,116,32,110,97,109,101,115,44,32,115,101,112,97,114,97,116,101,100,32,98,121,32,99,111,109,109,97,115],"value":"Unit names, separated by commas"}, +{"hash":147652499,"name":"tcreatecodeform.lextraunitnames.caption","sourcebytes":[69,120,116,114,97,32,117,110,105,116,115,32,105,110,32,117,115,101,115],"value":"Extra units in uses"}, +{"hash":110238403,"name":"tcreatecodeform.lparentname.caption","sourcebytes":[79,98,106,101,99,116,32,80,97,114,101,110,116,32,99,108,97,115,115],"value":"Object Parent class"}, +{"hash":13910547,"name":"tcreatecodeform.cgoptions.caption","sourcebytes":[79,116,104,101,114,32,111,112,116,105,111,110,115],"value":"Other options"}, +{"hash":126668695,"name":"tcreatecodeform.tscode.caption","sourcebytes":[80,114,101,118,105,101,119],"value":"Preview"} +]} diff --git a/tools/jsonviewer/frmmain.lfm b/tools/jsonviewer/frmmain.lfm index 00aa509a40..f2b5d80c46 100644 --- a/tools/jsonviewer/frmmain.lfm +++ b/tools/jsonviewer/frmmain.lfm @@ -4,7 +4,7 @@ object MainForm: TMainForm Top = 125 Width = 695 Caption = 'JSON Viewer' - ClientHeight = 486 + ClientHeight = 489 ClientWidth = 695 Icon.Data = { 7E04000000000100010010100000010020006804000016000000280000001000 @@ -139,13 +139,12 @@ object MainForm: TMainForm end object PCJSON: TPageControl Left = 0 - Height = 460 + Height = 463 Top = 26 Width = 695 Align = alClient TabOrder = 1 OnCloseTabClicked = PCJSONCloseTabClicked - OnGetImageIndex = PCJSONGetImageIndex Options = [nboShowCloseButtons] end object ALJSON: TActionList diff --git a/tools/jsonviewer/frmmain.pp b/tools/jsonviewer/frmmain.pp index 0dca8f9690..16db330bdb 100644 --- a/tools/jsonviewer/frmmain.pp +++ b/tools/jsonviewer/frmmain.pp @@ -214,7 +214,6 @@ type procedure MISortMembersClick(Sender: TObject); procedure MIStrictClick(Sender: TObject); procedure PCJSONCloseTabClicked(Sender: TObject); - procedure PCJSONGetImageIndex(Sender: TObject; TabIndex: Integer; var ImageIndex: Integer); procedure PSMainStoredValues0Restore(Sender: TStoredValue; var Value: TStoredType); procedure PSMainStoredValues1Restore(Sender: TStoredValue; @@ -381,11 +380,6 @@ begin Application.ReleaseComponent(Sender as TJSONTab); end; -procedure TMainForm.PCJSONGetImageIndex(Sender: TObject; TabIndex: Integer; var ImageIndex: Integer); -begin - -end; - procedure TMainForm.PSMainStoredValues0Restore(Sender: TStoredValue; var Value: TStoredType); diff --git a/tools/jsonviewer/languages/jsonviewer.cs.po b/tools/jsonviewer/languages/jsonviewer.cs.po index c060a8d64a..15b6611360 100644 --- a/tools/jsonviewer/languages/jsonviewer.cs.po +++ b/tools/jsonviewer/languages/jsonviewer.cs.po @@ -38,7 +38,7 @@ msgid "JSON document modified" msgstr "JSON dokument upraven" #: msgjsonviewer.sdocumentmodifiedaction -#, fuzzy +#, fuzzy,badformat #| msgid "" #| "The JSON data was changed but not saved.\n" #| "What do want to do ?\n" diff --git a/tools/jsonviewer/languages/jsonviewer.de.po b/tools/jsonviewer/languages/jsonviewer.de.po index 6dc07a0a7a..434cc2963b 100644 --- a/tools/jsonviewer/languages/jsonviewer.de.po +++ b/tools/jsonviewer/languages/jsonviewer.de.po @@ -36,7 +36,7 @@ msgid "JSON document modified" msgstr "JSON-Dokument geändert" #: msgjsonviewer.sdocumentmodifiedaction -#, fuzzy +#, fuzzy,badformat #| msgid "" #| "The JSON data was changed but not saved.\n" #| "What do want to do ?\n" diff --git a/tools/jsonviewer/languages/jsonviewer.es.po b/tools/jsonviewer/languages/jsonviewer.es.po index de73dccace..cbbbfa29a7 100644 --- a/tools/jsonviewer/languages/jsonviewer.es.po +++ b/tools/jsonviewer/languages/jsonviewer.es.po @@ -35,7 +35,7 @@ msgid "JSON document modified" msgstr "Documento JSON modificado" #: msgjsonviewer.sdocumentmodifiedaction -#, fuzzy +#, fuzzy,badformat #| msgid "" #| "The JSON data was changed but not saved.\n" #| "What do want to do ?\n" diff --git a/tools/jsonviewer/languages/jsonviewer.fi.po b/tools/jsonviewer/languages/jsonviewer.fi.po index e22fd836dd..ac28e6a219 100644 --- a/tools/jsonviewer/languages/jsonviewer.fi.po +++ b/tools/jsonviewer/languages/jsonviewer.fi.po @@ -27,7 +27,7 @@ msgid "JSON document modified" msgstr "JSON dokumenttia muokattu" #: msgjsonviewer.sdocumentmodifiedaction -#, fuzzy +#, fuzzy,badformat #| msgid "" #| "The JSON data was changed but not saved.\n" #| "What do want to do ?\n" diff --git a/tools/jsonviewer/languages/jsonviewer.fr.po b/tools/jsonviewer/languages/jsonviewer.fr.po index 7d5081afc5..beb265c399 100644 --- a/tools/jsonviewer/languages/jsonviewer.fr.po +++ b/tools/jsonviewer/languages/jsonviewer.fr.po @@ -38,7 +38,7 @@ msgid "JSON document modified" msgstr "Document JSON modifié" #: msgjsonviewer.sdocumentmodifiedaction -#, fuzzy +#, fuzzy,badformat #| msgid "" #| "The JSON data was changed but not saved.\n" #| "What do want to do ?\n" diff --git a/tools/jsonviewer/languages/jsonviewer.hu.po b/tools/jsonviewer/languages/jsonviewer.hu.po index 90ae3bcac4..b566c02628 100644 --- a/tools/jsonviewer/languages/jsonviewer.hu.po +++ b/tools/jsonviewer/languages/jsonviewer.hu.po @@ -37,7 +37,7 @@ msgid "JSON document modified" msgstr "JSON dokumentum módosítva" #: msgjsonviewer.sdocumentmodifiedaction -#, fuzzy +#, fuzzy,badformat #| msgid "" #| "The JSON data was changed but not saved.\n" #| "What do want to do ?\n" diff --git a/tools/jsonviewer/languages/jsonviewer.it.po b/tools/jsonviewer/languages/jsonviewer.it.po index 152a1707f8..68d9055e27 100644 --- a/tools/jsonviewer/languages/jsonviewer.it.po +++ b/tools/jsonviewer/languages/jsonviewer.it.po @@ -38,7 +38,7 @@ msgid "JSON document modified" msgstr "Documento JSON modificato" #: msgjsonviewer.sdocumentmodifiedaction -#, fuzzy +#, fuzzy,badformat #| msgid "" #| "The JSON data was changed but not saved.\n" #| "What do want to do ?\n" diff --git a/tools/jsonviewer/languages/jsonviewer.lt.po b/tools/jsonviewer/languages/jsonviewer.lt.po index df7a5e5084..0f2212512a 100644 --- a/tools/jsonviewer/languages/jsonviewer.lt.po +++ b/tools/jsonviewer/languages/jsonviewer.lt.po @@ -38,7 +38,7 @@ msgid "JSON document modified" msgstr "JSON dokumente yra pakitimų" #: msgjsonviewer.sdocumentmodifiedaction -#, fuzzy +#, fuzzy,badformat #| msgid "" #| "The JSON data was changed but not saved.\n" #| "What do want to do ?\n" diff --git a/tools/jsonviewer/languages/jsonviewer.pt_BR.po b/tools/jsonviewer/languages/jsonviewer.pt_BR.po index 1570387f54..aaefb95e75 100644 --- a/tools/jsonviewer/languages/jsonviewer.pt_BR.po +++ b/tools/jsonviewer/languages/jsonviewer.pt_BR.po @@ -37,7 +37,7 @@ msgid "JSON document modified" msgstr "Documento JSON modificado" #: msgjsonviewer.sdocumentmodifiedaction -#, fuzzy +#, fuzzy,badformat #| msgid "" #| "The JSON data was changed but not saved.\n" #| "What do want to do ?\n" diff --git a/tools/jsonviewer/languages/jsonviewer.ru.po b/tools/jsonviewer/languages/jsonviewer.ru.po index e8836cdc83..6a9714c7f6 100644 --- a/tools/jsonviewer/languages/jsonviewer.ru.po +++ b/tools/jsonviewer/languages/jsonviewer.ru.po @@ -37,15 +37,11 @@ msgid "JSON document modified" msgstr "Документ JSON был изменён" #: msgjsonviewer.sdocumentmodifiedaction -#, fuzzy -#| msgid "" -#| "The JSON data was changed but not saved.\n" -#| "What do want to do ?\n" msgid "" "The JSON data in \"%s\" was changed but not saved.\n" "What do want to do ?\n" msgstr "" -"Данные JSON были изменены, но не сохранены.\n" +"Данные JSON в \"%s\" были изменены, но не сохранены.\n" "Что следует сделать?\n" #: msgjsonviewer.sduplicatemembername @@ -54,7 +50,7 @@ msgstr "Элемент с именем \"%s\" уже имеется." #: msgjsonviewer.sefilenameneeded msgid "Filename needed for generated code" -msgstr "" +msgstr "Для генерируемого кода требуется имя файла" #: msgjsonviewer.selement msgid "Element nr. %d" @@ -103,59 +99,59 @@ msgstr "Сохранить изменения" #: tcreatecodeform.caption msgctxt "tcreatecodeform.caption" msgid "Create pascal code" -msgstr "" +msgstr "Создание кода на Паскале" #: tcreatecodeform.cgoptions.caption msgid "Other options" -msgstr "" +msgstr "Прочие параметры" #: tcreatecodeform.eextraunitnames.texthint msgid "Unit names, separated by commas" -msgstr "" +msgstr "Имена модулей, разделённые запятыми" #: tcreatecodeform.leconstructorargslabel1.caption msgid "Constructor arguments" -msgstr "" +msgstr "Аргументы конструктора" #: tcreatecodeform.lepropertytypesuffix.caption msgid "Property type suffix" -msgstr "" +msgstr "Суффикс типа свойства" #: tcreatecodeform.leunitname.caption msgid "Unit name" -msgstr "" +msgstr "Имя модуля" #: tcreatecodeform.leunitname1.caption msgid "Field Prefix" -msgstr "" +msgstr "Префикс поля" #: tcreatecodeform.lextraunitnames.caption msgid "Extra units in uses" -msgstr "" +msgstr "Дополнительные модули в Uses" #: tcreatecodeform.lfecode.caption msgid "File" -msgstr "" +msgstr "Файл" #: tcreatecodeform.lparentname.caption msgid "Object Parent class" -msgstr "" +msgstr "Класс предка объекта" #: tcreatecodeform.lseindent.caption msgid "Indent" -msgstr "" +msgstr "Отступ" #: tcreatecodeform.tscode.caption msgid "Preview" -msgstr "" +msgstr "Предварительный просмотр" #: tcreatecodeform.tsoptions.caption msgid "Options" -msgstr "" +msgstr "Параметры" #: tmainform.aclose.caption msgid "&Close" -msgstr "" +msgstr "&Закрыть" #: tmainform.acopy.caption msgid "&Copy" @@ -168,7 +164,7 @@ msgstr "Копировать выбранный элемент в буфер о #: tmainform.acreatecode.caption msgctxt "tmainform.acreatecode.caption" msgid "Create pascal code" -msgstr "" +msgstr "Создать код на Паскале" #: tmainform.acut.caption msgid "C&ut" diff --git a/tools/jsonviewer/languages/jsonviewer.uk.po b/tools/jsonviewer/languages/jsonviewer.uk.po index a83bd85c82..bba7f30eb1 100644 --- a/tools/jsonviewer/languages/jsonviewer.uk.po +++ b/tools/jsonviewer/languages/jsonviewer.uk.po @@ -39,7 +39,7 @@ msgid "JSON document modified" msgstr "Документ JSON був змінений" #: msgjsonviewer.sdocumentmodifiedaction -#, fuzzy +#, fuzzy,badformat #| msgid "" #| "The JSON data was changed but not saved.\n" #| "What do want to do ?\n" diff --git a/tools/jsonviewer/languages/jsonviewer.zh_CN.po b/tools/jsonviewer/languages/jsonviewer.zh_CN.po index 57d0e383b9..6e20074c3f 100644 --- a/tools/jsonviewer/languages/jsonviewer.zh_CN.po +++ b/tools/jsonviewer/languages/jsonviewer.zh_CN.po @@ -38,7 +38,7 @@ msgid "JSON document modified" msgstr "JSON文件已修改" #: msgjsonviewer.sdocumentmodifiedaction -#, fuzzy +#, fuzzy,badformat #| msgid "" #| "The JSON data was changed but not saved.\n" #| "What do want to do ?\n"