Код: Выделить всё
##############################################################
## MOD Title: Today-Yesterday Relative Time Mod 1.1.0
## MOD Author: ewelin <ewelin@muttdom.com> (Eric Welin)
##
## MOD Description: This mod will make the Today and Yesterday show up
## in place of the Date for the corresponding days, along
## with an option to display the relative time. Also
## adds the linked title of the last topic replied to in
## each forum on the index.
## MOD Version: 1.1.0
##############################################################
Код: Выделить всё
#
#-----[ OPEN ]------------------------------------------------
#
language/lang_russian/lang_admin.php
#
#-----[ FIND ]------------------------------------------------
#
//
// That's all Folks!
// -------------------------------------------------
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// BEGIN Today-Yesterday Mod
$lang['Lastpost_cutoff'] = 'Last Post Character Cut Off Point';
$lang['Lastpost_cutoff_explain'] = 'Number of Characters of topic title to display in Last Post info.';
$lang['Lastpost_append'] = 'Characters to append to Last Post';
$lang['Lastpost_append_explain'] = 'Characters that are appended to the end of the topic title if it\'s longer than the cut off point.';
// END Today-Yesterday Mod
#
#-----[ OPEN ]------------------------------
#
language/lang_russian/lang_main.php
#
#-----[ FIND ]-----------------------------------
#
//
// That's all, Folks!
// -------------------------------------------------
#
#-----[ BEFORE, ADD ]-----------------------------------
#
// BEGIN Today-Yesterday Mod
$lang['TY-Today'] = "Сегодня, "; //intentional space
$lang['TY-Yesterday'] = "Вчера, "; //intentional space
$lang['TY-in'] = "в: "; //intentional space
$lang['Go_to_topic'] = "Go to Topic: "; //intentional space
$lang['TY-by'] = "By: "; //intentional space
$lang['TY-hr'] = "hr, "; //intentional space
$lang['TY-hrs'] = "hrs, "; //intentional space
$lang['TY-min'] = "min "; //intentional space
$lang['TY-mins'] = "mins "; //intentional space
$lang['TY-ago'] = " ago"; //intentional space before the word
$lang['TY-seconds_ago'] = "a few seconds ago";
$lang['Use_rel_date'] = "Display Relative Date";
$lang['Use_rel_date_explain'] = "Today and Yesterday will be displayed instead of the date.";
$lang['Use_rel_time'] = "Display Relative Time";
$lang['Use_rel_time_explain'] = "Time will be relative to current time. ie - 10hrs, 43mins ago";
// END Today-Yesterday Mod