Changes like this belong in conf/locale.php. That's the ultimate override of phrases. Anything else you change in Vanilla will get overwritten during upgrades.
@peregrine said:
definitions in conf/locale.php are read last and override everything else, that is why I suggest this way
@Lincoln said:
Changes like this belong in conf/locale.php. That's the ultimate override of phrases. Anything else you change in Vanilla will get overwritten during upgrades.
@whu606 said:
Hacking the core is almost never the right way to go with Vanilla.
You have been presented with several other, more efficient ways to achieve your aim in previous answers.
If the help you have received isn't helping you, that is more a reflection on your understanding than of the help offered.
In summary:
"You can lead a horse to water, but you can't make him drink".
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I guess I should have said , in case you find this, don't change the words here, add a new $Definition in your locale because changes you make here will revert when you upgrade.
$Definition['You are attempting to sign out of Vanilla. Are you sure you want to %s?'] = 'You are attempting to sign out of VrijVlinder. Are you sure you want to %s?.';
Comments
Finally a sophisticated answer!
@gstar
The suggestion by @vrijvlinder is the least best solution.
Hacking the core is almost never the right way to go with Vanilla.
You have been presented with several other, more efficient ways to achieve your aim in previous answers.
If the help you have received isn't helping you, that is more a reflection on your understanding than of the help offered.
Changes like this belong in conf/locale.php. That's the ultimate override of phrases. Anything else you change in Vanilla will get overwritten during upgrades.
gstar,
Pick either one of the following.
In summary:
"You can lead a horse to water, but you can't make him drink".
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I guess I should have said , in case you find this, don't change the words here, add a new $Definition in your locale because changes you make here will revert when you upgrade.
My father used to say that about a horse....
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌