1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-02-24 21:46:08 +00:00
bramw_baserow/web-frontend/modules/integrations/module.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
635 B
JavaScript
Raw Normal View History

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'
2024-11-26 16:53:07 +00:00
import ko from './locales/ko.json'
2023-12-20 08:22:02 +00:00
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) {
2024-11-26 16:53:07 +00:00
additionalMessages.push({ en, fr, nl, de, it, es, pl, ko })
})
}