Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16366

Language dictionaries other than common.php are unavailable to BBCode templates in feeds

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.2.9, 3.3.0
    • 3.3.2-RC1
    • Other

    Description

      If a BBCode template uses language keys that don’t come from common.php (e.g. L_QUOTE which is in viewtopic.php), those keys will not be available, even if the dictionaries are added in the feed controller, because phpbb\textformatter\s9e\renderer::configure_user is called by the DI system before it’s possible for anything to add more dictionaries. (The default feed controllers also fail to add dictionaries that they need, but this is tracked in PHPBB3-16365.)

      phpbb\feed\helper::generate_content already makes calls to reconfigure the other parts of the renderer; it simply needs to call configure_user too.

      Attachments

        Issue Links

          Activity

            People

              Marc Marc
              Snover Snover
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: