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

[bc fix] Ability to Keep Language Packs in Sync

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Scheduled
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.3.0
    • Component/s: Localization
    • Labels:
      None
    • Change Log Group:
      Deprecated
    • Change Log Message:
      Deprecated usage of "$import_mode" parameter from "LanguageImportHelper::performImport" method.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      1. restore declaration of LANG_OVERWRITE_EXISTING and LANG_SKIP_EXISTING constants
      2. add these tags in DocBlock of restored constants:
        • @deprecated
        • @see LanguageImportHelper::setOption()
      3. restore "$import_mode" parameter of "LanguageImportHelper::performImport" method:
        • when parameter is used trigger a deprecation notice
        • when parameter is used internally call "setOption" method to get desired effect

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: