public override void SetLocalization(CLocalization clocLanguage) {
            base.SetLocalization(clocLanguage);

            this.chkSettingsPunkbuster.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsPunkbuster");
            this.chkSettingsRanked.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsRanked");

            // this.chkSettingsPremiumStatus.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsPremiumStatus");

            this.lblSettingsPlayerLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsPlayerLimit");
            this.lnkSettingsSetPlayerLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetPlayerLimit");

            this.lblSettingsEffectivePlayerLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsEffectivePlayerLimit");

            this.lblSettingsGamePassword.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsGamePassword");
            this.lnkSettingsSetGamePassword.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetGamePassword");
            this.lblSettingsAdminPassword.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsAdminPassword");
            this.lnkSettingsSetAdminPassword.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetAdminPassword");

            this.chkSettingsNoIdleKickLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsNoIdleKickLimit");
            this.chkSettingsNoIdleBanRoundsLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsNoIdleBanRoundsLimit");
            this.lnkSettingsSetidleKickLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetidleKickLimit");
            this.lnkSettingsSetIdleBanRoundsLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetIdleBanRoundsLimit");

            // this.chkSettingsAggressiveJoin.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsAggressiveJoin");

            this.DisplayName = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsConfiguration");
        }
        public override void SetLocalization(CLocalization clocLanguage) {
            base.SetLocalization(clocLanguage);

            this.chkSettingsClanTeams.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.chkSettingsClanTeams");
            this.chkSettingsNoCrosshairs.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.chkSettingsNoCrosshairs");
            this.chkSettingsRealisticHealth.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.chkSettingsRealisticHealth");
            this.chkSettingsNoUnlocks.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.chkSettingsNoUnlocks");
            this.chkSettingsNoAmmoPickups.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.chkSettingsNoAmmoPickups");

            this.chkSettingsNoSkillLimit.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.chkSettingsNoSkillLimit");
            this.lblSettingsSkillLimitLower.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.lblSettingsSkillLimitLower");
            this.lblSettingsSkillLimitUpper.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.lblSettingsSkillLimitUpper");
            this.lnkSettingsSkillLimitApply.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.lnkSettingsSkillLimitApply");

            this.chkSettingsTDMScoreCounterLimit.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.chkSettingsTDMScoreCounterLimit");
            this.lnkSettingsTDMScoreCounterLimit.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.lnkSettingsTDMScoreCounterLimit");

            this.lblPreroundSettingsTitle.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.lblPreroundSettingsTitle");

            this.chkSettingsRoundStartTimer.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.chkSettingsRoundStartTimer");

            this.chkSettingsPreroundLimit.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.chkSettingsPreroundLimit");
            this.lblSettingsPreroundLimitLower.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.lblSettingsPreroundLimitLower");
            this.lblSettingsPreroundLimitUpper.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.lblSettingsPreroundLimitUpper");
            this.lnkSettingsPreroundLimitApply.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.lnkSettingsPreroundLimitApply");
            this.lblSettingsPreroundLimitExplanation.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.lblSettingsPreroundLimitExplanation");
            
            this.lblSettingsRoundStartTimerPlayersLimit.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.lblSettingsRoundStartTimerPlayersLimit");
            this.lnkSettingsRoundStartTimerPlayersLimit.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.lnkSettingsRoundStartTimerPlayersLimit");

            this.chkSettingsRoundStartTimerDelay.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.chkSettingsRoundStartTimerDelay");
            this.lnkSettingsRoundStartTimerDelay.Text = this.Language.GetLocalized("uscServerSettingsMoHGameplay.lnkSettingsRoundStartTimerDelay");

        }
        public override void SetLocalization(CLocalization clocLanguage) {
            base.SetLocalization(clocLanguage);

            this.lblTextChatModerationCurrent.Text = clocLanguage.GetLocalized("uscTextChatModerationList.lblTextChatModerationCurrent");
            this.lblTextChatModerationAddSoldierName.Text = clocLanguage.GetLocalized("uscTextChatModerationList.lblTextChatModerationAddSoldierName");
            this.lnkTextChatModerationAddSoldierName.Text = clocLanguage.GetLocalized("uscTextChatModerationList.lnkTextChatModerationAddSoldierName");
        }
        public override void SetLocalization(CLocalization clocLanguage) {
            base.SetLocalization(clocLanguage);

            this.chkSettingsPunkbuster.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsPunkbuster");
            this.lblSettingsServerType.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsServerType");
            this.chkSettingsCommander.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsCommander");
            this.chkSettingsAlwaysAllowSpectators.Text = this.Language.GetDefaultLocalized("Public spectators", "uscServerSettingsPanel.chkSettingsAlwaysAllowSpectators");

            this.chkSettingsFairFight.Text = this.Language.GetDefaultLocalized("use FairFight", "uscServerSettingsPanel.chkSettingsFairFight");

            this.lblSettingsMaxSpectators.Text = this.Language.GetDefaultLocalized("Spectator limit", "uscServerSettingsPanel.lblSettingsMaxSpectator");
            this.lnkSettingsSetMaxSpectators.Text = this.Language.GetDefaultLocalized("Apply", "uscServerSettingsPanel.lnkSettingsSetMaxSpectators");

            this.lblSettingsPlayerLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsPlayerLimit");
            this.lnkSettingsSetPlayerLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetPlayerLimit");

            this.lblSettingsEffectivePlayerLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsEffectivePlayerLimit");

            this.lblSettingsGamePassword.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsGamePassword");
            this.lnkSettingsSetGamePassword.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetGamePassword");
            this.lblSettingsAdminPassword.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsAdminPassword");
            this.lnkSettingsSetAdminPassword.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetAdminPassword");

            this.chkSettingsNoIdleKickLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsNoIdleKickLimit");
            this.chkSettingsNoIdleBanRoundsLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsNoIdleBanRoundsLimit");
            this.lnkSettingsSetidleKickLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetidleKickLimit");
            this.lnkSettingsSetIdleBanRoundsLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetIdleBanRoundsLimit");

            this.chkSettingsAggressiveJoin.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsAggressiveJoin");

            this.DisplayName = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsConfiguration");
        }
        public override void SetLocalization(CLocalization clocLanguage) {
            base.SetLocalization(clocLanguage);

            this.chkSettingsKillCam.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsKillCam");

            this.chkSettingsMinimap.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsMinimap");
            this.chkSettingsCrosshair.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsCrosshair");
            this.chkSettings3DSpotting.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettings3DSpotting");
            this.chkSettingsMinimapSpotting.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsMinimapSpotting");
            this.chkSettingsThirdPersonVehicleCameras.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsThirdPersonVehicleCameras");
            this.chkSettingsTeamBalance.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsTeamBalance");

            this.chkSettingsNameTag.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsNameTag");
            this.chkSettingsRegenerateHealth.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsRegenerateHealth");
            this.chkSettingsHud.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsHud");
            this.chkSettingsOnlySquadLeaderSpawn.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsOnlySquadLeaderSpawn");
            
            this.chkSettingsVehicleSpawnAllowed.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsVehicleSpawnAllowed");
            this.lblSettingsVehicleSpawnDelay.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsVehicleSpawnDelay");
            this.lnkSettingsVehicleSpawnDelay.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsVehicleSpawnDelay");
            this.lblSettingsBulletDamage.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsBulletDamage");
            this.lnkSettingsBulletDamage.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsBulletDamage");
            this.lblSettingsRoundRestartPlayerCount.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsRoundRestartPlayerCount");
            this.lnkSettingsRoundRestartPlayerCount.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsRoundRestartPlayerCount");
            this.lblSettingsRoundStartPlayerCount.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsRoundStartPlayerCount");
            this.lnkSettingsRoundStartPlayerCount.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsRoundStartPlayerCount");
            this.lblSettingsSoldierHealth.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsSoldierHealth");
            this.lnkSettingsSoldierHealth.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSoldierHealth");
            this.lblSettingsPlayerManDownTime.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsPlayerManDownTime");
            this.lnkSettingsPlayerManDownTime.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsPlayerManDownTime");
            this.lblSettingsPlayerRespawnTime.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsPlayerRespawnTime");
            this.lnkSettingsPlayerRespawnTime.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsPlayerRespawnTime");
            this.lblSettingsGameModeCounter.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsGameModeCounter");
            this.lnkSettingsGameModeCounter.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsGameModeCounter");
            this.lblSettingsLockdownCountdown.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsLockdownCountdown");
            this.lnkSettingsLockdownCountdown.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsLockdownCountdown");
            this.lblSettingsWarmupTimeout.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsWarmupTimeout");
            this.lnkSettingsWarmupTimeout.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsWarmupTimeout");

            this.lblSettingsUnlockMode.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsUnlockMode");
            this.lnkSettingsUnlockMode.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsUnlockMode");

            this.cboGameplayPresets.Items.Clear();
            this.cboGameplayPresets.Items.Add("Quickmatch");
            this.cboGameplayPresets.Items.Add("Normal");
            this.cboGameplayPresets.Items.Add("Hardcore");
            this.cboGameplayPresets.Items.Add("Infantry Only");
            this.cboGameplayPresets.SelectedIndex = 0;

            ArrayList UnlockModes = new ArrayList();
            UnlockModes.Add(new UnlockMode(this.Language.GetLocalized("uscServerSettingsPanel.cboSettingsUnlockMode.None"), UnlockModeType.none.ToString()));
            UnlockModes.Add(new UnlockMode(this.Language.GetLocalized("uscServerSettingsPanel.cboSettingsUnlockMode.All"), UnlockModeType.all.ToString()));
            UnlockModes.Add(new UnlockMode(this.Language.GetLocalized("uscServerSettingsPanel.cboSettingsUnlockMode.Common"), UnlockModeType.common.ToString()));
            UnlockModes.Add(new UnlockMode(this.Language.GetLocalized("uscServerSettingsPanel.cboSettingsUnlockMode.Stats"), UnlockModeType.stats.ToString()));

            this.cboSettingsUnlockMode.DataSource = UnlockModes;
            this.cboSettingsUnlockMode.DisplayMember = "LongName";
            this.cboSettingsUnlockMode.ValueMember = "ShortName";

        }
        public override void SetLocalization(CLocalization clocLanguage) {
            base.SetLocalization(clocLanguage);

            this.chkSettingsHardcore.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsHardcore");
            this.chkSettingsFriendlyFire.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsFriendlyFire");

            this.DisplayName = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsGameplay");
        }
Exemple #7
0
        public uscAccountsPanel() {
            InitializeComponent();

            //this.m_uscParentPanel = null;
            this.m_frmMain = null;
            this.m_clocLanguage = null;

            //this.m_spPrivileges = new CPrivileges();
            //this.m_spPrivileges.PrivilegesFlags = CPrivileges.FullPrivilegesFlags;

            this.uscPrivileges.OnUpdatePrivileges += new uscPrivilegesSelection.OnUpdatePrivilegesDelegate(uscPrivileges_OnUpdatePrivileges);
            this.uscPrivileges.OnCancelPrivileges += new uscPrivilegesSelection.OnCancelPrivilegesDelegate(uscPrivileges_OnCancelPrivileges);
        }
Exemple #8
0
        public void SetLocalization(CLocalization clocLanguage) {
            this.m_clocLanguage = clocLanguage;

            this.Text = this.m_clocLanguage.GetLocalized("frmAbout.Title", new string[] { this.AssemblyTitle });
            this.okButton.Text = this.m_clocLanguage.GetLocalized("global.close", null);

            this.tabAbout.Text = this.m_clocLanguage.GetLocalized("frmAbout.tabAbout.Title", null);
            this.lblVersion.Text = this.m_clocLanguage.GetLocalized("frmAbout.tabAbout.lblVersion", new string[] { this.AssemblyVersion });
            this.lnkVisitForum.Text = this.m_clocLanguage.GetLocalized("frmAbout.tabAbout.lnkVisitForum", null);
            //this.lnkVisitForum.LinkArea = new LinkArea(0, this.lnkVisitForum.Text.Length);
            this.tabThanks.Text = this.m_clocLanguage.GetLocalized("frmAbout.tabThanks.Title", null);
            this.tabCopyright.Text = this.m_clocLanguage.GetLocalized("frmAbout.tabCopyright.Title", null);
        }
        public void SetLocalization(CLocalization clocLanguage) {
            this.m_clocLanguage = clocLanguage;

            /*
            this.cmiExportSettings.Text = this.m_clocLanguage.GetLocalized("uscServerSettingsPanel.cmiExportSettings");
            this.cmiImportSettings.Text = this.m_clocLanguage.GetLocalized("uscServerSettingsPanel.cmiImportSettings");
            this.cmiConfigGenerator.Text = this.m_clocLanguage.GetLocalized("uscServerSettingsPanel.cmiConfigGenerator");
            */

            foreach (uscServerSettings page in this.cboSelectedSettingsPanel.Items) {
                page.SetLocalization(clocLanguage);
            }
        }
        public override void SetLocalization(CLocalization clocLanguage) {
            base.SetLocalization(clocLanguage);

            this.lblSettingsDescription.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsDescription");
            this.lnkSettingsSetDescription.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetDescription");
            this.lblSettingsMessage.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsMessage");
            this.lnkSettingsSetMessage.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetMessage");

            this.lblSettingsServerName.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsServerName");
            this.lnkSettingsSetServerName.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetServerName");

            this.DisplayName = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsDetails");
        }
        public override void SetLocalization(CLocalization clocLanguage) {
            base.SetLocalization(clocLanguage);

            this.chkSettingsKillCam.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsKillCam");

            this.chkSettingsMinimap.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsMinimap");
            this.chkSettingsCrosshair.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsCrosshair");
            this.chkSettings3DSpotting.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettings3DSpotting");
            this.chkSettingsMinimapSpotting.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsMinimapSpotting");
            this.chkSettingsThirdPersonVehicleCameras.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsThirdPersonVehicleCameras");
            this.chkSettingsTeamBalance.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsTeamBalance");

            this.chkSettingsNoRankLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsNoRankLimit");
            this.lnkSettingsSetRankLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetRankLimit");
        }
Exemple #12
0
        public MapImagePack(string strMapImagePackPath, CLocalization clocMapImagePack)
        {
            this.m_dicLoadedIcons = new Dictionary<string, Image>();

            this.MapImagePackPath = strMapImagePackPath;
            this.MapImagePackDataFile = clocMapImagePack;
            this.LoadedMapFileName = String.Empty;

            this.MapOrigin = new Point(0, 0);
            this.MapScale = new PointF(1.0F, 1.0F);
            this.MapRotation = 0.0F;
            this.MapPixelResolution = 2048;

            //this.DeathIconImage = this.LoadImage("Death");
        }
        private const int INT_MAX_TEAMS = 5; //0 = neutral, 1, 2, 3, 4..
        
        public uscPlayerListPanel() {
            InitializeComponent();

            this.m_clocLanguage = null;
            this.m_lvwColumnSorter = new PlayerListColumnSorter();
            this.m_frmMain = null;
            this.m_uscConnectionPanel = null;

            this.m_spPrivileges = new CPrivileges();
            this.m_spPrivileges.PrivilegesFlags = CPrivileges.FullPrivilegesFlags;

            this.spltListAdditionalInfo.Panel2Collapsed = true;
            this.spltTwoSplit.Panel2Collapsed = true;
            this.spltFourSplit.Panel2Collapsed = true;
        }
        public override void SetLocalization(CLocalization clocLanguage) {
            base.SetLocalization(clocLanguage);

            this.lblSettingsDescription.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsDescription");
            this.lnkSettingsSetDescription.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetDescription");
            this.lblSettingsBannerURL.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsBannerURL");
            this.lnkSettingsSetBannerURL.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetBannerURL");

            this.lblSettingsDownloadedBannerURLError.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsDownloadedBannerURLError");

            this.lblSettingsServerName.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsServerName");
            this.lnkSettingsSetServerName.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetServerName");

            this.DisplayName = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsDetails");
        }
        public void SetLocalization(CLocalization clocLanguage) {

            if ((this.m_clocLanguage = clocLanguage) != null) {

                this.chkAllowConnectionLogin.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.chkAllowConnectionLogin");

                this.rdoNoProconAccess.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.rdoNoProconAccess");
                this.rdoLimitedProconPluginAccess.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.rdoLimitedProconPluginAccess");
                this.rdoLimitedProconAccess.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.rdoLimitedProconAccess");
                this.rdoFullProconAccess.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.rdoFullProconAccess");
                this.chkCanShutdownServer.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.chkCanShutdownServer");

                this.lblCommandsviaRconConsolePlugins.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lblCommandsviaRconConsolePlugins");

                this.lblServerStateTitle.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lblServerStateTitle");
                this.chkAlterServerSettings.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.chkAlterServerSettings");
                this.chkChangeCurrentMapFunctions.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.chkChangeCurrentMapFunctions");

                this.lblPlayersTitle.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lblPlayersTitle");
                this.rdoNoPlayerPunishment.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.rdoNoPlayerPunishment");
                this.rdoKillingPlayersOnly.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.rdoKillingPlayersOnly");
                this.rdoKickingPlayers.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.rdoKickingPlayers");
                this.rdoKickingTemporaryOnly.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.rdoKickingTemporaryOnly");
                this.rdoKicingTemporaryPermanent.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.rdoKicingTemporaryPermanent");
                this.chkMovePlayers.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.chkMovePlayers");

                this.lblPunkbusterTitle.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lblPunkbusterTitle");
                this.rdoNotAllowedToIssuePunkbusterCommands.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.rdoNotAllowedToIssuePunkbusterCommands");
                this.rdoLimitedPunkbusterAccess.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.rdoLimitedPunkbusterAccess");
                this.rdoFullPunkbusterAccess.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.rdoFullPunkbusterAccess");

                this.lblBattlemapTitle.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lblBattlemapTitle");
                this.chkEditMapZones.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.chkEditMapZones");

                this.lblListsTitle.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lblListsTitle");
                this.chkEditMapList.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.chkEditMapList");
                this.chkEditBanList.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.chkEditBanList");
                this.chkEditReservedSlotsList.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.chkEditReservedSlotsList");
                this.chkEditTextModerationList.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.chkEditTextModerationList");

                this.btnSavePrivileges.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.btnSavePrivileges");
                this.btnCancelPrivileges.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.btnCancelPrivileges");
            }
        }
        public override void SetLocalization(CLocalization clocLanguage) {
            base.SetLocalization(clocLanguage);

            this.DisplayName = this.Language.GetLocalized("uscServerSettingsTextChatModeration.DisplayName");

            this.lblSettingsModerationMode.Text = this.Language.GetLocalized("uscServerSettingsTextChatModeration.lblSettingsModerationMode");
            this.rdoSettingsModerationModeFree.Text = this.Language.GetLocalized("uscServerSettingsTextChatModeration.rdoSettingsModerationModeFree");
            this.rdoSettingsModerationModeModerated.Text = this.Language.GetLocalized("uscServerSettingsTextChatModeration.rdoSettingsModerationModeModerated");
            this.rdoSettingsModerationModeMuted.Text = this.Language.GetLocalized("uscServerSettingsTextChatModeration.rdoSettingsModerationModeMuted");

            this.lblSettingsModerationTriggerCount.Text = this.Language.GetLocalized("uscServerSettingsTextChatModeration.lblSettingsModerationTriggerCount");
            this.lnkSettingsModerationTriggerCount.Text = this.Language.GetLocalized("uscServerSettingsTextChatModeration.lnkSettingsModerationTriggerCount");

            this.lblSettingsModerationDetectionTime.Text = this.Language.GetLocalized("uscServerSettingsTextChatModeration.lblSettingsModerationDetectionTime");
            this.lnkSettingsModerationDetectionTime.Text = this.Language.GetLocalized("uscServerSettingsTextChatModeration.lnkSettingsModerationDetectionTime");

            this.lblSettingsModerationCooldownTime.Text = this.Language.GetLocalized("uscServerSettingsTextChatModeration.lblSettingsModerationCooldownTime");
            this.lnkSettingsModerationCooldownTime.Text = this.Language.GetLocalized("uscServerSettingsTextChatModeration.lnkSettingsModerationCooldownTime");
        }
        public override void SetLocalization(CLocalization clocLanguage) {
            base.SetLocalization(clocLanguage);

            this.chkSettingsTeamkillCountLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsTeamkillCountLimit");
            this.lnkSettingsTeamkillCountLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsTeamkillCountLimit");

            this.chkSettingsTeamkillValueLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsTeamkillValueLimit");
            this.lnkSettingsTeamkillValueLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsTeamkillValueLimit");

            this.lblTeamKillValueDecreasePerSecond.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblTeamKillValueDecreasePerSecond");
            this.lnkTeamKillValueDecreasePerSecond.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkTeamKillValueDecreasePerSecond");

            this.lblSettingsTeamKillValueIncrease.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsTeamKillValueIncrease");
            this.lnkSettingsTeamKillValueIncrease.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsTeamKillValueIncrease");

            this.DisplayName = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsTeamKill");

            this.UpdateTeamkillExplanations();
        }
        public override void SetLocalization(CLocalization clocLanguage) {
            base.SetLocalization(clocLanguage);

            this.chkSettingsPunkbuster.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsPunkbuster");
            this.chkSettingsRanked.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsRanked");

            this.lblSettingsPlayerLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsPlayerLimit");
            this.lnkSettingsSetPlayerLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetPlayerLimit");

            this.lblSettingsGamePassword.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsGamePassword");
            this.lnkSettingsSetGamePassword.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetGamePassword");
            this.lblSettingsAdminPassword.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsAdminPassword");
            this.lnkSettingsSetAdminPassword.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetAdminPassword");

            this.chkSettingsProfanityFilter.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsProfanityFilter");
            this.chkSettingsNoIdleKickLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsNoIdleKickLimit");
            this.lnkSettingsSetidleKickLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetidleKickLimit");

            this.DisplayName = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsConfiguration");
        }
Exemple #19
0
        public void SetLocalization(CLocalization clocLanguage) {

            if ((this.m_clocLanguage = clocLanguage) != null) {

                this.colSource.Text = this.m_clocLanguage.GetLocalized("uscEvents.colSource", null);
                this.colTime.Text = this.m_clocLanguage.GetLocalized("uscEvents.colTime", null);
                this.colEvent.Text = this.m_clocLanguage.GetLocalized("uscEvents.colEvent", null);
                this.colAdmin.Text = this.m_clocLanguage.GetLocalized("uscEvents.colAdmin", null);
                this.colMessage.Text = this.m_clocLanguage.GetLocalized("uscEvents.colMessage", null);

                this.lnkShowHide.Text = this.m_clocLanguage.GetLocalized("uscEvents.lnkShowHide.Hide", null);

                this.gpbCaptures.Text = this.m_clocLanguage.GetLocalized("uscEvents.gpbCaptures", null);
                this.lblMaximumDisplayed.Text = this.m_clocLanguage.GetLocalized("uscEvents.gpbCaptures.lblMaximumDisplayed", null);
                this.lblEvents.Text = this.m_clocLanguage.GetLocalized("uscEvents.gpbCaptures.lblEvents", null);
                this.lblCapturingEvents.Text = this.m_clocLanguage.GetLocalized("uscEvents.gpbCaptures.lblCapturingEvents", null);
                this.lnkAddCapture.Text = this.m_clocLanguage.GetLocalized("uscEvents.gpbCaptures.lnkAddCapture", null);
                this.btncleareventbox.Text = this.m_clocLanguage.GetLocalized("uscEvents.gpbCaptures.btncleareventbox", null);
            }
        }
Exemple #20
0
        public override void SetLocalization(CLocalization clocLanguage) {

            this.lblMaplistCurrentPlayList.Text = clocLanguage.GetLocalized("uscListControlPanel.tabMaplist.lblMaplistCurrentPlayList");
            this.lnkMaplistChangePlaylist.Text = clocLanguage.GetLocalized("uscListControlPanel.tabMaplist.lnkMaplistChangePlaylist");
            this.lblMaplistCurrentMaplist.Text = clocLanguage.GetLocalized("uscListControlPanel.tabMaplist.lblMaplistCurrentMaplist");

            this.colPoolGameType.Text = this.colGameType.Text = clocLanguage.GetLocalized("uscListControlPanel.tabMaplist.lsvMaplist.colGametype");
            this.colPoolMapname.Text = this.colMapname.Text = clocLanguage.GetLocalized("uscListControlPanel.tabMaplist.lsvMaplist.colMapname");
            this.colPoolMapFilename.Text = this.colMapFilename.Text = clocLanguage.GetLocalized("uscListControlPanel.tabMaplist.lsvMaplist.colMapFilename");
            this.lblMaplistMustChangeWarning.Text = clocLanguage.GetLocalized("uscListControlPanel.tabMaplist.lblMaplistMustChangeWarning");
            this.lblMaplistPool.Text = clocLanguage.GetLocalized("uscListControlPanel.tabMaplist.lblMaplistPool");

            this.colMapRounds.Text = clocLanguage.GetLocalized("uscListControlPanel.tabMaplist.lsvMaplist.colMapRounds");
            this.lblMaplistRounds.Text = clocLanguage.GetLocalized("uscListControlPanel.tabMaplist.lblMaplistRounds");

            this.setNextMapToolStripMenuItem.Text = clocLanguage.GetLocalized("uscListControlPanel.tabMaplist.ctxMapOptions.setNextMapToolStripMenuItem");

            this.toolTipMaplistRefresh.SetToolTip(this.btnMaplistRefresh, clocLanguage.GetLocalized("uscListControlPanel.tabMaplist.lsvMaplist.MaplistRefreshToolTip"));
            this.toolTipMaplistRefresh.SetToolTip(this.btnMaplistClear, clocLanguage.GetLocalized("uscListControlPanel.tabMaplist.lsvMaplist.MaplistClearToolTip"));
        }
        public override void SetLocalization(CLocalization clocLanguage)
        {
            base.SetLocalization(clocLanguage);

            // Level variables
            this.lblSettingsLevelContext.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsLevelContext");
            this.rdoSettingsLevelContextAll.Text = this.Language.GetLocalized("uscServerSettingsPanel.rdoSettingsLevelContextAll");
            this.rdoSettingsLevelContextGamemode.Text = this.Language.GetLocalized("uscServerSettingsPanel.rdoSettingsLevelContextGamemode");
            this.rdoSettingsLevelContextLevel.Text = this.Language.GetLocalized("uscServerSettingsPanel.rdoSettingsLevelContextLevel");

            this.btnClearLevelSettings.Text = this.Language.GetLocalized("uscServerSettingsPanel.btnClearLevelSettings");

            this.lblLevelTickets.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblLevelTickets");
            this.lnkLevelTickets.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkLevelTickets");

            this.lblLevelTicketBleedSpeed.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblLevelTicketBleedSpeed");
            this.lnkLevelTicketBleedSpeed.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkLevelTicketBleedSpeed");

            this.lblLevelVehicleSpawnRate.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblLevelVehicleSpawnRate");
            this.lnkLevelVehicleSpawnRate.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkLevelVehicleSpawnRate");

            this.lblLevelStartDelay.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblLevelStartDelay");
            this.lnkLevelStartDelay.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkLevelStartDelay");

            this.lblLevelRespawnDelay.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblLevelRespawnDelay");
            this.lnkLevelRespawnDelay.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkLevelRespawnDelay");

            this.chkLevelVehiclesDisabled.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkLevelVehiclesDisabled");

            this.lblLevelEvaluatedEffects.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblLevelEvaluatedEffects");

            this.context.Text = this.Language.GetLocalized("uscServerSettingsPanel.lsvEvaluatedEffect.context");
            this.tickets.Text = this.Language.GetLocalized("uscServerSettingsPanel.lsvEvaluatedEffect.tickets");
            this.ticketBleedSpeed.Text = this.Language.GetLocalized("uscServerSettingsPanel.lsvEvaluatedEffect.ticketBleedSpeed");
            this.vehicleSpawnRate.Text = this.Language.GetLocalized("uscServerSettingsPanel.lsvEvaluatedEffect.vehicleSpawnRate");
            this.vehiclesDisabled.Text = this.Language.GetLocalized("uscServerSettingsPanel.lsvEvaluatedEffect.vehiclesDisabled");
            this.startDelay.Text = this.Language.GetLocalized("uscServerSettingsPanel.lsvEvaluatedEffect.startDelay");
            this.respawnDelay.Text = this.Language.GetLocalized("uscServerSettingsPanel.lsvEvaluatedEffect.respawnDelay");

            this.DisplayName = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsLevelVariables");
        }
Exemple #22
0
        public override void SetLocalization(CLocalization clocLanguage)
        {
            base.SetLocalization(clocLanguage);

            this.chkSettingsKillCam.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsKillCam");

            this.chkSettingsMinimap.Text                   = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsMinimap");
            this.chkSettingsCrosshair.Text                 = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsCrosshair");
            this.chkSettings3DSpotting.Text                = this.Language.GetLocalized("uscServerSettingsPanel.chkSettings3DSpotting");
            this.chkSettingsMinimapSpotting.Text           = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsMinimapSpotting");
            this.chkSettingsThirdPersonVehicleCameras.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsThirdPersonVehicleCameras");
            this.chkSettingsTeamBalance.Text               = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsTeamBalance");

            this.chkSettingsNameTag.Text          = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsNameTag");
            this.chkSettingsRegenerateHealth.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsRegenerateHealth");
            this.chkSettingsHud.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsHud");
            this.chkSettingsOnlySquadLeaderSpawn.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsOnlySquadLeaderSpawn");

            this.chkSettingsVehicleSpawnAllowed.Text     = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsVehicleSpawnAllowed");
            this.lblSettingsVehicleSpawnDelay.Text       = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsVehicleSpawnDelay");
            this.lnkSettingsVehicleSpawnDelay.Text       = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsVehicleSpawnDelay");
            this.lblSettingsBulletDamage.Text            = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsBulletDamage");
            this.lnkSettingsBulletDamage.Text            = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsBulletDamage");
            this.lblSettingsRoundRestartPlayerCount.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsRoundRestartPlayerCount");
            this.lnkSettingsRoundRestartPlayerCount.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsRoundRestartPlayerCount");
            this.lblSettingsRoundStartPlayerCount.Text   = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsRoundStartPlayerCount");
            this.lnkSettingsRoundStartPlayerCount.Text   = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsRoundStartPlayerCount");
            this.lblSettingsSoldierHealth.Text           = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsSoldierHealth");
            this.lnkSettingsSoldierHealth.Text           = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSoldierHealth");
            this.lblSettingsPlayerManDownTime.Text       = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsPlayerManDownTime");
            this.lnkSettingsPlayerManDownTime.Text       = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsPlayerManDownTime");
            this.lblSettingsPlayerRespawnTime.Text       = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsPlayerRespawnTime");
            this.lnkSettingsPlayerRespawnTime.Text       = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsPlayerRespawnTime");
            this.lblSettingsGameModeCounter.Text         = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsGameModeCounter");
            this.lnkSettingsGameModeCounter.Text         = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsGameModeCounter");
            this.lblSettingsCtfRoundTimeModifier.Text    = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsCtfRoundTimeModifier");
            this.lnkSettingsCtfRoundTimeModifier.Text    = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsCtfRoundTimeModifier");
            this.lblSettingsLockdownCountdown.Text       = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsLockdownCountdown");
            this.lnkSettingsLockdownCountdown.Text       = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsLockdownCountdown");
            this.lblSettingsWarmupTimeout.Text           = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsWarmupTimeout");
            this.lnkSettingsWarmupTimeout.Text           = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsWarmupTimeout");

            this.lblSettingsUnlockMode.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsUnlockMode");
            this.lnkSettingsUnlockMode.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsUnlockMode");

            this.cboGameplayPresets.Items.Clear();
            this.cboGameplayPresets.Items.Add("Quickmatch");
            this.cboGameplayPresets.Items.Add("Normal");
            this.cboGameplayPresets.Items.Add("Hardcore");
            this.cboGameplayPresets.Items.Add("Infantry Only");
            this.cboGameplayPresets.SelectedIndex = 0;

            ArrayList UnlockModes = new ArrayList();

            UnlockModes.Add(new UnlockMode(this.Language.GetLocalized("uscServerSettingsPanel.cboSettingsUnlockMode.None"), UnlockModeType.none.ToString()));
            UnlockModes.Add(new UnlockMode(this.Language.GetLocalized("uscServerSettingsPanel.cboSettingsUnlockMode.All"), UnlockModeType.all.ToString()));
            UnlockModes.Add(new UnlockMode(this.Language.GetLocalized("uscServerSettingsPanel.cboSettingsUnlockMode.Common"), UnlockModeType.common.ToString()));
            UnlockModes.Add(new UnlockMode(this.Language.GetLocalized("uscServerSettingsPanel.cboSettingsUnlockMode.Stats"), UnlockModeType.stats.ToString()));

            this.cboSettingsUnlockMode.DataSource    = UnlockModes;
            this.cboSettingsUnlockMode.DisplayMember = "LongName";
            this.cboSettingsUnlockMode.ValueMember   = "ShortName";

            this.lblSettingsGunMasterWeaponsPreset.Text = this.Language.GetDefaultLocalized(this.lblSettingsGunMasterWeaponsPreset.Text, "uscServerSettingsPanel.lblSettingsGunMasterWeaponsPreset");
            this.lnkSettingsGunMasterWeaponsPreset.Text = this.Language.GetDefaultLocalized(this.lnkSettingsGunMasterWeaponsPreset.Text, "uscServerSettingsPanel.lnkSettingsGunMasterWeaponsPreset");

            ArrayList GunMasterWeaponsPresets = new ArrayList();

            GunMasterWeaponsPresets.Add(new GunMasterWeaponsPreset(this.Language.GetDefaultLocalized("Standard", "uscServerSettingsPanel.cboSettingsGunMasterWeaponsPreset.Standard"), ((int)GunMasterWeaponsPresetType.standard).ToString()));
            GunMasterWeaponsPresets.Add(new GunMasterWeaponsPreset(this.Language.GetDefaultLocalized("Standard reversed", "uscServerSettingsPanel.cboSettingsGunMasterWeaponsPreset.Reversed"), ((int)GunMasterWeaponsPresetType.reversed).ToString()));
            GunMasterWeaponsPresets.Add(new GunMasterWeaponsPreset(this.Language.GetDefaultLocalized("Leight Weight", "uscServerSettingsPanel.cboSettingsGunMasterWeaponsPreset.LightWeight"), ((int)GunMasterWeaponsPresetType.light_weigth).ToString()));
            GunMasterWeaponsPresets.Add(new GunMasterWeaponsPreset(this.Language.GetDefaultLocalized("Heavy Gear", "uscServerSettingsPanel.cboSettingsGunMasterWeaponsPreset.HeavyGear"), ((int)GunMasterWeaponsPresetType.heavy_gear).ToString()));
            GunMasterWeaponsPresets.Add(new GunMasterWeaponsPreset(this.Language.GetDefaultLocalized("Pistol run", "uscServerSettingsPanel.cboSettingsGunMasterWeaponsPreset.PistolRun"), ((int)GunMasterWeaponsPresetType.pistol_run).ToString()));
            GunMasterWeaponsPresets.Add(new GunMasterWeaponsPreset(this.Language.GetDefaultLocalized("Snipers Heaven", "uscServerSettingsPanel.cboSettingsGunMasterWeaponsPreset.SnipersHeaven"), ((int)GunMasterWeaponsPresetType.snipers_heaven).ToString()));
            GunMasterWeaponsPresets.Add(new GunMasterWeaponsPreset(this.Language.GetDefaultLocalized("US arms race", "uscServerSettingsPanel.cboSettingsGunMasterWeaponsPreset.UsArmsRace"), ((int)GunMasterWeaponsPresetType.us_arms_race).ToString()));
            GunMasterWeaponsPresets.Add(new GunMasterWeaponsPreset(this.Language.GetDefaultLocalized("RU arms race", "uscServerSettingsPanel.cboSettingsGunMasterWeaponsPreset.RuArmsRace"), ((int)GunMasterWeaponsPresetType.ru_arms_race).ToString()));
            GunMasterWeaponsPresets.Add(new GunMasterWeaponsPreset(this.Language.GetDefaultLocalized("EU arms race", "uscServerSettingsPanel.cboSettingsGunMasterWeaponsPreset.EuArmsRace"), ((int)GunMasterWeaponsPresetType.eu_arms_race).ToString()));

            this.cboSettingsGunMasterWeaponsPreset.DataSource    = GunMasterWeaponsPresets;
            this.cboSettingsGunMasterWeaponsPreset.DisplayMember = "LongName";
            this.cboSettingsGunMasterWeaponsPreset.ValueMember   = "ShortName";
        }
Exemple #23
0
 public void ApplyLocale(CLocalization aLocale)
 {
     this.Text = aLocale.GetTagText("settings");
     Invalidate();
 }
Exemple #24
0
        public override void ApplyLocale(CLocalization aSender)
        {
            base.ApplyLocale(aSender);

            _lCollectionName.Text = XmlTools.getXmlNodeByName(_lCollectionName.Name, DialogLocale).InnerText;
        }
Exemple #25
0
 protected override string buildTitle(CLocalization aLocale)
 {
     return(XmlTools.getXmlNodeByName("title1", DialogLocale).InnerText +
            " \"" + ConnectionName + "\" " +
            XmlTools.getXmlNodeByName("title2", DialogLocale).InnerText);
 }
Exemple #26
0
 private void m_paProcon_CurrentLanguageChanged(CLocalization language)
 {
     this.InvokeIfRequired(() => this.SetLocalization(language));
 }
Exemple #27
0
        public override void SetLocalization(CLocalization clocLanguage)
        {
            base.SetLocalization(clocLanguage);

            this.chkSettingsPunkbuster.Text            = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsPunkbuster");
            this.lblSettingsServerType.Text            = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsServerType");
            this.lblSettingsMpExperience.Text          = this.Language.GetDefaultLocalized("MP Experience", "uscServerSettingsPanel.lblSettingsMpExperience");
            this.chkSettingsCommander.Text             = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsCommander");
            this.chkSettingsAlwaysAllowSpectators.Text = this.Language.GetDefaultLocalized("Public spectators", "uscServerSettingsPanel.chkSettingsAlwaysAllowSpectators");

            this.chkSettingsFairFight.Text = this.Language.GetDefaultLocalized("use FairFight", "uscServerSettingsPanel.chkSettingsFairFight");

            this.lblSettingsMaxSpectators.Text    = this.Language.GetDefaultLocalized("Spectator limit", "uscServerSettingsPanel.lblSettingsMaxSpectator");
            this.lnkSettingsSetMaxSpectators.Text = this.Language.GetDefaultLocalized("Apply", "uscServerSettingsPanel.lnkSettingsSetMaxSpectators");

            this.lblSettingsPlayerLimit.Text    = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsPlayerLimit");
            this.lnkSettingsSetPlayerLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetPlayerLimit");

            this.lblSettingsEffectivePlayerLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsEffectivePlayerLimit");

            this.lblSettingsGamePassword.Text     = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsGamePassword");
            this.lnkSettingsSetGamePassword.Text  = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetGamePassword");
            this.lblSettingsAdminPassword.Text    = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsAdminPassword");
            this.lnkSettingsSetAdminPassword.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetAdminPassword");

            this.chkSettingsNoIdleKickLimit.Text       = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsNoIdleKickLimit");
            this.chkSettingsNoIdleBanRoundsLimit.Text  = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsNoIdleBanRoundsLimit");
            this.lnkSettingsSetidleKickLimit.Text      = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetidleKickLimit");
            this.lnkSettingsSetIdleBanRoundsLimit.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSetIdleBanRoundsLimit");

            this.chkSettingsAggressiveJoin.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsAggressiveJoin");

            this.DisplayName = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsConfiguration");

            this.lblSettingsTeam1FactionOverride.Text = this.Language.GetDefaultLocalized("Team 1 Faction Override", "uscServerSettingsPanel.lblSettingsTeam1FactionOverride");
            this.lblSettingsTeam2FactionOverride.Text = this.Language.GetDefaultLocalized("Team 2 Faction Override", "uscServerSettingsPanel.lblSettingsTeam2FactionOverride");
            this.lblSettingsTeam3FactionOverride.Text = this.Language.GetDefaultLocalized("Team 3 Faction Override", "uscServerSettingsPanel.lblSettingsTeam3FactionOverride");
            this.lblSettingsTeam4FactionOverride.Text = this.Language.GetDefaultLocalized("Team 4 Faction Override", "uscServerSettingsPanel.lblSettingsTeam4FactionOverride");
            this.lnkSettingsTeam1FactionOverride.Text = this.lnkSettingsTeam2FactionOverride.Text = this.lnkSettingsTeam3FactionOverride.Text = this.lnkSettingsTeam4FactionOverride.Text = this.Language.GetDefaultLocalized("Apply", "uscServerSettingsPanel.lnkSettingsTeamFactionOverride");
            // 0 = US, 1 = RU, 2 = CN

            this.cboSettingsTeam1FactionOverride.Items.Clear();
            this.cboSettingsTeam1FactionOverride.Items.Add(this.Language.GetDefaultLocalized("US Army", "uscServerSettingsPanel.TeamFactions.US"));
            this.cboSettingsTeam1FactionOverride.Items.Add(this.Language.GetDefaultLocalized("Russian Army", "uscServerSettingsPanel.TeamFactions.RU"));
            this.cboSettingsTeam1FactionOverride.Items.Add(this.Language.GetDefaultLocalized("Chinese Army", "uscServerSettingsPanel.TeamFactions.CN"));
            this.cboSettingsTeam1FactionOverride.SelectedIndex = 0;

            this.cboSettingsTeam2FactionOverride.Items.Clear();
            this.cboSettingsTeam2FactionOverride.Items.Add(this.Language.GetDefaultLocalized("US Army", "uscServerSettingsPanel.TeamFactions.US"));
            this.cboSettingsTeam2FactionOverride.Items.Add(this.Language.GetDefaultLocalized("Russian Army", "uscServerSettingsPanel.TeamFactions.RU"));
            this.cboSettingsTeam2FactionOverride.Items.Add(this.Language.GetDefaultLocalized("Chinese Army", "uscServerSettingsPanel.TeamFactions.CN"));
            this.cboSettingsTeam2FactionOverride.SelectedIndex = 0;

            this.cboSettingsTeam3FactionOverride.Items.Clear();
            this.cboSettingsTeam3FactionOverride.Items.Add(this.Language.GetDefaultLocalized("US Army", "uscServerSettingsPanel.TeamFactions.US"));
            this.cboSettingsTeam3FactionOverride.Items.Add(this.Language.GetDefaultLocalized("Russian Army", "uscServerSettingsPanel.TeamFactions.RU"));
            this.cboSettingsTeam3FactionOverride.Items.Add(this.Language.GetDefaultLocalized("Chinese Army", "uscServerSettingsPanel.TeamFactions.CN"));
            this.cboSettingsTeam3FactionOverride.SelectedIndex = 0;

            this.cboSettingsTeam4FactionOverride.Items.Clear();
            this.cboSettingsTeam4FactionOverride.Items.Add(this.Language.GetDefaultLocalized("US Army", "uscServerSettingsPanel.TeamFactions.US"));
            this.cboSettingsTeam4FactionOverride.Items.Add(this.Language.GetDefaultLocalized("Russian Army", "uscServerSettingsPanel.TeamFactions.RU"));
            this.cboSettingsTeam4FactionOverride.Items.Add(this.Language.GetDefaultLocalized("Chinese Army", "uscServerSettingsPanel.TeamFactions.CN"));
            this.cboSettingsTeam4FactionOverride.SelectedIndex = 0;
        }
Exemple #28
0
 private void m_paProcon_CurrentLanguageChanged(CLocalization language)
 {
     this.SetLocalization(language);
 }
        public override void SetLocalization(CLocalization clocLanguage)
        {
            base.SetLocalization(clocLanguage);

            this.chkSettingsKillCam.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsKillCam");

            // deprecated R-5 this.chkSettingsAllUnlocksUnlocked.Text = this.Language.GetDefaultLocalized("allUnlocksUnlocked", "uscServerSettingsPanel.chkSettingsAllUnlocksUnlocked");
            this.chkSettingsBuddyOutline.Text = this.Language.GetDefaultLocalized("buddyOutline", "uscServerSettingsPanel.chkSettingsBuddyOutline");

            this.lblHudSettings.Text               = this.Language.GetDefaultLocalized("HUD settings:", "uscServerSettingsPanel.lblHudSettings");
            this.chkSettingsHudBuddyInfo.Text      = this.Language.GetDefaultLocalized("hudBuddyInfo", "uscServerSettingsPanel.chkSettingsHudBuddyInfo");
            this.chkSettingsHudClassAbility.Text   = this.Language.GetDefaultLocalized("hudClassAbility", "uscServerSettingsPanel.chkSettingsHudClassAbility");
            this.chkSettingsHudCrosshair.Text      = this.Language.GetDefaultLocalized("hudCorsshair", "uscServerSettingsPanel.chkSettingsCrosshair");
            this.chkSettingsHudEnemyTag.Text       = this.Language.GetDefaultLocalized("hudEnemyTag", "uscServerSettingsPanel.chkSettingsHudEnemyTag");
            this.chkSettingsHudExplosiveIcons.Text = this.Language.GetDefaultLocalized("hudExplosiveIcons", "uscServerSettingsPanel.chkSettingsHudExplosiveIcons");
            this.chkSettingsHudGameMode.Text       = this.Language.GetDefaultLocalized("hudGameMode", "uscServerSettingsPanel.chkSettingsHudGameMode");
            this.chkSettingsHudHealthAmmo.Text     = this.Language.GetDefaultLocalized("hudHealthAmmo", "uscServerSettingsPanel.chkSettingsHudHealthAmmo");
            this.chkSettingsHudMinimap.Text        = this.Language.GetDefaultLocalized("hudMinimap", "uscServerSettingsPanel.chkSettingsMinimap");
            this.chkSettingsHudObiturary.Text      = this.Language.GetDefaultLocalized("hudObiturary", "uscServerSettingsPanel.chkSettingsHudObiturary");
            this.chkSettingsHudPointsTracker.Text  = this.Language.GetDefaultLocalized("hudPointsTracker", "uscServerSettingsPanel.chkSettingsHudPointsTracker");
            this.chkSettingsHudUnlocks.Text        = this.Language.GetDefaultLocalized("hudUnlocks", "uscServerSettingsPanel.chkSettingsHudUnlocks");

            this.chkSettingsThirdPersonVehicleCameras.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsThirdPersonVehicleCameras");
            this.chkSettingsTeamBalance.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsTeamBalance");

            this.chkSettingsRegenerateHealth.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsRegenerateHealth");

            this.lblSettingsBulletDamage.Text            = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsBulletDamage");
            this.lnkSettingsBulletDamage.Text            = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsBulletDamage");
            this.lblSettingsRoundRestartPlayerCount.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsRoundRestartPlayerCount");
            this.lnkSettingsRoundRestartPlayerCount.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsRoundRestartPlayerCount");
            this.lblSettingsRoundStartPlayerCount.Text   = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsRoundStartPlayerCount");
            this.lnkSettingsRoundStartPlayerCount.Text   = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsRoundStartPlayerCount");
            this.lblSettingsSoldierHealth.Text           = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsSoldierHealth");
            this.lnkSettingsSoldierHealth.Text           = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSoldierHealth");


            this.lblSettingsPlayerRespawnTime.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsPlayerRespawnTime");
            this.lnkSettingsPlayerRespawnTime.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsPlayerRespawnTime");
            this.lblSettingsGameModeCounter.Text   = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsGameModeCounter");
            this.lnkSettingsGameModeCounter.Text   = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsGameModeCounter");

            this.lblSettingsPlaylist.Text = this.Language.GetDefaultLocalized("Playlist Presets", "uscServerSettingsPanel.lblSettingsPlaylist");
            this.lnkSettingsPlaylist.Text = this.Language.GetDefaultLocalized("Apply", "uscServerSettingsPanel.lnkSettingsPlaylist");

            ArrayList Playlist = new ArrayList();

            Playlist.Add(new PlaylistMOHW(this.Language.GetDefaultLocalized("BombSquadPL", "uscServerSettingsPanel.cboSettingsPlaylist.BombSquadPL"), PlaylistMOHWType.BombSquadPL.ToString()));
            Playlist.Add(new PlaylistMOHW(this.Language.GetDefaultLocalized("CombatMissionPL", "uscServerSettingsPanel.cboSettingsPlaylist.CombatMissionPL"), PlaylistMOHWType.CombatMissionPL.ToString()));
            Playlist.Add(new PlaylistMOHW(this.Language.GetDefaultLocalized("CustomPL", "uscServerSettingsPanel.cboSettingsPlaylist.CustomPL"), PlaylistMOHWType.CustomPL.ToString()));
            Playlist.Add(new PlaylistMOHW(this.Language.GetDefaultLocalized("PlatoonPL", "uscServerSettingsPanel.cboSettingsPlaylist.PlatoonPL"), PlaylistMOHWType.PlatoonPL.ToString()));
            Playlist.Add(new PlaylistMOHW(this.Language.GetDefaultLocalized("RealOpsPL", "uscServerSettingsPanel.cboSettingsPlaylist.RealOpsPL"), PlaylistMOHWType.RealOpsPL.ToString()));
            Playlist.Add(new PlaylistMOHW(this.Language.GetDefaultLocalized("SectorControlPL", "uscServerSettingsPanel.cboSettingsPlaylist.SectorControlPL"), PlaylistMOHWType.SectorControlPL.ToString()));
            Playlist.Add(new PlaylistMOHW(this.Language.GetDefaultLocalized("SportPL", "uscServerSettingsPanel.cboSettingsPlaylist.SportPL"), PlaylistMOHWType.SportPL.ToString()));
            Playlist.Add(new PlaylistMOHW(this.Language.GetDefaultLocalized("TeamDeathMatchPL", "uscServerSettingsPanel.cboSettingsPlaylist.TeamDeathMatchPL"), PlaylistMOHWType.TeamDeathMatchPL.ToString()));
            Playlist.Add(new PlaylistMOHW(this.Language.GetDefaultLocalized("WarfighterPL", "uscServerSettingsPanel.cboSettingsPlaylist.WarfighterPL"), PlaylistMOHWType.WarfighterPL.ToString()));

            this.cboSettingsPlaylist.DataSource    = Playlist;
            this.cboSettingsPlaylist.DisplayMember = "LongName";
            this.cboSettingsPlaylist.ValueMember   = "ShortName";

            this.cboGameplayPresets.Items.Clear();
            this.cboGameplayPresets.Items.Add("-select-");
            this.cboGameplayPresets.Items.Add("Normal");
            this.cboGameplayPresets.Items.Add("Immersive");
            this.cboGameplayPresets.SelectedIndex = 0;
        }
Exemple #30
0
 private void m_paProcon_CurrentLanguageChanged(CLocalization language) {
     this.InvokeIfRequired(() => this.SetLocalization(language));
 }
Exemple #31
0
        public void SetLocalization(CLocalization clocLanguage)
        {
            this.Text = clocLanguage.GetLocalized("frmOptions.Title");

            this.btnClose.Text = clocLanguage.GetLocalized("global.close");

            this.tabBasics.Text                     = clocLanguage.GetLocalized("frmOptions.tabBasics");
            this.lblBasicsLanguage.Text             = clocLanguage.GetLocalized("frmOptions.tabBasics.lblBasicsLanguage");
            this.btnBasicsSetLanguage.Text          = clocLanguage.GetLocalized("frmOptions.tabBasics.btnBasicsSetLanguage");
            this.lblBasicsAuthor.Text               = clocLanguage.GetLocalized("frmOptions.tabBasics.lblBasicsAuthor");
            this.lblBasicsLogging.Text              = clocLanguage.GetLocalized("frmOptions.tabBasics.lblBasicsLogging");
            this.chkBasicsEnableChatLogging.Text    = clocLanguage.GetLocalized("frmOptions.tabBasics.chkBasicsEnableChatLogging");
            this.chkBasicsEnableConsoleLogging.Text = clocLanguage.GetLocalized("frmOptions.tabBasics.chkBasicsEnableConsoleLogging");
            this.chkBasicsEnableEventsLogging.Text  = clocLanguage.GetLocalized("frmOptions.tabBasics.chkBasicsEnableEventsLogging");
            this.chkBasicsEnablePluginLogging.Text  = clocLanguage.GetLocalized("frmOptions.tabBasics.chkBasicsEnablePluginLogging");

            this.lblBasicsPrivacy.Text = clocLanguage.GetLocalized("frmOptions.tabBasics.lblBasicsPrivacy");
            this.chkBasicsAutoCheckDownloadForUpdates.Text = clocLanguage.GetLocalized("frmOptions.tabBasics.chkBasicsAutoCheckDownloadForUpdates");
            this.chkBasicsAutoApplyUpdates.Text            = clocLanguage.GetLocalized("frmOptions.tabBasics.chkBasicsAutoApplyUpdates");

            this.lblBasicPreferences.Text     = clocLanguage.GetLocalized("frmOptions.tabBasics.lblBasicPreferences");
            this.lblBasicsShowWindow.Text     = clocLanguage.GetLocalized("frmOptions.tabBasics.lblBasicsShowWindow");
            this.cboBasicsShowWindow.Items[0] = clocLanguage.GetLocalized("frmOptions.tabBasics.cboBasicsShowWindow.TaskTray");
            this.cboBasicsShowWindow.Items[1] = clocLanguage.GetLocalized("frmOptions.tabBasics.cboBasicsShowWindow.Task");
            this.chkBasicsCloseToTray.Text    = clocLanguage.GetLocalized("frmOptions.tabBasics.chkBasicsCloseToTray");
            this.chkBasicsMinimizeToTray.Text = clocLanguage.GetLocalized("frmOptions.tabBasics.chkBasicsMinimizeToTray");

            this.tabPlugins.Text = clocLanguage.GetLocalized("frmOptions.tabPlugins");

            this.lblPluginsSecurity.Text           = clocLanguage.GetLocalized("frmOptions.tabPlugins.lblPluginsSecurity");
            this.cboPluginsSandboxOptions.Items[0] = clocLanguage.GetLocalized("frmOptions.tabPlugins.cboSandboxOptions.Sandbox");
            this.cboPluginsSandboxOptions.Items[1] = clocLanguage.GetLocalized("frmOptions.tabPlugins.cboSandboxOptions.Trusted");

            this.lblPluginsOutgoingConnections.Text = clocLanguage.GetLocalized("frmOptions.tabPlugins.lblPluginsOutgoingConnections");
            this.lblPluginsTrustedHostDomain.Text   = clocLanguage.GetLocalized("frmOptions.tabPlugins.lblPluginsTrustedHostDomain");
            this.colTrustedDomainsHost.Text         = clocLanguage.GetLocalized("frmOptions.tabPlugins.lblPluginsTrustedHostDomain");
            this.lblPluginsPort.Text          = clocLanguage.GetLocalized("frmOptions.tabPlugins.lblPluginsPort");
            this.colTrustedPort.Text          = clocLanguage.GetLocalized("frmOptions.tabPlugins.lblPluginsPort");
            this.lblPluginsDatabases.Text     = clocLanguage.GetLocalized("frmOptions.tabPlugins.lblPluginsDatabases");
            this.chkAllowODBCConnections.Text = clocLanguage.GetLocalized("frmOptions.tabPlugins.chkAllowODBCConnections");
            this.lblPluginsMail.Text          = clocLanguage.GetLocalized("frmOptions.tabPlugins.lblPluginsMail");
            this.chkAllowSmtpConnections.Text = clocLanguage.GetLocalized("frmOptions.tabPlugins.chkAllowSmtpConnections");

            this.lblPluginsChangesAfterRestart.Text = clocLanguage.GetLocalized("frmOptions.tabPlugins.lblPluginsChangesAfterRestart");

            this.lblHttpServerTitle.Text = clocLanguage.GetLocalized("frmOptions.lblHttpServerTitle");

            this.lblHttpServerBindingIP.Text = clocLanguage.GetLocalized("frmOptions.lblHttpServerBindingIP");
            this.lblHttpServerStartPort.Text = clocLanguage.GetLocalized("frmOptions.lblHttpServerStartPort");
            this.lblBindingExplanation.Text  = clocLanguage.GetLocalized("frmOptions.lblBindingExplanation");

            this.lnkStartStopHttpServer.Text     = clocLanguage.GetLocalized("frmOptions.lnkStartStopHttpServer.Start");
            this.lnkHttpServerForwardedTest.Text = clocLanguage.GetLocalized("frmOptions.lnkHttpServerForwardedTest");

            this.lnkHttpServerForwardedTest.Text       = clocLanguage.GetLocalized("frmOptions.lnkHttpServerForwardedTest");
            this.lblHttpServerForwardedTestStatus.Text = clocLanguage.GetLocalized("frmOptions.lblHttpServerForwardedTestStatus.Unknown");

            this.tabAdv.Text = clocLanguage.GetLocalized("frmOptions.tabAdvanced");

            this.lblAdvPlayerTab.Text           = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvPlayerTab");
            this.lblAdvChatTab.Text             = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvChatTab");
            this.chkAdvEnableAdminMoveMsg.Text  = clocLanguage.GetLocalized("frmOptions.tabBasics.chkAdvEnableAdminMoveMsg");
            this.chkAdvEnableChatAdminName.Text = clocLanguage.GetLocalized("frmOptions.tabBasics.chkAdvEnableChatAdminName");

            this.lblAdvLayerTabs.Text             = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvLayerTabs");
            this.chkAdvHideLocalPluginsTab.Text   = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvLayerTabs.chkAdvHideLocalPluginsTab");
            this.chkAdvHideLocalAccountsTab.Text  = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvLayerTabs.chkAdvHideLocalAccountsTab");
            this.lblAdvLayerTabsChangeNotice.Text = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvLayerTabs.lblAdvLayerTabsChangeNotice");

            this.lblAdvConVisuals.Text = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvConVisuals");
            this.chkAdvShowRoundTimerConstantly.Text = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvConVisuals.chkAdvShowRoundTimerConstantly");

            //this.m_strSetLanguageFileName = clocLanguage.FileName;
        }
Exemple #32
0
 public virtual void SetLocalization(CLocalization clocLanguage)
 {
 }
        public override void SetLocalization(CLocalization clocLanguage)
        {
            base.SetLocalization(clocLanguage);

            this.DisplayName = clocLanguage.GetLocalized("ConfigGenerator.Title");
            this.btnCopyToClipboard.Text = clocLanguage.GetLocalized("ConfigGenerator.btnCopyToClipboard");
        }
 public override void SetLocalization(CLocalization clocLanguage)
 {
     this.Language = clocLanguage;
 }
Exemple #35
0
        public override void SetLocalization(CLocalization clocLanguage)
        {
            base.SetLocalization(clocLanguage);

            this.m_language = clocLanguage;

            if (this.m_isDocumentReady == true)
            {
                // My Connections
                this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-lblMyConnections", clocLanguage.GetDefaultLocalized("My Connections", "pStartPage-lblMyConnections") });
                this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-lblNoConnections", clocLanguage.GetDefaultLocalized("You do not have any connections.  Get started by creating a connection to your game server or layer", "pStartPage-lblNoConnections") });
                this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-lblCreateConnection", clocLanguage.GetDefaultLocalized("Create Connection", "pStartPage-lblCreateConnection") });
                this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-lblCreateConnectionLegend", clocLanguage.GetDefaultLocalized("Create Connection", "pStartPage-lblCreateConnectionLegend") });

                this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-lblConnectionsHostnameIp", clocLanguage.GetDefaultLocalized("Hostname/IP", "pStartPage-lblConnectionsHostnameIp") });
                this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-lblConnectionsPort", clocLanguage.GetDefaultLocalized("Port", "pStartPage-lblConnectionsPort") });
                this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-lblConnectionsUsername", clocLanguage.GetDefaultLocalized("Username", "pStartPage-lblConnectionsUsername") });
                this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-lblConnectionsUsernameExplanation", clocLanguage.GetDefaultLocalized("You only require a username to login to a PRoCon layer", "pStartPage-lblConnectionsUsernameExplanation") });
                this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-lblConnectionsPassword", clocLanguage.GetDefaultLocalized("Password", "pStartPage-lblConnectionsPassword") });
                this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-lblCancelCreateConnection", clocLanguage.GetDefaultLocalized("Cancel", "pStartPage-lblCancelCreateConnection") });
                this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-lblConnectCreateConnection", clocLanguage.GetDefaultLocalized("Connect", "pStartPage-lblConnectCreateConnection") });

                this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-tabPhogueNetNewsFeed", clocLanguage.GetDefaultLocalized("News Feed", "pStartPage-tabPhogueNetNewsFeed") });
                this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-tabPackages", clocLanguage.GetDefaultLocalized("Packages", "pStartPage-tabPackages") });

                /*
                 * this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-lblDonate", clocLanguage.GetDefaultLocalized("Donate", "pStartPage-lblDonate") });
                 * this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-lblDonationAmount", clocLanguage.GetDefaultLocalized("Donation Amount", "pStartPage-lblDonationAmount") });
                 * this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-lblDonationAmount-Currency", clocLanguage.GetDefaultLocalized("Currency: USD", "pStartPage-lblDonationAmount-Currency") });
                 * this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-lblRecognize", clocLanguage.GetDefaultLocalized("I want my kudos!", "pStartPage-lblRecognize") });
                 * this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-chkRecognize-lblShowOnWall", clocLanguage.GetDefaultLocalized("Show on Wall", "pStartPage-chkRecognize-lblShowOnWall") });
                 * this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-chkRecognize-optDoNotShow", clocLanguage.GetDefaultLocalized("Do not show any information", "pStartPage-chkRecognize-optDoNotShow") });
                 * this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-chkRecognize-optAmountDetailsComments", clocLanguage.GetDefaultLocalized("Amount, Details &amp; Comments", "pStartPage-chkRecognize-optAmountDetailsComments") });
                 * this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-chkRecognize-optDetailsCommentsOnly", clocLanguage.GetDefaultLocalized("User Details &amp; Comments Only", "pStartPage-chkRecognize-optDetailsCommentsOnly") });
                 *
                 * this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-chkRecognize-lblName", clocLanguage.GetDefaultLocalized("Name", "pStartPage-chkRecognize-lblName") });
                 * this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-chkRecognize-lblEmail", clocLanguage.GetDefaultLocalized("Email", "pStartPage-chkRecognize-lblEmail") });
                 * this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-chkRecognize-lblWebsite", clocLanguage.GetDefaultLocalized("Website", "pStartPage-chkRecognize-lblWebsite") });
                 * this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-chkRecognize-lblComments", clocLanguage.GetDefaultLocalized("Comments", "pStartPage-chkRecognize-lblComments") });
                 * this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-chkRecognize-lblRecognizeTime", clocLanguage.GetDefaultLocalized("Your message may take up to an hour to appear on the wall.", "pStartPage-chkRecognize-lblRecognizeTime") });
                 *
                 * this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-lblMonthlySummary", clocLanguage.GetDefaultLocalized("Monthly Summary", "pStartPage-lblMonthlySummary") });
                 * this.webBrowser1.Document.InvokeScript("fnSetLocalization", new string[] { "pStartPage-lblDonationWall", clocLanguage.GetDefaultLocalized("Donation Wall", "pStartPage-lblDonationWall") });
                 */

                this.webBrowser1.Document.InvokeScript("fnSetVariableLocalization", new string[] { "m_pStartPage_lblDeleteConnection", clocLanguage.GetDefaultLocalized("Are you sure you want <br/>to delete this connection?", "m_pStartPage_lblDeleteConnection") });

                ArrayList tableHeaders = new ArrayList();
                tableHeaders.Add("");
                tableHeaders.Add(clocLanguage.GetDefaultLocalized("UID", "pStartPage-tblPackages-thUid"));
                tableHeaders.Add(clocLanguage.GetDefaultLocalized("Type", "pStartPage-tblPackages-thType"));
                tableHeaders.Add(clocLanguage.GetDefaultLocalized("Name", "pStartPage-tblPackages-thName"));
                tableHeaders.Add(clocLanguage.GetDefaultLocalized("Version", "pStartPage-tblPackages-thVersion"));
                tableHeaders.Add(clocLanguage.GetDefaultLocalized("Last Update", "pStartPage-tblPackages-thLastUpdate"));
                tableHeaders.Add(clocLanguage.GetDefaultLocalized("Status", "pStartPage-tblPackages-thStatus"));
                tableHeaders.Add(clocLanguage.GetDefaultLocalized("Downloads", "pStartPage-tblPackages-thDownloads"));
                tableHeaders.Add("");
                tableHeaders.Add(clocLanguage.GetDefaultLocalized("Discuss/Feedback", "pStartPage-tblPackages-thDiscussFeedback"));
                tableHeaders.Add(clocLanguage.GetDefaultLocalized("Author", "pStartPage-tblPackages-thAuthor"));
                tableHeaders.Add("");
                tableHeaders.Add("");
                tableHeaders.Add(clocLanguage.GetDefaultLocalized("Description", "pStartPage-tblPackages-thDescription"));
                tableHeaders.Add("");
                tableHeaders.Add("");
                tableHeaders.Add(clocLanguage.GetDefaultLocalized("Layer Install Status", "pStartPage-tblPackages-thLayerInstallStatus"));
                tableHeaders.Add(clocLanguage.GetDefaultLocalized("Install Package", "pStartPage-tblPackages-thInstallPackage"));
                this.webBrowser1.Document.InvokeScript("fnSetTableHeadersLocalization", new string[] { "pStartPage-tblPackages", JSON.JsonEncode(tableHeaders) });
            }
        }
Exemple #36
0
 public void AssignLocale(CLocalization aLocale)
 {
     _Locale = aLocale;
 }
 public void AssignLocale(CLocalization aSender)
 {
     Localization = aSender;
 }
Exemple #38
0
 public static void AssignLocale(CLocalization aSender)
 {
     _CurrentLocale = aSender;
 }
        public static string GetConfirmationLabel(out bool blAbleToPunish, string strBanDescription, CPrivileges cpPrivileges, CLocalization clocLanguage, bool blKill, bool blKick, bool blPerm, bool blTemp, TextBox txtTime, ComboBox cboTimeMultiplier, string[] a_strTimeDescriptionsLong, int iTempBanCeiling)
        {
            string strLabel = String.Empty;

            blAbleToPunish = false;

            if (clocLanguage != null)
            {
                if (blKill == true)
                {
                    strLabel       = clocLanguage.GetLocalized("uscPlayerPunishPanel.lblConfirmation.Kill", new string[] { strBanDescription });
                    blAbleToPunish = true && (cpPrivileges.CanKillPlayers == true);
                }
                else if (blKick == true)
                {
                    strLabel       = clocLanguage.GetLocalized("uscPlayerPunishPanel.lblConfirmation.Kick", new string[] { strBanDescription });
                    blAbleToPunish = true && (cpPrivileges.CanKickPlayers == true);
                }
                else if (blPerm == true)
                {
                    strLabel       = clocLanguage.GetLocalized("uscPlayerPunishPanel.lblConfirmation.PermanentBan", new string[] { strBanDescription });
                    blAbleToPunish = true && (cpPrivileges.CanPermanentlyBanPlayers == true);
                }
                else if (blTemp == true)
                {
                    string strBanLength = uscPlayerPunishPanel.GetBanLength(txtTime, cboTimeMultiplier, a_strTimeDescriptionsLong);

                    if (strBanLength.Length > 0)
                    {
                        // strLabel += " for " + strBanLength;

                        if (cpPrivileges.CanTemporaryBanPlayers == true && cpPrivileges.CanPermanentlyBanPlayers == false && (uscPlayerPunishPanel.GetBanLength(txtTime, cboTimeMultiplier) * 60) > iTempBanCeiling)
                        {
                            strLabel       = clocLanguage.GetLocalized("uscPlayerPunishPanel.lblConfirmation.TemporaryBan.ToLong", new string[] { uscPlayerPunishPanel.SecondsToText((UInt32)(iTempBanCeiling), a_strTimeDescriptionsLong) });
                            blAbleToPunish = false;
                        }
                        else
                        {
                            strLabel       = clocLanguage.GetLocalized("uscPlayerPunishPanel.lblConfirmation.TemporaryBan", new string[] { strBanDescription, clocLanguage.GetLocalized("uscPlayerPunishPanel.lblConfirmation.TemporaryBan.Time", new string[] { strBanLength }) });
                            blAbleToPunish = true && (cpPrivileges.CanTemporaryBanPlayers == true);
                        }
                    }
                    else
                    {
                        strLabel       = clocLanguage.GetLocalized("uscPlayerPunishPanel.lblConfirmation.TemporaryBan", new string[] { strBanDescription, String.Empty });
                        blAbleToPunish = false;
                    }
                }

                strLabel += ":";
            }

            return(strLabel);
        }
        public void SetLocalization(CLocalization clocLanguage) {
            this.m_clocLanguage = clocLanguage;

            this.colSlotID1.Text = this.colSlotID2.Text = this.colSlotID3.Text = this.colSlotID4.Text = this.m_clocLanguage.GetLocalized("uscPlayerListPanel.lsvPlayers.colSlotID", null);
            this.colTags1.Text = this.colTags2.Text = this.colTags3.Text = this.colTags4.Text = this.m_clocLanguage.GetLocalized("uscPlayerListPanel.lsvPlayers.colTags", null);
            this.colPlayerName1.Text = this.colPlayerName2.Text = this.colPlayerName3.Text = this.colPlayerName4.Text = this.m_clocLanguage.GetLocalized("uscPlayerListPanel.lsvPlayers.colPlayerName", null);
            this.colSquad1.Text = this.colSquad2.Text = this.colSquad3.Text = this.colSquad4.Text = this.m_clocLanguage.GetLocalized("uscPlayerListPanel.lsvPlayers.colSquad", null);
            this.colKit1.Text = this.colKit2.Text = this.colKit3.Text = this.colKit4.Text = this.m_clocLanguage.GetLocalized("uscPlayerListPanel.lsvPlayers.colKit", null);
            this.colKills1.Text = this.colKills2.Text = this.colKills3.Text = this.colKills4.Text = this.m_clocLanguage.GetLocalized("uscPlayerListPanel.lsvPlayers.colKills", null);
            this.colDeaths1.Text = this.colDeaths2.Text = this.colDeaths3.Text = this.colDeaths4.Text = this.m_clocLanguage.GetLocalized("uscPlayerListPanel.lsvPlayers.colDeaths", null);
            this.colKdr1.Text = this.colKdr2.Text = this.colKdr3.Text = this.colKdr4.Text = this.m_clocLanguage.GetLocalized("uscPlayerListPanel.lsvPlayers.colKdr", null);
            this.colScore1.Text = this.colScore2.Text = this.colScore3.Text = this.colScore4.Text = this.m_clocLanguage.GetLocalized("uscPlayerListPanel.lsvPlayers.colScore", null);
            this.colPing1.Text = this.colPing2.Text = this.colPing3.Text = this.colPing4.Text = this.m_clocLanguage.GetLocalized("uscPlayerListPanel.lsvPlayers.colPing", null);
            this.colRank1.Tag = this.colRank2.Text = this.colRank3.Text = this.colRank4.Text = this.m_clocLanguage.GetDefaultLocalized("Rank", "uscPlayerListPanel.lsvPlayers.colRank", null);
            
            this.btnPlayerListSelectedCheese.Text = this.m_clocLanguage.GetLocalized("uscPlayerListPanel.btnPlayerListSelectedCheese", null);

            this.chkPlayerListShowTeams.Text = this.m_clocLanguage.GetLocalized("uscPlayerListPanel.chkPlayerListShowTeams", null);

            this.tabCourtMartialBFBC.Text = this.m_clocLanguage.GetLocalized("uscPlayerListPanel.tabCourtMartialBFBC", null);
            this.tabCourtMartialPunkbuster.Text = this.m_clocLanguage.GetLocalized("uscPlayerListPanel.tabCourtMartialPunkbuster", null);

            this.lblInventory.Text = this.m_clocLanguage.GetLocalized("uscPlayerListPanel.lblInventory") + ":";

            // Player Context Menu
            this.textChatModerationToolStripMenuItem.Text = this.m_clocLanguage.GetLocalized("uscPlayerListPanel.ctxPlayerOptions.textChatModerationToolStripMenuItem");
            this.reservedSlotToolStripMenuItem.Text = this.m_clocLanguage.GetLocalized("uscPlayerListPanel.ctxPlayerOptions.reservedSlotToolStripMenuItem");

            this.statsLookupToolStripMenuItem.Text = this.m_clocLanguage.GetDefaultLocalized("Stats Lookup", "uscPlayerListPanel.ctxPlayerOptions.statsLookupToolStripMenuItem");
            this.punkBusterScreenshotToolStripMenuItem.Text = this.m_clocLanguage.GetDefaultLocalized("PunkBuster Screenshot", "uscPlayerListPanel.ctxPlayerOptions.punkBusterScreenshotToolStripMenuItem");

            // cboEndRound
            this.cboEndRound.Items.Clear();
            this.cboEndRound.Items.AddRange(new object[] {
                this.m_clocLanguage.GetDefaultLocalized("Select winning team to end round:", "uscPlayerListPanel.ctxPlayerOptions.EndRound.Label"),
                this.m_clocLanguage.GetDefaultLocalized("Team 1", "uscPlayerListPanel.ctxPlayerOptions.EndRound.Team1"),
                this.m_clocLanguage.GetDefaultLocalized("Team 2", "uscPlayerListPanel.ctxPlayerOptions.EndRound.Team2"),
                this.m_clocLanguage.GetDefaultLocalized("Team 3", "uscPlayerListPanel.ctxPlayerOptions.EndRound.Team3"),
                this.m_clocLanguage.GetDefaultLocalized("Team 4", "uscPlayerListPanel.ctxPlayerOptions.EndRound.Team4")
            });
            this.cboEndRound.SelectedIndex = 0;

            Graphics cboEndRoundGrafphics = cboEndRound.CreateGraphics();
            this.cboEndRound.Width = 18 + (int)cboEndRoundGrafphics.MeasureString(this.cboEndRound.Text, this.cboEndRound.Font).Width;

            this.kbpBfbcPunishPanel.SetLocalization(this.m_clocLanguage);
            this.kbpPunkbusterPunishPanel.SetLocalization(this.m_clocLanguage);
        }
Exemple #41
0
 protected abstract string buildTitle(CLocalization aLocale);
Exemple #42
0
        public void SetLocalization(CLocalization clocLanguage)
        {
            this.Text = clocLanguage.GetLocalized("frmOptions.Title");

            this.btnClose.Text = clocLanguage.GetLocalized("global.close");

            this.tabBasics.Text                     = clocLanguage.GetLocalized("frmOptions.tabBasics");
            this.lblBasicsLanguage.Text             = clocLanguage.GetLocalized("frmOptions.tabBasics.lblBasicsLanguage");
            this.btnBasicsSetLanguage.Text          = clocLanguage.GetLocalized("frmOptions.tabBasics.btnBasicsSetLanguage");
            this.lblBasicsAuthor.Text               = clocLanguage.GetLocalized("frmOptions.tabBasics.lblBasicsAuthor");
            this.lblBasicsLogging.Text              = clocLanguage.GetLocalized("frmOptions.tabBasics.lblBasicsLogging");
            this.chkBasicsEnableChatLogging.Text    = clocLanguage.GetLocalized("frmOptions.tabBasics.chkBasicsEnableChatLogging");
            this.chkBasicsEnableConsoleLogging.Text = clocLanguage.GetLocalized("frmOptions.tabBasics.chkBasicsEnableConsoleLogging");
            this.chkBasicsEnableEventsLogging.Text  = clocLanguage.GetLocalized("frmOptions.tabBasics.chkBasicsEnableEventsLogging");
            this.chkBasicsEnablePluginLogging.Text  = clocLanguage.GetLocalized("frmOptions.tabBasics.chkBasicsEnablePluginLogging");

            this.lblBasicsPrivacy.Text = clocLanguage.GetLocalized("frmOptions.tabBasics.lblBasicsPrivacy");
            this.chkBasicsAutoCheckDownloadForUpdates.Text    = clocLanguage.GetLocalized("frmOptions.tabBasics.chkBasicsAutoCheckDownloadForUpdates");
            this.chkBasicsAutoApplyUpdates.Text               = clocLanguage.GetLocalized("frmOptions.tabBasics.chkBasicsAutoApplyUpdates");
            this.chkBasicsAutoCheckGameConfigsForUpdates.Text = clocLanguage.GetLocalized("frmOptions.tabBasics.chkBasicsAutoCheckGameConfigsForUpdates");

            this.lblBasicPreferences.Text     = clocLanguage.GetLocalized("frmOptions.tabBasics.lblBasicPreferences");
            this.lblBasicsShowWindow.Text     = clocLanguage.GetLocalized("frmOptions.tabBasics.lblBasicsShowWindow");
            this.cboBasicsShowWindow.Items[0] = clocLanguage.GetLocalized("frmOptions.tabBasics.cboBasicsShowWindow.TaskTray");
            this.cboBasicsShowWindow.Items[1] = clocLanguage.GetLocalized("frmOptions.tabBasics.cboBasicsShowWindow.Task");
            this.chkBasicsCloseToTray.Text    = clocLanguage.GetLocalized("frmOptions.tabBasics.chkBasicsCloseToTray");
            this.chkBasicsMinimizeToTray.Text = clocLanguage.GetLocalized("frmOptions.tabBasics.chkBasicsMinimizeToTray");

            this.tabPlugins.Text = clocLanguage.GetLocalized("frmOptions.tabPlugins");

            this.lblPluginsSecurity.Text           = clocLanguage.GetLocalized("frmOptions.tabPlugins.lblPluginsSecurity");
            this.cboPluginsSandboxOptions.Items[0] = clocLanguage.GetLocalized("frmOptions.tabPlugins.cboSandboxOptions.Sandbox");
            this.cboPluginsSandboxOptions.Items[1] = clocLanguage.GetLocalized("frmOptions.tabPlugins.cboSandboxOptions.Trusted");

            this.lblPluginsOutgoingConnections.Text = clocLanguage.GetLocalized("frmOptions.tabPlugins.lblPluginsOutgoingConnections");
            this.lblPluginsTrustedHostDomain.Text   = clocLanguage.GetLocalized("frmOptions.tabPlugins.lblPluginsTrustedHostDomain");
            this.colTrustedDomainsHost.Text         = clocLanguage.GetLocalized("frmOptions.tabPlugins.lblPluginsTrustedHostDomain");
            this.lblPluginsPort.Text          = clocLanguage.GetLocalized("frmOptions.tabPlugins.lblPluginsPort");
            this.colTrustedPort.Text          = clocLanguage.GetLocalized("frmOptions.tabPlugins.lblPluginsPort");
            this.lblPluginsDatabases.Text     = clocLanguage.GetLocalized("frmOptions.tabPlugins.lblPluginsDatabases");
            this.chkAllowODBCConnections.Text = clocLanguage.GetLocalized("frmOptions.tabPlugins.chkAllowODBCConnections");
            this.lblPluginsMail.Text          = clocLanguage.GetLocalized("frmOptions.tabPlugins.lblPluginsMail");
            this.chkAllowSmtpConnections.Text = clocLanguage.GetLocalized("frmOptions.tabPlugins.chkAllowSmtpConnections");

            this.lblPluginsChangesAfterRestart.Text = clocLanguage.GetLocalized("frmOptions.tabPlugins.lblPluginsChangesAfterRestart");

            this.lblHttpServerTitle.Text = clocLanguage.GetLocalized("frmOptions.lblHttpServerTitle");

            this.lblHttpServerBindingIP.Text = clocLanguage.GetLocalized("frmOptions.lblHttpServerBindingIP");
            this.lblHttpServerStartPort.Text = clocLanguage.GetLocalized("frmOptions.lblHttpServerStartPort");
            this.lblBindingExplanation.Text  = clocLanguage.GetLocalized("frmOptions.lblBindingExplanation");

            this.lnkStartStopHttpServer.Text     = clocLanguage.GetLocalized("frmOptions.lnkStartStopHttpServer.Start");
            this.lnkHttpServerForwardedTest.Text = clocLanguage.GetLocalized("frmOptions.lnkHttpServerForwardedTest");

            this.lnkHttpServerForwardedTest.Text       = clocLanguage.GetLocalized("frmOptions.lnkHttpServerForwardedTest");
            this.lblHttpServerForwardedTestStatus.Text = clocLanguage.GetLocalized("frmOptions.lblHttpServerForwardedTestStatus.Unknown");

            this.tabAdv.Text = clocLanguage.GetLocalized("frmOptions.tabAdvanced");

            this.lblAdvPlayerTab.Text           = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvPlayerTab");
            this.lblAdvChatTab.Text             = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvChatTab");
            this.chkAdvEnableAdminMoveMsg.Text  = clocLanguage.GetLocalized("frmOptions.tabBasics.chkAdvEnableAdminMoveMsg");
            this.chkAdvEnableChatAdminName.Text = clocLanguage.GetLocalized("frmOptions.tabBasics.chkAdvEnableChatAdminName");

            this.lblAdvLayerTabs.Text             = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvLayerTabs");
            this.chkAdvHideLocalPluginsTab.Text   = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvLayerTabs.chkAdvHideLocalPluginsTab");
            this.chkAdvHideLocalAccountsTab.Text  = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvLayerTabs.chkAdvHideLocalAccountsTab");
            this.lblAdvLayerTabsChangeNotice.Text = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvLayerTabs.lblAdvLayerTabsChangeNotice");

            this.lblAdvConVisuals.Text = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvConVisuals");
            this.chkAdvShowRoundTimerConstantly.Text   = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvConVisuals.chkAdvShowRoundTimerConstantly");
            this.chkAdvShowCfmMsgRoundRestartNext.Text = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvConVisuals.chkAdvShowCfmMsgRoundRestartNext");

            this.lblAdvSpecialSwitches.Text              = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvSpecialSwitches");
            this.chkAdvShowDICESpecialOptions.Text       = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvSpecialSwitches.chkAdvShowDICESpecialOptions");
            this.lblAdvShowDICESpecialOptionsNotice.Text = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvSpecialSwitches.lblAdvShowDICESpecialOptionsNotice");

            // StatsLinks
            this.tabPlayerLookup.Text      = clocLanguage.GetLocalized("frmOptions.tabPlayerLookup");
            this.lblStatsPlayerTab.Text    = clocLanguage.GetLocalized("frmOptions.tabAdvanced.lblAdvPlayerTab");
            this.colStatsLinksName.Text    = clocLanguage.GetLocalized("frmOptions.tabPlayerLookup.colStatsLinksName");
            this.colStatsLinkUrl.Text      = clocLanguage.GetLocalized("frmOptions.tabPlayerLookup.colStatsLinkUrl");
            this.lblStatsLinkName.Text     = clocLanguage.GetLocalized("frmOptions.tabPlayerLookup.lblStatsLinkName");
            this.lblStatsLinkUrl.Text      = clocLanguage.GetLocalized("frmOptions.tabPlayerLookup.lblStatsLinkUrl");
            this.lblStatsLinkHelpText.Text = clocLanguage.GetLocalized("frmOptions.tabPlayerLookup.lblStatsLinkHelpText", new String[] { this.m_praApplication.OptionsSettings.StatsLinksMaxNum.ToString() }).Replace("|*|", Environment.NewLine);

            //this.m_strSetLanguageFileName = clocLanguage.FileName;
        }
 public void ApplyLocale(CLocalization aLocale)
 {
     ItemOpen.Text   = aLocale.GetTagText("open");
     ItemRename.Text = aLocale.GetTagText("rename");
     ItemRemove.Text = aLocale.GetTagText("remove");
 }
        public override void SetLocalization(CLocalization clocLanguage)
        {
            base.SetLocalization(clocLanguage);

            this.chkSettingsKillCam.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsKillCam");

            this.chkSettingsMinimap.Text                   = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsMinimap");
            this.chkSettingsCrosshair.Text                 = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsCrosshair");
            this.chkSettings3DSpotting.Text                = this.Language.GetLocalized("uscServerSettingsPanel.chkSettings3DSpotting");
            this.chkSettingsMinimapSpotting.Text           = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsMinimapSpotting");
            this.chkSettingsThirdPersonVehicleCameras.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsThirdPersonVehicleCameras");
            this.chkSettingsTeamBalance.Text               = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsTeamBalance");

            this.chkSettingsNameTag.Text          = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsNameTag");
            this.chkSettingsRegenerateHealth.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsRegenerateHealth");
            this.chkSettingsHud.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsHud");
            this.chkSettingsOnlySquadLeaderSpawn.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsOnlySquadLeaderSpawn");

            this.chkSettingsVehicleSpawnAllowed.Text     = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsVehicleSpawnAllowed");
            this.lblSettingsVehicleSpawnDelay.Text       = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsVehicleSpawnDelay");
            this.lnkSettingsVehicleSpawnDelay.Text       = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsVehicleSpawnDelay");
            this.lblSettingsBulletDamage.Text            = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsBulletDamage");
            this.lnkSettingsBulletDamage.Text            = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsBulletDamage");
            this.lblSettingsRoundRestartPlayerCount.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsRoundRestartPlayerCount");
            this.lnkSettingsRoundRestartPlayerCount.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsRoundRestartPlayerCount");
            this.lblSettingsRoundStartPlayerCount.Text   = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsRoundStartPlayerCount");
            this.lnkSettingsRoundStartPlayerCount.Text   = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsRoundStartPlayerCount");
            this.lblSettingsSoldierHealth.Text           = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsSoldierHealth");
            this.lnkSettingsSoldierHealth.Text           = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSoldierHealth");
            this.lblSettingsPlayerManDownTime.Text       = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsPlayerManDownTime");
            this.lnkSettingsPlayerManDownTime.Text       = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsPlayerManDownTime");
            this.lblSettingsPlayerRespawnTime.Text       = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsPlayerRespawnTime");
            this.lnkSettingsPlayerRespawnTime.Text       = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsPlayerRespawnTime");
            this.lblSettingsGameModeCounter.Text         = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsGameModeCounter");
            this.lnkSettingsGameModeCounter.Text         = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsGameModeCounter");
            this.lblSettingsLockdownCountdown.Text       = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsLockdownCountdown");
            this.lnkSettingsLockdownCountdown.Text       = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsLockdownCountdown");
            this.lblSettingsWarmupTimeout.Text           = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsWarmupTimeout");
            this.lnkSettingsWarmupTimeout.Text           = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsWarmupTimeout");

            this.lblSettingsUnlockMode.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsUnlockMode");
            this.lnkSettingsUnlockMode.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsUnlockMode");

            this.cboGameplayPresets.Items.Clear();
            this.cboGameplayPresets.Items.Add("Quickmatch");
            this.cboGameplayPresets.Items.Add("Normal");
            this.cboGameplayPresets.Items.Add("Hardcore");
            this.cboGameplayPresets.Items.Add("Infantry Only");
            this.cboGameplayPresets.SelectedIndex = 0;

            ArrayList UnlockModes = new ArrayList();

            UnlockModes.Add(new UnlockMode(this.Language.GetLocalized("uscServerSettingsPanel.cboSettingsUnlockMode.None"), UnlockModeType.none.ToString()));
            UnlockModes.Add(new UnlockMode(this.Language.GetLocalized("uscServerSettingsPanel.cboSettingsUnlockMode.All"), UnlockModeType.all.ToString()));
            UnlockModes.Add(new UnlockMode(this.Language.GetLocalized("uscServerSettingsPanel.cboSettingsUnlockMode.Common"), UnlockModeType.common.ToString()));
            UnlockModes.Add(new UnlockMode(this.Language.GetLocalized("uscServerSettingsPanel.cboSettingsUnlockMode.Stats"), UnlockModeType.stats.ToString()));

            this.cboSettingsUnlockMode.DataSource    = UnlockModes;
            this.cboSettingsUnlockMode.DisplayMember = "LongName";
            this.cboSettingsUnlockMode.ValueMember   = "ShortName";
        }
        private void uscPlayerListPanel_Load(object sender, EventArgs e) {
            if (this.m_prcClient != null) {
                this.m_clocLanguage = this.m_prcClient.Language;

            }
        }
 public void ApplyLocale(CLocalization aSender)
 {
     bCancel.Text = aSender.GetTagText("cancel");
     bApply.Text  = aSender.GetTagText("apply");
 }
Exemple #47
0
        public TeamNamesDisplayLegend(KillDisplayColours legendType, Dictionary <int, Color> dicTeamColours, CLocalization language, CMap mapDetails)
        {
            this.TeamNamesText = new MapTextBlock();
            this.LegendType    = legendType;

            if (legendType == KillDisplayColours.TeamColours)
            {
                foreach (CTeamName teamName in mapDetails.TeamNames)
                {
                    if (teamName.TeamID > 0 && dicTeamColours.ContainsKey(teamName.TeamID))
                    {
                        this.TeamNamesText.Strings.Add(new MapTextBlockString(language.GetLocalized(teamName.LocalizationKey), ControlPaint.LightLight(dicTeamColours[teamName.TeamID]), true));
                    }
                }
            }
            else
            {
                this.TeamNamesText.Strings.Add(new MapTextBlockString("Killer", Color.LightSeaGreen, true));
                this.TeamNamesText.Strings.Add(new MapTextBlockString("Victim", ControlPaint.Light(Color.Red), true));
            }
        }
Exemple #48
0
 private void m_praApplication_CurrentLanguageChanged(CLocalization language)
 {
     cboBasicsLanguagePicker.SelectedItem = language;
 }
Exemple #49
0
        //public void m_prcClient_ProconPrivileges(CPrivileges spPrivs) {
        //    this.m_spPrivileges = spPrivs;
        //}

        public void SetLocalization(CLocalization clocLanguage) {

            if ((this.m_clocLanguage = clocLanguage) != null) {

                //this.tbpPRoConLayer.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.Title", null);

                this.lblLayerServerSetupTitle.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lblLayerServerSetupTitle", null);
                this.lnkStartStopLayer.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lnkStartStopLayer.Start", null);
                //this.lnkStartStopLayer.LinkArea = new LinkArea(0, this.lnkStartStopLayer.Text.Length);
                this.lblLayerServerStatus.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lblLayerServerStatus.Offline", null);

                this.lnkLayerForwardedTest.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lnkLayerForwardedTest", null);
                //this.lnkLayerForwardedTest.LinkArea = new LinkArea(0, this.lnkLayerForwardedTest.Text.Length);
                this.lblLayerForwardedTestStatus.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lblLayerForwardedTestStatus.Unknown", null);


                this.lnkWhatIsPRoConLayer.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lnkWhatIsPRoConLayer", null);
                //this.lnkWhatIsPRoConLayer.LinkArea = new LinkArea(0, this.lnkWhatIsPRoConLayer.Text.Length);

                this.lblLayerAssignAccountPrivilegesTitle.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lblLayerAssignAccountPrivilegesTitle", null);

                this.colAccounts.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lstLayerAccounts.colAccounts", null);
                this.colPrivileges.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lstLayerAccounts.colPrivileges", null);
                this.colRConAccess.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lstLayerAccounts.colRConAccess", null);
                this.colIPPort.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lstLayerAccounts.colIPPort", null);

                this.lnkManageAccounts.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lnkManageAccounts", null);
                //this.lnkManageAccounts.LinkArea = new LinkArea(0, this.lnkManageAccounts.Text.Length);

                this.lblLayerStartTitle.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lblLayerStartTitle", null);
                this.lblLayerStartPort.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lblLayerStartPort", null);
                this.lblLayerBindingIP.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lblLayerBindingIP", null);
                this.lblBindingExplanation.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lblBindingExplanation", null);
                this.lblLayerName.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lblLayerName", null);
                this.btnInsertName.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.btnInsertName", null);
                this.lblExampleLayerName.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.lblExampleLayerName", new string[] { this.txtLayerName.Text.Replace("%servername%", this.m_strServerName) });
                this.btnLayerStart.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.btnLayerStart", null);
                this.btnCancelLayerStart.Text = this.m_clocLanguage.GetLocalized("uscAccountsPanel.btnCancelLayerStart", null);

                this.uscPrivileges.SetLocalization(this.m_clocLanguage);

                this.RefreshLayerPrivilegesPanel();

            }
        }
Exemple #50
0
 public void ApplyLocale(CLocalization aSender)
 {
     _bOk.Text    = aSender.GetTagText("ok");
     _bClear.Text = aSender.GetTagText("clear");
     _Title       = aSender.GetTagText("paramEdit");
 }
Exemple #51
0
        public void SetLocalization(CLocalization clocLanguage) {
            this.m_clocLanguage = clocLanguage;
            
            this.optionsToolStripMenuItem.Text = this.m_clocLanguage.GetLocalized("frmMain.optionsToolStripMenuItem") + "..";
            this.manageAccountsToolStripMenuItem.Text = this.m_clocLanguage.GetLocalized("frmMain.manageAccountsToolStripMenuItem") + "..";

            this.changelogToolStripMenuItem.Text = this.m_clocLanguage.GetLocalized("frmMain.changelogToolStripMenuItem");

            this.toolsStripDropDownButton.Text = this.m_clocLanguage.GetLocalized("frmMain.toolsToolStripMenuItem");

            this.checkForUpdatesToolStripMenuItem.Text = this.m_clocLanguage.GetLocalized("frmMain.checkForUpdatesToolStripMenuItem");
            this.aboutToolStripMenuItem.Text = this.m_clocLanguage.GetLocalized("frmMain.aboutToolStripMenuItem") + "..";

            this.btnStartPage.Text = this.m_clocLanguage.GetLocalized("fmrMain.tlsConnections.btnStartPage");
            this.btnShiftServerPrevious.Text = this.m_clocLanguage.GetLocalized("fmrMain.tlsConnections.btnShiftServerPrevious");
            this.btnShiftServerNext.Text = this.m_clocLanguage.GetLocalized("fmrMain.tlsConnections.btnShiftServerNext");

            this.chkAutomaticallyConnect.Text = this.m_clocLanguage.GetLocalized("fmrMain.tlsConnections.chkAutomaticallyConnect");

            foreach (KeyValuePair<string, uscPage> kvpPanel in this.m_dicPages) {
                kvpPanel.Value.SetLocalization(this.m_clocLanguage);
            }

            if (this.m_frmManageAccounts != null) {
                this.m_frmManageAccounts.SetLocalization(this.m_clocLanguage);
            }

            if (this.m_frmOptions != null) {
                this.m_frmOptions.SetLocalization(this.m_clocLanguage);
            }

            //if (this.m_frmPluginRepository != null) {
            //    this.m_frmPluginRepository.SetLocalization(this.m_clocLanguage);
            //}

            if (this.m_frmAbout != null) {
                this.m_frmAbout.SetLocalization(this.m_clocLanguage);
            }

            this.m_mnuHideTrayIcon.Text = this.m_clocLanguage.GetLocalized("m_cnmNotificationMenu.m_mnuHideTrayIcon", null);
            this.m_mnuExit.Text = this.m_clocLanguage.GetLocalized("m_cnmNotificationMenu.m_mnuExit", null);

            this.cboServerList.Size = new Size(this.tlsConnections.Bounds.Width - this.toolsStripDropDownButton.Bounds.Width - this.cboServerList.Bounds.Left - 15, 23);
        }
Exemple #52
0
 public void ReleaseLocale()
 {
     _locale = null;
 }
Exemple #53
0
        public void SetLocalization(CLocalization clocLanguage) {
            //this.m_prcClient.Language = clocLanguage;

            // private string[] m_astrTimeDescriptionsShort = new string[] { "y ", "y ", "M ", "M ", "w ", "w ", "d ", "d ", "h ", "h ", "m ", "m ", "s ", "s " };
            this.ma_strTimeDescriptionsShort[13] = clocLanguage.GetLocalized("global.Seconds.Short", null);
            this.ma_strTimeDescriptionsShort[12] = clocLanguage.GetLocalized("global.Seconds.Short", null);
            this.ma_strTimeDescriptionsShort[11] = clocLanguage.GetLocalized("global.Minutes.Short", null) + " ";
            this.ma_strTimeDescriptionsShort[10] = clocLanguage.GetLocalized("global.Minutes.Short", null) + " ";
            this.ma_strTimeDescriptionsShort[9] = clocLanguage.GetLocalized("global.Hours.Short", null) + " ";
            this.ma_strTimeDescriptionsShort[8] = clocLanguage.GetLocalized("global.Hours.Short", null) + " ";
            this.ma_strTimeDescriptionsShort[7] = clocLanguage.GetLocalized("global.Days.Short", null) + " ";
            this.ma_strTimeDescriptionsShort[6] = clocLanguage.GetLocalized("global.Days.Short", null) + " ";
            this.ma_strTimeDescriptionsShort[5] = clocLanguage.GetLocalized("global.Weeks.Short", null) + " ";
            this.ma_strTimeDescriptionsShort[4] = clocLanguage.GetLocalized("global.Weeks.Short", null) + " ";
            this.ma_strTimeDescriptionsShort[3] = clocLanguage.GetLocalized("global.Months.Short", null) + " ";
            this.ma_strTimeDescriptionsShort[2] = clocLanguage.GetLocalized("global.Months.Short", null) + " ";
            this.ma_strTimeDescriptionsShort[1] = clocLanguage.GetLocalized("global.Years.Short", null) + " ";
            this.ma_strTimeDescriptionsShort[0] = clocLanguage.GetLocalized("global.Years.Short", null) + " ";

            this.ma_strTimeDescriptionsLong[13] = " " + clocLanguage.GetLocalized("global.Seconds.Plural", null).ToLower();
            this.ma_strTimeDescriptionsLong[12] = " " + clocLanguage.GetLocalized("global.Seconds.Singular", null).ToLower();
            this.ma_strTimeDescriptionsLong[11] = " " + clocLanguage.GetLocalized("global.Minutes.Plural", null).ToLower() + " ";
            this.ma_strTimeDescriptionsLong[10] = " " + clocLanguage.GetLocalized("global.Minutes.Singular", null).ToLower() + " ";
            this.ma_strTimeDescriptionsLong[9] = " " + clocLanguage.GetLocalized("global.Hours.Plural", null).ToLower() + " ";
            this.ma_strTimeDescriptionsLong[8] = " " + clocLanguage.GetLocalized("global.Hours.Singular", null).ToLower() + " ";
            this.ma_strTimeDescriptionsLong[7] = " " + clocLanguage.GetLocalized("global.Days.Plural", null).ToLower() + " ";
            this.ma_strTimeDescriptionsLong[6] = " " + clocLanguage.GetLocalized("global.Days.Singular", null).ToLower() + " ";
            this.ma_strTimeDescriptionsLong[5] = " " + clocLanguage.GetLocalized("global.Weeks.Plural", null).ToLower() + " ";
            this.ma_strTimeDescriptionsLong[4] = " " + clocLanguage.GetLocalized("global.Weeks.Singular", null).ToLower() + " ";
            this.ma_strTimeDescriptionsLong[3] = " " + clocLanguage.GetLocalized("global.Months.Plural", null).ToLower() + " ";
            this.ma_strTimeDescriptionsLong[2] = " " + clocLanguage.GetLocalized("global.Months.Singular", null).ToLower() + " ";
            this.ma_strTimeDescriptionsLong[1] = " " + clocLanguage.GetLocalized("global.Years.Plural", null).ToLower() + " ";
            this.ma_strTimeDescriptionsLong[0] = " " + clocLanguage.GetLocalized("global.Years.Singular", null).ToLower() + " ";

            this.cboBanlistTimeMultiplier.Items[0] = clocLanguage.GetLocalized("global.Minutes.Plural", null);
            this.cboBanlistTimeMultiplier.Items[1] = clocLanguage.GetLocalized("global.Hours.Plural", null);
            this.cboBanlistTimeMultiplier.Items[2] = clocLanguage.GetLocalized("global.Days.Plural", null);
            this.cboBanlistTimeMultiplier.Items[3] = clocLanguage.GetLocalized("global.Weeks.Plural", null);
            this.cboBanlistTimeMultiplier.Items[4] = clocLanguage.GetLocalized("global.Months.Plural", null);

            this.tabBanlist.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist", null);
            this.colName.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.lsvBanlist.colName", null);
            this.colIP.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.lsvBanlist.colIP", null);
            this.colGUID.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.lsvBanlist.colGUID", null);
            this.colType.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.lsvBanlist.colType", null);
            //this.colTime.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.lsvBanlist.colTime", null);
            //this.colBanLength.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.lsvBanlist.colBanLength", null);
            this.colTimeRemaining.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.lsvBanlist.colTimeRemaining", null);
            this.colReason.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.lsvBanlist.colReason", null);
            this.btnBanlistClearBanlist.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.btnBanlistClearBanlist", null);
            //this.btnBanlistClearBanlist.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.btnBanlistClearNameList", null);
            //this.btnBanlistClearIPList.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.btnBanlistClearIPList", null);
            this.btnBanlistUnban.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.btnBanlistUnban", null);

            this.tabMaplist.Text = clocLanguage.GetLocalized("uscListControlPanel.tabMaplist");

            this.tabReservedSlots.Text = clocLanguage.GetLocalized("uscListControlPanel.tabReservedSlots", null);
            this.lblReservedCurrent.Text = clocLanguage.GetLocalized("uscListControlPanel.tabReservedSlots.lblReservedCurrent", null);
            this.colSoldierNames.Text = clocLanguage.GetLocalized("uscListControlPanel.tabReservedSlots.lsvReservedList.colSoldierNames", null);
            this.lblReservedAddSoldierName.Text = clocLanguage.GetLocalized("uscListControlPanel.tabReservedSlots.lblReservedAddSoldierName", null);
            this.lnkReservedAddSoldierName.Text = clocLanguage.GetLocalized("uscListControlPanel.tabReservedSlots.lnkReservedAddSoldierName", null);

            this.tabSpectatorSlots.Text = clocLanguage.GetLocalized("uscListControlPanel.tabSpectatorSlots", null);
            this.lblSpectatorCurrent.Text = clocLanguage.GetLocalized("uscListControlPanel.tabSpectatorSlots.lblSpectatorCurrent", null);
            this.colSpectatorSoldierNames.Text = clocLanguage.GetLocalized("uscListControlPanel.tabSpectatorSlots.lsvSpectatorList.colSpectatorSoldierNames", null);
            this.lblSpectatorAddSoldierName.Text = clocLanguage.GetLocalized("uscListControlPanel.tabSpectatorSlots.lblSpectatorAddSoldierName", null);
            this.lnkSpectatorAddSoldierName.Text = clocLanguage.GetLocalized("uscListControlPanel.tabSpectatorSlots.lnkSpectatorAddSoldierName", null);

            this.lnkCloseOpenManualBans.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.lnkCloseOpenManualBans.Close", null);
            this.rdoBanlistName.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.rdoBanlistName", null);
            //this.rdoBanlistPbGUID.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.rdoBanlistGUID", null);
            this.lblBanlistReason.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.lblBanlistReason", null) + ":";
            this.rdoBanlistPermanent.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.rdoBanlistPermanent", null);
            this.rdoBanlistTemporary.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.rdoBanlistTemporary", null);
            this.lblBanlistTime.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.lblBanlistTime", null) + ":";
            this.btnBanlistAddBan.Text = clocLanguage.GetLocalized("uscListControlPanel.tabBanlist.btnBanlistAddBan", null);

            this.uscMaplist1.SetLocalization(clocLanguage);

            this.tabTextChatModeration.Text = clocLanguage.GetLocalized("uscTextChatModerationList.Title", null);
            this.uscTextChatModerationListcs1.SetLocalization(clocLanguage);
        }
 public void AssignLocale(CLocalization aSender)
 {
     Localization = aSender;
 }
        public override void SetLocalization(CLocalization clocLanguage) {
            base.SetLocalization(clocLanguage);

            this.chkSettingsKillCam.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsKillCam");

            this.chkSettingsMinimap.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsMinimap");
            this.chkSettingsCrosshair.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsCrosshair");
            this.chkSettings3DSpotting.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettings3DSpotting");
            this.chkSettingsMinimapSpotting.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsMinimapSpotting");
            this.chkSettingsThirdPersonVehicleCameras.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsThirdPersonVehicleCameras");
            this.chkSettingsTeamBalance.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsTeamBalance");

            this.chkSettingsNameTag.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsNameTag");
            this.chkSettingsRegenerateHealth.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsRegenerateHealth");
            this.chkSettingsHud.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsHud");
            this.chkSettingsOnlySquadLeaderSpawn.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsOnlySquadLeaderSpawn");
            
            this.chkSettingsVehicleSpawnAllowed.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsVehicleSpawnAllowed");
            this.lblSettingsVehicleSpawnDelay.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsVehicleSpawnDelay");
            this.lnkSettingsVehicleSpawnDelay.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsVehicleSpawnDelay");
            this.lblSettingsBulletDamage.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsBulletDamage");
            this.lnkSettingsBulletDamage.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsBulletDamage");
            this.lblSettingsRoundRestartPlayerCount.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsRoundRestartPlayerCount");
            this.lnkSettingsRoundRestartPlayerCount.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsRoundRestartPlayerCount");
            this.lblSettingsRoundStartPlayerCount.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsRoundStartPlayerCount");
            this.lnkSettingsRoundStartPlayerCount.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsRoundStartPlayerCount");
            this.lblSettingsSoldierHealth.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsSoldierHealth");
            this.lnkSettingsSoldierHealth.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsSoldierHealth");
            this.lblSettingsPlayerManDownTime.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsPlayerManDownTime");
            this.lnkSettingsPlayerManDownTime.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsPlayerManDownTime");
            this.lblSettingsPlayerRespawnTime.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsPlayerRespawnTime");
            this.lnkSettingsPlayerRespawnTime.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsPlayerRespawnTime");
            this.lblSettingsGameModeCounter.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsGameModeCounter");
            this.lnkSettingsGameModeCounter.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsGameModeCounter");
            this.lblSettingsCtfRoundTimeModifier.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsCtfRoundTimeModifier");
            this.lnkSettingsCtfRoundTimeModifier.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsCtfRoundTimeModifier");
            this.lblSettingsLockdownCountdown.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsLockdownCountdown");
            this.lnkSettingsLockdownCountdown.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsLockdownCountdown");
            this.lblSettingsWarmupTimeout.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsWarmupTimeout");
            this.lnkSettingsWarmupTimeout.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsWarmupTimeout");

            this.lblSettingsUnlockMode.Text = this.Language.GetLocalized("uscServerSettingsPanel.lblSettingsUnlockMode");
            this.lnkSettingsUnlockMode.Text = this.Language.GetLocalized("uscServerSettingsPanel.lnkSettingsUnlockMode");

            this.chkSettingsIsHitIndicators.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsIsHitIndicators");
            this.chkSettingsIsForceReloadWholeMags.Text = this.Language.GetLocalized("uscServerSettingsPanel.chkSettingsIsForceReloadWholeMags");

            this.cboGameplayPresets.Items.Clear();
            this.cboGameplayPresets.Items.Add("Quickmatch");
            this.cboGameplayPresets.Items.Add("Normal");
            this.cboGameplayPresets.Items.Add("Hardcore");
            this.cboGameplayPresets.Items.Add("Infantry Only");
            this.cboGameplayPresets.SelectedIndex = 0;

            ArrayList UnlockModes = new ArrayList();
            UnlockModes.Add(new UnlockMode(this.Language.GetLocalized("uscServerSettingsPanel.cboSettingsUnlockMode.None"), UnlockModeType.none.ToString()));
            UnlockModes.Add(new UnlockMode(this.Language.GetLocalized("uscServerSettingsPanel.cboSettingsUnlockMode.All"), UnlockModeType.all.ToString()));
            UnlockModes.Add(new UnlockMode(this.Language.GetLocalized("uscServerSettingsPanel.cboSettingsUnlockMode.Common"), UnlockModeType.common.ToString()));
            UnlockModes.Add(new UnlockMode(this.Language.GetLocalized("uscServerSettingsPanel.cboSettingsUnlockMode.Stats"), UnlockModeType.stats.ToString()));

            this.cboSettingsUnlockMode.DataSource = UnlockModes;
            this.cboSettingsUnlockMode.DisplayMember = "LongName";
            this.cboSettingsUnlockMode.ValueMember = "ShortName";

            this.lblSettingsGunMasterWeaponsPreset.Text = this.Language.GetDefaultLocalized(this.lblSettingsGunMasterWeaponsPreset.Text, "uscServerSettingsPanel.lblSettingsGunMasterWeaponsPreset");
            this.lnkSettingsGunMasterWeaponsPreset.Text = this.Language.GetDefaultLocalized(this.lnkSettingsGunMasterWeaponsPreset.Text, "uscServerSettingsPanel.lnkSettingsGunMasterWeaponsPreset");

            ArrayList GunMasterWeaponsPresets = new ArrayList();
            GunMasterWeaponsPresets.Add(new GunMasterWeaponsPreset(this.Language.GetDefaultLocalized("Standard", "uscServerSettingsPanel.cboSettingsGunMasterWeaponsPreset.Standard"), ((int)GunMasterWeaponsPresetType.standard).ToString()));
            GunMasterWeaponsPresets.Add(new GunMasterWeaponsPreset(this.Language.GetDefaultLocalized("Standard reversed", "uscServerSettingsPanel.cboSettingsGunMasterWeaponsPreset.Reversed"), ((int)GunMasterWeaponsPresetType.reversed).ToString()));
            GunMasterWeaponsPresets.Add(new GunMasterWeaponsPreset(this.Language.GetDefaultLocalized("Leight Weight", "uscServerSettingsPanel.cboSettingsGunMasterWeaponsPreset.LightWeight"), ((int)GunMasterWeaponsPresetType.light_weigth).ToString()));
            GunMasterWeaponsPresets.Add(new GunMasterWeaponsPreset(this.Language.GetDefaultLocalized("Heavy Gear", "uscServerSettingsPanel.cboSettingsGunMasterWeaponsPreset.HeavyGear"), ((int)GunMasterWeaponsPresetType.heavy_gear).ToString()));
            GunMasterWeaponsPresets.Add(new GunMasterWeaponsPreset(this.Language.GetDefaultLocalized("Pistol run", "uscServerSettingsPanel.cboSettingsGunMasterWeaponsPreset.PistolRun"), ((int)GunMasterWeaponsPresetType.pistol_run).ToString()));
            GunMasterWeaponsPresets.Add(new GunMasterWeaponsPreset(this.Language.GetDefaultLocalized("Snipers Heaven", "uscServerSettingsPanel.cboSettingsGunMasterWeaponsPreset.SnipersHeaven"), ((int)GunMasterWeaponsPresetType.snipers_heaven).ToString()));
            GunMasterWeaponsPresets.Add(new GunMasterWeaponsPreset(this.Language.GetDefaultLocalized("US arms race", "uscServerSettingsPanel.cboSettingsGunMasterWeaponsPreset.UsArmsRace"), ((int)GunMasterWeaponsPresetType.us_arms_race).ToString()));
            GunMasterWeaponsPresets.Add(new GunMasterWeaponsPreset(this.Language.GetDefaultLocalized("RU arms race", "uscServerSettingsPanel.cboSettingsGunMasterWeaponsPreset.RuArmsRace"), ((int)GunMasterWeaponsPresetType.ru_arms_race).ToString()));
            GunMasterWeaponsPresets.Add(new GunMasterWeaponsPreset(this.Language.GetDefaultLocalized("EU arms race", "uscServerSettingsPanel.cboSettingsGunMasterWeaponsPreset.EuArmsRace"), ((int)GunMasterWeaponsPresetType.eu_arms_race).ToString()));

            this.cboSettingsGunMasterWeaponsPreset.DataSource = GunMasterWeaponsPresets;
            this.cboSettingsGunMasterWeaponsPreset.DisplayMember = "LongName";
            this.cboSettingsGunMasterWeaponsPreset.ValueMember = "ShortName";


        }
        public override void SetLocalization(CLocalization clocLanguage)
        {
            this.m_clocLanguage = clocLanguage;

            if (this.m_clocLanguage != null)
            {
                //this.m_prcConnection.SetLocalization(this.m_clocLanguage);

                this.uscLogin.SetLocalization(this.m_clocLanguage);

                this.tabPlayerList.Text = this.m_clocLanguage.GetLocalized("uscServerConnection.tabPlayerList", null);
                this.uscPlayers.SetLocalization(this.m_clocLanguage);
                this.tabChat.Text = this.m_clocLanguage.GetLocalized("uscServerConnection.tabChat", null);
                this.uscChat.SetLocalization(this.m_clocLanguage);

                this.uscMap.SetLocalization(this.m_clocLanguage);

                this.tabMapView.Text = this.m_clocLanguage.GetLocalized("uscServerConnection.tabMapView");
                this.tabEvents.Text  = this.m_clocLanguage.GetLocalized("uscServerConnection.tabEvents", null);
                this.uscEvents.SetLocalization(this.m_clocLanguage);
                this.tabLists.Text = this.m_clocLanguage.GetLocalized("uscServerConnection.tabLists", null);
                this.uscLists.SetLocalization(this.m_clocLanguage);
                this.tabServerSettings.Text = this.m_clocLanguage.GetLocalized("uscServerConnection.tabServerSettings", null);
                this.uscSettings.SetLocalization(this.m_clocLanguage);
                this.tabPlugins.Text = this.m_clocLanguage.GetLocalized("uscServerConnection.tabPlugins", null);
                this.uscPlugins.SetLocalization(this.m_clocLanguage);
                this.tabAccounts.Text = this.m_clocLanguage.GetLocalized("uscServerConnection.tabAccounts", null);
                this.uscAccounts.SetLocalization(this.m_clocLanguage);
                this.tabConsole.Text = this.m_clocLanguage.GetLocalized("uscServerConnection.tabConsole", null);
                this.uscServerConsole.SetLocalization(this.m_clocLanguage);

                this.m_tabParentLayerControl.Text = this.m_clocLanguage.GetLocalized("uscServerConnection.tabParentLayerControl", null);
                this.m_uscParentLayerControl.SetLocalization(this.m_clocLanguage);

                this.toolTipMapControls.SetToolTip(this.btnNextRound, this.m_clocLanguage.GetLocalized("uscServerConnection.btnNextRound.ToolTip"));
                this.toolTipMapControls.SetToolTip(this.btnRestartRound, this.m_clocLanguage.GetLocalized("uscServerConnection.btnRestartRound.ToolTip"));

                this.ma_timeDescriptionsShort[13] = this.m_clocLanguage.GetLocalized("global.Seconds.Short", null);
                this.ma_timeDescriptionsShort[12] = this.m_clocLanguage.GetLocalized("global.Seconds.Short", null);
                this.ma_timeDescriptionsShort[11] = this.m_clocLanguage.GetLocalized("global.Minutes.Short", null) + " ";
                this.ma_timeDescriptionsShort[10] = this.m_clocLanguage.GetLocalized("global.Minutes.Short", null) + " ";
                this.ma_timeDescriptionsShort[9]  = this.m_clocLanguage.GetLocalized("global.Hours.Short", null) + " ";
                this.ma_timeDescriptionsShort[8]  = this.m_clocLanguage.GetLocalized("global.Hours.Short", null) + " ";
                this.ma_timeDescriptionsShort[7]  = this.m_clocLanguage.GetLocalized("global.Days.Short", null) + " ";
                this.ma_timeDescriptionsShort[6]  = this.m_clocLanguage.GetLocalized("global.Days.Short", null) + " ";
                this.ma_timeDescriptionsShort[5]  = this.m_clocLanguage.GetLocalized("global.Weeks.Short", null) + " ";
                this.ma_timeDescriptionsShort[4]  = this.m_clocLanguage.GetLocalized("global.Weeks.Short", null) + " ";
                this.ma_timeDescriptionsShort[3]  = this.m_clocLanguage.GetLocalized("global.Months.Short", null) + " ";
                this.ma_timeDescriptionsShort[2]  = this.m_clocLanguage.GetLocalized("global.Months.Short", null) + " ";
                this.ma_timeDescriptionsShort[1]  = this.m_clocLanguage.GetLocalized("global.Years.Short", null) + " ";
                this.ma_timeDescriptionsShort[0]  = this.m_clocLanguage.GetLocalized("global.Years.Short", null) + " ";

                if (this.m_prcConnection.CurrentServerInfo != null)
                {
                    this.SetServerInfoLabels(this.m_prcConnection.CurrentServerInfo);
                    //this.lblPlayerCount.Text = this.m_clocLanguage.GetLocalized("uscServerConnection.lblPlayerCount", new string[] { this.m_prcConnection.CurrentServerInfo.PlayerCount.ToString(), this.m_prcConnection.CurrentServerInfo.MaxPlayerCount.ToString() });
                    //this.lblCurrentGameMode.Text = this.m_clocLanguage.GetLocalized("uscServerConnection.lblCurrentGameMode", new string[] {  });
                    //this.lblCurrentMapName.Text = this.m_clocLanguage.GetLocalized("uscServerConnection.lblCurrentMapName", new string[] { this.m_prcConnection.GetFriendlyMapname(this.m_prcConnection.CurrentServerInfo.Map) });

                    //this.lblCurrentMapName.Text = String.Format("{0} - {1}", this.m_prcConnection.GetFriendlyGamemode(this.m_prcConnection.CurrentServerInfo.GameMode), this.m_prcConnection.GetFriendlyMapname(this.m_prcConnection.CurrentServerInfo.Map));
                    //this.lblCurrentRound.Text = this.m_clocLanguage.GetLocalized("uscServerConnection.lblCurrentRound", this.m_prcConnection.CurrentServerInfo.CurrentRound.ToString(), this.m_prcConnection.CurrentServerInfo.TotalRounds.ToString());
                }
                else
                {
                    //this.lblPlayerCount.Text = this.m_clocLanguage.GetLocalized("uscServerConnection.lblPlayerCount", new string[] { "", "" });
                    //this.lblCurrentGameMode.Text = this.m_clocLanguage.GetLocalized("uscServerConnection.lblCurrentGameMode", new string[] { "" });
                    //this.lblCurrentMapName.Text = this.m_clocLanguage.GetLocalized("uscServerConnection.lblCurrentMapName", new string[] { "" });
                    this.lblCurrentMapName.Text = String.Empty;
                    this.lblCurrentRound.Text   = this.m_clocLanguage.GetLocalized("uscServerConnection.lblCurrentRound", "", "");
                }

                if (this.m_prcConnection.Game != null)
                {
                    this.SetVersionInfoLabels(this.m_prcConnection.Game);
                }
            }
        }