mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
feat: Add v3 strings to develop for translating (#7354)
This commit is contained in:
committed by
Matteo Pagliazzi
parent
0d69a504d2
commit
7c96d45e86
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user