Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A administrate
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 96
    • Issues 96
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • thoughtbot, inc.
  • administrate
  • Issues
  • #1677
Closed
Open
Issue created Jun 16, 2020 by Administrator@rootContributor

Create resource on index page not using i18n

Created by: emmanuelcohenlaroque

It seems that the code used in the index.html.erb view partial is not translating the activerecord model name in the 'Create ' action link, while the "Create" action correctly translated. The side navigation (_navigation.html.erb partial) does correctly translate the model name howerver, so I don't believe this is an issue with my locale.yml.

Probably in this part:

 t("administrate.actions.new_resource",
    name: page.resource_name.titleize.downcase
   ),
   [:new, namespace, page.resource_path],
   class: "button",
Assignee
Assign to
Time tracking