feat: Add v3 strings to develop for translating (#7354)

This commit is contained in:
Blade Barringer
2016-05-18 10:25:35 -05:00
committed by Matteo Pagliazzi
parent 0d69a504d2
commit 7c96d45e86
16 changed files with 201 additions and 19 deletions

View File

@@ -9,7 +9,7 @@ module.exports = function(user, req, cb, analytics) {
if (!content.timeTravelStable[type]) {
return typeof cb === "function" ? cb({
code: 403,
message: i18n.t('typeNotAllowedHourglass', req.language) + JSON.stringify(_.keys(content.timeTravelStable))
message: i18n.t('typeNotAllowedHourglass', {allowedTypes: _.keys(content.timeTravelStable).toString()}, req.language)
}) : void 0;
}
if (!_.contains(_.keys(content.timeTravelStable[type]), key)) {