Merge pull request #441 from Pax1601/440-refuelling-misspelled-as-refueling

Missing Ls added
This commit is contained in:
Pax1601 2023-10-09 10:45:32 +02:00 committed by GitHub
commit c51d00673d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 14 additions and 14 deletions

View File

@ -553,7 +553,7 @@ declare module "interfaces" {
acquisitionRange?: number;
engagementRange?: number;
refuelsFrom?: string;
refuelingType?: string;
refuellingType?: string;
}
export interface UnitSpawnOptions {
roleType: string;

View File

@ -53,7 +53,7 @@ class AirUnitEditor extends uniteditor_1.UnitEditor {
(0, utils_1.addStringInput)(this.contentDiv2, "Filename", (_a = blueprint.filename) !== null && _a !== void 0 ? _a : "", "text", (value) => { blueprint.filename = value; });
(0, utils_1.addStringInput)(this.contentDiv2, "Cost", (_b = String(blueprint.cost)) !== null && _b !== void 0 ? _b : "", "number", (value) => { blueprint.cost = parseFloat(value); });
(0, utils_1.addStringInput)(this.contentDiv2, "Rufels from", (_c = String(blueprint.refuelsFrom)) !== null && _c !== void 0 ? _c : "", "text", (value) => { blueprint.refuelsFrom = value; });
(0, utils_1.addStringInput)(this.contentDiv2, "Refueling type", (_d = String(blueprint.refuelingType)) !== null && _d !== void 0 ? _d : "", "text", (value) => { blueprint.refuelingType = value; });
(0, utils_1.addStringInput)(this.contentDiv2, "Refuelling type", (_d = String(blueprint.refuellingType)) !== null && _d !== void 0 ? _d : "", "text", (value) => { blueprint.refuellingType = value; });
/* Add a scrollable list of loadouts that the user can edit */
var title = document.createElement("label");
title.innerText = "Loadouts";

View File

@ -45,7 +45,7 @@ export class AirUnitEditor extends UnitEditor {
addStringInput(this.contentDiv2, "Filename", blueprint.filename ?? "", "text", (value: string) => { blueprint.filename = value; });
addStringInput(this.contentDiv2, "Cost", String(blueprint.cost) ?? "", "number", (value: string) => { blueprint.cost = parseFloat(value); });
addStringInput(this.contentDiv2, "Rufels from", String(blueprint.refuelsFrom) ?? "", "text", (value: string) => { blueprint.refuelsFrom = value; });
addStringInput(this.contentDiv2, "Refueling type", String(blueprint.refuelingType) ?? "", "text", (value: string) => { blueprint.refuelingType = value; });
addStringInput(this.contentDiv2, "Refuelling type", String(blueprint.refuellingType) ?? "", "text", (value: string) => { blueprint.refuellingType = value; });
/* Add a scrollable list of loadouts that the user can edit */
var title = document.createElement("label");

View File

@ -15573,7 +15573,7 @@
"code": "",
"name": "Empty loadout",
"roles": [
"Refueling"
"Refuelling"
]
}
],
@ -18240,7 +18240,7 @@
"code": "",
"name": "Empty loadout",
"roles": [
"Refueling"
"Refuelling"
]
}
],
@ -18274,7 +18274,7 @@
"code": "",
"name": "Empty loadout",
"roles": [
"Refueling"
"Refuelling"
]
}
],
@ -25123,7 +25123,7 @@
"code": "",
"name": "Empty loadout",
"roles": [
"Refueling"
"Refuelling"
]
}
],

View File

@ -15573,7 +15573,7 @@
"code": "",
"name": "Empty loadout",
"roles": [
"Refueling"
"Refuelling"
]
}
],
@ -18240,7 +18240,7 @@
"code": "",
"name": "Empty loadout",
"roles": [
"Refueling"
"Refuelling"
]
}
],
@ -18274,7 +18274,7 @@
"code": "",
"name": "Empty loadout",
"roles": [
"Refueling"
"Refuelling"
]
}
],
@ -25123,7 +25123,7 @@
"code": "",
"name": "Empty loadout",
"roles": [
"Refueling"
"Refuelling"
]
}
],

View File

@ -214,7 +214,7 @@ export interface UnitBlueprint {
acquisitionRange?: number;
engagementRange?: number;
refuelsFrom?: string;
refuelingType?: string;
refuellingType?: string;
}
export interface UnitSpawnOptions {

View File

@ -298,7 +298,7 @@ export class UnitControlPanel extends Panel {
const unit = units[0];
const roles = aircraftDatabase.getByName(unit.getName())?.loadouts?.map((loadout) => {return loadout.roles})
const tanker = roles != undefined && Array.prototype.concat.apply([], roles)?.includes("Refueling");
const tanker = roles != undefined && Array.prototype.concat.apply([], roles)?.includes("Refuelling");
const AWACS = roles != undefined && Array.prototype.concat.apply([], roles)?.includes("AWACS");
const radioMHz = Math.floor(unit.getRadio().frequency / 1000000);
const radioDecimals = (unit.getRadio().frequency / 1000000 - radioMHz) * 1000;

View File

@ -83,7 +83,7 @@
</div>
<div id="tanker-checkbox" class="ol-checkbox">
<label title="The unit will operate as Air to Air Refueling tanker for airplanes that have a compatible refueling system">
<label title="The unit will operate as Air to Air Refuelling tanker for airplanes that have a compatible refuelling system">
<input type="checkbox" />
Operate as AAR tanker
</label>