Files
ocis/settings/ui/app.js
T

47 lines
782 B
JavaScript
Raw Normal View History

2020-04-22 09:27:55 +02:00
import 'regenerator-runtime/runtime'
import SettingsApp from './components/SettingsApp.vue'
import store from './store'
2021-03-25 17:24:06 +01:00
import translations from './../l10n/translations.json'
2020-04-24 07:43:59 +02:00
// just a dummy function to trick gettext tools
function $gettext (msg) {
2020-04-24 07:43:59 +02:00
return msg
}
const appInfo = {
2020-04-24 07:43:59 +02:00
name: $gettext('Settings'),
id: 'settings',
2020-04-24 09:47:16 +02:00
icon: 'application',
isFileEditor: false,
2020-07-02 08:05:47 +02:00
extensions: []
}
const routes = [
{
name: 'settings',
2020-04-24 07:43:59 +02:00
path: '/:extension?',
components: {
app: SettingsApp
}
}
]
const navItems = [
{
2020-04-24 07:43:59 +02:00
name: $gettext('Settings'),
iconMaterial: appInfo.icon,
route: {
name: 'settings',
path: `/${appInfo.id}/`
2020-10-06 16:15:20 +02:00
},
menu: 'user'
}
]
export default {
appInfo,
store,
routes,
2021-03-25 17:24:06 +01:00
navItems,
translations
}