/**
 * @overview Jade context file to render with {{lang}} lang{{#if min}}, as minified{{/if}}.
 * This module exposed as global variables in the jade render context.
 * @ignore
 */

var locales = require('../../../locales'),
    _newJadeContext = require('./_new_jade_context_data');

module.exports = _newJadeContext({
    l: locales.{{lang}},
    urlResolverData: {
        {{#if jsDir}}jsDir: 'javascripts',
        {{/if}}{{#if cssDir}}cssDir: 'stylesheets',
        {{/if}}{{#if imgDir}}imgDir: 'images',
        {{/if}}convertRules: [{{#if min}}
            [/\.js$/, '.min.js'],
            [/\.css$/, '.min.css']{{/if}}
        ],
        params: {
            v: "{{meta.version}}"
        }
    }
});