From c2b02a6d29b53636433d85972178f20ef0ee1094 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Fri, 30 May 2025 17:49:32 +0300 Subject: [PATCH] Updated --- admin/admin_terms.php | 2 +- library/language/source/main.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/admin_terms.php b/admin/admin_terms.php index ce1651af5..4e294c3a5 100644 --- a/admin/admin_terms.php +++ b/admin/admin_terms.php @@ -19,7 +19,7 @@ $preview = isset($_POST['preview']); if (isset($_POST['post']) && ($bb_cfg['terms'] !== $_POST['message'])) { bb_update_config(['terms' => $_POST['message']]); - bb_die($lang['CONFIG_UPDATED'] . '

' . sprintf($lang['CLICK_RETURN_TERMS_CONFIG'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); + bb_die($lang['TERMS_UPDATED_SUCCESSFULLY'] . '

' . sprintf($lang['CLICK_RETURN_TERMS_CONFIG'], '', '') . '

' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '', '')); } $template->assign_vars([ diff --git a/library/language/source/main.php b/library/language/source/main.php index 4c783fca4..179e8d1f2 100644 --- a/library/language/source/main.php +++ b/library/language/source/main.php @@ -3026,6 +3026,7 @@ $lang['HASH_NOT_FOUND'] = 'Release with hash %s not found'; $lang['TERMS_EMPTY_TEXT'] = '[align=center]The text of this page is edited at: [url]%s[/url]. This line can see only administrators.[/align]'; $lang['TERMS_EXPLAIN'] = 'On this page, you can specify the text of the basic rules of the resource is displayed to users.'; +$lang['TERMS_UPDATED_SUCCESSFULLY'] = 'Terms have been updated successfully'; $lang['CLICK_RETURN_TERMS_CONFIG'] = '%sClick Here to return to Terms editor%s'; $lang['TR_STATS'] = [