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

select option group name ignores language strings #540

Closed
dani-ooo opened this issue Dec 11, 2021 · 1 comment
Closed

select option group name ignores language strings #540

dani-ooo opened this issue Dec 11, 2021 · 1 comment

Comments

@dani-ooo
Copy link

dani-ooo commented Dec 11, 2021

when naming option groups with a language string, either as select or select_optgroup, it’s not displayed as it should.

form.field:
  label: THEME_X.LABEL
  type: select
  options:
    - THEME_X.SELECT_GROUP:
      - THEME_X.SELECT_OPTION1

in the example above, THEME_X.SELECT_OPTION1 uses the corresponding language string, as expected, but THEME_X.SELECT_GROUP appears exactly as “THEME_X.SELECT_GROUP”. needless to say i made sure the string was in the theme’s languages.yaml.

dani-ooo added a commit to dani-ooo/grav-plugin-form that referenced this issue Dec 11, 2021
@w00fz w00fz closed this as completed in 3bffb01 Feb 4, 2022
@w00fz
Copy link
Member

w00fz commented Feb 4, 2022

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants