Fix license info localization
Этот коммит содержится в:
@@ -109,7 +109,17 @@ class LicenseSettings extends React.Component {
|
||||
);
|
||||
licenseType = (
|
||||
<FormattedHTMLMessage
|
||||
id='admin.license.entrepriseType'
|
||||
id='admin.license.enterpriseType'
|
||||
values={{
|
||||
terms: global.window.mm_config.TermsOfServiceLink,
|
||||
name: global.window.mm_license.Name,
|
||||
company: global.window.mm_license.Company,
|
||||
users: global.window.mm_license.Users,
|
||||
issued: Utils.displayDate(parseInt(global.window.mm_license.IssuedAt, 10)) + ' ' + Utils.displayTime(parseInt(global.window.mm_license.IssuedAt, 10), true),
|
||||
start: Utils.displayDate(parseInt(global.window.mm_license.StartsAt, 10)),
|
||||
expires: Utils.displayDate(parseInt(global.window.mm_license.ExpiresAt, 10)),
|
||||
ldap: global.window.mm_license.LDAP
|
||||
}}
|
||||
defaultMessage='<div><p>This compiled release of Mattermost platform is provided under a <a href="http://mattermost.com" target="_blank">commercial license</a>
|
||||
from Mattermost, Inc. based on your subscription level and is subject to the <a href="{terms}" target="_blank">Terms of Service.</a></p>
|
||||
<p>Your subscription details are as follows:</p>
|
||||
@@ -259,4 +269,4 @@ LicenseSettings.propTypes = {
|
||||
intl: intlShape.isRequired
|
||||
};
|
||||
|
||||
export default injectIntl(LicenseSettings);
|
||||
export default injectIntl(LicenseSettings);
|
||||
|
||||
Ссылка в новой задаче
Block a user