Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

translation email confirm

jackmaessenjackmaessen ✭✭✭
edited January 2014 in Vanilla 2.0 - 2.8

Vanilla 2.0.18.10 Does someone know in which file this line is being parsed? It is the line in the email which you recieve by registering:
"You need to confirm your email address before you can continue. Please confirm your email address by clicking on the following link:..."

Comments

  • Options
    peregrineperegrine MVP
    edited January 2014

    actually you should change things in defintions assuming you have the correct definition and it works. the other thing you should consider is downloading a transifex or locale that is relatively complete. Then you would know how to do it yourself in the future.

    http://vanillaforums.org/discussion/24232/change-link-urls-in-the-confirmation-email

    you can find things by using grep and notepad++

    this is for vanilla 2.0.18.9 - but should be similar.

    applications/dashboard/settings/class.hooks.php:57:            $Message = FormatString(T('You need to confirm your email address.', 'You need to confirm your email address. Click <a href="{/entry/emailconfirmrequest,url}">here</a> to resend the confirmation email.'));
    applications/dashboard/locale/en-CA/definitions.php:102:$Definition['EmailConfirmEmail'] = 'You need to confirm your email address before you can continue. Please confirm your email address by clicking on the following link: {/entry/emailconfirm,exurl,domain}/{User.UserID,rawurlencode}/{EmailKey,rawurlencode}';
    applications/dashboard/models/class.usermodel.php:12:   const DEFAULT_CONFIRM_EMAIL = 'You need to confirm your email address before you can continue. Please confirm your email address by clicking on the following link: {/entry/emailconfirm,url,domain}/{User.UserID,rawurlencode}/{EmailKey,rawurlencode}';
    

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    jackmaessenjackmaessen ✭✭✭
    edited January 2014

    Thanks @peregrine. I could easily translate it now.
    I did first try it to translate it in the definition file( like the link you gave me above) but that didn't work.

    $Definition['You need to confirm your email address before you can continue. Please confirm your email address by clicking on the following link: {/entry/emailconfirm,url,domain}/{User.UserID,rawurlencode}/{EmailKey,rawurlencode}'] = 'U dient uw email te bevestigen om door te kunnen gaan. Bevestig uw email door op de volgende link te klikken of plak de link in de adresbalk: {/entry/emailconfirm,url,domain}/{User.UserID,rawurlencode}/{EmailKey,rawurlencode}';
    
    

    Code above does not work!

  • Options

    If the definition doesn't work it could still be related with this... in vanilla 2.01.8.10 as well.
    I think it is corrected in vanilla 2.1b2

    http://vanillaforums.org/discussion/comment/170455/#Comment_170455

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.