You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ultimately, the root cause seems to be that the placeholder file refers to IMPORT.NO_ASSERTIONS_ERROR while the translation file for import calls it IMPORT.ERROR.NO_ASSERTIONS (seems to be consistent among all translations file).
I'm not super sure with how the translations work, however…
Looks like the string 'TRANSLATED.NO_ASSERTIONS' instead of the variable got assigned to errorMessage. Removing the quotes and passing as a variable should fix this issue. Thus line 133 in AuditorImport.svelte should be: errorMessage = TRANSLATED.NO_ASSERTIONS;
Describe the bug
When trying to import an EARL report which is missing assertions, I get the error message:
It seems to come from this bit.
Ultimately, the root cause seems to be that the placeholder file refers to
IMPORT.NO_ASSERTIONS_ERROR
while the translation file for import calls itIMPORT.ERROR.NO_ASSERTIONS
(seems to be consistent among all translations file).I'm not super sure with how the translations work, however…
To Reproduce
Steps to reproduce the behavior:
[]
Expected behavior
The text alert should show the translated text
"The file contained no recognizable assertions."
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: