mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-10 06:10:05 -06:00
Merge pull request #1857 from owncloud/l10n-improvements-accounts-settings
Adden l10n to accounts and settings
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,9 +1,15 @@
|
||||
import 'regenerator-runtime/runtime'
|
||||
import App from './components/App.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: 'Accounts',
|
||||
name: $gettext('Accounts'),
|
||||
id: 'accounts',
|
||||
icon: 'text-vcard',
|
||||
isFileEditor: false,
|
||||
@@ -22,7 +28,7 @@ const routes = [
|
||||
|
||||
const navItems = [
|
||||
{
|
||||
name: 'Accounts',
|
||||
name: $gettext('Accounts'),
|
||||
iconMaterial: appInfo.icon,
|
||||
route: {
|
||||
name: 'accounts',
|
||||
@@ -36,5 +42,6 @@ export default {
|
||||
appInfo,
|
||||
routes,
|
||||
navItems,
|
||||
store
|
||||
store,
|
||||
translations
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,6 +1,7 @@
|
||||
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) {
|
||||
@@ -41,5 +42,6 @@ export default {
|
||||
appInfo,
|
||||
store,
|
||||
routes,
|
||||
navItems
|
||||
navItems,
|
||||
translations
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user