1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-21 23:37:55 +00:00
bramw_baserow/web-frontend/modules/integrations/module.js
2023-12-21 14:47:11 +01:00

21 lines
596 B
JavaScript

import path from 'path'
import en from './locales/en.json'
import fr from './locales/fr.json'
import nl from './locales/nl.json'
import de from './locales/de.json'
import it from './locales/it.json'
import es from './locales/es.json'
import pl from './locales/pl.json'
export default function IntegrationModule(options) {
// Add the plugin to register the builder application.
this.appendPlugin({
src: path.resolve(__dirname, 'plugin.js'),
})
this.nuxt.hook('i18n:extend-messages', function (additionalMessages) {
additionalMessages.push({ en, fr, nl, de, it, es, pl })
})
}