?
avatar brianteeman
brianteeman
16 Oct 2020

Steps to reproduce the issue

create a module of type mod_article_news readmore
and make sure that you set it to show readmore
publish the module on a page that is NOT com_content

Expected result

readmore links displayed

Actual result

string is not translated
image

Additional comments

This was caused by my PR #30780 which switched to make sure the layout was used. However the layout requires the com_content language file.

The switch to use the layout was correct. So we have to either

  1. change the strings to global strings
    or
  2. always load the com_content language string with the module
    or
  3. add the strings to the module language file
COM_CONTENT_READ_MORE="Read more ..."
COM_CONTENT_READ_MORE_TITLE="Read more: %s"
COM_CONTENT_REGISTER_TO_READ_MORE="Register to read more ..."
avatar brianteeman brianteeman - open - 16 Oct 2020
avatar joomla-cms-bot joomla-cms-bot - change - 16 Oct 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 16 Oct 2020
avatar brianteeman brianteeman - change - 16 Oct 2020
The description was changed
avatar brianteeman brianteeman - edited - 16 Oct 2020
avatar richard67
richard67 - comment - 16 Oct 2020

I vote for global strings.

avatar brianteeman
brianteeman - comment - 17 Oct 2020

See #31123

avatar brianteeman brianteeman - close - 17 Oct 2020
avatar brianteeman brianteeman - change - 17 Oct 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-10-17 08:58:24
Closed_By brianteeman

Add a Comment

Login with GitHub to post a comment