Skip to content

Commit da9c5f1

Browse files
committed
DOCS: typos #1596
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
1 parent ae2dc92 commit da9c5f1

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

front/js/app-init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function isAppInitialized() {
126126

127127
lang_shouldBeCompletedCalls = getLangCode() == 'en_us' ? 1 : 2;
128128

129-
// check if each ajax call completed succesfully
129+
// check if each ajax call completed successfully
130130
for (const call_name of completedCalls_final) {
131131
if (getCache(CACHE_KEYS.initFlag(call_name)) != "true") {
132132
_isAppInitLog(`[isAppInitialized] waiting on ${call_name} (value: ${getCache(CACHE_KEYS.initFlag(call_name))})`);
@@ -268,7 +268,7 @@ setTimeout(() => {
268268
// page refresh if configured
269269
const refreshTime = getSetting("UI_REFRESH");
270270
if (refreshTime && refreshTime !== "0" && refreshTime !== "") {
271-
console.log("Refreshing page becasue UI_REFRESH setting enabled.");
271+
console.log("Refreshing page because UI_REFRESH setting enabled.");
272272
newTimerRefreshData(clearCache, parseInt(refreshTime)*1000);
273273
}
274274

front/js/ui_components.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ function addOptionFromModalInput() {
590590
* A MAC is considered fake if it starts with:
591591
* - "FA:CE" (new synthetic devices)
592592
* - "00:1A" (legacy placeholder devices)
593+
* - "02:" (legacy placeholder devices)
593594
*
594595
* The check is case-insensitive.
595596
*
@@ -600,8 +601,8 @@ function isFakeMac(macAddress) {
600601
// Normalize to lowercase for consistent comparison
601602
macAddress = macAddress.toLowerCase();
602603

603-
// Check if MAC starts with FA:CE or 00:1a
604-
return macAddress.startsWith("fa:ce") || macAddress.startsWith("00:1a");
604+
// Check if MAC starts with FA:CE or 00:1a or 02:
605+
return macAddress.startsWith("fa:ce") || macAddress.startsWith("00:1a") || macAddress.startsWith("02:");
605606
}
606607

607608

front/php/templates/language/en_us.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,11 +400,11 @@
400400
"Login_Toggle_Info_headline": "Password Information",
401401
"Maint_PurgeLog": "Purge log",
402402
"Maint_RestartServer": "Restart server",
403-
"Maint_Restart_Server_noti_text": "Are you sure you want to restart the backend server? This may casue app inconsistency. Backup your setup first. <br/> <br/> Note: This may take a few minutes.",
403+
"Maint_Restart_Server_noti_text": "Are you sure you want to restart the backend server? This may cause app inconsistency. Backup your setup first. <br/> <br/> Note: This may take a few minutes.",
404404
"Maintenance_InitCheck": "Init check",
405405
"Maintenance_InitCheck_Checking": "Checking…",
406406
"Maintenance_InitCheck_QuickSetupGuide": "Make sure you followed the <a href=\"https://docs.netalertx.com/INITIAL_SETUP/\" target=\"_blank\">quick setup guide</a>.",
407-
"Maintenance_InitCheck_Success": "Application initialized succesfully!",
407+
"Maintenance_InitCheck_Success": "Application initialized successfully!",
408408
"Maintenance_ReCheck": "Retry check",
409409
"Maintenance_Running_Version": "Installed version",
410410
"Maintenance_Status": "Status",

0 commit comments

Comments
 (0)