streams/include/js_strings.php
2016-06-27 16:50:06 -07:00

89 lines
3.1 KiB
PHP

<?php /** @file */
function js_strings() {
return replace_macros(get_markup_template('js_strings.tpl'), array(
'$delitem' => t('Delete this item?'),
'$comment' => t('Comment'),
'$showmore' => sprintf( t('%s show all'), '<i class=\'fa fa-chevron-down\'></i>'),
'$showfewer' => sprintf( t('%s show less'), '<i class=\'fa fa-chevron-up\'></i>'),
'$divgrowmore' => sprintf( t('%s expand'), '<i class=\'fa fa-chevron-down\'></i>'),
'$divgrowless' => sprintf( t('%s collapse'),'<i class=\'fa fa-chevron-up\'></i>'),
'$pwshort' => t("Password too short"),
'$pwnomatch' => t("Passwords do not match"),
'$everybody' => t('everybody'),
'$passphrase' => t('Secret Passphrase'),
'$passhint' => t('Passphrase hint'),
'$permschange' => t('Notice: Permissions have changed but have not yet been submitted.'),
'$closeAll' => t('close all'),
'$nothingnew' => t('Nothing new here'),
'$rating_desc' => t('Rate This Channel (this is public)'),
'$rating_val' => t('Rating'),
'$rating_text' => t('Describe (optional)'),
'$submit' => t('Submit'),
'$linkurl' => t('Please enter a link URL'),
'$leavethispage' => t('Unsaved changes. Are you sure you wish to leave this page?'),
'$location' => t('Location'),
'$t01' => ((t('timeago.prefixAgo') != 'timeago.prefixAgo') ? t('timeago.prefixAgo') : ''),
'$t02' => ((t('timeago.prefixFromNow') != 'timeago.prefixFromNow') ? t('timeago.prefixFromNow') : ''),
'$t03' => t('ago'),
'$t04' => t('from now'),
'$t05' => t('less than a minute'),
'$t06' => t('about a minute'),
'$t07' => t('%d minutes'),
'$t08' => t('about an hour'),
'$t09' => t('about %d hours'),
'$t10' => t('a day'),
'$t11' => t('%d days'),
'$t12' => t('about a month'),
'$t13' => t('%d months'),
'$t14' => t('about a year'),
'$t15' => t('%d years'),
'$t16' => t(' '), // wordSeparator
'$t17' => ((t('timeago.numbers') != 'timeago.numbers') ? t('timeago.numbers') : '[]'),
'$January' => t('January'),
'$February' => t('February'),
'$March' => t('March'),
'$April' => t('April'),
'$May' => t('May','long'),
'$June' => t('June'),
'$July' => t('July'),
'$August' => t('August'),
'$September' => t('September'),
'$October' => t('October'),
'$November' => t('November'),
'$December' => t('December'),
'$Jan' => t('Jan'),
'$Feb' => t('Feb'),
'$Mar' => t('Mar'),
'$Apr' => t('Apr'),
'$MayShort' => t('May','short'),
'$Jun' => t('Jun'),
'$Jul' => t('Jul'),
'$Aug' => t('Aug'),
'$Sep' => t('Sep'),
'$Oct' => t('Oct'),
'$Nov' => t('Nov'),
'$Dec' => t('Dec'),
'$Sunday' => t('Sunday'),
'$Monday' => t('Monday'),
'$Tuesday' => t('Tuesday'),
'$Wednesday' => t('Wednesday'),
'$Thursday' => t('Thursday'),
'$Friday' => t('Friday'),
'$Saturday' => t('Saturday'),
'$Sun' => t('Sun'),
'$Mon' => t('Mon'),
'$Tue' => t('Tue'),
'$Wed' => t('Wed'),
'$Thu' => t('Thu'),
'$Fri' => t('Fri'),
'$Sat' => t('Sat'),
'$today' => t('today','calendar'),
'$month' => t('month','calendar'),
'$week' => t('week','calendar'),
'$day' => t('day','calendar'),
'$allday' => t('All day','calendar')
));
}