From 4c12b0c10c4c070cf56d61632cdb7e127bb7c837 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 16 Dec 2019 15:25:34 +0100 Subject: Fix some more typos Signed-off-by: Stefan Weil --- modules-available/dnbd3/inc/dnbd3util.inc.php | 2 +- .../locationinfo/templates/frontend-default.html | 10 +++++----- .../locationinfo/templates/frontend-summary.html | 12 ++++++------ modules-available/main/lang/en/template-tags.json | 4 ++-- modules-available/rebootcontrol/lang/en/permissions.json | 2 +- modules-available/rebootcontrol/lang/en/template-tags.json | 4 ++-- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/modules-available/dnbd3/inc/dnbd3util.inc.php b/modules-available/dnbd3/inc/dnbd3util.inc.php index 6ede18d5..fdbf9190 100644 --- a/modules-available/dnbd3/inc/dnbd3util.inc.php +++ b/modules-available/dnbd3/inc/dnbd3util.inc.php @@ -57,7 +57,7 @@ class Dnbd3Util { if (!$hasSelf) { Database::exec("INSERT IGNORE INTO dnbd3_server (fixedip) VALUES ('')"); } - // Delete orphaned entires with machineuuid from dnbd3_server where we don't have a runmode entry + // Delete orphaned entries with machineuuid from dnbd3_server where we don't have a runmode entry Database::exec('DELETE s FROM dnbd3_server s LEFT JOIN runmode r USING (machineuuid) WHERE s.machineuuid IS NOT NULL AND r.module IS NULL'); diff --git a/modules-available/locationinfo/templates/frontend-default.html b/modules-available/locationinfo/templates/frontend-default.html index 2388af42..cad78586 100755 --- a/modules-available/locationinfo/templates/frontend-default.html +++ b/modules-available/locationinfo/templates/frontend-default.html @@ -15,7 +15,7 @@ optional: daystoshow:[1,2,3,4,5,6,7] sets how many days the calendar shows scale:[10-90] scales the calendar and Roomplan in mode 1 switchtime:[1-120] sets the time between switchen in mode 4 (in seconds) - calupdate: Time the calender querys for updates,in minutes. + calupdate: Time the calendar queries for updates,in minutes. roomupdate: Time the PCs in the room gets updated,in seconds. rotation:[0-3] rotation of the roomplan vertical:[true] only mode 1, sets the calendar above the roomplan @@ -936,7 +936,7 @@ optional: } /** - * querys the Calendar data + * queries the Calendar data */ function queryCalendars() { if (!panelUuid) return; @@ -1016,7 +1016,7 @@ optional: room.state = null; UpdateRoomHeader(room); } catch (e) { - console.log("Error: Couldnt add calendar data"); + console.log("Error: Couldn't add calendar data"); console.log(e); } } @@ -1511,7 +1511,7 @@ optional: timeout: 5000, success: function (result) { if (!result || !result.ts) { - console.log('Warning: get=timestamp didnt return json with ts field'); + console.log("Warning: get=timestamp didn't return json with ts field"); return; } if (globalConfig.ts && globalConfig.ts !== result.ts) { @@ -1534,7 +1534,7 @@ optional: timeout: 30000, success: function (result) { if (!result || result.constructor !== Array) { - console.log('Warning: get=machines didnt return array'); + console.log("Warning: get=machines didn't return array"); return; } for (var i = 0; i < result.length; i++) { diff --git a/modules-available/locationinfo/templates/frontend-summary.html b/modules-available/locationinfo/templates/frontend-summary.html index ae089da5..540d0af6 100644 --- a/modules-available/locationinfo/templates/frontend-summary.html +++ b/modules-available/locationinfo/templates/frontend-summary.html @@ -244,7 +244,7 @@ } /** - * Querys Pc states + * Queries Pc states * Room are queried with the {{uuid}} of the panel. */ function queryRooms() { @@ -483,7 +483,7 @@ } /** - * Retruns next Opening + * Returns next Opening * @param room Room Object * @returns bestdate Date Object of next opening */ @@ -691,14 +691,14 @@ /** - * querys the Calendar data - * Calender is queried with the {{uuid}} of the panel. + * queries the Calendar data + * Calendar is queried with the {{uuid}} of the panel. * api.inc.php / page.inc.php is getting the ids with the panel uuid. */ function queryCalendars() { var url = "{{dirprefix}}api.php?do=locationinfo&get=calendar&uuid={{uuid}}"; - // Todo reimplement Frontend methode if needed + // Todo reimplement Frontend method if needed /* if(!(room.config.calendarqueryurl === undefined)) { url = room.config.calendarqueryurl; @@ -729,7 +729,7 @@ timeout: 5000, success: function (result) { if (!result || !result.ts) { - console.log('Warning: get=timestamp didnt return json with ts field'); + console.log("Warning: get=timestamp didn't return json with ts field"); return; } if (config.ts && config.ts !== result.ts) { diff --git a/modules-available/main/lang/en/template-tags.json b/modules-available/main/lang/en/template-tags.json index 1abd6dbb..6b7ded26 100644 --- a/modules-available/main/lang/en/template-tags.json +++ b/modules-available/main/lang/en/template-tags.json @@ -4,7 +4,7 @@ "lang_clockDriftWarn": "The local system's\/browser's time doesn't match the server's time. Please make sure the server's clock is running correctly, otherwise time sensitive settings or tasks might not work properly.", "lang_goTo": "Go to", "lang_intro": "This is the bwLehrpool configuration interface.", - "lang_introGuest": "This is the administration interface of the local bwLehrpool intallation. Please authenticate yourself to adjust settings.", + "lang_introGuest": "This is the administration interface of the local bwLehrpool installation. Please authenticate yourself to adjust settings.", "lang_language": "Language", "lang_loggedInPrefix": "Logged in as", "lang_loggedInSuffix": " ", @@ -18,4 +18,4 @@ "lang_warning": "Warning", "lang_warningDebug": "Debug mode active!", "lang_welcome": "Welcome" -} \ No newline at end of file +} diff --git a/modules-available/rebootcontrol/lang/en/permissions.json b/modules-available/rebootcontrol/lang/en/permissions.json index 34badbaf..7fe89cff 100644 --- a/modules-available/rebootcontrol/lang/en/permissions.json +++ b/modules-available/rebootcontrol/lang/en/permissions.json @@ -1,5 +1,5 @@ { "action.shutdown": "Shutdown Client.", "action.reboot": "Reboot Client.", - "newkeypair": "Generate new Keypair." + "newkeypair": "Generate new Key pair." } \ No newline at end of file diff --git a/modules-available/rebootcontrol/lang/en/template-tags.json b/modules-available/rebootcontrol/lang/en/template-tags.json index 9c7830aa..721b9971 100644 --- a/modules-available/rebootcontrol/lang/en/template-tags.json +++ b/modules-available/rebootcontrol/lang/en/template-tags.json @@ -6,7 +6,7 @@ "lang_confirmNewKeypair": "Really create new key pair?", "lang_connecting": "Connecting...", "lang_error": "Not available", - "lang_genNew": "Generate new keypair", + "lang_genNew": "Generate new key pair", "lang_ip": "IP", "lang_kexecRebootCheck": "Quick reboot straight to bwLehrpool (kexec)", "lang_keypairConfirmCheck": "I'm sure", @@ -14,7 +14,7 @@ "lang_minutes": " Minutes", "lang_mode": "Mode", "lang_moduleHeading": "WakeOnLAN", - "lang_newKeypairExplanation": "You can create a new keypair, which will replace the old one. Please note that after doing so, you cannot poweroff or reboot clients that are already running, since they still use the old key. They have to be rebooted manually first.", + "lang_newKeypairExplanation": "You can create a new key pair, which will replace the old one. Please note that after doing so, you cannot poweroff or reboot clients that are already running, since they still use the old key. They have to be rebooted manually first.", "lang_off": "Off", "lang_on": "On", "lang_online": "Online", -- cgit v1.2.3-55-g7522