1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-01-31 03:12:45 +00:00
bramw_baserow/web-frontend/modules/integrations/module.js
2024-11-26 19:09:48 +01:00

21 lines
635 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'
import ko from './locales/ko.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, ko })
})
}