Uploaded image for project: '[Read Only] - Addon Channel Manager'
  1. [Read Only] - Addon Channel Manager
  2. CHANNELMGR-1304

Use one-time binding for translations

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 5.0.0
    • None

    Description

      Every interpolated translation creates an Angular watch. Example:

      {{ 'SOME_KEY' | translate }}

      All these watches add unnecessary digest overhead. Since the key never changes we should use one-time binding instead:

      {{ ::'SOME_KEY' | translate }}

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mdenburger Mathijs den Burger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: