Skip to content

Roles defined under "Edit Plan 🠖 Contributors 🠖 Add a Contributor" are not marked for translation. #3058

@hbayindir

Description

@hbayindir

Please complete the following fields as applicable:

What version of the DMPRoadmap code are you running? (e.g. v2.2.0)

Fork of the commit 5cd2a36

Expected behaviour:

"Data Manager", "Principal Investigator", "Project Administrator", and "Other" fields to be translatable, visible in the translation.io website for translation.

Actual behaviour:

"Data Manager", "Principal Investigator", "Project Administrator", and "Other" fields are not translatable.

Steps to reproduce:

  1. Navigate to My Dashboard
  2. Click on any plan's name to open edit view.
  3. Navigate to the contributors tab.
  4. Click to "Add a Contributor"
  5. Role fields' language doesn't change when the language has been changed.

Additional Information:

The actual source file for the fields is app/presenters/contributor_presenter.rb:43-49.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions