Skip to content

Commit

Permalink
Fix german (Sie) translations comming from nextcloud-vue
Browse files Browse the repository at this point in the history
Porting to @nextcloud/l10n fix the issue

Signed-off-by: Carl Schwan <[email protected]>
  • Loading branch information
CarlSchwan authored and skjnldsv committed Dec 15, 2021
1 parent 36c720a commit 90dd8f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"@nextcloud/router": "^2.0.0",
"@nextcloud/vue": "^3.9.0",
"@skjnldsv/vue-plyr": "^7.0.1-alpha.0",
"@nextcloud/l10n": "^1.4.1",
"camelcase": "^6.2.0",
"debounce": "^1.2.1",
"nextcloud-server": "^0.15.10",
Expand Down
8 changes: 6 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@
import Vue from 'vue'
import ViewerComponent from './views/Viewer'
import ViewerService from './services/Viewer'
import { translate as t } from '@nextcloud/l10n'

import { generateFilePath } from '@nextcloud/router'

Vue.prototype.t = t
Vue.prototype.n = n
Vue.mixin({
methods: {
t,
},
})

Vue.prototype.OC = OC
Vue.prototype.OCA = OCA
Expand Down

0 comments on commit 90dd8f3

Please sign in to comment.