Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-664

Duplicated translation with same key but different description in twig

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 3.3.5
    • 3.2.8, 3.3.4
    • Open Source

    Description

      While generating translations for ezplatofrm-admin-ui I get error from attached image. In short: `The message 'pagination.viewing' exists with two different descs`

      Issue is linked to: https://github.com/ezsystems/ezplatform-admin-ui/pull/1735/files#diff-91a5a93a312f9f38bd551d921242737be3329a8c2bd0f971e6fa46cab8d02124R80

      where new translation was added and it seems to be correct but it was merge to 1.5 and probably `desc` of this translation changed in newer versions, so conflict arose during merg-up.

       

      Steps to reproduce

      1. Install clean Ibexa DXP 3.3
      2. run php bin/console translation:extract -c ezplatform_admin_ui en

       

      Result

      The message 'pagination.viewing' exists with two different descs: 'Viewing %viewing% out of %total% items' in /vendor/ezsystems/ezplatform -admin-ui/src/bundle/DependencyInjection/../../../src/bundle/Resources/views/themes/admin/account/notifications/list.html.twig on line 33, and 'Viewing <strong>%viewing%</strong> out of <strong>%total%</strong> items' in /vendor/ezsystems/ezplatform-admin-ui/src/bundle/Depend encyInjection/../../../src/bundle/Resources/views/themes/admin/content/tab/locations/tab.html.twig on line 82
      

       

      Expected result

      the command will run without errors

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              jakub.brzegowski@ibexa.co Jakub Brzegowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: