Hello
I ask you for help about this problem.

I would like to change the sentence (add class="name" to Also if i delete some words from this sentence, it still displays as original. Any idea why?

Thank you for your help.
Regards, Marin

Comments

marin-1’s picture

I did something wrong with the code. Here it is:

Hello
I ask you for help about this problem.

I would like to change the sentence (add class="name" to < a > tag). If i edit the /modules/user/user.module nothing changes, why that?
Also if i delete some words from this sentence, it still displays as original. Any idea why?

Thank you for your help.
Regards, Marin

gpk’s picture

vm’s picture

just a quick mention that if you do indeed do this, you can cause confusion. The confusion will come from a user who does indeed have a typo in their username and are only getting an error about the password.

that said, you can change drupal text strings using the locale.module which is part of core. more information on this i the documentation area -> core modules -> locale

you shouldn't alter core/modules as your changes will be overwritten when core/modules are updated or upgraded.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

marin-1’s picture

Thank you both!

I know that they will be overwritten, but till now this is the only way i see to solve this problem.

Thanks again.