Update integration manager copy

This commit is contained in:
Travis Ralston 2019-11-20 19:53:52 -07:00
parent b0eb54541c
commit 0a0e952691
2 changed files with 13 additions and 15 deletions

View file

@ -36,26 +36,29 @@ export default class SetIntegrationManager extends React.Component {
if (currentManager) { if (currentManager) {
managerName = `(${currentManager.name})`; managerName = `(${currentManager.name})`;
bodyText = _t( bodyText = _t(
"You are currently using <b>%(serverName)s</b> to manage your bots, widgets, " + "Use an Integration Manager <b>(%(serverName)s)</b> to manage bots, widgets, " +
"and sticker packs.", "and sticker packs.",
{serverName: currentManager.name}, {serverName: currentManager.name},
{ b: sub => <b>{sub}</b> }, { b: sub => <b>{sub}</b> },
); );
} else { } else {
bodyText = _t( bodyText = _t("Use an Integration Manager to manage bots, widgets, and sticker packs.");
"Add which integration manager you want to manage your bots, widgets, " +
"and sticker packs.",
);
} }
return ( return (
<div className='mx_SetIntegrationManager'> <div className='mx_SetIntegrationManager'>
<div className="mx_SettingsTab_heading"> <div className="mx_SettingsTab_heading">
<span>{_t("Integration Manager")}</span> <span>{_t("Integrations")}</span>
<span className="mx_SettingsTab_subheading">{managerName}</span> <span className="mx_SettingsTab_subheading">{managerName}</span>
</div> </div>
<span className="mx_SettingsTab_subsectionText"> <span className="mx_SettingsTab_subsectionText">
{bodyText} {bodyText}
<br />
<br />
{_t(
"Integration Managers receive configuration data, and can modify widgets, " +
"send room invites, and set power levels on your behalf.",
)}
</span> </span>
</div> </div>
); );

View file

@ -598,15 +598,10 @@
"Do not use an identity server": "Do not use an identity server", "Do not use an identity server": "Do not use an identity server",
"Enter a new identity server": "Enter a new identity server", "Enter a new identity server": "Enter a new identity server",
"Change": "Change", "Change": "Change",
"Failed to update integration manager": "Failed to update integration manager", "Use an Integration Manager <b>(%(serverName)s)</b> to manage bots, widgets, and sticker packs.": "Use an Integration Manager <b>(%(serverName)s)</b> to manage bots, widgets, and sticker packs.",
"Integration manager offline or not accessible.": "Integration manager offline or not accessible.", "Use an Integration Manager to manage bots, widgets, and sticker packs.": "Use an Integration Manager to manage bots, widgets, and sticker packs.",
"Terms of service not accepted or the integration manager is invalid.": "Terms of service not accepted or the integration manager is invalid.", "Integrations": "Integrations",
"Integration manager has no terms of service": "Integration manager has no terms of service", "Integration Managers receive configuration data, and can modify widgets, send room invites, and set power levels on your behalf.": "Integration Managers receive configuration data, and can modify widgets, send room invites, and set power levels on your behalf.",
"The integration manager you have chosen does not have any terms of service.": "The integration manager you have chosen does not have any terms of service.",
"You are currently using <b>%(serverName)s</b> to manage your bots, widgets, and sticker packs.": "You are currently using <b>%(serverName)s</b> to manage your bots, widgets, and sticker packs.",
"Add which integration manager you want to manage your bots, widgets, and sticker packs.": "Add which integration manager you want to manage your bots, widgets, and sticker packs.",
"Integration Manager": "Integration Manager",
"Enter a new integration manager": "Enter a new integration manager",
"Flair": "Flair", "Flair": "Flair",
"Failed to change password. Is your password correct?": "Failed to change password. Is your password correct?", "Failed to change password. Is your password correct?": "Failed to change password. Is your password correct?",
"Success": "Success", "Success": "Success",