Merge pull request #2391 from mattermost/fix-about-modal
Improving the about dialog for licencing
Этот коммит содержится в:
@@ -21,29 +21,38 @@ export default class AboutBuildModal extends React.Component {
|
|||||||
|
|
||||||
let title = (
|
let title = (
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='about.teamEdtion'
|
id='about.teamEditiont0'
|
||||||
defaultMessage='Team Edition'
|
defaultMessage='Team Edition T0'
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
||||||
let licensee;
|
let licensee;
|
||||||
if (config.BuildEnterpriseReady === 'true' && license.IsLicensed === 'true') {
|
if (config.BuildEnterpriseReady === 'true') {
|
||||||
title = (
|
title = (
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='about.enterpriseEdition'
|
id='about.teamEditiont1'
|
||||||
defaultMessage='Enterprise Edition'
|
defaultMessage='Team Edition T1'
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
licensee = (
|
if (license.IsLicensed === 'true') {
|
||||||
<div className='row form-group'>
|
title = (
|
||||||
<div className='col-sm-3 info__label'>
|
<FormattedMessage
|
||||||
<FormattedMessage
|
id='about.enterpriseEditione1'
|
||||||
id='about.licensed'
|
defaultMessage='Enterprise Edition E1'
|
||||||
defaultMessage='Licensed by:'
|
/>
|
||||||
/>
|
);
|
||||||
|
licensee = (
|
||||||
|
<div className='row form-group'>
|
||||||
|
<div className='col-sm-3 info__label'>
|
||||||
|
<FormattedMessage
|
||||||
|
id='about.licensed'
|
||||||
|
defaultMessage='Licensed by:'
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div className='col-sm-9'>{license.Company}</div>
|
||||||
</div>
|
</div>
|
||||||
<div className='col-sm-9'>{license.Company}</div>
|
);
|
||||||
</div>
|
}
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
{
|
{
|
||||||
"about.close": "Close",
|
"about.close": "Close",
|
||||||
"about.date": "Build Date:",
|
"about.date": "Build Date:",
|
||||||
"about.enterpriseEdition": "Enterprise Edition",
|
"about.enterpriseEditione1": "Enterprise Edition E1",
|
||||||
"about.hash": "Build Hash:",
|
"about.hash": "Build Hash:",
|
||||||
"about.licensed": "Licensed by:",
|
"about.licensed": "Licensed by:",
|
||||||
"about.number": "Build Number:",
|
"about.number": "Build Number:",
|
||||||
"about.teamEdtion": "Team Edition",
|
"about.teamEditiont0": "Team Edition T0",
|
||||||
|
"about.teamEditiont1": "Team Edition T1",
|
||||||
"about.title": "About Mattermost",
|
"about.title": "About Mattermost",
|
||||||
"about.version": "Version:",
|
"about.version": "Version:",
|
||||||
"access_history.title": "Access History",
|
"access_history.title": "Access History",
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
{
|
{
|
||||||
"about.close": "Cerrar",
|
"about.close": "Cerrar",
|
||||||
"about.date": "Fecha de compilación:",
|
"about.date": "Fecha de compilación:",
|
||||||
"about.enterpriseEdition": "Edición Enterprise",
|
"about.enterpriseEditione1": "Edición Enterprise E1",
|
||||||
"about.hash": "Hash de compilación:",
|
"about.hash": "Hash de compilación:",
|
||||||
"about.licensed": "Licenciado por:",
|
"about.licensed": "Licenciado por:",
|
||||||
"about.number": "Número de compilación:",
|
"about.number": "Número de compilación:",
|
||||||
"about.teamEdtion": "Edición Team",
|
"about.teamEditiont0": "Edición Team T0",
|
||||||
|
"about.teamEditiont1": "Edición Team T1",
|
||||||
"about.title": "Acerca de Mattermost",
|
"about.title": "Acerca de Mattermost",
|
||||||
"about.version": "Versión:",
|
"about.version": "Versión:",
|
||||||
"access_history.title": "Historial de Acceso",
|
"access_history.title": "Historial de Acceso",
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
{
|
{
|
||||||
"about.close": "Fechar",
|
"about.close": "Fechar",
|
||||||
"about.date": "Data De Criação:",
|
"about.date": "Data De Criação:",
|
||||||
"about.enterpriseEdition": "Enterprise Edition",
|
"about.enterpriseEditione1": "Enterprise Edition E1",
|
||||||
"about.hash": "Hash de Compilação:",
|
"about.hash": "Hash de Compilação:",
|
||||||
"about.licensed": "Licenciado pela:",
|
"about.licensed": "Licenciado pela:",
|
||||||
"about.number": "O Número De Compilação:",
|
"about.number": "O Número De Compilação:",
|
||||||
"about.teamEdtion": "Team Edition",
|
"about.teamEditiont0": "Team Edition T0",
|
||||||
|
"about.teamEditiont1": "Team Edition T1",
|
||||||
"about.title": "Sobre o Mattermost",
|
"about.title": "Sobre o Mattermost",
|
||||||
"about.version": "Versão:",
|
"about.version": "Versão:",
|
||||||
"access_history.title": "Histórico de Acesso",
|
"access_history.title": "Histórico de Acesso",
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user