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"); }
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; } }
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; }
public void ApplyLocale(CLocalization aLocale) { FavoritesCollectionName = aLocale.GetTagText("favorites"); DefaultFolderName = aLocale.GetTagText("newFolder"); foreach (Control iControl in Controls) { if (iControl is RsCollectionTree) { ((RsCollectionTree)iControl).RefreshPageTitle(); } } }
protected void applyLocaleToItem(CAuthItem lItem) { XmlNode lPanelData; if (_Locale != null && (lPanelData = _Locale.GetPanelData("authitem")) != null) { try { lItem.Tags = XmlTools.getXmlNodeByName("typelist", lPanelData); } catch (Exception E) { throw new Exception("Typelist not found.", E); }; lItem.TagRemove = _Locale.GetTagText("remove"); lItem.TagApply = _Locale.GetTagText("apply"); lItem.TagReset = _Locale.GetTagText("reset"); lItem.TagPassword = _Locale.GetTagText("password"); lItem.TagUser = _Locale.GetTagText("user"); } }
public override void ApplyLocale(CLocalization aLocale) { XmlNode lData = aLocale.GetFormData("About"); this.Text = XmlTools.getXmlNodeByName("caption", lData).InnerText; _bOk.Text = aLocale.GetTagText("Ok"); }
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 override void ApplyLocale(CLocalization aSender) { DialogLocale = aSender.GetWizardData(this.Name); bOk.Text = aSender.GetTagText("finish"); bCancel.Text = aSender.GetTagText("cancel"); lTitle.Text = buildTitle(aSender); _bPrev.Text = "<< " + aSender.GetTagText("prev"); _bNext.Text = aSender.GetTagText("next") + " >>"; if (DialogLocale != null) { this.Text = XmlTools.getXmlNodeByName("caption", DialogLocale).InnerText; } foreach (object iPanel in _Panels) { ((CWizardPanel)iPanel).ApplyLocale(aSender); } }
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 >>"; } }
public override void ApplyLocale(CLocalization aLocale) { CLocalization lLocale = aLocale; base.ApplyLocale(aLocale); _chEnabled.Text = lLocale.GetTagText("enabled"); _lTimeout.Text = lLocale.GetTagText("timeout") + ":"; _lFormat.Text = lLocale.GetTagText("format") + ":"; _bApply.Text = lLocale.GetTagText("apply"); _ctlFormat.Items[0] = lLocale.GetTagText("filePDF"); _ctlFormat.Items[1] = lLocale.GetTagText("fileDOC"); _ctlFormat.Items[2] = lLocale.GetTagText("fileHTM"); _ctlUnit.Items[0] = lLocale.GetTagText("uMin"); _ctlUnit.Items[1] = lLocale.GetTagText("uHour"); }
public void ApplyLocale(CLocalization aSender) { CLocalization lLocale = aSender == null ? _Locale : aSender; if (lLocale != null) { _bOk.Text = lLocale.GetTagText("next"); switch (Mode) { case SH_REMAIN: _lTitle.Text = lLocale.GetMessageTitle("auth_remain"); _lInfo.Text = lLocale.GetMessage("auth_remain"); break; default: _lTitle.Text = lLocale.GetMessageTitle("auth_expired"); _lInfo.Text = lLocale.GetMessage("auth_expired"); break; } } }
public void ApplyLocale(CLocalization aSender) { bCancel.Text = aSender.GetTagText("cancel"); bApply.Text = aSender.GetTagText("apply"); }
public void ApplyLocale(CLocalization aLocale) { this.Text = aLocale.GetTagText("settings"); Invalidate(); }
public void ApplyLocale(CLocalization aLocale) { ItemOpen.Text = aLocale.GetTagText("open"); ItemRename.Text = aLocale.GetTagText("rename"); ItemRemove.Text = aLocale.GetTagText("remove"); }
public void ApplyLocale(CLocalization aLocale) { FavoritesCollectionName = aLocale.GetTagText("favorites"); DefaultFolderName = aLocale.GetTagText("newFolder"); foreach (Control iControl in Controls) { if (iControl is RsCollectionTree) ((RsCollectionTree)iControl).RefreshPageTitle(); } }
public void ApplyLocale(CLocalization aSender) { _bOk.Text = aSender.GetTagText("ok"); _bClear.Text = aSender.GetTagText("clear"); _Title = aSender.GetTagText("paramEdit"); }