diff --git a/lms/static/js/student_account/views/account_settings_factory.js b/lms/static/js/student_account/views/account_settings_factory.js index 670f039914..7bb492076a 100644 --- a/lms/static/js/student_account/views/account_settings_factory.js +++ b/lms/static/js/student_account/views/account_settings_factory.js @@ -313,11 +313,14 @@ { view: new AccountSettingsFieldViews.SocialLinkTextFieldView({ model: userAccountModel, - title: gettext(platformData.display_name + ' Link'), + title: StringUtils.interpolate( + gettext('{platform_display_name} Link'), + {platform_display_name: platformData.display_name} + ), valueAttribute: 'social_links', - helpMessage: gettext( - 'Enter your ' + platformData.display_name + ' username or the URL to your ' + - platformData.display_name + ' page. Delete the URL to remove the link.' + helpMessage: StringUtils.interpolate( + gettext('Enter your {platform_display_name} username or the URL to your {platform_display_name} page. Delete the URL to remove the link.'), // eslint-disable-line max-len + {platform_display_name: platformData.display_name} ), platform: socialPlatform, persistChanges: true,