public MainWindowLocalization() { _title = "Word Game Generator"; _file = "File"; _new = "New"; _open = "Open"; _save = "Save"; _saveAs = "Save As…"; _prizeLevelsPanel = new PrizeLevelsPanelUserControlLocalization(); _gameSetupPanel = new GameSetupUserControlLocalization(); _divisionPanel = new DivisionsPanelUserControlLocalization(); _errorService = new ErrorServiceLocalization(); }
public void SetLocalization(ErrorServiceLocalization localization) { _localization = localization; UpdateErrorText(); UpdateWarningText(); }