13385-Fix hint in module regex

This commit is contained in:
Pablo Aragon 2024-04-09 12:46:33 +02:00
parent 55be5b5208
commit e2bde2373b
2 changed files with 2 additions and 2 deletions

View File

@ -1454,7 +1454,7 @@ $class = 'databox filters';
<td class="bolder">
<?php
echo __('Module').ui_print_help_tip(
__('Case insensitive regular expression or string for module name. For example: if you use this field with "Module exact match" enabled then this field has to be fulfilled with the literally string of the module name, if not you can use a regular expression. Example: .*usage.* will match: cpu_usage, vram usage in matchine 1.'),
__('Case insensitive regular expression or string for module name. For example: if you use this field with "Module exact match" enabled then this field has to be fulfilled with the literally string of the module name, if not you can use a regular expression. Example: %s will match: cpu_usage, vram usage in matchine 1.', '.*usage.*'),
true
);
?>

View File

@ -238,7 +238,7 @@ class TopNWidget extends Widget
// Module.
$inputs[] = [
'label' => __('Module').ui_print_help_tip(
__('Case insensitive regular expression or string for module name. For example: .*usage.* will match: cpu_usage, vram usage.'),
__('Case insensitive regular expression or string for module name. For example: %s will match: cpu_usage, vram usage.', '.*usage.*'),
true
),
'arguments' => [