mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-07 12:50:21 -06:00
Bump web-test-middleware in CI Remove fileUpload volumes in CI, bump web to official v5.0.0 Rename web changelog & fix settings acceptance test Add 'Spaces' to settings navBar tests Add new profile link & quota to settings userMenu tests Update expected failures from web v5.0.0 release Bump web commit ID Bump web commit ID
45 lines
734 B
JavaScript
45 lines
734 B
JavaScript
import 'regenerator-runtime/runtime'
|
|
import SettingsApp from './components/SettingsApp.vue'
|
|
import store from './store'
|
|
import translations from './../l10n/translations.json'
|
|
|
|
// just a dummy function to trick gettext tools
|
|
function $gettext(msg) {
|
|
return msg
|
|
}
|
|
|
|
const appInfo = {
|
|
name: $gettext('Settings'),
|
|
id: 'settings',
|
|
icon: 'settings-4',
|
|
isFileEditor: false
|
|
}
|
|
|
|
const routes = [
|
|
{
|
|
name: 'settings',
|
|
path: '/:extension?',
|
|
component: SettingsApp
|
|
}
|
|
]
|
|
|
|
const navItems = [
|
|
{
|
|
name: $gettext('Settings'),
|
|
icon: appInfo.icon,
|
|
route: {
|
|
name: 'settings',
|
|
path: `/${appInfo.id}/`
|
|
},
|
|
menu: 'user'
|
|
}
|
|
]
|
|
|
|
export default {
|
|
appInfo,
|
|
store,
|
|
routes,
|
|
navItems,
|
|
translations
|
|
}
|