Title normalization hot fix
This commit is contained in:
@@ -1898,18 +1898,18 @@ func buildFamilyExpansionGeneratedModule(path string, obj map[string]any, ctx *f
|
||||
override[field] = map[string]any{"id": prereqKey}
|
||||
}
|
||||
}
|
||||
if spec.NamePrefix != "" {
|
||||
override["FEAT"] = map[string]any{
|
||||
"tlk": map[string]any{
|
||||
"key": featKey + ".name",
|
||||
"text": fmt.Sprintf("%s (%s)", spec.NamePrefix, titleChildName),
|
||||
},
|
||||
}
|
||||
}
|
||||
if !ctx.featKeyExists(featKey) {
|
||||
if spec.LabelPrefix != "" {
|
||||
override["LABEL"] = spec.LabelPrefix + "_" + labelSuffix
|
||||
}
|
||||
if spec.NamePrefix != "" {
|
||||
override["FEAT"] = map[string]any{
|
||||
"tlk": map[string]any{
|
||||
"key": featKey + ".name",
|
||||
"text": fmt.Sprintf("%s (%s)", spec.NamePrefix, titleChildName),
|
||||
},
|
||||
}
|
||||
}
|
||||
for _, field := range spec.TemplateFields {
|
||||
override[field] = map[string]any{"field": field, "ref": spec.Template}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user