UNPKG

cp-translations

Version:

Translations for the CoderDojo Community Platform

16 lines (12 loc) 392 B
var path = require('path'); module.exports = { getPoFilePath: function(poFile, locale) { return path.join(__dirname, 'strings', locale || '', poFile || '') }, getEmailTemplatePath: function (emailTemplateCode) { return path.join(__dirname, 'email-templates', emailTemplateCode || ''); }, getFilePath: function (filePath) { return path.join(__dirname, filePath); } };