COM_CJLIB_DATE_ONE_WEEK_AGO

UnlimitedIT
UnlimitedIT
  • UnlimitedIT
  • 11 months ago
Something I have just noticed in testing...

Is COM_CJLIB_DATE_ONE_WEEK_AGO meant to be COM_CJLIB_DATE_ONE_WEEK? Currently failing to find COM_CJLIB_DATE_ONE_WEEK_AGO.

When
return JText::_('COM_CJLIB_DATE_ONE_WEEK_AGO', $suffix);
changed to
return JText::_('COM_CJLIB_DATE_ONE_WEEK', $suffix);
then resultant One week %1$s. Changed to
return JText::sprintf('COM_CJLIB_DATE_ONE_WEEK', $suffix);
and resultant correct One week ago.

Looking at the surrounding code there are also
return JText::_('COM_CJLIB_DATE_ONE_HOUR', $suffix);
and
return JText::_('COM_CJLIB_DATE_ONE_MONTH', $suffix);
Should these be changed too? I don't happen to have been watching so far when either of these messages would have been displayed.

Access to viewing replies is restricted.
Showing 8 of 8 replies
You do not have permissions for replying to this topic.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai