From 0909c77620597bd1935c7d291276c90568bae189 Mon Sep 17 00:00:00 2001 From: jesus Date: Mon, 25 Feb 2013 20:51:28 +0000 Subject: [PATCH] LazReport, modified lazreport sample to not requiere PowerPDF by default, added hyphenation sample git-svn-id: trunk@40408 - --- .../editor/languages/calleditorwithpkg.ar.po | 61 ++++++++++--------- .../editor/languages/calleditorwithpkg.de.po | 4 +- .../editor/languages/calleditorwithpkg.es.po | 4 +- .../editor/languages/calleditorwithpkg.fr.po | 4 +- .../editor/languages/calleditorwithpkg.it.po | 5 +- .../editor/languages/calleditorwithpkg.lt.po | 10 ++- .../editor/languages/calleditorwithpkg.po | 4 +- .../languages/calleditorwithpkg.pt_BR.po | 4 +- .../editor/languages/calleditorwithpkg.ru.po | 4 +- .../editor/languages/calleditorwithpkg.uk.po | 4 +- .../samples/editor/maincalleditor.lfm | 56 ++++++++--------- .../samples/editor/maincalleditor.pas | 2 + 12 files changed, 81 insertions(+), 81 deletions(-) diff --git a/components/lazreport/samples/editor/languages/calleditorwithpkg.ar.po b/components/lazreport/samples/editor/languages/calleditorwithpkg.ar.po index 0fd6d26e3c..004456228d 100644 --- a/components/lazreport/samples/editor/languages/calleditorwithpkg.ar.po +++ b/components/lazreport/samples/editor/languages/calleditorwithpkg.ar.po @@ -1,7 +1,7 @@ -# Arabic translation of Free Pascal Lazarus Project. -# Copyright (C) 2012 Lazarus Project -# This file is distributed under the same license as the Lazarus package. -# Khaled Shagrouni , 2012. + Arabic translation of Free Pascal Lazarus Project. + Copyright (C) 2012 Lazarus Project + This file is distributed under the same license as the Lazarus package. + Khaled Shagrouni , 2012. msgid "" msgstr "" "Project-Id-Version: Free Pascal Lazarus Project.\n" @@ -21,12 +21,12 @@ msgstr "" msgid "Active report: %s" msgstr "التقرير النشط %s" + مركّب/ تركيب #: maincalleditor.cerappcaption msgctxt "maincalleditor.cerappcaption" msgid "LazReport Test Suite" msgstr "مجموعة اختبار LazReport" -# مركّب/ تركيب #: maincalleditor.cercomposite msgctxt "maincalleditor.cercomposite" msgid "Composite" @@ -123,100 +123,101 @@ msgctxt "maincalleditor.certhumbnails" msgid "Thumbnails" msgstr "مصغرات" -#: TFRMCUSTOMPREVIEW.FRMCUSTOMPREVIEW.CAPTION +#: tfrmcustompreview.frmcustompreview.caption msgid "frmCustomPreview" msgstr "frmCustomPreview" -#: TFRMCUSTOMPREVIEW.FRPREVIEW1.CAPTION +#: tfrmcustompreview.frpreview1.caption msgctxt "TFRMCUSTOMPREVIEW.FRPREVIEW1.CAPTION" msgid "frPreview1" msgstr "frPreview1" -#: TFRMMAIN.ACCCLOSE.CAPTION +#: tfrmmain.accclose.caption msgid "Close" msgstr "غلق" -#: TFRMMAIN.ACCCOMPOSITE.CAPTION +#: tfrmmain.acccomposite.caption msgctxt "TFRMMAIN.ACCCOMPOSITE.CAPTION" msgid "Composite" msgstr "مركّب" -#: TFRMMAIN.ACCCUSTOMPREVIEW.CAPTION +#: tfrmmain.acccustompreview.caption msgid "Custom Preview" msgstr "معاينة مخصّصة" -#: TFRMMAIN.ACCEDITREPORT.CAPTION +#: tfrmmain.acceditreport.caption msgctxt "TFRMMAIN.ACCEDITREPORT.CAPTION" msgid "Edit Report" msgstr "تحرير التقرير" -#: TFRMMAIN.ACCEXPORTTOCSV.CAPTION +#: tfrmmain.accexporttocsv.caption msgid "Export to CSV" msgstr "تصدير إلى CSV" -#: TFRMMAIN.ACCEXPORTTODBG.CAPTION +#: tfrmmain.accexporttodbg.caption msgid "Export Debug" msgstr "تنقيح التصدير " -#: TFRMMAIN.ACCEXPORTTOHTML.CAPTION +#: tfrmmain.accexporttohtml.caption msgid "Export to html" msgstr "تصدير إلى html" -#: TFRMMAIN.ACCEXPORTTOTEXT.CAPTION +#: tfrmmain.accexporttotext.caption msgid "Export to text" msgstr "تصدير إلى نصّ" -#: TFRMMAIN.ACCNEWREPORT.CAPTION +#: tfrmmain.accnewreport.caption msgid "New Report" msgstr "تقرير جديد" -#: TFRMMAIN.ACCOPENREPORT.CAPTION +#: tfrmmain.accopenreport.caption msgid "Open Report" msgstr "فتح التقرير" -#: TFRMMAIN.ACCPREVIEWREPORT.CAPTION +#: tfrmmain.accpreviewreport.caption msgid "Preview Report" msgstr "معاينة التقرير" -#: TFRMMAIN.ACCPRINTGRID.CAPTION +#: tfrmmain.accprintgrid.caption msgid "Print Grid" msgstr "طباعة الشبكة" -#: TFRMMAIN.ACCPRINTREPORT.CAPTION +#: tfrmmain.accprintreport.caption msgid "Print Report" msgstr "طباعة التقرير" -#: TFRMMAIN.ACCTHUMBNAILS.CAPTION +#: tfrmmain.accthumbnails.caption msgctxt "TFRMMAIN.ACCTHUMBNAILS.CAPTION" msgid "Thumbnails" msgstr "مصغرات" -#: TFRMMAIN.BTNMASTERDETAIL.CAPTION +#: tfrmmain.btnmasterdetail.caption msgid "Master-Detail Test" msgstr "اختبار رئيسي-تفصيل" -#: TFRMMAIN.FRMMAIN.CAPTION -msgctxt "TFRMMAIN.FRMMAIN.CAPTION" +#: tfrmmain.caption +msgctxt "tfrmmain.caption" msgid "LazReport Test Suite" msgstr "مجموعة اختبار LazReport" -#: TFRMMAIN.LBLEXPR.CAPTION +#: tfrmmain.lblexpr.caption msgid "Expression" msgstr "التعبير" -#: TFRMMAIN.LBLINDEX.CAPTION +#: tfrmmain.lblindex.caption msgctxt "TFRMMAIN.LBLINDEX.CAPTION" msgid "Index" msgstr "الفهرس" -#: TFRMMAIN.MENUITEM1.CAPTION +#: tfrmmain.menuitem1.caption msgid "Files" msgstr "الملفات" -#: TFRMMAIN.MENUITEM3.CAPTION +#: tfrmmain.menuitem3.caption msgid "Tests" msgstr "اختبارات" -#: TFRMMAIN.MENUITEM9.CAPTION +#: tfrmmain.menuitem9.caption msgid "Export" -msgstr "تصدير" \ No newline at end of file +msgstr "تصدير" + diff --git a/components/lazreport/samples/editor/languages/calleditorwithpkg.de.po b/components/lazreport/samples/editor/languages/calleditorwithpkg.de.po index 6d5eaa41dd..e9c9ab7396 100644 --- a/components/lazreport/samples/editor/languages/calleditorwithpkg.de.po +++ b/components/lazreport/samples/editor/languages/calleditorwithpkg.de.po @@ -189,8 +189,8 @@ msgstr "Vorschaubilder" msgid "Master-Detail Test" msgstr "" -#: tfrmmain.frmmain.caption -msgctxt "TFRMMAIN.FRMMAIN.CAPTION" +#: tfrmmain.caption +msgctxt "tfrmmain.caption" msgid "LazReport Test Suite" msgstr "Testen des LazReport-Editors" diff --git a/components/lazreport/samples/editor/languages/calleditorwithpkg.es.po b/components/lazreport/samples/editor/languages/calleditorwithpkg.es.po index 60946b0fb4..e446051cf1 100644 --- a/components/lazreport/samples/editor/languages/calleditorwithpkg.es.po +++ b/components/lazreport/samples/editor/languages/calleditorwithpkg.es.po @@ -186,8 +186,8 @@ msgstr "Imágenes" msgid "Master-Detail Test" msgstr "" -#: tfrmmain.frmmain.caption -msgctxt "TFRMMAIN.FRMMAIN.CAPTION" +#: tfrmmain.caption +msgctxt "tfrmmain.caption" msgid "LazReport Test Suite" msgstr "Banco de pruebas de LazReport" diff --git a/components/lazreport/samples/editor/languages/calleditorwithpkg.fr.po b/components/lazreport/samples/editor/languages/calleditorwithpkg.fr.po index c0ea92298a..e8af5cb04c 100644 --- a/components/lazreport/samples/editor/languages/calleditorwithpkg.fr.po +++ b/components/lazreport/samples/editor/languages/calleditorwithpkg.fr.po @@ -190,8 +190,8 @@ msgstr "Vignettes" msgid "Master-Detail Test" msgstr "" -#: tfrmmain.frmmain.caption -msgctxt "TFRMMAIN.FRMMAIN.CAPTION" +#: tfrmmain.caption +msgctxt "tfrmmain.caption" msgid "LazReport Test Suite" msgstr "Suite de tests LazReport " diff --git a/components/lazreport/samples/editor/languages/calleditorwithpkg.it.po b/components/lazreport/samples/editor/languages/calleditorwithpkg.it.po index f6e93a743d..f516c927ac 100644 --- a/components/lazreport/samples/editor/languages/calleditorwithpkg.it.po +++ b/components/lazreport/samples/editor/languages/calleditorwithpkg.it.po @@ -1,4 +1,3 @@ - Massimo Soricetti , 2011. msgid "" msgstr "" "PO-Revision-Date: 2011-04-22 02:11+0200\n" @@ -188,8 +187,8 @@ msgstr "Miniature" msgid "Master-Detail Test" msgstr "Test master-detail" -#: tfrmmain.frmmain.caption -msgctxt "TFRMMAIN.FRMMAIN.CAPTION" +#: tfrmmain.caption +msgctxt "tfrmmain.caption" msgid "LazReport Test Suite" msgstr "" diff --git a/components/lazreport/samples/editor/languages/calleditorwithpkg.lt.po b/components/lazreport/samples/editor/languages/calleditorwithpkg.lt.po index 95769b2467..e612de53d8 100644 --- a/components/lazreport/samples/editor/languages/calleditorwithpkg.lt.po +++ b/components/lazreport/samples/editor/languages/calleditorwithpkg.lt.po @@ -1,4 +1,4 @@ -# Valdas Jankūnas , 2009, 2010, 2012. + Valdas Jankūnas , 2009, 2010, 2012. msgid "" msgstr "" "Project-Id-Version: calleditorwithpkg\n" @@ -10,8 +10,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 1.5\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" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "Language: lt\n" #: maincalleditor.ceractivereport @@ -191,8 +190,8 @@ msgstr "Miniatiūros" msgid "Master-Detail Test" msgstr "Testas pagrindinis-detalės" -#: tfrmmain.frmmain.caption -msgctxt "TFRMMAIN.FRMMAIN.CAPTION" +#: tfrmmain.caption +msgctxt "tfrmmain.caption" msgid "LazReport Test Suite" msgstr "LazReport testavimo paketas" @@ -217,4 +216,3 @@ msgstr "Testai" msgid "Export" msgstr "Eksportas" - diff --git a/components/lazreport/samples/editor/languages/calleditorwithpkg.po b/components/lazreport/samples/editor/languages/calleditorwithpkg.po index 7565d945d0..4c90686317 100644 --- a/components/lazreport/samples/editor/languages/calleditorwithpkg.po +++ b/components/lazreport/samples/editor/languages/calleditorwithpkg.po @@ -181,8 +181,8 @@ msgstr "" msgid "Master-Detail Test" msgstr "" -#: tfrmmain.frmmain.caption -msgctxt "TFRMMAIN.FRMMAIN.CAPTION" +#: tfrmmain.caption +msgctxt "TFRMMAIN.CAPTION" msgid "LazReport Test Suite" msgstr "" diff --git a/components/lazreport/samples/editor/languages/calleditorwithpkg.pt_BR.po b/components/lazreport/samples/editor/languages/calleditorwithpkg.pt_BR.po index 73142230d7..e11872604d 100644 --- a/components/lazreport/samples/editor/languages/calleditorwithpkg.pt_BR.po +++ b/components/lazreport/samples/editor/languages/calleditorwithpkg.pt_BR.po @@ -186,8 +186,8 @@ msgstr "Miniaturas" msgid "Master-Detail Test" msgstr "Teste Mestre-Detalhe" -#: tfrmmain.frmmain.caption -msgctxt "TFRMMAIN.FRMMAIN.CAPTION" +#: tfrmmain.caption +msgctxt "tfrmmain.caption" msgid "LazReport Test Suite" msgstr "Acompanhamento Teste LazReport" diff --git a/components/lazreport/samples/editor/languages/calleditorwithpkg.ru.po b/components/lazreport/samples/editor/languages/calleditorwithpkg.ru.po index e65484cfaa..8573fbe5b4 100644 --- a/components/lazreport/samples/editor/languages/calleditorwithpkg.ru.po +++ b/components/lazreport/samples/editor/languages/calleditorwithpkg.ru.po @@ -186,8 +186,8 @@ msgstr "Эскизы" msgid "Master-Detail Test" msgstr "Режим 'главный-подчинённый'" -#: tfrmmain.frmmain.caption -msgctxt "TFRMMAIN.FRMMAIN.CAPTION" +#: tfrmmain.caption +msgctxt "tfrmmain.caption" msgid "LazReport Test Suite" msgstr "Тестовая программа для LazReport" diff --git a/components/lazreport/samples/editor/languages/calleditorwithpkg.uk.po b/components/lazreport/samples/editor/languages/calleditorwithpkg.uk.po index c487c39e9f..011c5ccf62 100644 --- a/components/lazreport/samples/editor/languages/calleditorwithpkg.uk.po +++ b/components/lazreport/samples/editor/languages/calleditorwithpkg.uk.po @@ -186,8 +186,8 @@ msgstr "Ескізи" msgid "Master-Detail Test" msgstr "Тест 'Основний-Детальний'" -#: tfrmmain.frmmain.caption -msgctxt "TFRMMAIN.FRMMAIN.CAPTION" +#: tfrmmain.caption +msgctxt "tfrmmain.caption" msgid "LazReport Test Suite" msgstr "Тестова програма для LazReport" diff --git a/components/lazreport/samples/editor/maincalleditor.lfm b/components/lazreport/samples/editor/maincalleditor.lfm index 37e8c978c8..b0a154bc17 100644 --- a/components/lazreport/samples/editor/maincalleditor.lfm +++ b/components/lazreport/samples/editor/maincalleditor.lfm @@ -5,20 +5,20 @@ object frmMain: TfrmMain Width = 828 ActiveControl = Panel1 Caption = 'LazReport Test Suite' - ClientHeight = 522 + ClientHeight = 518 ClientWidth = 828 Font.Name = 'Sans' Menu = MainMenu1 OnCreate = frmMainCreate ShowHint = True - LCLVersion = '0.9.29' + LCLVersion = '1.1' object lblIndex: TLabel AnchorSideLeft.Control = Owner AnchorSideBottom.Control = grid Left = 6 - Height = 18 - Top = 103 - Width = 38 + Height = 17 + Top = 100 + Width = 36 Anchors = [akLeft, akBottom] BorderSpacing.Around = 6 Caption = 'Index' @@ -28,10 +28,10 @@ object frmMain: TfrmMain AnchorSideRight.Control = Owner AnchorSideRight.Side = asrBottom AnchorSideBottom.Control = grid - Left = 745 - Height = 18 - Top = 103 - Width = 77 + Left = 751 + Height = 17 + Top = 100 + Width = 71 Anchors = [akRight, akBottom] BorderSpacing.Around = 6 Caption = 'Expression' @@ -39,8 +39,8 @@ object frmMain: TfrmMain end object sbar: TStatusBar Left = 0 - Height = 17 - Top = 505 + Height = 21 + Top = 497 Width = 828 Panels = < item @@ -55,10 +55,10 @@ object frmMain: TfrmMain AnchorSideTop.Side = asrBottom AnchorSideRight.Control = lblExpr AnchorSideBottom.Control = grid - Left = 50 - Height = 31 + Left = 48 + Height = 27 Top = 90 - Width = 689 + Width = 697 Anchors = [akTop, akLeft, akRight] BorderSpacing.Around = 6 ItemHeight = 0 @@ -72,8 +72,8 @@ object frmMain: TfrmMain AnchorSideRight.Control = grid AnchorSideBottom.Control = sbar Left = 0 - Height = 378 - Top = 127 + Height = 374 + Top = 123 Width = 204 Anchors = [akTop, akLeft, akBottom] Color = clMoneyGreen @@ -91,8 +91,8 @@ object frmMain: TfrmMain AnchorSideRight.Side = asrBottom AnchorSideBottom.Control = sbar Left = 0 - Height = 378 - Top = 127 + Height = 374 + Top = 123 Width = 828 Anchors = [akTop, akLeft, akRight, akBottom] Color = clWhite @@ -133,14 +133,14 @@ object frmMain: TfrmMain Left = 182 Height = 33 Top = 6 - Width = 147 + Width = 144 Action = accOpenReport AutoSize = True BorderSpacing.Around = 6 TabOrder = 2 end object btnEditReport: TButton - Left = 335 + Left = 332 Height = 33 Top = 6 Width = 135 @@ -150,7 +150,7 @@ object frmMain: TfrmMain TabOrder = 3 end object btnPreviewReport: TButton - Left = 476 + Left = 473 Height = 33 Top = 6 Width = 162 @@ -160,10 +160,10 @@ object frmMain: TfrmMain TabOrder = 4 end object btnPrintReport: TButton - Left = 644 + Left = 641 Height = 33 Top = 6 - Width = 178 + Width = 181 Action = accPrintReport AutoSize = True BorderSpacing.Around = 6 @@ -184,7 +184,7 @@ object frmMain: TfrmMain Left = 182 Height = 33 Top = 45 - Width = 147 + Width = 144 Action = accPrintGrid AutoSize = True BorderSpacing.Around = 6 @@ -192,7 +192,7 @@ object frmMain: TfrmMain end object btnComposite: TButton AnchorSideTop.Side = asrBottom - Left = 335 + Left = 332 Height = 33 Top = 45 Width = 135 @@ -204,7 +204,7 @@ object frmMain: TfrmMain object btnImageList: TButton AnchorSideTop.Side = asrBottom AnchorSideRight.Side = asrBottom - Left = 476 + Left = 473 Height = 33 Top = 45 Width = 162 @@ -214,10 +214,10 @@ object frmMain: TfrmMain TabOrder = 7 end object btnMasterDetail: TToggleBox - Left = 644 + Left = 641 Height = 33 Top = 45 - Width = 178 + Width = 181 AutoSize = True BorderSpacing.Around = 6 Caption = 'Master-Detail Test' diff --git a/components/lazreport/samples/editor/maincalleditor.pas b/components/lazreport/samples/editor/maincalleditor.pas index d3523c4f98..7fe11e0f6a 100644 --- a/components/lazreport/samples/editor/maincalleditor.pas +++ b/components/lazreport/samples/editor/maincalleditor.pas @@ -437,6 +437,8 @@ begin Composite.Reports.Add(r); end; Composite.DoublePass:=true; + + frSelectHyphenDictionary('hyph_es_ANY.dic'); end; procedure TfrmMain.TheReportBeginDoc;