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 Khaled Garbaya
parent 9178e765a3
commit 28845db8e6
4 changed files with 14 additions and 14 deletions

4
app.js
View File

@@ -69,11 +69,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)
}
]