From 2616ace119f590ea39403bd80b4735eeae9d4ad1 Mon Sep 17 00:00:00 2001 From: Monviech <79600909+Monviech@users.noreply.github.com> Date: Tue, 29 Oct 2024 17:36:36 +0100 Subject: [PATCH] firewall: groups: Fix wording of 9425ca7 (#8025) --- .../models/OPNsense/Firewall/FieldTypes/GroupNameField.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes/GroupNameField.php b/src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes/GroupNameField.php index 0ca57325f..04811dafb 100644 --- a/src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes/GroupNameField.php +++ b/src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes/GroupNameField.php @@ -58,10 +58,10 @@ class GroupNameField extends BaseField $result[] = gettext('Only letters, digits and underscores are allowed as the group name.'); } if (!empty($value) && strlen($value) > 15) { - $result[] = gettext('The group name must not be longer than 15 characters.'); + $result[] = gettext('The group name shall not be longer than 15 characters.'); } if (preg_match('/^[0-9]|[0-9]$/', $value, $match)) { - $result[] = gettext('The group name must not start or end with a digit.'); + $result[] = gettext('The group name shall not start or end with a digit.'); } $cnf = Config::getInstance()->object(); if (!empty($cnf->$value) && empty($cnf->$value->virtual)) {