Skip to content

Commit

Permalink
Bugfix for localizing validation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoCoderMatrix86 committed Mar 26, 2024
1 parent f1a839a commit 5a1c54f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions AudioCuesheetEditor/Pages/EditSplitpoints.razor
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ along with Foobar. If not, see
void LocalizationService_LocalizationChanged(object? sender, EventArgs args)
{
StateHasChanged();
validations?.ValidateAll();
}

Task AddSplitPointClicked()
Expand Down
1 change: 1 addition & 0 deletions AudioCuesheetEditor/Pages/ViewModeImport.razor
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@ along with Foobar. If not, see
StateHasChanged();
TimeSpanFormat.TextLocalizer = _localizer;
TextImportScheme.TextLocalizer = _localizer;
validations?.ValidateAll();
}

private void SessionStateContainer_ImportCuesheetChanged(object? sender, EventArgs args)
Expand Down
1 change: 1 addition & 0 deletions AudioCuesheetEditor/Shared/CuesheetData.razor
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ along with Foobar. If not, see
private void LocalizationService_LocalizationChanged(object? sender, EventArgs args)
{
StateHasChanged();
validations?.ValidateAll();
}

private void SessionStateContainer_CuesheetChanged(object? sender, EventArgs args)
Expand Down
1 change: 1 addition & 0 deletions AudioCuesheetEditor/Shared/TracksTable.razor
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,7 @@ along with Foobar. If not, see
private void LocalizationService_LocalizationChanged(object? sender, EventArgs args)
{
StateHasChanged();
validations?.ValidateAll();
}

private MarkupString GetMarkupString(String? stringValue)
Expand Down

0 comments on commit 5a1c54f

Please sign in to comment.