mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
r219
git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@219 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
43a79cd1ac
commit
c41965d20d
6 changed files with 18 additions and 13 deletions
|
@ -290,7 +290,7 @@ class ajax_common
|
|||
|
||||
function change_user_rank ()
|
||||
{
|
||||
global $datastore;
|
||||
global $datastore, $lang;
|
||||
|
||||
$ranks = $datastore->get('ranks');
|
||||
$rank_id = intval($this->request['rank_id']);
|
||||
|
@ -306,7 +306,7 @@ class ajax_common
|
|||
|
||||
DB()->query("UPDATE ". BB_USERS ." SET user_rank = $rank_id WHERE user_id = $user_id LIMIT 1");
|
||||
|
||||
$this->response['html'] = ($rank_id != 0) ? 'Присвоено звание <b>'. $ranks[$rank_id]['rank_title'] .'</b>' : 'Звание снято';
|
||||
$this->response['html'] = ($rank_id != 0) ? $lang['AWARDED_RANK'] . ' <b> '. $ranks[$rank_id]['rank_title'] .'</b>' : $lang['SHOT_RANK'];
|
||||
}
|
||||
|
||||
function change_user_opt ()
|
||||
|
|
|
@ -57,7 +57,7 @@ $bb_cfg['css_ver'] = 1;
|
|||
|
||||
// Increase number of revision after update
|
||||
$bb_cfg['tp_version'] = '2.1 Beta';
|
||||
$bb_cfg['tp_release_state'] = 'R218';
|
||||
$bb_cfg['tp_release_state'] = 'R219';
|
||||
$bb_cfg['tp_release_date'] = '17-08-2011';
|
||||
|
||||
$bb_cfg['board_disabled_msg'] = 'форум временно отключен'; // 'forums temporarily disabled'; // show this msg if board has been disabled via ON/OFF trigger
|
||||
|
|
|
@ -145,12 +145,12 @@ $lang['POSTED_ARTICLES_ZERO_TOTAL'] = 'Our users have posted a total of <b>0</b>
|
|||
$lang['POSTED_ARTICLES_TOTAL'] = 'Our users have posted a total of <b>%s</b> articles'; // Number of posts
|
||||
$lang['REGISTERED_USERS_ZERO_TOTAL'] = 'We have <b>0</b> registered users'; // # registered users
|
||||
$lang['REGISTERED_USERS_TOTAL'] = 'We have <b>%s</b> registered users'; // # registered users
|
||||
$lang['USERS_TOTAL_GENDER'] = 'Boys: <b>%d</b>, girls: <b>%d</b>, others: <b>%d</b>';
|
||||
$lang['USERS_TOTAL_GENDER'] = 'Boys: <b>%d</b>, Girls: <b>%d</b>, Others: <b>%d</b>';
|
||||
$lang['NEWEST_USER'] = 'The newest registered user is <b>%s%s%s</b>'; // a href, username, /a
|
||||
|
||||
// Tracker stats
|
||||
$lang['TORRENTS_STAT'] = 'Torrents: <b style="color: blue;">%s</b>, total size: <b>%s</b>'; // first %s = number of torrents, second %s is the total size.
|
||||
$lang['PEERS_STAT'] = 'Peers: <b>%s</b>, seeders: <b class="seedmed">%s</b>, leechers: <b class="leechmed">%s</b>'; // first %s = number of peers, second %s = number of seeders, third %s = number of leechers.
|
||||
$lang['TORRENTS_STAT'] = 'Torrents: <b style="color: blue;">%s</b>, Total size: <b>%s</b>'; // first %s = number of torrents, second %s is the total size.
|
||||
$lang['PEERS_STAT'] = 'Peers: <b>%s</b>, Seeders: <b class="seedmed">%s</b>, Leechers: <b class="leechmed">%s</b>'; // first %s = number of peers, second %s = number of seeders, third %s = number of leechers.
|
||||
$lang['SPEED_STAT'] = 'Total speed: <b>%s</b> '; // %s = total speed.
|
||||
|
||||
$lang['NO_NEW_POSTS_LAST_VISIT'] = 'No new posts since your last visit';
|
||||
|
@ -547,6 +547,8 @@ $lang['HIDDEN_EMAIL'] = '[ Hidden ]';
|
|||
$lang['INTERESTS'] = 'Interests';
|
||||
$lang['OCCUPATION'] = 'Occupation';
|
||||
$lang['POSTER_RANK'] = 'Poster rank';
|
||||
$lang['AWARDED_RANK'] = 'Awarded rank';
|
||||
$lang['SHOT_RANK'] = 'Shot rank';
|
||||
|
||||
$lang['TOTAL_POSTS'] = 'Total posts';
|
||||
$lang['SEARCH_USER_POSTS'] = 'Find posts'; // Find all posts by username
|
||||
|
@ -583,8 +585,8 @@ $lang['WRONG_BIRTHDAY_FORMAT'] = 'The birthday format was entered incorrectly.';
|
|||
$lang['AGE'] = 'Age';
|
||||
$lang['BIRTHDAY_TO_HIGH'] = 'Sorry, this site, does not accept user older than %d years old';
|
||||
$lang['BIRTHDAY_TO_LOW'] = 'Sorry, this site, does not accept user yonger than %d years old';
|
||||
$lang['BIRTHDAY_TODAY'] = 'Users with a birthday today:';
|
||||
$lang['BIRTHDAY_WEEK'] = 'Users with a birthday within the next %d days:';
|
||||
$lang['BIRTHDAY_TODAY'] = 'Users with a birthday today: ';
|
||||
$lang['BIRTHDAY_WEEK'] = 'Users with a birthday within the next %d days: %s';
|
||||
$lang['NOBIRTHDAY_WEEK'] = 'No users are having a birthday in the upcoming %d days'; // %d is substitude with the number of days
|
||||
$lang['NOBIRTHDAY_TODAY'] = 'No users have a birthday today';
|
||||
|
||||
|
|
|
@ -149,11 +149,11 @@ $lang['POSTED_ARTICLES_ZERO_TOTAL'] = 'Наши пользователи не о
|
|||
$lang['POSTED_ARTICLES_TOTAL'] = 'Наши пользователи оставили сообщений: <b>%s</b>'; // Number of posts
|
||||
$lang['REGISTERED_USERS_ZERO_TOTAL'] = 'У нас нет зарегистрированных пользователей'; // # registered users
|
||||
$lang['REGISTERED_USERS_TOTAL'] = 'Всего зарегистрированных пользователей: <b>%s</b>'; // # registered users
|
||||
$lang['USERS_TOTAL_GENDER'] = 'Парней: <b>%d</b>, девушек: <b>%d</b>, ещё не определились: <b>%d</b>';
|
||||
$lang['USERS_TOTAL_GENDER'] = 'Парней: <b>%d</b>, Девушек: <b>%d</b>, Не указан: <b>%d</b>';
|
||||
$lang['NEWEST_USER'] = 'Последний зарегистрированный пользователь: <b>%s%s%s</b>'; // username
|
||||
|
||||
// Tracker stats
|
||||
$lang['TORRENTS_STAT'] = 'Раздач: <b style="color: blue;">%s</b>, общий размер: <b>%s</b>'; // first %s = number of torrents, second %s is the total size.
|
||||
$lang['TORRENTS_STAT'] = 'Раздач: <b style="color: blue;">%s</b>, Общий размер: <b>%s</b>'; // first %s = number of torrents, second %s is the total size.
|
||||
$lang['PEERS_STAT'] = 'Пиров: <b>%s</b>, Сидов: <b class="seedmed">%s</b>, Личеров: <b class="leechmed">%s</b>'; // first %s = number of peers, second %s = number of seeders, third %s = number of leechers.
|
||||
$lang['SPEED_STAT'] = 'Скорость обмена: <b>%s</b> '; // %s = total speed.
|
||||
|
||||
|
@ -552,6 +552,9 @@ $lang['HIDDEN_EMAIL'] = '[ скрыт ]';
|
|||
$lang['INTERESTS'] = 'Интересы';
|
||||
$lang['OCCUPATION'] = 'Род занятий';
|
||||
$lang['POSTER_RANK'] = 'Звание';
|
||||
$lang['AWARDED_RANK'] = 'Присвоено звание';
|
||||
$lang['SHOT_RANK'] = 'Звание снято';
|
||||
|
||||
|
||||
$lang['TOTAL_POSTS'] = 'Всего сообщений';
|
||||
$lang['SEARCH_USER_POSTS'] = 'Найти сообщения'; // Find all posts by username
|
||||
|
@ -589,7 +592,7 @@ $lang['WRONG_BIRTHDAY_FORMAT'] = 'Дата рождения указана не
|
|||
$lang['AGE'] = 'Возраст';
|
||||
$lang['BIRTHDAY_TO_HIGH'] = 'Извините, сайт запрещено посещать людям старше %d лет';
|
||||
$lang['BIRTHDAY_TO_LOW'] = 'Извините, сайт запрещено посещать детям младше %d лет';
|
||||
$lang['BIRTHDAY_TODAY'] = 'Пользователи, празднующие День Рождения сегодня:';
|
||||
$lang['BIRTHDAY_TODAY'] = 'Пользователи, празднующие День Рождения сегодня: ';
|
||||
$lang['BIRTHDAY_WEEK'] = 'Пользователи, празднующие День Рождения в ближайшие %d дней: %s';
|
||||
$lang['NOBIRTHDAY_WEEK'] = 'В ближайшие %d дней никто не празднует День Рождения.'; // %d is substitude with the number of days
|
||||
$lang['NOBIRTHDAY_TODAY'] = 'Сегодня никто не празднует День Рождения.';
|
||||
|
|
|
@ -21,7 +21,7 @@ ajax.callback.edit_user_profile = function(data){
|
|||
|
||||
// change_user_rank
|
||||
ajax.change_user_rank = function(uid, rank_id) {
|
||||
$('#rank-msg').html('<i class="loading-1">выполняется...</i>');
|
||||
$('#rank-msg').html('<i class="loading-1">{L_LOADING}</i>');
|
||||
ajax.exec({
|
||||
action : 'change_user_rank',
|
||||
user_id : uid,
|
||||
|
|
|
@ -428,7 +428,7 @@ $('#tor-filelist-btn').click(function(){
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<!--<td class="vTop"><div id="tor-fl-bgn">YOUR ADS BLOCK</div></td>-->
|
||||
<!--<td class="vTop"><div id="tor-fl-bgn" class="border bw_TRBL med row1">YOUR ADS BLOCK</div></td>-->
|
||||
<td class="vTop" style="width: 100%;"><div id="tor-filelist" class="border bw_TRBL med row1"><span class="loading-1">{L_LOADING}</span></div></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue