Esempio n. 1
0
        public override void ApplyLocale(CLocalization aLocale)
        {
            XmlNode lData = aLocale.GetFormData("About");

            this.Text = XmlTools.getXmlNodeByName("caption", lData).InnerText;
            _bOk.Text = aLocale.GetTagText("Ok");
        }
Esempio n. 2
0
            public override void ApplyLocale(CLocalization aLocale)
            {
                base.ApplyLocale(aLocale);

                _nDOC.Text = aLocale.GetTagText("fileDOC");
                _nHTM.Text = aLocale.GetTagText("fileHTM");
                _nPDF.Text = aLocale.GetTagText("filePDF");
                _nXLS.Text = aLocale.GetTagText("fileXLS");
                _nXML.Text = aLocale.GetTagText("fileXML");
            }
Esempio n. 3
0
 public override void ApplyLocale(CLocalization aLocale)
 {
     if (aLocale != null)
     {
         _bOk.Text = aLocale.GetTagText("ok");
         _bCancel.Text = aLocale.GetTagText("cancel");
         _bYes.Text = aLocale.GetTagText("yes");
         _bNo.Text = aLocale.GetTagText("no");
         _lDLnk.Text = aLocale.GetTagText("details") + " >>";
     }
     else
     {
         _bOk.Text = "Ok";
         _bCancel.Text = "Cancel";
         _bYes.Text = "Yes";
         _bNo.Text = "No";
         _lDLnk.Text = "Details >>";
     }
 }
Esempio n. 4
0
 public override void ApplyLocale(CLocalization aSender)
 {
     DialogLocale = aSender.GetDialogData(this.Name);
     _bOk.Text = aSender.GetTagText("ok");
     _bCancel.Text = aSender.GetTagText("cancel");
     _lTitle.Text = buildTitle(aSender);
     if (DialogLocale != null)
     {
         _lDescription.Text = XmlTools.getXmlNodeByName("description", DialogLocale).InnerText;
         this.Text = XmlTools.getXmlNodeByName("caption", DialogLocale).InnerText;
     }
 }
Esempio n. 5
0
 public void ApplyLocale(CLocalization aLocale)
 {
     this.Text = aLocale.GetTagText("settings");
     Invalidate();
 }
Esempio n. 6
0
        public override void ApplyLocale(CLocalization aLocale)
        {
            XmlNode lData = aLocale.GetDialogData("AddReport");

            _bOk.Text = aLocale.GetTagText("ok");
            _bCancel.Text = aLocale.GetTagText("cancel");
            _bBrowse.Text = aLocale.GetTagText("browse");
            _lAlias.Text = XmlTools.getXmlNodeByName("lAlias", lData).InnerText;
            _lReportFile.Text = XmlTools.getXmlNodeByName("lReportFile", lData).InnerText;
            _lDetails.Text = XmlTools.getXmlNodeByAttrVal("name", "details", lData).InnerText;
            _ctlEditor.Text = XmlTools.getXmlNodeByAttrVal("name", "group", lData).InnerText;
        }
Esempio n. 7
0
        public override void ApplyLocale(CLocalization aLocale)
        {
            XmlNode lData = aLocale.GetFormData("MainForm");

            _pHome.Title = XmlTools.getXmlNodeByName("pHome", lData).InnerText;
            _pEdit.Title = XmlTools.getXmlNodeByName("pEdit", lData).InnerText;
            _pExport.Title = XmlTools.getXmlNodeByName("pExport", lData).InnerText;
            _pView.Title = XmlTools.getXmlNodeByName("pView", lData).InnerText;

            _iOpenRpt.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "open", lData).InnerText;
            _iSettings.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "settings", lData).InnerText;
            _iHelp.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "about", lData).InnerText;
            _iImportCollection.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "import", lData).InnerText;
            _iExportCollection.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "export", lData).InnerText;
            _iAddRpt.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "addRpt", lData).InnerText;
            _iEditRpt.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "editRpt", lData).InnerText;
            _iNewFolder.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "addCatalog", lData).InnerText;
            _iRemove.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "remove", lData).InnerText;
            _iAddColl.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "addColl", lData).InnerText;
            _iPrint.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "print", lData).InnerText;
            _iMail.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "mail", lData).InnerText;
            _iPDF.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "expPdf", lData).InnerText;
            _iWord.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "expWord", lData).InnerText;
            _iXLS.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "expExcel", lData).InnerText;
            _iHTML.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "expHtml", lData).InnerText;
            _iXML.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "expXml", lData).InnerText;
            _iRefresh.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "refresh", lData).InnerText;
            _iOffline.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "offline", lData).InnerText;
            _iGroups.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "groups", lData).InnerText;
            _iZoomIn.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "zoomIn", lData).InnerText;
            _iZoomOut.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "zoomOut", lData).InnerText;
            _iZoomWidth.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "fitWidth", lData).InnerText;
            _iZoomWnd.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "fitPage", lData).InnerText;
            _iFirst.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "pFirst", lData).InnerText;
            _iPrev.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "pPrev", lData).InnerText;
            _iNext.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "pNext", lData).InnerText;
            _iLast.Hint = XmlTools.getXmlNodeByAttrVal("hint", "name", "pLast", lData).InnerText;

            _pgCollections.PageTitle = RsViewEngine.Locale.GetTagText(RsLocalization.TAG_MANCOLLECTIONS);
            _pgSettings.PageTitle = RsViewEngine.Locale.GetTagText(RsLocalization.TAG_SETTINGS);

            _aExcelDataOnly.Text = aLocale.GetTagText("fileXlsDataOnly");
            _aExcelFormatted.Text = aLocale.GetTagText("fileXlsFormatted");
        }
 public void ApplyLocale(CLocalization aSender)
 {
     bCancel.Text = aSender.GetTagText("cancel");
     bApply.Text = aSender.GetTagText("apply");
 }