Sha256: f3d07a7b8fcd0e68b23256b90f4e4b9ead96f013a470d2bcbfd5378c0143acfa

Contents?: true

Size: 710 Bytes

Versions: 7

Compression:

Stored size: 710 Bytes

Contents

import EditorEN from './editor.en.json'
import EditorES from './editor.es.json'
import EditorFR from './editor.fr.json'
import EditorPTBR from './editor.pt-BR.json'
import { deepMerge } from '@/misc/utils'

const overriddenEN = window.customTranslations?.en ?? {}
const overriddenES = window.customTranslations?.es ?? {}
const overriddenFR = window.customTranslations?.fr ?? {}
const overriddenPTBR =
  window.customTranslations && window.customTranslations['pt-BR']
    ? window.customTranslations['pt-BR']
    : {}

export default {
  en: deepMerge(EditorEN, overriddenEN),
  es: deepMerge(EditorES, overriddenES),
  fr: deepMerge(EditorFR, overriddenFR),
  'pt-BR': deepMerge(EditorPTBR, overriddenPTBR),
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
maglevcms-1.7.3 app/frontend/editor/locales/index.js
maglevcms-1.7.2 app/frontend/editor/locales/index.js
maglevcms-1.7.1 app/frontend/editor/locales/index.js
maglevcms-1.7.0 app/frontend/editor/locales/index.js
maglevcms-1.6.1 app/frontend/editor/locales/index.js
maglevcms-1.6.0 app/frontend/editor/locales/index.js
maglevcms-1.5.1 app/frontend/editor/locales/index.js