Change wording of notification "lifetime" to "auto-close". Also a little shuffing of the settings and update Help text.

This commit is contained in:
Tom Mortensen
2023-08-31 12:03:20 -07:00
parent c37fbc7b07
commit 1cfe793761
2 changed files with 24 additions and 18 deletions
+13 -13
View File
@@ -124,10 +124,21 @@ _(Notifications display)_:
:notifications_display_help:
_(Notifications life time)_ (_(seconds)_):
_(Display position)_:
: <select name="position" class="a">
<?=mk_option($notify['position'], "top-left", _("top-left"))?>
<?=mk_option($notify['position'], "top-right", _("top-right"))?>
<?=mk_option($notify['position'], "bottom-left", _("bottom-left"))?>
<?=mk_option($notify['position'], "bottom-right", _("bottom-right"))?>
<?=mk_option($notify['position'], "center", _("center"))?>
</select>
:notifications_display_position_help:
_(Auto-close)_ (_(seconds)_):
: <input type="number" name="life" class="a" min="0" max="60" value="<?=$notify['life']?>"> _(a value of zero means no automatic closure)_
:notifications_life_time_help:
:notifications_auto_close_help:
_(Date format)_:
: <select name="date" class="a">
@@ -146,17 +157,6 @@ _(Time format)_:
:notifications_time_format_help:
_(Display position)_:
: <select name="position" class="a">
<?=mk_option($notify['position'], "top-left", _("top-left"))?>
<?=mk_option($notify['position'], "top-right", _("top-right"))?>
<?=mk_option($notify['position'], "bottom-left", _("bottom-left"))?>
<?=mk_option($notify['position'], "bottom-right", _("bottom-right"))?>
<?=mk_option($notify['position'], "center", _("center"))?>
</select>
:notifications_display_position_help:
_(Store notifications to flash)_:
: <select name="path" class="a">
<?=mk_option($notify['path'], "/tmp/notifications", _("No"))?>