silverstripe-terraformers / silverstripe-embargo-expiry

BSD 3-Clause "New" or "Revised" License
7 stars 7 forks source link

Overriding module's title in mysite.yml doesn't work #58

Closed sinan-evanshunt closed 4 years ago

sinan-evanshunt commented 4 years ago

I have specified this in the project's mysite.yml

Symbiote\QueuedJobs\Controllers\QueuedJobsAdmin:
  menu_title: 'CMS Queued Tasks'

Yet I still see it display as Jobs

This is on a SS4 site. Thanks in advance.

sinan-evanshunt commented 4 years ago

Got it working as mentioned to me by @davejtoews this can be overridden by creating translation file in /app/lang/en.yml and specify

en:
  Symbiote\QueuedJobs\Controllers\QueuedJobsAdmin:
    MENUTITLE: CMS Queued Tasks
chrispenny commented 4 years ago

Hi @sinan-evanshunt,

Apologies that it took me so long to see your ticket.

Unfortunately this is not the Queued Jobs module. This module simply includes it as a dependency. I'm glad that you found a solution though.

In the future, please raise any tickets relating to Queued Jobs here: https://github.com/symbiote/silverstripe-queuedjobs/issues