MINOR More common language in Date->TimeDiff() ("in 2 hours" instead of "2 hours away") (fixes #5402)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@111840 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-10-10 05:06:50 +00:00
parent 96fe7babb9
commit 3f2cc791ac
2 changed files with 6 additions and 6 deletions

View File

@ -169,10 +169,10 @@ class Date extends DBField {
} else {
return sprintf(
_t(
'Date.TIMEDIFFAWAY',
"%s away",
'Date.TIMEDIFFIN',
"in %s",
PR_MEDIUM,
'Natural language time difference, e.g. 2 hours away'
'Natural language time difference, e.g. in 2 hours'
),
$this->TimeDiff()
);

View File

@ -142,10 +142,10 @@ $lang['en_US']['Date']['TIMEDIFFAGO'] = array(
PR_MEDIUM,
'Natural language time difference, e.g. 2 hours ago'
);
$lang['en_US']['Date']['TIMEDIFFAWAY'] = array(
'%s away',
$lang['en_US']['Date']['TIMEDIFFIN'] = array(
'in %s',
PR_MEDIUM,
'Natural language time difference, e.g. 2 hours away'
'Natural language time difference, e.g. in 2 hours'
);
$lang['en_US']['Date']['YEAR'] = ' year';
$lang['en_US']['Date']['YEARS'] = ' years';