LoginI18 ErrorMessage showing always same message

Hello, I am trying to show two different error messages based in the login URL parameters.
The first one is to indicate that the credentials are invalid, and the second one when the session (idle) was closed.

No matter which value I include in the URL the error message never changes. (See images included.)

Thanks.
session_expired.png
LoginI18n.txt (3.64 KB)

You probably have to update the whole i18n object

Thanks, I will try that and let you know.

Thanks @quirky-zebra, it worked.