hotfix the descriptions

This commit is contained in:
Jesse James Isler 2022-06-24 10:17:19 +02:00
parent 712c5f2112
commit 9240a6d6ba

View File

@ -12,7 +12,7 @@ Hooks.on("init", async function() {
//This registers the settings
game.settings.register('shortcutblocker', 'ctrlblock', {
name: 'Blocked CTRL Combos', //Kinda obvious, eh?
hint: 'Comma sepparated list of keys, which are disallowed to be used with CTRL. Example: "F5, R, W" This would allow CTRL + F5, CTRL + R and CTRL + W.', // Some descriptive text.
hint: 'Comma sepparated list of key names which get blocked. Example: "F5, R, W" This would block CTRL + F5, CTRL + R and CTRL + W.', // Some descriptive text.
scope: 'client', // "world" = sync to db, "client" = local storage
config: true, // false if you dont want it to show in module config
type: String, // Number, Boolean, String, Object
@ -25,7 +25,7 @@ Hooks.on("init", async function() {
//SPIEL DEN SELBEN SONG NOCHMAL!
game.settings.register('shortcutblocker', 'altblock', {
name: 'Blocked ALT Combos',
hint: 'Comma sepparated list of key names. Example: "F4". That would block "ALT + F4"',
hint: 'Comma sepparated list of key names which get blocked. Example: "F4". That would block "ALT + F4"',
scope: 'client',
config: true,
type: String,
@ -38,7 +38,7 @@ Hooks.on("init", async function() {
// There probably is a smoother way of doing this, but I cannot be bothered to google for that
game.settings.register('shortcutblocker', 'shiftblock', {
name: 'Blocked SHIFT Combos',
hint: 'Comma sepparated list of keys, which are allowed to be used with SHIFT. Example: "F5, R, W" This would allow SHIFT + F5',
hint: 'Comma sepparated list of key names which get blocked. Example: "F5, R, W" This would allow SHIFT + F5',
scope: 'client',
config: true,
type: String,