Example #1
0
        public void SetLocalizations()
        {
            Loc.ControlText(lbBreedingPlanHeader, "SelectSpeciesBreedingPlanner");
            Loc.ControlText(gbBPOffspring);
            Loc.ControlText(gbBPBreedingMode);
            Loc.ControlText(rbBPTopStatsCn);
            Loc.ControlText(rbBPTopStats);
            Loc.ControlText(rbBPHighStats);
            Loc.ControlText(cnBPIncludeCooldowneds);
            Loc.ControlText(btBPApplyNewWeights);
            Loc.ControlText(gbBPBreedingMode);
            Loc.ControlText(lbBPBreedingTimes);
            Loc.ControlText(btBPJustMated);
            columnHeader2.Text = Loc.s("Time");
            columnHeader3.Text = Loc.s("TotalTime");
            columnHeader4.Text = Loc.s("FinishedAt");

            // tooltips
            Loc.ControlText(lbBPBreedingScore, tt);
            Loc.ControlText(rbBPTopStatsCn, tt);
            Loc.ControlText(rbBPTopStats, tt);
            Loc.ControlText(rbBPHighStats, tt);
            Loc.ControlText(btBPJustMated, tt);
            Loc.setToolTip(nudBPMutationLimit, tt);
            Loc.setToolTip(cbBPTagExcludeDefault, tt);
        }
 public void SetLocalizations()
 {
     Loc.ControlText(gbCreatureInfo);
     Loc.ControlText(lbName, "Name", tt);
     Loc.ControlText(lbOwner, "Owner", tt);
     Loc.ControlText(lbTribe, "Tribe", tt);
     Loc.ControlText(lbServer, "Server");
     Loc.ControlText(lbMother, "Mother");
     Loc.ControlText(lbFather, "Father");
     Loc.ControlText(lbNote, "Note");
     Loc.ControlText(lbCooldown, "cooldown");
     Loc.ControlText(lbGrownIn, "grownIn");
     lbMaturationPerc.Text = Loc.s("Maturation") + " [%]";
     Loc.ControlText(lbMutations, "Mutations");
     Loc.ControlText(lbSex, "Sex");
     Loc.ControlText(lbStatus, "Status");
     Loc.ControlText(btClearColors, "Colors", tt);
     Loc.ControlText(btSaveChanges);
     Loc.ControlText(btAdd2Library);
     //tooltips
     Loc.setToolTip(buttonSex, "Sex", tt);
     Loc.setToolTip(buttonStatus, "Status", tt);
     Loc.setToolTip(dateTimePickerAdded, "domesticatedAt", tt);
     Loc.setToolTip(nudMutationsMother, "mutationCounter", tt);
     Loc.setToolTip(btnGenerateUniqueName, tt);
 }
Example #3
0
        private void setLocalizations(bool init = true)
        {
            if (init)
            {
                initLocalization();
            }

            // menu
            Loc.ControlText(fileToolStripMenuItem);
            Loc.ControlText(newToolStripMenuItem);
            Loc.ControlText(loadToolStripMenuItem);
            Loc.ControlText(loadAndAddToolStripMenuItem);
            Loc.ControlText(saveToolStripMenuItem);
            Loc.ControlText(saveAsToolStripMenuItem);
            Loc.ControlText(importingFromSavegameToolStripMenuItem);
            Loc.ControlText(importingFromSavegameEmptyToolStripMenuItem);
            //Loc.ControlText(runDefaultExtractionAndImportFileToolStripMenuItem);
            //Loc.ControlText(runDefaultExtractionToolStripMenuItem);
            //Loc.ControlText(importCreatedJsonfileToolStripMenuItem);
            Loc.ControlText(importExportedCreaturesToolStripMenuItem);
            //Loc.ControlText(runDefaultExtractionAndImportFileToolStripMenuItem);
            //Loc.ControlText(runDefaultExtractionToolStripMenuItem);
            //Loc.ControlText(importCreatedJsonfileToolStripMenuItem);
            Loc.ControlText(modValueManagerToolStripMenuItem);
            Loc.ControlText(settingsToolStripMenuItem);
            Loc.ControlText(openSettingsToolStripMenuItem);
            Loc.ControlText(quitToolStripMenuItem);
            Loc.ControlText(editToolStripMenuItem);
            Loc.ControlText(exportValuesToClipboardToolStripMenuItem);
            Loc.ControlText(importValuesFromClipboardToolStripMenuItem);
            Loc.ControlText(setStatusToolStripMenuItem);
            Loc.ControlText(multiSetterToolStripMenuItem);
            Loc.ControlText(deleteSelectedToolStripMenuItem);
            Loc.ControlText(findDuplicatesToolStripMenuItem);
            Loc.ControlText(copyCreatureToolStripMenuItem);
            Loc.ControlText(pasteCreatureToolStripMenuItem);
            Loc.ControlText(viewToolStripMenuItem);
            Loc.ControlText(deadCreaturesToolStripMenuItem);
            Loc.ControlText(unavailableCreaturesToolStripMenuItem);
            Loc.ControlText(obeliskCreaturesToolStripMenuItem);
            Loc.ControlText(neuteredCreaturesToolStripMenuItem);
            Loc.ControlText(mutatedCreaturesToolStripMenuItem);
            Loc.ControlText(femalesToolStripMenuItem);
            Loc.ControlText(malesToolStripMenuItem);
            Loc.ControlText(helpToolStripMenuItem);
            Loc.ControlText(aboutToolStripMenuItem);
            Loc.ControlText(onlinehelpToolStripMenuItem);
            Loc.ControlText(BreedingPlanHelpToolStripMenuItem);
            Loc.ControlText(extractionIssuesToolStripMenuItem);
            Loc.ControlText(checkForUpdatedStatsToolStripMenuItem);
            Loc.ControlText(toolStripButtonCopy2Tester);
            Loc.ControlText(toolStripButtonCopy2Extractor);
            Loc.ControlText(toolStripButtonClear);
            Loc.ControlText(toolStripButtonAddNote);
            Loc.ControlText(toolStripButtonRemoveNote);
            Loc.ControlText(toolStripButtonDeleteExpiredIncubationTimers);
            Loc.ControlText(toolStripButtonSaveCreatureValuesTemp);
            Loc.ControlText(toolStripButtonDeleteTempCreature);
            Loc.ControlText(tsBtAddAsExtractionTest);
            Loc.ControlText(copyToMultiplierTesterToolStripButton);

            // top bar
            Loc.ControlText(cbGuessSpecies, tt);
            Loc.ControlText(btReadValuesFromArk, tt);
            Loc.ControlText(btImportLastExported, tt);
            Loc.ControlText(cbToggleOverlay);

            // tester
            Loc.ControlText(tabPageStatTesting, "statTesting");
            Loc.ControlText(rbWildTester, "wild");
            Loc.ControlText(rbTamedTester, "tamed");
            Loc.ControlText(rbBredTester, "bred");
            Loc.ControlText(lbTesterWildLevel, "wildLvl");
            Loc.ControlText(lbTesterDomLevel, "domLvl");
            Loc.ControlText(lbCurrentValue, "currentValue");
            Loc.ControlText(lbBreedingValueTester, "breedingValue");
            Loc.ControlText(lbNotYetTamed);
            Loc.ControlText(gpPreviewEdit);
            Loc.ControlText(lbTestingInfo);
            Loc.ControlText(gbStatChart, "statChart");
            Loc.ControlText(lbCurrentCreature, "CurrentCreature");
            Loc.setToolTip(lbImprintedCount, tt);
            Loc.setToolTip(lbTesterDomLevel, "domLevelExplanation", tt);
            Loc.setToolTip(lbTesterWildLevel, "wildLevelExplanation", tt);

            // extractor
            Loc.ControlText(tabPageExtractor, "extractor");
            Loc.ControlText(lbCurrentStatEx, "currentStatValue");
            Loc.ControlText(lbExtractorWildLevel, "wildLvl");
            Loc.ControlText(lbExtractorDomLevel, "domLvl");
            Loc.ControlText(lbSum);
            Loc.ControlText(lbShouldBe);
            Loc.ControlText(lbImprintingFailInfo);
            Loc.ControlText(cbExactlyImprinting, tt);
            Loc.ControlText(btExtractLevels);
            Loc.ControlText(cbQuickWildCheck, tt);
            Loc.ControlText(rbWildExtractor, "wild");
            Loc.ControlText(rbTamedExtractor, "tamed");
            Loc.ControlText(rbBredExtractor, "bred");
            Loc.setToolTip(lbImprintingCuddleCountExtractor, tt);
            Loc.setToolTip(lbSumWild, tt);
            Loc.setToolTip(lbSumDom, tt);
            Loc.setToolTip(lbSumDomSB, tt);
            Loc.setToolTip(lbListening, tt);
            Loc.setToolTip(lbExtractorDomLevel, "domLevelExplanation", tt);
            Loc.setToolTip(lbExtractorWildLevel, "wildLevelExplanation", tt);

            // library
            Loc.ControlText(tabPageLibrary, "library");
            columnHeaderName.Text       = Loc.s("Name");
            columnHeaderOwner.Text      = Loc.s("Owner");
            columnHeaderNote.Text       = Loc.s("Note");
            columnHeaderServer.Text     = Loc.s("Server");
            columnHeaderHP.Text         = Utils.statName(StatNames.Health, true);
            columnHeaderSt.Text         = Utils.statName(StatNames.Stamina, true);
            columnHeaderOx.Text         = Utils.statName(StatNames.Oxygen, true);
            columnHeaderFo.Text         = Utils.statName(StatNames.Food, true);
            columnHeaderWe.Text         = Utils.statName(StatNames.Weight, true);
            columnHeaderDm.Text         = Utils.statName(StatNames.MeleeDamageMultiplier, true);
            columnHeaderSp.Text         = Utils.statName(StatNames.SpeedMultiplier, true);
            columnHeaderTo.Text         = Utils.statName(StatNames.Torpidity, true);
            columnHeaderWa.Text         = Utils.statName(StatNames.CraftingSpeedMultiplier, true);
            columnHeaderTemp.Text       = Utils.statName(StatNames.Temperature, true);
            columnHeaderCr.Text         = Utils.statName(StatNames.Water, true);
            columnHeaderFr.Text         = Utils.statName(StatNames.TemperatureFortitude, true);
            columnHeaderTopStatsNr.Text = Loc.s("Top");
            columnHeaderTopness.Text    = Loc.s("topPercentage");
            columnHeaderGen.Text        = Loc.s("Generation_Abb");
            columnHeaderLW.Text         = Loc.s("LevelWild_Abb");
            columnHeaderMutations.Text  = Loc.s("Mutations_Abb");
            columnHeaderAdded.Text      = Loc.s("added");
            columnHeaderCooldown.Text   = Loc.s("cooldownGrowing");
            columnHeaderColor0.Text     = Loc.s("C0");
            columnHeaderColor1.Text     = Loc.s("C1");
            columnHeaderColor2.Text     = Loc.s("C2");
            columnHeaderColor3.Text     = Loc.s("C3");
            columnHeaderColor4.Text     = Loc.s("C4");
            columnHeaderColor5.Text     = Loc.s("C5");

            // other tabs
            Loc.ControlText(tabPagePedigree, "pedigree");
            Loc.ControlText(tabPageTaming, "Taming");
            Loc.ControlText(tabPageBreedingPlan, "BreedingPlan");
            Loc.ControlText(tabPageRaising, "Raising");
            Loc.ControlText(tabPagePlayerTribes, "Player");

            // other controls
            creatureInfoInputTester.SetLocalizations();
            creatureInfoInputExtractor.SetLocalizations();
            pedigree1.SetLocalizations();
            tamingControl1.SetLocalizations();
            breedingPlan1.SetLocalizations();
        }