fix typo (UnforTunately) fix #2918

This commit is contained in:
Felix Wolfsteller 2022-02-05 11:04:23 +01:00
parent 9ddb1c4379
commit a755af8176

@ -1708,7 +1708,7 @@ export function applyForJob(this: IPlayer, entryPosType: CompanyPosition, sing =
if (!this.isQualified(company, pos)) { if (!this.isQualified(company, pos)) {
const reqText = getJobRequirementText(company, pos); const reqText = getJobRequirementText(company, pos);
if (!sing) { if (!sing) {
dialogBoxCreate("Unforunately, you do not qualify for this position<br>" + reqText); dialogBoxCreate("Unfortunately, you do not qualify for this position<br>" + reqText);
} }
return false; return false;
} }
@ -1849,7 +1849,7 @@ export function applyForSecurityEngineerJob(this: IPlayer, sing = false): boolea
return this.applyForJob(CompanyPositions[posNames.SecurityEngineerCompanyPositions[0]], sing); return this.applyForJob(CompanyPositions[posNames.SecurityEngineerCompanyPositions[0]], sing);
} else { } else {
if (!sing) { if (!sing) {
dialogBoxCreate("Unforunately, you do not qualify for this position"); dialogBoxCreate("Unfortunately, you do not qualify for this position");
} }
return false; return false;
} }
@ -1862,7 +1862,7 @@ export function applyForNetworkEngineerJob(this: IPlayer, sing = false): boolean
return this.applyForJob(pos, sing); return this.applyForJob(pos, sing);
} else { } else {
if (!sing) { if (!sing) {
dialogBoxCreate("Unforunately, you do not qualify for this position"); dialogBoxCreate("Unfortunately, you do not qualify for this position");
} }
return false; return false;
} }
@ -1889,7 +1889,7 @@ export function applyForAgentJob(this: IPlayer, sing = false): boolean {
return this.applyForJob(pos, sing); return this.applyForJob(pos, sing);
} else { } else {
if (!sing) { if (!sing) {
dialogBoxCreate("Unforunately, you do not qualify for this position"); dialogBoxCreate("Unfortunately, you do not qualify for this position");
} }
return false; return false;
} }
@ -1914,7 +1914,7 @@ export function applyForEmployeeJob(this: IPlayer, sing = false): boolean {
return true; return true;
} else { } else {
if (!sing) { if (!sing) {
dialogBoxCreate("Unforunately, you do not qualify for this position"); dialogBoxCreate("Unfortunately, you do not qualify for this position");
} }
return false; return false;
@ -1939,7 +1939,7 @@ export function applyForPartTimeEmployeeJob(this: IPlayer, sing = false): boolea
return true; return true;
} else { } else {
if (!sing) { if (!sing) {
dialogBoxCreate("Unforunately, you do not qualify for this position"); dialogBoxCreate("Unfortunately, you do not qualify for this position");
} }
return false; return false;
@ -1963,7 +1963,7 @@ export function applyForWaiterJob(this: IPlayer, sing = false): boolean {
return true; return true;
} else { } else {
if (!sing) { if (!sing) {
dialogBoxCreate("Unforunately, you do not qualify for this position"); dialogBoxCreate("Unfortunately, you do not qualify for this position");
} }
return false; return false;
} }
@ -1986,7 +1986,7 @@ export function applyForPartTimeWaiterJob(this: IPlayer, sing = false): boolean
return true; return true;
} else { } else {
if (!sing) { if (!sing) {
dialogBoxCreate("Unforunately, you do not qualify for this position"); dialogBoxCreate("Unfortunately, you do not qualify for this position");
} }
return false; return false;
} }