<commit_before>var ACTIVE_LOCALE = window.ACTIVE_LOCALE;
var Polyglot = require('node-polyglot');
var Locale = require('../../../../../locale/index');
var polyglot = new Polyglot({
  locale: ACTIVE_LOCALE, // Needed for pluralize behaviour
  phrases: Locale[ACTIVE_LOCALE]
});

if (ACTIVE_LOCALE !== 'en') {
  require('moment/locale/' + ACTIVE_LOCALE);
}

var _t = polyglot.t.bind(polyglot);

/*
 *
 *
 */

module.exports = {

  'labels-enabled': {
    type: 'Hidden'
  },

  // 'labels-fill': {
  //   type: 'Fill',
  //   title: _t('editor.style.components.labels-fill')
  // },

  'labels-offset': {
    type: 'Number',
    title: _t('editor.style.components.labels-offset'),
    validators: ['required', {
      type: 'interval',<commit_msg>Added comments for style form components dictionary<commit_after>var ACTIVE_LOCALE = window.ACTIVE_LOCALE;
var Polyglot = require('node-polyglot');
var Locale = require('../../../../../locale/index');
var polyglot = new Polyglot({
  locale: ACTIVE_LOCALE, // Needed for pluralize behaviour
  phrases: Locale[ACTIVE_LOCALE]
});

if (ACTIVE_LOCALE !== 'en') {
  require('moment/locale/' + ACTIVE_LOCALE);
}

var _t = polyglot.t.bind(polyglot);

/*
 *  Dictionary that contains all the necessary components
 *  for the styles form
 */

module.exports = {

  'labels-enabled': {
    type: 'Hidden'
  },

  // 'labels-fill': {
  //   type: 'Fill',
  //   title: _t('editor.style.components.labels-fill')
  // },

  'labels-offset': {
    type: 'Number',
    title: _t('editor.style.components.labels-offset'),
    validators: ['required', {
      type: 'interval',
{'fraction_non_alphanumeric': 0.18329177057356608, 'fraction_numerical': 0.0, 'mean_word_length': 3.3378378378378377, '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': '1570604', 'n_tokens_mistral': 552, 'n_tokens_neox': 555, 'n_words': 110}