Mark string as translatable
This commit is contained in:
@@ -97,14 +97,13 @@ export class StudentAccountDeletion extends React.Component {
|
||||
);
|
||||
|
||||
const bodyDeletion2 = StringUtils.interpolate(
|
||||
gettext('This includes access to {siteName} from your employer’s or university’s system and access to private sites offered by {additionalSiteSpecificDeletionText}.'),
|
||||
gettext('This includes access to {siteName} from your employer’s or university’s system{additionalSiteSpecificDeletionText}.'),
|
||||
{
|
||||
siteName: this.props.siteName,
|
||||
additionalSiteSpecificDeletionText: this.props.additionalSiteSpecificDeletionText,
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
return (
|
||||
<div className="account-deletion-details">
|
||||
<p className="account-settings-header-subtitle">{ gettext('We’re sorry to see you go!') }</p>
|
||||
|
||||
@@ -117,7 +117,7 @@ class StudentAccountDeletionConfirmationModal extends React.Component {
|
||||
);
|
||||
|
||||
const bodyDeletion2 = StringUtils.interpolate(
|
||||
gettext('This includes access to {siteName} from your employer’s or university’s system and access to private sites offered by {additionalSiteSpecificDeletionText}.'),
|
||||
gettext('This includes access to {siteName} from your employer’s or university’s system{additionalSiteSpecificDeletionText}.'),
|
||||
{
|
||||
siteName: this.props.siteName,
|
||||
additionalSiteSpecificDeletionText: this.props.additionalSiteSpecificDeletionText,
|
||||
|
||||
@@ -77,7 +77,7 @@ from openedx.core.djangoapps.user_api.accounts.utils import is_secondary_email_f
|
||||
<script type="text/javascript">
|
||||
window.auth = ${ auth | n, dump_js_escaped_json };
|
||||
window.isActive = ${ user.is_active | n, dump_js_escaped_json };
|
||||
window.additionalSiteSpecificDeletionText = "${ static.get_value('SITE_SPECIFIC_DELETION_TEXT', 'MIT Open Learning, Wharton Executive Education, and Harvard Medical School.') | n, js_escaped_string }";
|
||||
window.additionalSiteSpecificDeletionText = "${ static.get_value('SITE_SPECIFIC_DELETION_TEXT', _(' and access to private sites offered by MIT Open Learning, Wharton Executive Education, and Harvard Medical School')) | n, js_escaped_string }";
|
||||
window.mktgRootLink = "${ static.marketing_link('ROOT') | n, js_escaped_string }";
|
||||
window.platformName = "${ platform_name | n, js_escaped_string }";
|
||||
window.siteName = "${ static.get_value('SITE_NAME', settings.SITE_NAME) | n, js_escaped_string }";
|
||||
|
||||
Reference in New Issue
Block a user