EditorSproutyDialogsLocalesSelector
Inherits: VBoxContainer
Description
Component that contains a list of EditorSproutyDialogsLocaleField locale fields to select the locales to be used in the translations of the dialog system. Changes are saved with the save button, which shows a confirmation dialog to save or discard the changes when a saved locale has been removed.
Methods
| Return Type | Method |
|---|---|
| void | set_locale_list() |
Signals
signal locales_changed
Triggered when the locales are changed, i.e. after the selected locales are saved to the settings.
Method Descriptions
func set_locale_list() -> void
Set the locale list loading the saved locales, removing the current locale fields and creating one per saved locale. Shows an empty-state label when there are no saved locales.