summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authork-paulius <k.dash.paulius@gmail.com>2016-02-13 20:07:44 -0600
committerStephen Beaver <sbeaver@netgate.com>2016-02-14 15:14:47 -0500
commit02342d8c9fa4fe988c101427bd02096ba9ac686f (patch)
tree099de865e60cdd66ef5f0055de2ec8b6b49c8006 /src
parent7b299a6e4b231ded51f18a2a3aef33bc12d6bf80 (diff)
downloadpfsense-02342d8c9fa4fe988c101427bd02096ba9ac686f.zip
pfsense-02342d8c9fa4fe988c101427bd02096ba9ac686f.tar.gz
Review alert wording. End sentence with period, remove redundant 'Warning', 'Error', etc. prefixes, since alerts are now color coded. Remove <b> tags.
Diffstat (limited to 'src')
-rw-r--r--src/etc/inc/gmirror.inc2
-rwxr-xr-xsrc/usr/local/www/diag_dns.php4
-rw-r--r--src/usr/local/www/diag_tables.php2
-rw-r--r--src/usr/local/www/services_dhcp.php2
-rw-r--r--src/usr/local/www/status_dhcpv6_leases.php2
-rw-r--r--src/usr/local/www/status_lb_vs.php2
-rw-r--r--src/usr/local/www/widgets/widgets/installed_packages.widget.php3
7 files changed, 8 insertions, 9 deletions
diff --git a/src/etc/inc/gmirror.inc b/src/etc/inc/gmirror.inc
index a6e9d28..5520674 100644
--- a/src/etc/inc/gmirror.inc
+++ b/src/etc/inc/gmirror.inc
@@ -93,7 +93,7 @@ function gmirror_html_status() {
$mirrors = gmirror_get_status();
$output = "";
if (count($mirrors) < 1) {
- print_info_box(gettext("No Mirrors Found"), 'warning', false);
+ print_info_box(gettext("No mirrors found."), 'warning', false);
return;
}
diff --git a/src/usr/local/www/diag_dns.php b/src/usr/local/www/diag_dns.php
index 5be89d9..e74ebba 100755
--- a/src/usr/local/www/diag_dns.php
+++ b/src/usr/local/www/diag_dns.php
@@ -212,11 +212,11 @@ include("head.inc");
if ($input_errors) {
print_input_errors($input_errors);
} else if (!$resolved && $type) {
- print_info_box(sprintf(gettext('Host "%s" could not be resolved'), $host), 'warning', false);
+ print_info_box(sprintf(gettext('Host "%s" could not be resolved.'), $host), 'warning', false);
}
if ($createdalias) {
- print_info_box(gettext("Alias was created/updated successfully"), 'success', false);
+ print_info_box(gettext("Alias was created/updated successfully."), 'success', false);
}
$form = new Form('Lookup');
diff --git a/src/usr/local/www/diag_tables.php b/src/usr/local/www/diag_tables.php
index a76829f..8a160d3 100644
--- a/src/usr/local/www/diag_tables.php
+++ b/src/usr/local/www/diag_tables.php
@@ -243,6 +243,6 @@ events.push(function() {
<?php
if (empty($entries)) {
- print_info_box(gettext("No entries exist in this table"), 'warning', false);
+ print_info_box(gettext("No entries exist in this table."), 'warning', false);
}
include("foot.inc");
diff --git a/src/usr/local/www/services_dhcp.php b/src/usr/local/www/services_dhcp.php
index 6a9f0c7..b635175 100644
--- a/src/usr/local/www/services_dhcp.php
+++ b/src/usr/local/www/services_dhcp.php
@@ -784,7 +784,7 @@ if (!is_numeric($pool) && !($act == "newpool")) {
$pconfig['enable']
));
} else {
- print_info_box(gettext('Editing Pool-Specific Options. To return to the Interface, click its tab above.'), 'info', false);
+ print_info_box(gettext('Editing pool-specific options. To return to the Interface, click its tab above.'), 'info', false);
}
$section->addInput(new Form_Checkbox(
diff --git a/src/usr/local/www/status_dhcpv6_leases.php b/src/usr/local/www/status_dhcpv6_leases.php
index 24c00ba..87c1ad4 100644
--- a/src/usr/local/www/status_dhcpv6_leases.php
+++ b/src/usr/local/www/status_dhcpv6_leases.php
@@ -439,7 +439,7 @@ if (count($pools) > 0) {
}
if (empty($leases)) {
- print_info_box(gettext("No leases file found. Is the DHCP server active?"), 'warning', false);
+ print_info_box(gettext("No leases file found. Is the DHCPv6 server active?"), 'warning', false);
}
?>
diff --git a/src/usr/local/www/status_lb_vs.php b/src/usr/local/www/status_lb_vs.php
index 6951861..057051d 100644
--- a/src/usr/local/www/status_lb_vs.php
+++ b/src/usr/local/www/status_lb_vs.php
@@ -91,7 +91,7 @@ $tab_array[] = array(gettext("Virtual Servers"), true, "status_lb_vs.php");
display_top_tabs($tab_array);
if (empty($a_vs)) {
- print_info_box(gettext("No load balancers have been configured!"), 'danger', false);
+ print_info_box(gettext("No load balancers have been configured."), 'danger', false);
} else {
?>
<div class="table-responsive"></div>
diff --git a/src/usr/local/www/widgets/widgets/installed_packages.widget.php b/src/usr/local/www/widgets/widgets/installed_packages.widget.php
index d1948a9..2fa5d6f 100644
--- a/src/usr/local/www/widgets/widgets/installed_packages.widget.php
+++ b/src/usr/local/www/widgets/widgets/installed_packages.widget.php
@@ -73,8 +73,7 @@ if ($_REQUEST && $_REQUEST['ajax']) {
});
if (empty($installed_packages)) {
- print_info_box("<strong>". gettext("No packages installed.") . "</strong>\n" . " " .
- gettext('You can install packages <a href="pkg_mgr.php" class="alert-link">here</a>.') . "\n", 'warning', false);
+ print_info_box(gettext("No packages installed.") . " " . gettext('You can install packages <a href="pkg_mgr.php" class="alert-link">here</a>.'), 'warning', false);
exit;
}
OpenPOWER on IntegriCloud