summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-03-08 14:57:35 -0500
committerChristopher Speller <crspeller@gmail.com>2016-03-08 14:57:35 -0500
commit8f38e4317b66b8ed778820a5f812ccc005036437 (patch)
treeced18034dec9212b7e07c593d586fe9ea2727517 /web
parentcbf84c8beaa0896daaf82ecdb63f236da4d64c0e (diff)
downloadchat-8f38e4317b66b8ed778820a5f812ccc005036437.tar.gz
chat-8f38e4317b66b8ed778820a5f812ccc005036437.tar.bz2
chat-8f38e4317b66b8ed778820a5f812ccc005036437.zip
Improving the about dialog for licencing
Diffstat (limited to 'web')
-rw-r--r--web/react/components/about_build_modal.jsx39
-rw-r--r--web/static/i18n/en.json5
-rw-r--r--web/static/i18n/es.json5
-rw-r--r--web/static/i18n/pt.json7
4 files changed, 34 insertions, 22 deletions
diff --git a/web/react/components/about_build_modal.jsx b/web/react/components/about_build_modal.jsx
index fe48bb48e..86519e5db 100644
--- a/web/react/components/about_build_modal.jsx
+++ b/web/react/components/about_build_modal.jsx
@@ -21,29 +21,38 @@ export default class AboutBuildModal extends React.Component {
let title = (
<FormattedMessage
- id='about.teamEdtion'
- defaultMessage='Team Edition'
+ id='about.teamEdtiont0'
+ defaultMessage='Team Edition T0'
/>
);
+
let licensee;
- if (config.BuildEnterpriseReady === 'true' && license.IsLicensed === 'true') {
+ if (config.BuildEnterpriseReady === 'true') {
title = (
<FormattedMessage
- id='about.enterpriseEdition'
- defaultMessage='Enterprise Edition'
+ id='about.teamEdtiont1'
+ defaultMessage='Team Edition T1'
/>
);
- licensee = (
- <div className='row form-group'>
- <div className='col-sm-3 info__label'>
- <FormattedMessage
- id='about.licensed'
- defaultMessage='Licensed by:'
- />
+ if (license.IsLicensed === 'true') {
+ title = (
+ <FormattedMessage
+ id='about.enterpriseEditione1'
+ defaultMessage='Enterprise Edition E1'
+ />
+ );
+ 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 className='col-sm-9'>{license.Company}</div>
- </div>
- );
+ );
+ }
}
return (
diff --git a/web/static/i18n/en.json b/web/static/i18n/en.json
index 4c6fa0eae..340464667 100644
--- a/web/static/i18n/en.json
+++ b/web/static/i18n/en.json
@@ -1,11 +1,12 @@
{
"about.close": "Close",
"about.date": "Build Date:",
- "about.enterpriseEdition": "Enterprise Edition",
+ "about.enterpriseEditione1": "Enterprise Edition E1",
"about.hash": "Build Hash:",
"about.licensed": "Licensed by:",
"about.number": "Build Number:",
- "about.teamEdtion": "Team Edition",
+ "about.teamEdtiont0": "Team Edition T0",
+ "about.teamEdtiont1": "Team Edition T1",
"about.title": "About Mattermost",
"about.version": "Version:",
"access_history.title": "Access History",
diff --git a/web/static/i18n/es.json b/web/static/i18n/es.json
index b14470872..2849578a5 100644
--- a/web/static/i18n/es.json
+++ b/web/static/i18n/es.json
@@ -1,11 +1,12 @@
{
"about.close": "Cerrar",
"about.date": "Fecha de compilación:",
- "about.enterpriseEdition": "Edición Enterprise",
+ "about.enterpriseEditione1": "Edición Enterprise E1",
"about.hash": "Hash de compilación:",
"about.licensed": "Licenciado por:",
"about.number": "Número de compilación:",
- "about.teamEdtion": "Edición Team",
+ "about.teamEdtiont0": "Edición Team T0",
+ "about.teamEdtiont1": "Edición Team T1",
"about.title": "Acerca de Mattermost",
"about.version": "Versión:",
"access_history.title": "Historial de Acceso",
diff --git a/web/static/i18n/pt.json b/web/static/i18n/pt.json
index f4b998ded..94e67a799 100644
--- a/web/static/i18n/pt.json
+++ b/web/static/i18n/pt.json
@@ -1,11 +1,12 @@
{
"about.close": "Fechar",
"about.date": "Data De Criação:",
- "about.enterpriseEdition": "Enterprise Edition",
+ "about.enterpriseEditione1": "Enterprise Edition E1",
"about.hash": "Hash de Compilação:",
"about.licensed": "Licenciado pela:",
"about.number": "O Número De Compilação:",
- "about.teamEdtion": "Team Edition",
+ "about.teamEdtiont0": "Team Edition T0",
+ "about.teamEdtiont1": "Team Edition T1",
"about.title": "Sobre o Mattermost",
"about.version": "Versão:",
"access_history.title": "Histórico de Acesso",
@@ -1288,4 +1289,4 @@
"view_image_popover.download": "Download",
"view_image_popover.file": "Arquivo {count} de {total}",
"view_image_popover.publicLink": "Obter O Link Público"
-} \ No newline at end of file
+}