Skip to content

Commit 5e5c8be

Browse files
committed
make wording of hostname/Host Name consistent
1 parent 1ec5d29 commit 5e5c8be

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

www/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ function SetupHostnameBanner() {
237237

238238
if (showHostnameBanner) {
239239
$("#bannerHostnameRow").html(
240-
"Your hostname is set to FPP, if you have multiple FPP devices " +
241-
"each one should have a different hostname. " +
240+
"Your Host Name is set to FPP, if you have multiple FPP devices " +
241+
"each one should have a different Host Name. " +
242242
"Please visit the " +
243243
"<a href=\"networkconfig.php#tab-host-dns\">Host Settings Page</a> " +
244244
" to change your hostname." +

www/networkconfig.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -676,16 +676,16 @@ function setHostName() {
676676
var regResultHostname = regExpHostname.exec(newHostname);
677677

678678
if (regResultHostname === null) {
679-
alert("Invalid hostname. Hostname may contain only letters, numbers, and hyphens and may not begin or end with a hyphen.");
679+
alert("Invalid Host Name. Host Name may contain only letters, numbers, and hyphens and may not begin or end with a hyphen.");
680680
return;
681681
}
682682

683683
$.put("api/settings/HostName", $('#hostName').val()
684684
).done(function () {
685-
$.jGrowl("HostName Saved", { themeState: 'success' });
685+
$.jGrowl("Host Name Saved", { themeState: 'success' });
686686
SetRebootFlag();
687687
}).fail(function () {
688-
DialogError("Save HostName", "Save Failed");
688+
DialogError("Save Host Name", "Save Failed");
689689
});
690690
}
691691

@@ -939,7 +939,7 @@ function dhcpServerEnabledCallback() {
939939
<div class="tab-pane fade" id="tab-host-dns" role="tabpanel" aria-labelledby="tab-host-dns-tab">
940940

941941
<h2>Host Settings</h2>
942-
<b>Changing the hostname from FPP will cause http://fpp.local/ to change and you will need to use the new hostname eg http://&lthostname&gt.local/</b>
942+
<b>Changing the Host Name from FPP will cause http://fpp.local/ to change and you will need to use the new Host Name eg http://&ltHost Name&gt.local/</b>
943943
<br>
944944
<br>
945945
<?

0 commit comments

Comments
 (0)