diff --git a/src/www/diag_confbak.php b/src/www/diag_confbak.php index 4c9ab057b..5ce3ede9a 100644 --- a/src/www/diag_confbak.php +++ b/src/www/diag_confbak.php @@ -39,7 +39,7 @@ if (isset($_POST['backupcount'])) { } else { unset($config['system']['backupcount']); } - write_config('Changed backup revision count'); + write_config(gettext('Changed backup revision count.')); } elseif (isset($_POST['newver']) && $_POST['newver'] != '') { foreach ($confvers as $filename => $revision) { if (isset($revision['time']) && $revision['time'] == $_POST['newver']) { diff --git a/src/www/firewall_nat_1to1.php b/src/www/firewall_nat_1to1.php index e1e556419..9833c8e66 100644 --- a/src/www/firewall_nat_1to1.php +++ b/src/www/firewall_nat_1to1.php @@ -87,7 +87,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { } else { $a_1to1[$id]['disabled'] = true; } - if (write_config("Firewall: NAT: Outbound, enable/disable NAT rule")) { + if (write_config(gettext('Toggled NAT rule'))) { mark_subsystem_dirty('natconf'); } header("Location: firewall_nat_1to1.php"); diff --git a/src/www/graph.php b/src/www/graph.php index fd3484398..a3deb4071 100644 --- a/src/www/graph.php +++ b/src/www/graph.php @@ -76,7 +76,7 @@ $attribs['error']='fill="blue" font-family="Arial" font-size="4"'; $attribs['collect_initial']='fill="gray" font-family="Tahoma, Verdana, Arial, Helvetica, sans-serif" font-size="4"'; //Error text if we cannot fetch data : depends on which method is used -$error_text = "Cannot get data about interface " . htmlspecialchars($ifnum); +$error_text = sprintf(gettext('Cannot get data about interface %s'), htmlspecialchars($ifnum)); $height=100; //SVG internal height : do not modify $width=200; //SVG internal width : do not modify diff --git a/src/www/interfaces_ppps.php b/src/www/interfaces_ppps.php index 1f44b74c2..5a1e2c1b4 100644 --- a/src/www/interfaces_ppps.php +++ b/src/www/interfaces_ppps.php @@ -68,7 +68,7 @@ if (!is_array($config['ppps']['ppp'])) { $a_ppps = $config['ppps']['ppp']; -$pgtitle = gettext("Interfaces: PPPs"); +$pgtitle = array(gettext('Interfaces'), gettext('PPPs')); include("head.inc"); diff --git a/src/www/services_rfc2136.php b/src/www/services_rfc2136.php index a4828c09e..cbddce172 100644 --- a/src/www/services_rfc2136.php +++ b/src/www/services_rfc2136.php @@ -51,7 +51,7 @@ $pgtitle = array(gettext("Services"), gettext("RFC 2136 clients")); include("head.inc"); $main_buttons = array( - array('label'=>'Add', 'href'=>'services_rfc2136_edit.php'), + array('label' => gettext('Add'), 'href' => 'services_rfc2136_edit.php'), ); ?> diff --git a/src/www/services_rfc2136_edit.php b/src/www/services_rfc2136_edit.php index 58244759d..7a826a969 100644 --- a/src/www/services_rfc2136_edit.php +++ b/src/www/services_rfc2136_edit.php @@ -166,7 +166,7 @@ include("head.inc"); -
Fully qualified hostname of the host to be updated +
diff --git a/src/www/services_snmp.php b/src/www/services_snmp.php index d234c3ca7..b53c0c4c7 100644 --- a/src/www/services_snmp.php +++ b/src/www/services_snmp.php @@ -462,7 +462,7 @@ function enable_change(whichone) {