mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
easier configuration of translated instance descriptions on the home page
This commit is contained in:
parent
abb30f5ba5
commit
0d1bfdc02b
@ -132,6 +132,8 @@ define([
|
||||
customURLs[k] = value[l] || value['default'];
|
||||
}
|
||||
});
|
||||
var value = AppConfig.hostDescription;
|
||||
Pages.hostDescription = (value && (value[l] || value.default)) || Msg.home_host;
|
||||
}());
|
||||
|
||||
// used for the about menu
|
||||
|
||||
@ -122,7 +122,7 @@ define([
|
||||
h('div.row.cp-page-section',
|
||||
h('div.col-sm-12', [
|
||||
h('h2', Msg.home_host_title),
|
||||
h('p'), Msg.home_host
|
||||
h('p', Pages.hostDescription),
|
||||
])
|
||||
),
|
||||
h('div.row.cp-page-section', [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user