중첩된 개체 설정에서 라벨과 설명이 누락됨

:information_source: Overview

ref: Objects type for theme setting

Setting labels and descriptions are not showing up in theme admin UI for nested object type settings. The labels appear to be using the setting name instead.

:person_walking: Reproduction steps:

  1. Install any theme component that has a nested object type setting and descriptions in proper en.yml syntax.
  2. Go to the first level object type setting - notice the setting labels and descriptions are displayed as expected.

  1. Now go to next level - the labels are incorrect and the descriptions are not there.

relevant section of /locales/en.yml

:cross_mark: Observed result:

After first level of object type setting schema, the setting labels are not the same as what is in en.yml and the descriptions are missing. The labels are probably using the setting names.

:white_check_mark: Expected result:

Setting labels and descriptions are consistent with what is in the /locales/en.yml file (and the other translation .yml files).

4개의 좋아요

Good catch! I have a fix in the queue

https://github.com/discourse/discourse/pull/37538

3개의 좋아요

much better - thanks! :smiley:

2개의 좋아요