We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92d43c1 commit 3e5fd26Copy full SHA for 3e5fd26
1 file changed
src/Calculator.ViewModels/StandardCalculatorViewModel.cs
@@ -1146,7 +1146,11 @@ private string GetNarratorStringReadRawNumbers(string localizedDisplayValue)
1146
1147
private void DisplayPasteError()
1148
{
1149
- _standardCalculatorManager?.SendCommand(CalculatorCommand.CommandCLEAR);
+ // Displays the localized "Invalid input" string and sets error state.
1150
+ const int IDS_ERRORS_FIRST = 99;
1151
+ const int IDS_DOMAIN = IDS_ERRORS_FIRST + 1;
1152
+ string errorString = _resourceProvider.GetCEngineString(IDS_DOMAIN.ToString());
1153
+ SetPrimaryDisplay(errorString, true);
1154
}
1155
1156
private void SetNoParenAddedNarratorAnnouncement()
0 commit comments