2.2 in a drupal 10 solution. I am trying translate via the UI the following error that I can see at WebformElementBase.php
$form_state->setError($element, t('The value %value sdsadad %name element. You may have already submitted this webform, or you need to use a different value.', $t_args));
I search both under admin/config/regional/translate and admin/structure/webform/config/advanced.
I have already loaded the page with the string so it should appear under translations if that was the case.