<commit_before>/*
 * @requires base.js
 */

Ext.namespace("c2corg");

c2corg.Map = function (config) {

    config = Ext.applyIf(config, {
        id: config.div + "-map",
        lang: "fr",
        layers: [],
        features: null,
        georef: null,
        basemap: "google_terrain"
    });

    // Set OpenLayers/GeoExt params + lang
    c2corg.base.init(config.lang);

    var mapConfig = c2corg.base.getMap({
        controls: { zoomWheelEnabled: false }
    });
    mapConfig.id = config.id;
    
    var tools = [{
        ptype: "c2corg_layertree",
        outputConfig: {
            closable: false,
            title: OpenLayers.i18n("c2c data"),
            collapsible: true,
            header: true,
            width: 250
        },
        initialThemes: config.layers,
        url: c2corg.config.mapserverUrl
    },
    {
        ptype: "cgxp_mapopacityslider",
        orthoRef: null,
        actionTarget: "map.tbar",
        defaultBaseLayerRef: config.basemap
    },<commit_msg>use correct i18n function<commit_after>/*
 * @requires base.js
 */

Ext.namespace("c2corg");

c2corg.Map = function (config) {

    config = Ext.applyIf(config, {
        id: config.div + "-map",
        lang: "fr",
        layers: [],
        features: null,
        georef: null,
        basemap: "google_terrain"
    });

    // Set OpenLayers/GeoExt params + lang
    c2corg.base.init(config.lang);

    var mapConfig = c2corg.base.getMap({
        controls: { zoomWheelEnabled: false }
    });
    mapConfig.id = config.id;
 
    var tools = [{
        ptype: "c2corg_layertree",
        outputConfig: {
            closable: false,
            title: c2corg.i18n("c2c data"),
            collapsible: true,
            header: true,
            width: 250
        },
        initialThemes: config.layers,
        url: c2corg.config.mapserverUrl
    },
    {
        ptype: "cgxp_mapopacityslider",
        orthoRef: null,
        actionTarget: "map.tbar",
        defaultBaseLayerRef: config.basemap
    },
{'fraction_non_alphanumeric': 0.12481426448736999, 'fraction_numerical': 0.01337295690936107, 'mean_word_length': 1.8652482269503545, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4988692', 'n_tokens_mistral': 689, 'n_tokens_neox': 664, 'n_words': 127}