Example #1
0
 public override void AssignLanguage()
 {
     base.AssignLanguage();
     if (!IsDesignMode)
     {
         LocalizerControl.ComponentsLocalize(components);
     }
 }
Example #2
0
 public override void AssignLanguage()
 {
     if (ClientEnvironment.IsRuntimeMode)
     {
         base.AssignLanguage();
         LocalizerControl.ComponentsLocalize(components);
     }
 }
Example #3
0
 public override void AssignLanguage()
 {
     base.AssignLanguage();
     if (ClientEnvironment.IsRuntimeMode)
     {
         LocalizerControl.ComponentsLocalize(this.components);
         LocalizerControl.NavBarLocalize(this.navBarControl1);
     }
 }
Example #4
0
 public override void AssignLanguage()
 {
     base.AssignLanguage();
     if (!IsDesignMode)
     {
         LocalizerControl.ComponentsLocalize(components);
         _NUMBER_OF_PEOPLE_ROW = GetLocalized("NumberOfPeoplePerHourPlan");
         UpdatePersonMinMaxInfo();
     }
 }
Example #5
0
 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");
     }
 }
Example #6
0
        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");
            }
        }
Example #7
0
        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);
            }
        }
Example #8
0
 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");
     }
 }
Example #9
0
        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_", ""));
                }
            }
        }
Example #10
0
        public override void AssignLanguage()
        {
            base.AssignLanguage();

            if (!IsDesignMode)
            {
                LocalizerControl.ComponentsLocalize(components);

                absenceTranslation = GetLocalized("Absence");
                holidayTranslation = GetLocalized("Holiday");
                illnessTranslation = GetLocalized("Illness");
            }
        }
Example #11
0
        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);
            }
        }
Example #12
0
        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_", ""));
                }
            }
        }
Example #13
0
        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);
            }
        }