Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you export a workflow feature with your user account's language set to English, but then you change your user account's language to something else (like French), the workflow feature will always show as overridden because the newly exported feature will have "(author)" translated to the current user's language (in this case "(auteur)").
Comment | File | Size | Author |
---|---|---|---|
#2 | 2657072.patch | 1.11 KB | michaelk |
Comments
Comment #2
michaelk CreditAttribution: michaelk at Phase2 commentedHere is is a patch that solves the issue by causing the t() function to run after Features module has forced the language to English for the export/revert/status operations.
Comment #3
michaelk CreditAttribution: michaelk at Phase2 commentedComment #6
johnvFixed. Thanks.
Is this not necessary for the '(creation)' state?
Comment #7
michaelk CreditAttribution: michaelk at Phase2 commentedIt is not necessary for the "(creation)" state currently because that state is not exported in text into the features module code that Workflow generates.
Comment #8
johnvOK. nice.