Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix for localizing validation messages #317

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading