Fixed some typos

This commit is contained in:
Daniël van Noord
2021-04-03 16:11:42 +02:00
parent e482a62fe8
commit 66ede34b92
8 changed files with 37 additions and 37 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -389,7 +389,7 @@ const Config = {
'Tooltip',
[
'Building/upgrade tooltip information OFF',
'Building/upgrade tooltip information ON',
'Building/upgrade tooltip information ON',
],
'Extra information in building/upgrade tooltips',
true,

View File

@@ -115,7 +115,7 @@ export default function AddMenuStats(title) {
stats.appendChild(
CreateElements.StatsListing(
'basic',
`Average Cookies Per Second (Past ${
`Average cookies per second (past ${
CookieTimes[CMOptions.AvgCPSHist] < 60
? `${CookieTimes[CMOptions.AvgCPSHist]} seconds`
: CookieTimes[CMOptions.AvgCPSHist] / 60 +
@@ -127,7 +127,7 @@ export default function AddMenuStats(title) {
stats.appendChild(
CreateElements.StatsListing(
'basic',
`Average Cookie Clicks Per Second (Past ${
`Average cookie clicks per second (past ${
ClickTimes[CMOptions.AvgClicksHist]
}${CMOptions.AvgClicksHist === 0 ? ' second' : ' seconds'})`,
document.createTextNode(Beautify(CacheAverageClicks, 1)),
@@ -136,7 +136,7 @@ export default function AddMenuStats(title) {
stats.appendChild(
CreateElements.StatsListing(
'basic',
`Cookies from clicking (Past ${ClickTimes[CMOptions.AvgClicksHist]}${
`Cookies from clicking (past ${ClickTimes[CMOptions.AvgClicksHist]}${
CMOptions.AvgClicksHist === 0 ? ' second' : ' seconds'
})`,
document.createTextNode(
@@ -168,7 +168,7 @@ export default function AddMenuStats(title) {
stats.appendChild(
CreateElements.StatsListing(
'basic',
'Missed Golden Cookies',
'Missed golden cookies',
document.createTextNode(Beautify(Game.missedGoldenClicks)),
),
);

View File

@@ -83,7 +83,7 @@ export function LuckySection() {
section.appendChild(
StatsListing(
'withTooltip',
'"Lucky!" Cookies Required',
'"Lucky!" cookies required',
luckyReqFrag,
goldCookTooltip,
),
@@ -113,7 +113,7 @@ export function LuckySection() {
section.appendChild(
StatsListing(
'withTooltip',
'"Lucky!" Cookies Required (Frenzy)',
'"Lucky!" cookies required (frenzy)',
luckyReqFrenFrag,
goldCookTooltip,
),
@@ -130,7 +130,7 @@ export function LuckySection() {
section.appendChild(
StatsListing(
'withTooltip',
`"Lucky!" Reward (MAX)${luckySplit ? ' (Golden / Wrath)' : ''}`,
`"Lucky!" reward (max)${luckySplit ? ' (golden / wrath)' : ''}`,
luckyRewardMaxSpan,
goldCookTooltip,
),
@@ -145,7 +145,7 @@ export function LuckySection() {
section.appendChild(
StatsListing(
'withTooltip',
`"Lucky!" Reward (MAX) (Frenzy)${luckySplit ? ' (Golden / Wrath)' : ''}`,
`"Lucky!" reward (max) (frenzy)${luckySplit ? ' (golden / wrath)' : ''}`,
luckyRewardFrenzyMaxSpan,
goldCookTooltip,
),
@@ -165,7 +165,7 @@ export function LuckySection() {
section.appendChild(
StatsListing(
'withTooltip',
`"Lucky!" Reward (CUR)${luckySplit ? ' (Golden / Wrath)' : ''}`,
`"Lucky!" reward (cur)${luckySplit ? ' (golden / wrath)' : ''}`,
luckyCurSpan,
goldCookTooltip,
),
@@ -211,7 +211,7 @@ export function ChainSection() {
section.appendChild(
StatsListing(
'withTooltip',
'"Chain" Cookies Required',
'"Chain" cookies required',
chainReqFrag,
goldCookTooltip,
),
@@ -242,7 +242,7 @@ export function ChainSection() {
section.appendChild(
StatsListing(
'withTooltip',
'"Chain" Cookies Required (Wrath)',
'"Chain" cookies required (Wrath)',
chainWrathReqFrag,
goldCookTooltip,
),
@@ -273,7 +273,7 @@ export function ChainSection() {
section.appendChild(
StatsListing(
'withTooltip',
'"Chain" Cookies Required (Frenzy)',
'"Chain" cookies required (Frenzy)',
chainReqFrenFrag,
goldCookTooltip,
),
@@ -305,7 +305,7 @@ export function ChainSection() {
section.appendChild(
StatsListing(
'withTooltip',
'"Chain" Cookies Required (Frenzy) (Wrath)',
'"Chain" cookies required (frenzy) (Wrath)',
chainWrathReqFrenFrag,
goldCookTooltip,
),
@@ -314,7 +314,7 @@ export function ChainSection() {
section.appendChild(
StatsListing(
'withTooltip',
'"Chain" Reward (MAX) (Golden / Wrath)',
'"Chain" reward (max) (golden / wrath)',
document.createTextNode(
`${Beautify(CacheChainMaxReward[0])} / ${Beautify(
CacheChainWrathMaxReward[0],
@@ -327,7 +327,7 @@ export function ChainSection() {
section.appendChild(
StatsListing(
'withTooltip',
'"Chain" Reward (MAX) (Frenzy) (Golden / Wrath)',
'"Chain" reward (max) (frenzy) (golden / wrath)',
document.createTextNode(
`${Beautify(CacheChainFrenzyMaxReward[0])} / ${Beautify(
CacheChainFrenzyMaxReward[0],
@@ -354,7 +354,7 @@ export function ChainSection() {
section.appendChild(
StatsListing(
'withTooltip',
'"Chain" Reward (CUR) (Golden / Wrath)',
'"Chain" reward (cur) (golden / wrath)',
document.createTextNode(
`${Beautify(chainCur)} / ${Beautify(chainCurWrath)}`,
),
@@ -365,7 +365,7 @@ export function ChainSection() {
section.appendChild(
StatsListing(
'withTooltip',
'CPS Needed For Next Level (G / W)',
'CPS needed for next level (g / w)',
document.createTextNode(
`${Beautify(CacheChainRequiredNext)} / ${Beautify(
CacheChainWrathRequiredNext,
@@ -377,7 +377,7 @@ export function ChainSection() {
section.appendChild(
StatsListing(
'withTooltip',
'CPS Needed For Next Level (Frenzy) (G / W)',
'CPS needed for next level (frenzy) (g / w)',
document.createTextNode(
`${Beautify(CacheChainFrenzyRequiredNext)} / ${Beautify(
CacheChainFrenzyWrathRequiredNext,
@@ -422,7 +422,7 @@ export function SpellsSection() {
section.appendChild(
StatsListing(
'withTooltip',
'"Conjure Baked Goods" Cookies Required',
'"Conjure Baked Goods" cookies required',
conjureReqFrag,
'GoldCookTooltipPlaceholder',
),
@@ -430,7 +430,7 @@ export function SpellsSection() {
section.appendChild(
StatsListing(
'withTooltip',
'"Conjure Baked Goods" Reward (MAX)',
'"Conjure Baked Goods" reward (max)',
document.createTextNode(Beautify(CacheConjureReward)),
'GoldCookTooltipPlaceholder',
),
@@ -465,7 +465,7 @@ export function SpellsSection() {
section.appendChild(
StatsListing(
'withTooltip',
'"Conjure Baked Goods" Cookies Required (Frenzy)',
'"Conjure Baked Goods" cookies required (frenzy)',
conjureFrenzyReqFrag,
'GoldCookTooltipPlaceholder',
),
@@ -473,7 +473,7 @@ export function SpellsSection() {
section.appendChild(
StatsListing(
'withTooltip',
'"Conjure Baked Goods" Reward (MAX) (Frenzy)',
'"Conjure Baked Goods" reward (max) (frenzy)',
document.createTextNode(Beautify(CacheConjureReward * 7)),
'GoldCookTooltipPlaceholder',
),
@@ -481,7 +481,7 @@ export function SpellsSection() {
section.appendChild(
StatsListing(
'withTooltip',
'"Conjure Baked Goods" Reward (CUR)',
'"Conjure Baked Goods" reward (cur)',
document.createTextNode(Beautify(conjureFrenzyCur)),
'GoldCookTooltipPlaceholder',
),
@@ -490,7 +490,7 @@ export function SpellsSection() {
section.appendChild(
StatsListing(
'withTooltip',
'"Spontaneous Edifice" Cookies Required (most expensive building)',
'"Spontaneous Edifice" cookies required (most expensive building)',
document.createTextNode(
`${Beautify(CacheEdifice)} (${CacheEdificeBuilding})`,
),
@@ -603,7 +603,7 @@ export function PrestigeSection() {
section.appendChild(
StatsListing(
'withTooltip',
'Prestige Level (CUR / MAX)',
'Prestige level (cur / max)',
document.createTextNode(
`${Beautify(Game.prestige)} / ${Beautify(possiblePresMax)}`,
),
@@ -636,7 +636,7 @@ export function PrestigeSection() {
section.appendChild(
StatsListing(
'withTooltip',
'Cookies To Next Level',
'Cookies to next level',
cookiesNextFrag,
'NextPrestTooltipPlaceholder',
),
@@ -645,7 +645,7 @@ export function PrestigeSection() {
section.appendChild(
StatsListing(
'withTooltip',
'Heavenly Chips (CUR / MAX)',
'Heavenly chips (cur / max)',
document.createTextNode(
`${Beautify(Game.heavenlyChips)} / ${Beautify(
possiblePresMax - Game.prestige + Game.heavenlyChips,
@@ -658,7 +658,7 @@ export function PrestigeSection() {
section.appendChild(
StatsListing(
'basic',
'Heavenly Chips Per Second (last 5 seconds)',
'Heavenly chips per second (last 5 seconds)',
document.createTextNode(Beautify(CacheHCPerSecond, 2)),
),
);
@@ -672,14 +672,14 @@ export function PrestigeSection() {
section.appendChild(
StatsListing(
'basic',
'Heavenly Chips To Target Set In Settings (CUR)',
'Heavenly chips to target set in settings (cur)',
document.createTextNode(Beautify(CookiesTillTarget)),
),
);
section.appendChild(
StatsListing(
'basic',
'Time To Target (CUR, Current 5 Second Average)',
'Time till target (cur, current 5 second average)',
document.createTextNode(
FormatTime(CookiesTillTarget / CacheHCPerSecond),
),
@@ -700,7 +700,7 @@ export function PrestigeSection() {
section.appendChild(
StatsListing(
'withTooltip',
'Reset Bonus Income',
'Reset bonus income',
resetFrag,
'ResetTooltipPlaceholder',
),

View File

@@ -55,7 +55,7 @@ export default function ReplaceAscendTooltip() {
)} more cookies</b> for the next level.<br>`;
str += `${
CMOptions.TooltipAscendButton
? `<div class='line'></div>It takes ${CacheTimeTillNextPrestige} to reach the next level and you are making ${Beautify(
? `<div class='line'></div>It takes ${CacheTimeTillNextPrestige} to reach the next level and you were making ${Beautify(
CacheHCPerSecond,
2,
)} chips on average in the last 5 seconds.<br>`

View File

@@ -17,7 +17,7 @@ export default function init() {
let proceed = true;
if (Game.version !== Number(VersionMajor)) {
proceed = confirm(
`Cookie Monster version ${VersionMajor}.${VersionMinor} is meant for Game version ${VersionMajor}. Loading a different version may cause errors. Do you still want to load Cookie Monster?`,
`Cookie Monster version ${VersionMajor}.${VersionMinor} is meant for Game version ${VersionMajor}. Loading a different version may cause errors. Do you still want to load Cookie Monster?`,
);
}
if (proceed) {