From a93dd1170d71ad3cb687a585034c2225aae0ef95 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Sat, 22 Jul 2023 02:05:23 +0200 Subject: added English strings for plugin install prompt --- src/modules/packages.js | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'src/modules/packages.js') diff --git a/src/modules/packages.js b/src/modules/packages.js index 317f0b0..e6eb4a1 100644 --- a/src/modules/packages.js +++ b/src/modules/packages.js @@ -183,17 +183,8 @@ packages.install = async (url, author, package_name, version) => { // user, and make absolutely certain that they do want to // install this package, as plugins have security concerns let confirmation = await win.confirm( - `The following package has native plugins: ${name} \n\n` - - + - - "Native plugins have far more system access than a " + - "regular mod, and because of this they're inherently " + - "less secure to have installed, as a malicious plugin" + - " could do far more harm this way. If this plugin is " + - "one from a trusted developer or similar or you know " + - "what you're doing, then you can disregard this " + - "message completely." + `${lang("gui.mods.confirm_plugins_title")} ${name} \n\n` + + lang("gui.mods.confirm_plugins_description") ) // check whether the user cancelled or confirmed the -- cgit v1.2.3