PLT-2406 Add "Database:" to Mattermost About Dialog (#3261)
* Add "Database:" to Mattermost About Dialog The property has been named SQLDriverName to make a difference with the FileSettings DriverName. * Add missing string for 'Database' in i18n file
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
d9e8eb619a
Коммит
1d31b0eca6
@@ -249,6 +249,7 @@ func getClientConfig(c *model.Config) map[string]string {
|
|||||||
|
|
||||||
props["DefaultClientLocale"] = *c.LocalizationSettings.DefaultClientLocale
|
props["DefaultClientLocale"] = *c.LocalizationSettings.DefaultClientLocale
|
||||||
props["AvailableLocales"] = *c.LocalizationSettings.AvailableLocales
|
props["AvailableLocales"] = *c.LocalizationSettings.AvailableLocales
|
||||||
|
props["SQLDriverName"] = c.SqlSettings.DriverName
|
||||||
|
|
||||||
if IsLicensed {
|
if IsLicensed {
|
||||||
if *License.Features.CustomBrand {
|
if *License.Features.CustomBrand {
|
||||||
|
|||||||
@@ -137,6 +137,13 @@ export default class AboutBuildModal extends React.Component {
|
|||||||
/>
|
/>
|
||||||
{'\u00a0' + config.Version + '\u00a0' + config.BuildNumber}
|
{'\u00a0' + config.Version + '\u00a0' + config.BuildNumber}
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<FormattedMessage
|
||||||
|
id='about.database'
|
||||||
|
defaultMessage='Database:'
|
||||||
|
/>
|
||||||
|
{'\u00a0' + config.SQLDriverName}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{licensee}
|
{licensee}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
"about.teamEditiont1": "Enterprise Edition",
|
"about.teamEditiont1": "Enterprise Edition",
|
||||||
"about.title": "About Mattermost",
|
"about.title": "About Mattermost",
|
||||||
"about.version": "Version:",
|
"about.version": "Version:",
|
||||||
|
"about.database": "Database:",
|
||||||
"access_history.title": "Access History",
|
"access_history.title": "Access History",
|
||||||
"activity_log.activeSessions": "Active Sessions",
|
"activity_log.activeSessions": "Active Sessions",
|
||||||
"activity_log.browser": "Browser: {browser}",
|
"activity_log.browser": "Browser: {browser}",
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user