aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/mixins/Nextcloud.js
blob: 3a94f85d2c6c1811329dc4d70b268618afa6aa6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**
 * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

import L10n from '../OC/l10n.js'
import OC from '../OC/index.js'

export default {
	data() {
		return {
			OC,
		}
	},
	methods: {
		t: L10n.translate.bind(L10n),
		n: L10n.translatePlural.bind(L10n),
	},
}