<commit_before>import mergeSettings from './merge';
import { useCustomTheme } from './getThemePath';
import translations from 'theme/translations';

const themeTranslations = useCustomTheme
  ? require('../../' + process.env.THEME_PATH + '/translations')
  : {};

const mergedTranslations = mergeSettings(translations, themeTranslations);

module.exports = mergedTranslations;<commit_msg>fix broken include<commit_after>import mergeSettings from './merge';
import translations from 'theme/translations';

const customThemePath = process.env.THEME_PATH || '';
const useCustomTheme = customThemePath && !process.env.TEST_ENV;

const themeTranslations = useCustomTheme
  ? require('../../' + process.env.THEME_PATH + '/translations')
  : {};

const mergedTranslations = mergeSettings(translations, themeTranslations);

module.exports = mergedTranslations;
{'fraction_non_alphanumeric': 0.1267605633802817, 'fraction_numerical': 0.0, 'mean_word_length': 5.991803278688525, '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': '5502695', 'n_tokens_mistral': 236, 'n_tokens_neox': 232, 'n_words': 52}