aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-24 15:27:39 -0800
committerfriendica <info@friendica.com>2014-02-24 15:27:39 -0800
commitfdb25f3450a636b28aa640d096ae4feed308086e (patch)
tree5d0f7664ea0072c1d80f05de2940f2b44308b2af
parent29ebfc25ca4c7c475437dd02418eb6f4fc17c952 (diff)
downloadvolse-hubzilla-fdb25f3450a636b28aa640d096ae4feed308086e.tar.gz
volse-hubzilla-fdb25f3450a636b28aa640d096ae4feed308086e.tar.bz2
volse-hubzilla-fdb25f3450a636b28aa640d096ae4feed308086e.zip
string 'null' showing up in timeago since last modify
-rw-r--r--include/js_strings.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/js_strings.php b/include/js_strings.php
index 2d96ca9d2..cd0ee8c7c 100644
--- a/include/js_strings.php
+++ b/include/js_strings.php
@@ -14,8 +14,8 @@ function js_strings() {
'$passphrase' => t('Secret Passphrase'),
'$passhint' => t('Passphrase hint'),
- '$t01' => ((t('timeago.prefixAgo') != 'timeago.prefixAgo') ? t('timeago.prefixAgo') : 'null'),
- '$t02' => ((t('timeago.prefixFromNow') != 'timeago.prefixFromNow') ? t('timeago.prefixFromNow') : 'null'),
+ '$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'),
@@ -32,6 +32,5 @@ function js_strings() {
'$t16' => t(' '), // wordSeparator
'$t17' => ((t('timeago.numbers') != 'timeago.numbers') ? t('timeago.numbers') : '[]')
-
));
}