You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Behavior
The text which is pushed to Transifex via the CDS contains all the attributes (such as count, id, link, text)
Expected Behavior
The text pushed to Transifex via the CDS contains only the data passed to the translate pipe (e.g. 'Security')
Steps to Reproduce
Produce a html template which contains the following code snippet <ng-container *ngIf="!data.equipment.manual && alertSettings.enableSecurity"> <ng-container *ngTemplateOutlet="el; context: { count: data.security?.length, id: 'assetpage-actionstab-securitytab-button', link: ['/fleet', data.equipment.id, 'actions', 'security'], text: ('Security' | translate:{ _key: 'text.asset_details.tab.security', _tags: 'asset_details' }), }"></ng-container> </ng-container>
Use the TXJS push mechanic to parse the file and look at the end outcome which is pushed to Transifex.
Possible Solution
My suspicions here, is that the brackets on the "text" property have potentially thrown the parser - Either that or the use of the ngTemplateOutlet in this manner.
Possible Implementation
Not obligatory, but suggest an idea for implementing addition or change
The text was updated successfully, but these errors were encountered:
Current Behavior
The text which is pushed to Transifex via the CDS contains all the attributes (such as count, id, link, text)
Expected Behavior
The text pushed to Transifex via the CDS contains only the data passed to the translate pipe (e.g. 'Security')
Steps to Reproduce
Produce a html template which contains the following code snippet
<ng-container *ngIf="!data.equipment.manual && alertSettings.enableSecurity"> <ng-container *ngTemplateOutlet="el; context: { count: data.security?.length, id: 'assetpage-actionstab-securitytab-button', link: ['/fleet', data.equipment.id, 'actions', 'security'], text: ('Security' | translate:{ _key: 'text.asset_details.tab.security', _tags: 'asset_details' }), }"></ng-container> </ng-container>
Use the TXJS push mechanic to parse the file and look at the end outcome which is pushed to Transifex.
Possible Solution
My suspicions here, is that the brackets on the "text" property have potentially thrown the parser - Either that or the use of the ngTemplateOutlet in this manner.
Possible Implementation
Not obligatory, but suggest an idea for implementing addition or change
The text was updated successfully, but these errors were encountered: