Merge pull request #1857 from owncloud/l10n-improvements-accounts-settings

Adden l10n to accounts and settings
This commit is contained in:
Jan Ackermann
2021-03-25 19:33:11 +01:00
committed by GitHub
4 changed files with 19 additions and 10 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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

View File

@@ -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
}