Closed sfarzoso closed 5 years ago
Suppose I have the following json string:
"invalidProjectName": "Name of the project must be less than %s characters and must not be greather than %s characters!"
I want replace the %s from the caller, eg:
ctx.reply(ctx.i18n.t('invalidProjectName', 2, 12));
so I don't need to update the json string with the variables values.
Suppose I have the following json string:
"invalidProjectName": "Name of the project must be less than %s characters and must not be greather than %s characters!"
I want replace the %s from the caller, eg:
ctx.reply(ctx.i18n.t('invalidProjectName', 2, 12));
so I don't need to update the json string with the variables values.