rename labels to use full api name

This commit is contained in:
Benedikt Rötsch
2017-11-09 10:42:17 +01:00
committed by Benedikt Rötsch
parent a0540d3097
commit fc68385384
4 changed files with 14 additions and 14 deletions

4
app.js
View File

@@ -68,11 +68,11 @@ app.use(async function (request, response, next) {
const apis = [
{
id: 'cda',
label: translate('cdaApiLabel', response.locals.currentLocale.code)
label: translate('contentDeliveryApiLabel', response.locals.currentLocale.code)
},
{
id: 'cpa',
label: translate('cpaApiLabel', response.locals.currentLocale.code)
label: translate('contentPreviewApiLabel', response.locals.currentLocale.code)
}
]