<%! from django.utils.translation import ugettext as _ %> <%! from django.core.urlresolvers import reverse %> <%inherit file="../main.html" />

${_("Email change failed.")}


% if error is 'key_invalid' or error is 'internal': ${_("Something went wrong. Please contact {support} for help.").format( support="{support_email}".format( support_email=settings.TECH_SUPPORT_EMAIL ) )} % elif error is 'email_used': ${_("The email address you wanted to use is already used by another " "{platform_name} account.").format(platform_name=settings.PLATFORM_NAME)} % endif

${_("You can try again from the {link_start}account settings{link_end} page.").format( link_start="".format(url=reverse('account_index')), link_end="" )}