diff --git a/dist/commandSender.js b/dist/commandSender.js index 01b4196..c796385 100644 --- a/dist/commandSender.js +++ b/dist/commandSender.js @@ -120,7 +120,7 @@ parcelRequire = (function (modules, cache, entry, globalName) { })({"tYTs":[function(require,module,exports) { // ==UserScript== // @name Command sender -// @namespace https://github.com/ +// @namespace https://github.com/tribalwarshelp/scripts // @updateURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/commandSender.js // @downloadURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/commandSender.js // @version 0.1 @@ -156,8 +156,7 @@ const calcMillisecondsToAttack = date => { const handleStart = () => { const ms = calcMillisecondsToAttack(document.querySelector('#' + INPUT_ID).value); - console.log(ms); - if (ms <= 0 || isNaN(ms)) return UI.ErrorMessage('Wprowadzono nieprawidłowy czas!'); + if (ms <= 0 || isNaN(ms)) return UI.ErrorMessage('Invalid date!'); document.querySelector('#' + START_BUTTON_ID).disabled = true; document.querySelector('#' + CANCEL_BUTTON_ID).disabled = false; timeoutID = setTimeout(() => { @@ -174,7 +173,7 @@ const handleCancel = () => { const render = () => { const container = document.createElement('div'); const label = document.createElement('label'); - label.innerHTML = 'Czas dotarcia ataku:'; + label.innerHTML = 'Attack time:'; label.style.marginRight = '15px'; container.appendChild(label); const input = document.createElement('input'); diff --git a/dist/extendedPlayerProfile.js b/dist/extendedPlayerProfile.js index f66a483..b4af4ff 100644 --- a/dist/extendedPlayerProfile.js +++ b/dist/extendedPlayerProfile.js @@ -455,7 +455,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de // ==UserScript== // @name Extended Player Profile -// @namespace https://github.com/ +// @namespace https://github.com/tribalwarshelp/scripts // @updateURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/extendedPlayerProfile.js // @downloadURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/extendedPlayerProfile.js // @version 0.5 diff --git a/dist/latestEnnoblements.js b/dist/latestEnnoblements.js index ec43f5d..4ada886 100644 --- a/dist/latestEnnoblements.js +++ b/dist/latestEnnoblements.js @@ -442,7 +442,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope // ==UserScript== // @name Latest ennoblements -// @namespace https://github.com/ +// @namespace https://github.com/tribalwarshelp/scripts // @updateURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/latestEnnoblements.js // @downloadURL https://raw.githubusercontent.com/tribalwarshelp/scripts/master/dist/latestEnnoblements.js // @version 0.5 diff --git a/src/commandSender.js b/src/commandSender.js index 1410f92..3b004fd 100644 --- a/src/commandSender.js +++ b/src/commandSender.js @@ -47,8 +47,7 @@ const handleStart = () => { const ms = calcMillisecondsToAttack( document.querySelector('#' + INPUT_ID).value ); - if (ms <= 0 || isNaN(ms)) - return UI.ErrorMessage('Wprowadzono nieprawidłowy czas!'); + if (ms <= 0 || isNaN(ms)) return UI.ErrorMessage('Invalid date!'); document.querySelector('#' + START_BUTTON_ID).disabled = true; document.querySelector('#' + CANCEL_BUTTON_ID).disabled = false; @@ -67,7 +66,7 @@ const handleCancel = () => { const render = () => { const container = document.createElement('div'); const label = document.createElement('label'); - label.innerHTML = 'Czas dotarcia ataku:'; + label.innerHTML = 'Attack time:'; label.style.marginRight = '15px'; container.appendChild(label); const input = document.createElement('input');