Skip to content

Commit 164619b

Browse files
authored
Update hestiacp.pot (hestiacp#3563)
* Update hestiacp.pot - Use all lower case for comments - Use Name server 1 instead of NS1 * Update Database email template * Replace select box with Yes / No
1 parent 1d8fcbc commit 164619b

File tree

10 files changed

+223
-224
lines changed

10 files changed

+223
-224
lines changed

web/add/db/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
"Database has been created.\n" .
151151
"\n" .
152152
"Database: {{database}}\n" .
153-
"User: {{username}}\n" .
153+
"Username: {{username}}\n" .
154154
"Password: {{password}}\n" .
155155
"SQL Manager: {{dbadmin}}\n" .
156156
"\n" .

web/add/package/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@
8686
// Check if name server entries are blank if DNS server is installed
8787
if (isset($_SESSION["DNS_SYSTEM"]) && !empty($_SESSION["DNS_SYSTEM"])) {
8888
if (empty($_POST["v_ns1"])) {
89-
$errors[] = _("NS1");
89+
$errors[] = _("Nameserver 1");
9090
}
9191
if (empty($_POST["v_ns2"])) {
92-
$errors[] = _("NS2");
92+
$errors[] = _("Nameserver 2");
9393
}
9494
}
9595
if (!empty($errors[0])) {

web/edit/package/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,10 @@
195195
// Check if name server entries are blank if DNS server is installed
196196
if (isset($_SESSION["DNS_SYSTEM"]) && !empty($_SESSION["DNS_SYSTEM"])) {
197197
if (empty($_POST["v_ns1"])) {
198-
$errors[] = _("NS1");
198+
$errors[] = _("Nameserver 1");
199199
}
200200
if (empty($_POST["v_ns2"])) {
201-
$errors[] = _("NS2");
201+
$errors[] = _("Nameserver 2");
202202
}
203203
}
204204

0 commit comments

Comments
 (0)