As a follow-up to the work on the template card (T295973) for the mobile editor of Section Translation, we want to communicate the different levels of data availability by adjusting the message, visual style and actions available in each case:
- No equivalent template. If there is no equivalent template, a message indicating so ("Equivalent template not available for <target-language>") will be shown with a grey background. The "Apply" action will be disabled in such case.
- No parameters match. The target template exists, and the source template has filled parameters but none of them could be copied to the target. Thus, the template can be added, but it will be empty. A grey background will be used. The action to edit is labelled as "Edit the translation". The action to "Apply" is active and adds the target template with no filled parameters.
- Parameters matching. Some (or all) the parameters from the source template can be transferred to the target (this includes the case where source has no parameters filled). Background is blue and the edit action is labelled as "Review and edit translation". The action to "Apply" adds the target template with some parameters filled with the data from the source one.
Note that a separate ticket will be adding an indicator to explain the adaptation status in more detail by using an icon an explanatory panel: T295545: Explain the template mapping status