public override void AssignLanguage() { base.AssignLanguage(); if (!IsDesignMode) { LocalizerControl.ComponentsLocalize(components); } }
public override void AssignLanguage() { if (ClientEnvironment.IsRuntimeMode) { base.AssignLanguage(); LocalizerControl.ComponentsLocalize(components); } }
public override void AssignLanguage() { base.AssignLanguage(); if (ClientEnvironment.IsRuntimeMode) { LocalizerControl.ComponentsLocalize(this.components); LocalizerControl.NavBarLocalize(this.navBarControl1); } }
public override void AssignLanguage() { base.AssignLanguage(); if (!IsDesignMode) { LocalizerControl.ComponentsLocalize(components); _NUMBER_OF_PEOPLE_ROW = GetLocalized("NumberOfPeoplePerHourPlan"); UpdatePersonMinMaxInfo(); } }
public override void AssignLanguage() { base.AssignLanguage(); if (ClientEnvironment.IsRuntimeMode) { LocalizerControl.ComponentsLocalize(components); tc_Name.Caption = GetLocalized("Name"); tc_StartDate.Caption = GetLocalized("BeginDate"); tc_EndDate.Caption = GetLocalized("EndDate"); } }
public override void AssignLanguage() { base.AssignLanguage(); if (ClientEnvironment.IsRuntimeMode) { LocalizerControl.ComponentsLocalize(components); // Localize popup menu mi_NewOpenCloseRange.Text = GetLocalized("NewOpenCloseTimeRange"); mi_DeleteOpenCloseRange.Text = GetLocalized("DeleteOpenCloseTimeRange"); } }
public override void AssignLanguage() { base.AssignLanguage(); btnAdd.ToolTip = Localizer.GetLocalized("AddPersonMinMax"); btnEdit.ToolTip = Localizer.GetLocalized("EditPersonMinMax"); btnDelete.ToolTip = Localizer.GetLocalized("DeletePersonMinMax"); if (ClientEnvironment.IsRuntimeMode) { LocalizerControl.ComponentsLocalize(components); } }
public override void AssignLanguage() { base.AssignLanguage(); if (!IsDesignMode) { LocalizerControl.ComponentsLocalize(components); edViewStyle.Properties.Buttons[1].Caption = GetLocalized("ViewInCards"); edViewStyle.Properties.Items[0].Description = GetLocalized("ViewInCards"); edViewStyle.Properties.Items[1].Description = GetLocalized("ViewInVerticalTable"); edViewStyle.Properties.Items[2].Description = GetLocalized("ViewInTable"); } }
public override void AssignLanguage() { base.AssignLanguage(); if (ClientEnvironment.IsRuntimeMode) { LocalizerControl.ComponentsLocalize(this.components); foreach (BaseRow col in vGrid.Rows) { col.Properties.Caption = GetLocalized(col.Name.Replace("vc_", "")); } } }
public override void AssignLanguage() { base.AssignLanguage(); if (!IsDesignMode) { LocalizerControl.ComponentsLocalize(components); absenceTranslation = GetLocalized("Absence"); holidayTranslation = GetLocalized("Holiday"); illnessTranslation = GetLocalized("Illness"); } }
public override void AssignLanguage() { base.AssignLanguage(); if (!IsDesignMode) { if (IsPlanned) { _statisticItems[0].ItemName = GetLocalized(_statisticItems[0].ItemType.ToString()); _statisticItems[1].ItemName = GetLocalized(_statisticItems[1].ItemType.ToString()); //_statisticItems[2].ItemName = GetLocalized(_statisticItems[2].ItemType.ToString()); _statisticItems[2].ItemName = GetLocalized(_statisticItems[2].ItemType.ToString()); } else { _statisticItems[0].ItemName = GetLocalized("ATRSummActualWorkingHours"); _statisticItems[1].ItemName = GetLocalized("ATRPlannedHours"); _statisticItems[2].ItemName = GetLocalized(_statisticItems[2].ItemType.ToString()); } __SummTargetedHours = (IsPlanned) ? GetLocalized("SummTargetedHours") : GetLocalized("ATRSummActualHours"); __SummDifference = GetLocalized("SummDifference"); __AbsoluteSummDifference = GetLocalized("AbsoluteSummDifference"); __SummDifferenceInPercent = GetLocalized("SummDifferenceInPercent"); __AbsoluteSummDifferenceInPercent = GetLocalized("AbsoluteSummDifferenceInPercent"); __MinimumPresence = GetLocalized("MinimumPresence"); __MaximumPresence = GetLocalized("MaximumPresence"); __AvailableWorldBufferHours = GetLocalized("AvailableWorldBufferHours"); if (IsPlanned) { __TargetedNetPerformancePerHour = GetLocalized("TargetedNetPerformancePerHour"); } else { __TargetedNetPerformancePerHour = GetLocalized("ATRActualNetPerformancePerHour"); } __Benchmark = GetLocalized("Benchmark"); __DifferenceToBenchmark = GetLocalized("DifferenceToBenchmark"); UpdateStoreWorldInfo(); LocalizerControl.ComponentsLocalize(this.components); } }
public override void AssignLanguage() { base.AssignLanguage(); if (!IsDesignMode) { LocalizerControl.ComponentsLocalize(this.components); foreach (DevExpress.XtraGrid.Columns.GridColumn col in cardView.Columns) { col.Caption = GetLocalized(col.Name.Replace("cc_", "")); } foreach (DevExpress.XtraVerticalGrid.Rows.BaseRow col in vGrid.Rows) { col.Properties.Caption = GetLocalized(col.Name.Replace("vc_", "")); } } }
public override void AssignLanguage() { base.AssignLanguage(); if (!IsDesignMode) { __MinimumPresence = GetLocalized("MinimumPresence"); __MaximumPresence = GetLocalized("MaximumPresence"); __AvailableWorldBufferHours = GetLocalized("AvailableWorldBufferHours"); __TargetedNetPerformancePerHour = GetLocalized("TargetedNetPerformancePerHour"); __Benchmark = GetLocalized("Benchmark"); __DifferenceToBenchmark = GetLocalized("DifferenceToBenchmark"); UpdateStoreWorldInfo(); LocalizerControl.ComponentsLocalize(this.components); } }