Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group Labels with Spaces #35

Open
ssimo3lsuhsc opened this issue Aug 5, 2019 · 0 comments
Open

Group Labels with Spaces #35

ssimo3lsuhsc opened this issue Aug 5, 2019 · 0 comments

Comments

@ssimo3lsuhsc
Copy link

ssimo3lsuhsc commented Aug 5, 2019

Hello!
I'm trying to get a group label with a space: "Early Childhood." I'm intrigued that your example of a translated label contains a space, but neither of the following combinations work for me:

With langcode as root:

---
Name: myproject
---
SilverStripe\Core\Manifest\ModuleManifest:
  project: app
SilverStripe\Admin\LeftAndMain:
  menu_groups:
    Front:
      children:
        - SilverStripe-CMS-Controllers-CMSPagesController
        - SilverStripe-AssetAdmin-Controller-AssetAdmin
    Early_Childhood:
      children:
        - HDC-EarlyChildhood-EarlyHeadStartAdmin
langcode:
  GroupedCmsMenuLabel:
    Early_Childhood: 'Early Childhood'

With langcode nested under SilverStripe\Admin\LeftAndMain:

---
Name: myproject
---
SilverStripe\Core\Manifest\ModuleManifest:
  project: app
SilverStripe\Admin\LeftAndMain:
  menu_groups:
    Front:
      children:
        - SilverStripe-CMS-Controllers-CMSPagesController
        - SilverStripe-AssetAdmin-Controller-AssetAdmin
    Early_Childhood:
      children:
        - HDC-EarlyChildhood-EarlyHeadStartAdmin
  langcode:
    GroupedCmsMenuLabel:
      Early_Childhood: 'Early Childhood'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants