Skip to content

Mod option tooltip not localized when using ConfigFile with attributes #670

@qqqbbb

Description

@qqqbbb
    [Menu(Main.MODNAME)]
    public class Config : ConfigFile
    {
        [Slider("RR_option", 0, 100, DefaultValue = 0, Step = 1, Format = "{0:F0}", Tooltip = "RR_option_desc")]
        public int option = 0;
    }

RR_option and RR_option_desc are keys for localized strings. RR_option will be replaced by localized value string but RR_option_desc will not be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions