Translating component's type label

Component's type labels are inside for each of the file in /shared/ui_cfg. We will do the example with progressbar.

Firstly visit /shared/ui_cfg/config_progressbar.lua

Find the code:

Config.ProgressBar.Types = {
    ['basic'] = {
        use = true,
        label = 'Basic',
    },
    ['modern'] = {
        use = true,
        label = 'Modern',
    },
    ['diamond'] = {
        use = true,
        label = 'Diamond',
    },
}

And change the key label for each of the component!

Last updated