mirror of
https://github.com/zammad/zammad
synced 2026-05-24 09:48:36 +00:00
16 lines
475 B
TypeScript
16 lines
475 B
TypeScript
// Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/
|
|
|
|
import { i18n } from '#shared/i18n.ts'
|
|
|
|
import applicationConfigPlugin from '../plugins/applicationConfigPlugin.ts'
|
|
|
|
import type { App } from 'vue'
|
|
|
|
export default function initializeGlobalProperties(app: App): void {
|
|
app.config.globalProperties.i18n = i18n
|
|
app.config.globalProperties.$t = i18n.t.bind(i18n)
|
|
|
|
app.use(applicationConfigPlugin)
|
|
|
|
app.config.globalProperties.__ = window.__
|
|
}
|