Added ability to reset ratio (#1545)

* Minor improvements

* Update index_data.php

* Updated

* Update usercp_viewprofile.tpl

* Update mysql.sql

* Update main.php

* Update CHANGELOG.md
This commit is contained in:
Roman Kelesidis 2024-07-19 14:25:47 +07:00 committed by GitHub
commit 0eba082d41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 61 additions and 2 deletions

View file

@ -3060,3 +3060,11 @@ $lang['EMAILER_SUBJECT'] = [
'USER_WELCOME' => 'Welcome to the site %s',
'USER_WELCOME_INACTIVE' => 'Welcome to the site %s',
];
// Null ratio
$lang['BT_NULL_RATIO'] = 'Reset ratio';
$lang['BT_NULL_RATIO_NONE'] = 'You don\'t have a ratio';
$lang['BT_NULL_RATIO_ALERT'] = "Attention!\n\nAre you sure you want to reset your ratio?";
$lang['BT_NULL_RATIO_AGAIN'] = 'You have already reset your ratio!';
$lang['BT_NULL_RATIO_NOT_NEEDED'] = 'You have a good ratio. Reset is possible only with a ratio less than %s';
$lang['BT_NULL_RATIO_SUCCESS'] = 'The ratio has been reset successfully!';