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)").

CommentFileSizeAuthor
#2 2657072.patch1.11 KBmichaelk
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

michaelk created an issue. See original summary.

michaelk’s picture

FileSize
1.11 KB

Here 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.

michaelk’s picture

Status: Active » Needs review

  • johnv committed 2abe7e4 on 7.x-2.x authored by michaelk
    Issue #2657072 by michaelk: Workflow Features Module Always Shows as...

  • johnv committed 58f6987 on 8.x-1.x authored by michaelk
    Issue #2657072 by michaelk: Workflow Features Module Always Shows as...
johnv’s picture

Version: 7.x-2.6 » 7.x-2.8
Status: Needs review » Fixed

Fixed. Thanks.
Is this not necessary for the '(creation)' state?

michaelk’s picture

It is not necessary for the "(creation)" state currently because that state is not exported in text into the features module code that Workflow generates.

johnv’s picture

OK. nice.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.