Skip to content

Commit 9072878

Browse files
Properly extract all translatable strings
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
1 parent f856014 commit 9072878

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

l10n/messages.pot

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ msgstr ""
2929
msgid "Close"
3030
msgstr ""
3131

32+
msgid "Close navigation"
33+
msgstr ""
34+
3235
msgid "Confirm changes"
3336
msgstr ""
3437

@@ -50,6 +53,9 @@ msgstr ""
5053
msgid "Global"
5154
msgstr ""
5255

56+
msgid "Go back to the list"
57+
msgstr ""
58+
5359
msgid "Message limit of {count} characters reached"
5460
msgstr ""
5561

@@ -65,6 +71,9 @@ msgstr ""
6571
msgid "Objects"
6672
msgstr ""
6773

74+
msgid "Open navigation"
75+
msgstr ""
76+
6877
msgid "Pause slideshow"
6978
msgstr ""
7079

src/components/AppContent/AppDetailsToggle.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,13 @@
2727
<script>
2828
import { emit } from '@nextcloud/event-bus'
2929
30-
import l10n from '../../mixins/l10n'
30+
import { t } from '../../l10n'
3131
export default {
3232
name: 'AppDetailsToggle',
3333
34-
mixins: [l10n],
35-
3634
computed: {
3735
title() {
38-
return this.t('Go back to the list')
36+
return t('Go back to the list')
3937
},
4038
},
4139

src/components/AppNavigationToggle/AppNavigationToggle.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<script>
4141
import Actions from '../Actions/Actions'
4242
import ActionButton from '../ActionButton/ActionButton'
43-
import l10n from '../../mixins/l10n'
43+
import { t } from '../../l10n'
4444
4545
import Menu from 'vue-material-design-icons/Menu'
4646
@@ -53,8 +53,6 @@ export default {
5353
Menu,
5454
},
5555
56-
mixins: [l10n],
57-
5856
props: {
5957
open: {
6058
type: Boolean,
@@ -64,7 +62,7 @@ export default {
6462
6563
computed: {
6664
label() {
67-
return this.open ? this.t('Close navigation') : this.t('Open navigation')
65+
return this.open ? t('Close navigation') : t('Open navigation')
6866
},
6967
},
7068
methods: {

0 commit comments

Comments
 (0)