Improved locale text for modloader-outdated_sptversion_field
This commit is contained in:
parent
b82630defd
commit
2edd1695f6
@ -191,7 +191,7 @@
|
||||
"modloader-mod_order_missing_from_json": "ModLoader: Mod %s is missing from order.json, adding",
|
||||
"modloader-no_mods_loaded": "Errors were found with mods, NO MODS WILL BE LOADED",
|
||||
"modloader-not_correct_mod_folder": "A folder called (%s) exists in your mods folder. You incorrectly installed a mod. You may have extracted the contents of a mod directly into the mod folder by mistake. Refer to the websites FAQ and the mods hub page on how to install mods correctly",
|
||||
"modloader-outdated_sptVersion_field": "Mod %s is not compatible with the current version of SPT. You may encounter issues - no support will be provided!",
|
||||
"modloader-outdated_sptversion_field": "Mod {{modName}} {{modVersion}} is not compatible with the current version of SPT. It was made for SPT: {{desiredSptVersion}} Please check for an updated version of this mod. You may encounter issues - no support will be provided!",
|
||||
"modloader-outdated_dependency": "Mod {{mod}} requires {{modDependency}} version {{requiredVersion}}. Current installed version is {{currentVersion}}",
|
||||
"modloader-skipped_mod": "Skipping loading of Mod: {{mod}}",
|
||||
"modloader-user_mod_folder_missing": "ModLoader: user/mod folder missing, creating...",
|
||||
|
@ -351,7 +351,7 @@ export class PreSptModLoader implements IModLoader
|
||||
// Warning and allow loading if semver is not satisfied
|
||||
if (!satisfies(sptVersion, mod.sptVersion))
|
||||
{
|
||||
this.logger.warning(this.localisationService.getText("modloader-outdated_sptversion_field", modName));
|
||||
this.logger.warning(this.localisationService.getText("modloader-outdated_sptversion_field", { modName: modName, modVersion: mod.version, desiredSptVersion: mod.sptVersion }));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user