Fix some typos (#6598)

* src: fix a typo in a translation string

* src: fix typos in comments and SECURITY.md
This commit is contained in:
William Desportes 2023-06-04 10:38:04 +02:00 committed by GitHub
parent a337d62008
commit a7b1a70533
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ released every 6 months using the following scheme:
XX.1 - January release Community XX.1 - January release Community
XX.7 - July release Community XX.7 - July release Community
XX.4 - April release Business XX.4 - April release Business
XX.10 - Oktober release Business XX.10 - October release Business
Where XX equals the year (e.g. 23 for 2023) Where XX equals the year (e.g. 23 for 2023)

View file

@ -174,7 +174,7 @@ function window_highlight_table_option()
* in order to use this partial the html template should contain the following: * in order to use this partial the html template should contain the following:
* - a <select> with the id "fw_category" to load categories in * - a <select> with the id "fw_category" to load categories in
* - <tr/> entities with class "rule" to identify the rows to filter * - <tr/> entities with class "rule" to identify the rows to filter
* - on the <tr/> tag a data element named "category", which contains a comma seperated list of categories this rule belongs to * - on the <tr/> tag a data element named "category", which contains a comma separated list of categories this rule belongs to
* - a <table/> with id "opnsense-rules" which contains the rules * - a <table/> with id "opnsense-rules" which contains the rules
*/ */
function hook_firewall_categories() { function hook_firewall_categories() {

View file

@ -437,7 +437,7 @@ include("head.inc");
<?= gettext('Using policy routing in the packet filter rules causes packets to skip ' . <?= gettext('Using policy routing in the packet filter rules causes packets to skip ' .
'processing for the traffic shaper and captive portal tasks. ' . 'processing for the traffic shaper and captive portal tasks. ' .
'Using this option enables the sharing of such forwarding decisions ' . 'Using this option enables the sharing of such forwarding decisions ' .
'between all components to accomodate complex setups.') ?> 'between all components to accommodate complex setups.') ?>
</div> </div>
</td> </td>
</tr> </tr>

View file

@ -697,7 +697,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$cert['descr'] = $pconfig['descr']; $cert['descr'] = $pconfig['descr'];
$old_err_level = error_reporting(0); /* otherwise openssl_ functions throw warings directly to a page screwing menu tab */ $old_err_level = error_reporting(0); /* otherwise openssl_ functions throw warnings directly to a page screwing menu tab */
if ($pconfig['keytype'] == "Elliptic Curve") { if ($pconfig['keytype'] == "Elliptic Curve") {
$pconfig['keylen_curve'] = $pconfig['curve']; $pconfig['keylen_curve'] = $pconfig['curve'];
} else { } else {