Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1247

Allow using "lc_*" phrases in "Phrases::ReplaceLanguageTags" method

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.1-B2
    • Component/s: Front End
    • Labels:
      None
    • Change Log Group:
      Fixed
    • Change Log Message:
      The "lc_*" phrases were not allowed in validation error messages and title presets by mistake.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      In INP-826 task we've added a dedicated label prefix "lc_" to be able automatically identify phrases of "Both" type, that can be used on both Front-End and Admin Console.

      It seems, that we missed to add this prefix to some places in code, which also resulted in "lc_" phrases not being translated at all, when used inside error messages.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Dmitry Andrejev [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: