Revision b34b2151
Added by Steve Beaver over 4 years ago
src/etc/inc/globals.inc | ||
---|---|---|
65 | 65 |
"admin_group" => "admins", |
66 | 66 |
"product_name" => "pfSense", |
67 | 67 |
"product_label" => "pfSense", |
68 |
"product_label_html" => "Netgate pfSense<sup>®</sup> Plus", |
|
68 | 69 |
"product_version" => trim(file_get_contents("/etc/version"), " \n"), |
69 | 70 |
"product_copyright_years" => "2004 - ".date("Y"), |
70 | 71 |
"disablehelpmenu" => false, |
src/usr/local/www/crash_reporter.php | ||
---|---|---|
97 | 97 |
<div class="panel-body"> |
98 | 98 |
<div class="content"> |
99 | 99 |
<p> |
100 |
<?=sprintf(gettext("Debugging output can be collected to share with %s developers or others providing support or assistance."), $g['product_label'])?> |
|
100 |
<?=sprintf(gettext("Debugging output can be collected to share with %s developers or others providing support or assistance."), $g['product_label_html'])?>
|
|
101 | 101 |
<br/><br/> |
102 | 102 |
<i><?=gettext("Inspect the contents to ensure this information is acceptable to disclose before distributing these files.")?></i> |
103 | 103 |
</p> |
src/usr/local/www/diag_backup.php | ||
---|---|---|
216 | 216 |
|
217 | 217 |
$section->addInput(new Form_StaticText( |
218 | 218 |
null, |
219 |
sprintf(gettext("Open a %s configuration XML file and click the button below to restore the configuration."), $g['product_label']) |
|
219 |
sprintf(gettext("Open a %s configuration XML file and click the button below to restore the configuration."), $g['product_label_html'])
|
|
220 | 220 |
)); |
221 | 221 |
|
222 | 222 |
$section->addInput(new Form_Select( |
src/usr/local/www/firewall_virtual_ip_edit.php | ||
---|---|---|
463 | 463 |
'firewall (IPsec, OpenVPN, etc.). Use an IP Alias or CARP type ' . |
464 | 464 |
'VIP for these roles.%1$s' . |
465 | 465 |
'For more information, visit the %2$s book section on %3$s'), |
466 |
'<br />', $g['product_label'], |
|
466 |
'<br />', $g['product_label_html'],
|
|
467 | 467 |
'<a href="https://docs.netgate.com/pfsense/en/latest/firewall/virtual-ip-addresses.html">Virtual IP Addresses</a>.'), |
468 | 468 |
'info', false); |
469 | 469 |
?> |
src/usr/local/www/head.inc | ||
---|---|---|
690 | 690 |
$warning_text = sprintf(gettext( |
691 | 691 |
'%1$s%3$s is booting, then packages will be reinstalled in the ' . |
692 | 692 |
'background.%2$s%1$sDo not make changes in the GUI until this is ' . |
693 |
'complete.%2$s'), '<p>', '</p>', $g['product_label']); |
|
693 |
'complete.%2$s'), '<p>', '</p>', $g['product_label_html']);
|
|
694 | 694 |
} elseif (is_subsystem_dirty('packagelock')) { |
695 | 695 |
$pgtitle = array(gettext("System"), gettext("Package Manager")); |
696 | 696 |
$warning_text = sprintf(gettext('%1$sPackages are currently being ' . |
src/usr/local/www/index.php | ||
---|---|---|
60 | 60 |
} |
61 | 61 |
|
62 | 62 |
if (($g['disablecrashreporter'] != true) && (system_has_crash_data() || system_has_php_errors())) { |
63 |
$savemsg = sprintf(gettext("%s has detected a crash report or programming bug."), $g['product_label']) . " "; |
|
63 |
$savemsg = sprintf(gettext("%s has detected a crash report or programming bug."), $g['product_label_html']) . " ";
|
|
64 | 64 |
if (isAllowedPage("/crash_reporter.php")) { |
65 | 65 |
$savemsg .= sprintf(gettext('Click %1$shere%2$s for more information.'), '<a href="crash_reporter.php">', '</a>'); |
66 | 66 |
} else { |
... | ... | |
200 | 200 |
<div class="container"> |
201 | 201 |
<div class="col-sm-offset-3 col-sm-6 col-xs-12"> |
202 | 202 |
<font color="white"> |
203 |
<p><h3><?=sprintf(gettext("Welcome to %s!") . "\n", $g['product_label'])?></h3></p> |
|
203 |
<p><h3><?=sprintf(gettext("Welcome to %s!") . "\n", $g['product_label_html'])?></h3></p>
|
|
204 | 204 |
<p><?=gettext("One moment while the initial setup wizard starts.")?></p> |
205 | 205 |
<p><?=gettext("Embedded platform users: Please be patient, the wizard takes a little longer to run than the normal GUI.")?></p> |
206 |
<p><?=sprintf(gettext("To bypass the wizard, click on the %s logo on the initial page."), $g['product_label'])?></p> |
|
206 |
<p><?=sprintf(gettext("To bypass the wizard, click on the %s logo on the initial page."), $g['product_label_html'])?></p>
|
|
207 | 207 |
</font> |
208 | 208 |
</div> |
209 | 209 |
</div> |
src/usr/local/www/interfaces_qinq.php | ||
---|---|---|
153 | 153 |
<div class="infoblock"> |
154 | 154 |
<?php print_info_box(sprintf(gettext('Not all drivers/NICs support 802.1Q QinQ tagging properly. %1$sOn cards that do not explicitly support it, ' . |
155 | 155 |
'QinQ tagging will still work, but the reduced MTU may cause problems.%1$s' . |
156 |
'See the %2$s handbook for information on supported cards.'), '<br />', $g['product_label']), 'info', false); ?> |
|
156 |
'See the %2$s handbook for information on supported cards.'), '<br />', $g['product_label_html']), 'info', false); ?>
|
|
157 | 157 |
</div> |
158 | 158 |
|
159 | 159 |
<?php |
src/usr/local/www/interfaces_vlan.php | ||
---|---|---|
146 | 146 |
<?php print_info_box(sprintf(gettext('Not all drivers/NICs support 802.1Q '. |
147 | 147 |
'VLAN tagging properly. %1$sOn cards that do not explicitly support it, VLAN '. |
148 | 148 |
'tagging will still work, but the reduced MTU may cause problems.%1$sSee the '. |
149 |
'%2$s handbook for information on supported cards.'), '<br />', $g['product_label']), 'info', false); ?> |
|
149 |
'%2$s handbook for information on supported cards.'), '<br />', $g['product_label_html']), 'info', false); ?>
|
|
150 | 150 |
</div> |
151 | 151 |
|
152 | 152 |
<?php |
src/usr/local/www/pkg_mgr_install.php | ||
---|---|---|
367 | 367 |
<?php |
368 | 368 |
elseif ($firmwareupdate): |
369 | 369 |
?> |
370 |
<?=sprintf(gettext('Confirmation Required to update %s system.'), $g['product_label'])?> |
|
370 |
<?=sprintf(gettext('Confirmation Required to update %s system.'), $g['product_label_html'])?>
|
|
371 | 371 |
<?php |
372 | 372 |
else: |
373 | 373 |
?> |
src/usr/local/www/services_captiveportal.php | ||
---|---|---|
646 | 646 |
'Preserve users database', |
647 | 647 |
'Preserve connected users across reboot', |
648 | 648 |
'yes' |
649 |
))->setDisabled()->setHelp("If enabled, connected users won't be disconnected during a %s reboot. This setting is not editable because High Availability is enabled.", $g['product_label']); |
|
649 |
))->setDisabled()->setHelp("If enabled, connected users won't be disconnected during a %s reboot. This setting is not editable because High Availability is enabled.", $g['product_label_html']);
|
|
650 | 650 |
} else { |
651 | 651 |
$section->addInput(new Form_Checkbox( |
652 | 652 |
'preservedb', |
653 | 653 |
'Preserve users database', |
654 | 654 |
'Preserve connected users across reboot', |
655 | 655 |
$pconfig['preservedb'] |
656 |
))->setHelp("If enabled, connected users won't be disconnected during a %s reboot.", $g['product_label']); |
|
656 |
))->setHelp("If enabled, connected users won't be disconnected during a %s reboot.", $g['product_label_html']);
|
|
657 | 657 |
} |
658 | 658 |
|
659 | 659 |
$section->addInput(new Form_Select( |
... | ... | |
675 | 675 |
$pconfig['nomacfilter'] |
676 | 676 |
))->setHelp('If enabled no attempts will be made to ensure that the MAC address of clients stays the same while they are logged in. ' . |
677 | 677 |
'This is required when the MAC address of the client cannot be determined (usually because there are routers between %s and the clients). ' . |
678 |
'If this is enabled, RADIUS MAC authentication cannot be used.', $g['product_label']); |
|
678 |
'If this is enabled, RADIUS MAC authentication cannot be used.', $g['product_label_html']);
|
|
679 | 679 |
|
680 | 680 |
$section->addInput(new Form_Checkbox( |
681 | 681 |
'passthrumacadd', |
... | ... | |
1132 | 1132 |
))->setHelp('This name will be used in the form action for the HTTPS POST and should match the Common Name (CN) in the certificate ' . |
1133 | 1133 |
'(otherwise, the client browser will most likely display a security warning). ' . |
1134 | 1134 |
'Make sure captive portal clients can resolve this name in DNS and verify on the client that the IP resolves to the correct interface IP on %s.', |
1135 |
$g['product_label']); |
|
1135 |
$g['product_label_html']);
|
|
1136 | 1136 |
|
1137 | 1137 |
$section->addInput(new Form_Select( |
1138 | 1138 |
'certref', |
src/usr/local/www/services_captiveportal_hasync.php | ||
---|---|---|
79 | 79 |
if ($_POST['backwardsyncip'] && (is_ipaddr_configured($_POST['backwardsyncip']))) { |
80 | 80 |
$input_errors[] = sprintf(gettext("This IP is currently used " . |
81 | 81 |
"by this %s node. Please enter an IP belonging to the " . |
82 |
"primary node."), $g['product_label']); |
|
82 |
"primary node."), $g['product_label_html']);
|
|
83 | 83 |
} |
84 | 84 |
if ($_POST['backwardsyncpassword'] != $_POST['backwardsyncpassword_confirm']) { |
85 | 85 |
$input_errors[] = gettext("Password and confirmed password must match."); |
... | ... | |
119 | 119 |
if ($rpc_client->get_error() != '') { |
120 | 120 |
$input_errors[] = $rpc_client->get_error(); |
121 | 121 |
} else { |
122 |
$input_errors[] = sprintf(gettext('Error during communication with %s primary node.'), $g['product_label']); |
|
122 |
$input_errors[] = sprintf(gettext('Error during communication with %s primary node.'), $g['product_label_html']);
|
|
123 | 123 |
} |
124 | 124 |
} else { |
125 | 125 |
// Contains array of connected users (will be stored in SQLite DB) |
... | ... | |
196 | 196 |
))->setHelp('The XMLRPC sync provided by %1$s in <a href="/system_hasync.php">High Availability</a> settings only synchronize a secondary node to its primary node.'. |
197 | 197 |
'This checkbox enable a backward sync from the secondary to the primary, in order to have a bi-directional synchronization.%1$s'. |
198 | 198 |
'The purpose of this feature is to keep connected users synchronized between servers even if a node does down, thus providing redundancy for the captive portal zone.%2$s%2$s'. |
199 |
'<b>Important: these settings should be set on the secondary node only ! Do not update these settings if this %1$s is the primary node !</b>', $g['product_label'], '<br />'); |
|
199 |
'<b>Important: these settings should be set on the secondary node only ! Do not update these settings if this %1$s is the primary node !</b>', $g['product_label_html'], '<br />');
|
|
200 | 200 |
|
201 | 201 |
$section->addInput(new Form_IpAddress( |
202 | 202 |
'backwardsyncip', |
... | ... | |
209 | 209 |
'Primary node username', |
210 | 210 |
'text', |
211 | 211 |
$pconfig['backwardsyncuser'] |
212 |
))->setHelp('Please enter the username of the primary node that the secondary node will use for backward sync. This could be any %1$s user on the primary node with "System - HA node sync" privileges.', $g['product_label']); |
|
212 |
))->setHelp('Please enter the username of the primary node that the secondary node will use for backward sync. This could be any %1$s user on the primary node with "System - HA node sync" privileges.', $g['product_label_html']);
|
|
213 | 213 |
|
214 | 214 |
$section->addPassword(new Form_Input( |
215 | 215 |
'backwardsyncpassword', |
src/usr/local/www/services_dhcp_relay.php | ||
---|---|---|
175 | 175 |
$pconfig['agentoption'] |
176 | 176 |
))->setHelp( |
177 | 177 |
'If this is checked, the DHCP relay will append the circuit ID (%s interface number) and the agent ID to the DHCP request.', |
178 |
$g['product_label'] |
|
178 |
$g['product_label_html']
|
|
179 | 179 |
); |
180 | 180 |
|
181 | 181 |
$counter = 0; |
src/usr/local/www/services_dhcpv6_relay.php | ||
---|---|---|
170 | 170 |
$pconfig['agentoption'] |
171 | 171 |
))->setHelp( |
172 | 172 |
'If this is checked, the DHCPv6 relay will append the circuit ID (%s interface number) and the agent ID to the DHCPv6 request.', |
173 |
$g['product_label'] |
|
173 |
$g['product_label_html']
|
|
174 | 174 |
); |
175 | 175 |
|
176 | 176 |
function createDestinationServerInputGroup($value = null) { |
src/usr/local/www/services_dnsmasq.php | ||
---|---|---|
295 | 295 |
$pconfig['strict_order'] |
296 | 296 |
))->setHelp('If this option is set %1$s DNS Forwarder (dnsmasq) will '. |
297 | 297 |
'query the DNS servers sequentially in the order specified (%2$sSystem - General Setup - DNS Servers%3$s), '. |
298 |
'rather than all at once in parallel. ', $g['product_label'], '<i>', '</i>'); |
|
298 |
'rather than all at once in parallel. ', $g['product_label_html'], '<i>', '</i>');
|
|
299 | 299 |
|
300 | 300 |
$group->add(new Form_Checkbox( |
301 | 301 |
'domain_needed', |
... | ... | |
304 | 304 |
$pconfig['domain_needed'] |
305 | 305 |
))->setHelp("If this option is set %s DNS Forwarder (dnsmasq) will ". |
306 | 306 |
"not forward A or AAAA queries for plain names, without dots or domain parts, to upstream name servers. ". |
307 |
"If the name is not known from /etc/hosts or DHCP then a \"not found\" answer is returned. ", $g['product_label']); |
|
307 |
"If the name is not known from /etc/hosts or DHCP then a \"not found\" answer is returned. ", $g['product_label_html']);
|
|
308 | 308 |
|
309 | 309 |
$group->add(new Form_Checkbox( |
310 | 310 |
'no_private_reverse', |
... | ... | |
314 | 314 |
))->setHelp("If this option is set %s DNS Forwarder (dnsmasq) will ". |
315 | 315 |
"not forward reverse DNS lookups (PTR) for private addresses (RFC 1918) to upstream name servers. ". |
316 | 316 |
"Any entries in the Domain Overrides section forwarding private \"n.n.n.in-addr.arpa\" names to a specific server are still forwarded. ". |
317 |
"If the IP to name is not known from /etc/hosts, DHCP or a specific domain override then a \"not found\" answer is immediately returned. ", $g['product_label']); |
|
317 |
"If the IP to name is not known from /etc/hosts, DHCP or a specific domain override then a \"not found\" answer is immediately returned. ", $g['product_label_html']);
|
|
318 | 318 |
|
319 | 319 |
$section->add($group); |
320 | 320 |
|
src/usr/local/www/services_ntpd.php | ||
---|---|---|
287 | 287 |
'Enable', |
288 | 288 |
'Enable NTP Server', |
289 | 289 |
($pconfig['enable'] == 'enabled') |
290 |
))->setHelp('You may need to disable NTP if %1$s is running in a virtual machine and the host is responsible for the clock.', $g['product_label']); |
|
290 |
))->setHelp('You may need to disable NTP if %1$s is running in a virtual machine and the host is responsible for the clock.', $g['product_label_html']);
|
|
291 | 291 |
|
292 | 292 |
$iflist = build_interface_list(); |
293 | 293 |
|
src/usr/local/www/services_ntpd_gps.php | ||
---|---|---|
397 | 397 |
array_combine($gpstypes, $gpstypes) |
398 | 398 |
))->setHelp('This option allows a predefined configuration to be selected. ' . |
399 | 399 |
'Default is the configuration of %1$s 2.1 and earlier (not recommended). Select Generic if the GPS is not listed.%2$s' . |
400 |
'The predefined configurations assume the GPS has already been set to NMEA mode.', $g['product_label'], '<br /><br />'); |
|
400 |
'The predefined configurations assume the GPS has already been set to NMEA mode.', $g['product_label_html'], '<br /><br />');
|
|
401 | 401 |
|
402 | 402 |
$serialports = glob("/dev/cua?[0-9]{,.[0-9]}", GLOB_BRACE); |
403 | 403 |
|
src/usr/local/www/services_router_advertisements.php | ||
---|---|---|
125 | 125 |
'</dl>' . |
126 | 126 |
sprintf(gettext('It is not required to activate DHCPv6 server on %s ' . |
127 | 127 |
'when set to "Managed", "Assisted" or "Stateless DHCP", it can ' . |
128 |
'be another host on the network.'), $g['product_label']) . |
|
128 |
'be another host on the network.'), $g['product_label_html']) .
|
|
129 | 129 |
'</div>'; |
130 | 130 |
|
131 | 131 |
if ($_POST['save']) { |
src/usr/local/www/services_unbound.php | ||
---|---|---|
375 | 375 |
'*System Domain Local Zone Type', |
376 | 376 |
$pconfig['system_domain_local_zone_type'], |
377 | 377 |
unbound_local_zone_types() |
378 |
))->setHelp('The local-zone type used for the %1$s system domain (System | General Setup | Domain). Transparent is the default. Local-Zone type descriptions are available in the unbound.conf(5) manual pages.', $g['product_label']); |
|
378 |
))->setHelp('The local-zone type used for the %1$s system domain (System | General Setup | Domain). Transparent is the default. Local-Zone type descriptions are available in the unbound.conf(5) manual pages.', $g['product_label_html']);
|
|
379 | 379 |
|
380 | 380 |
$section->addInput(new Form_Checkbox( |
381 | 381 |
'dnssec', |
src/usr/local/www/status_logs_settings.php | ||
---|---|---|
535 | 535 |
|
536 | 536 |
$group->setHelp('Syslog sends UDP datagrams to port 514 on the specified remote '. |
537 | 537 |
'syslog server, unless another port is specified. Be sure to set syslogd on '. |
538 |
'the remote server to accept syslog messages from %s.', $g['product_label']); |
|
538 |
'the remote server to accept syslog messages from %s.', $g['product_label_html']);
|
|
539 | 539 |
|
540 | 540 |
$section->add($group); |
541 | 541 |
|
src/usr/local/www/system.php | ||
---|---|---|
620 | 620 |
))->setHelp('If this option is set, %s will use DNS servers '. |
621 | 621 |
'assigned by a DHCP/PPP server on WAN for its own purposes (including '. |
622 | 622 |
'the DNS Forwarder/DNS Resolver). However, they will not be assigned to DHCP '. |
623 |
'clients.', $g['product_label']); |
|
623 |
'clients.', $g['product_label_html']);
|
|
624 | 624 |
|
625 | 625 |
$section->addInput(new Form_Select( |
626 | 626 |
'dnslocalhost', |
src/usr/local/www/system_advanced_admin.php | ||
---|---|---|
386 | 386 |
) |
387 | 387 |
))->setHelp('Select the preferred console if multiple consoles are present. '. |
388 | 388 |
'The preferred console will show %1$s boot script output. All consoles '. |
389 |
'display OS boot messages, console messages, and the console menu.', $g['product_label']); |
|
389 |
'display OS boot messages, console messages, and the console menu.', $g['product_label_html']);
|
|
390 | 390 |
} |
391 | 391 |
|
392 | 392 |
$form->add($section); |
src/usr/local/www/system_advanced_firewall.php | ||
---|---|---|
127 | 127 |
isset($config['system']['disablefilter']) |
128 | 128 |
))->setHelp('Note: This converts %1$s into a routing only platform!%2$s'. |
129 | 129 |
'Note: This will also turn off NAT! To only disable NAT, '. |
130 |
'and not firewall rules, visit the %3$sOutbound NAT%4$s page.', $g["product_label"], '<br/>', '<a href="firewall_nat_out.php">', '</a>'); |
|
130 |
'and not firewall rules, visit the %3$sOutbound NAT%4$s page.', $g["product_label_html"], '<br/>', '<a href="firewall_nat_out.php">', '</a>');
|
|
131 | 131 |
|
132 | 132 |
$section->addInput(new Form_Checkbox( |
133 | 133 |
'disablescrub', |
src/usr/local/www/system_certmanager.php | ||
---|---|---|
784 | 784 |
'keypaste', |
785 | 785 |
'Key data', |
786 | 786 |
$pconfig['keypaste'] |
787 |
))->setHelp('Optionally paste a private key here. The key will be associated with the newly signed certificate in %1$s', $g['product_label']); |
|
787 |
))->setHelp('Optionally paste a private key here. The key will be associated with the newly signed certificate in %1$s', $g['product_label_html']);
|
|
788 | 788 |
|
789 | 789 |
$section->addInput(new Form_Input( |
790 | 790 |
'csrsign_lifetime', |
src/usr/local/www/system_update_settings.php | ||
---|---|---|
246 | 246 |
isset($gitcfg['dryrun']) |
247 | 247 |
))->setHelp('Dry-run only.%1$sNo files copied.', '<br />'); |
248 | 248 |
|
249 |
$group->setHelp('See "playback gitsync --help" in console "PHP Shell + %s tools" for additional information.', $g['product_label']); |
|
249 |
$group->setHelp('See "playback gitsync --help" in console "PHP Shell + %s tools" for additional information.', $g['product_label_html']);
|
|
250 | 250 |
$section->add($group); |
251 | 251 |
|
252 | 252 |
$form->add($section); |
src/usr/local/www/system_usermanager_settings.php | ||
---|---|---|
275 | 275 |
|
276 | 276 |
$modal->addInput(new Form_StaticText( |
277 | 277 |
'Test results', |
278 |
'<span id="ldaptestop">Testing %s LDAP settings... One moment please...</span>', $g['product_label'] |
|
278 |
'<span id="ldaptestop">Testing %s LDAP settings... One moment please...</span>', $g['product_label_html']
|
|
279 | 279 |
)); |
280 | 280 |
|
281 | 281 |
$form->add($modal); |
src/usr/local/www/vpn_ipsec_phase1.php | ||
---|---|---|
1111 | 1111 |
'Gateway duplicates', |
1112 | 1112 |
sprintf(gettext('Enable this to allow multiple phase 1 configurations with the same endpoint. ' . |
1113 | 1113 |
'When enabled, %s does not manage routing to the remote gateway and traffic will follow the default route ' . |
1114 |
'without regard for the chosen interface. Static routes can override this behavior.'), $g['product_label']), |
|
1114 |
'without regard for the chosen interface. Static routes can override this behavior.'), $g['product_label_html']),
|
|
1115 | 1115 |
$pconfig['gw_duplicates'] |
1116 | 1116 |
)); |
1117 | 1117 |
|
Also available in: Unified diff
Add registered trdemark symbol where appropriate