Skip to content

Commit

Permalink
Properly extract all translatable strings
Browse files Browse the repository at this point in the history
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
  • Loading branch information
raimund-schluessler committed Sep 11, 2021
1 parent 9024527 commit 05171d8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
9 changes: 9 additions & 0 deletions l10n/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ msgstr ""
msgid "Close"
msgstr ""

msgid "Close navigation"
msgstr ""

msgid "Confirm changes"
msgstr ""

Expand All @@ -50,6 +53,9 @@ msgstr ""
msgid "Global"
msgstr ""

msgid "Go back to the list"
msgstr ""

msgid "Message limit of {count} characters reached"
msgstr ""

Expand All @@ -65,6 +71,9 @@ msgstr ""
msgid "Objects"
msgstr ""

msgid "Open navigation"
msgstr ""

msgid "Pause slideshow"
msgstr ""

Expand Down
6 changes: 2 additions & 4 deletions src/components/AppContent/AppDetailsToggle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@
<script>
import { emit } from '@nextcloud/event-bus'
import l10n from '../../mixins/l10n'
import { t } from '../../l10n'
export default {
name: 'AppDetailsToggle',
mixins: [l10n],
computed: {
title() {
return this.t('Go back to the list')
return t('Go back to the list')
},
},
Expand Down
6 changes: 2 additions & 4 deletions src/components/AppNavigationToggle/AppNavigationToggle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<script>
import Actions from '../Actions/Actions'
import ActionButton from '../ActionButton/ActionButton'
import l10n from '../../mixins/l10n'
import { t } from '../../l10n'
import Menu from 'vue-material-design-icons/Menu'
Expand All @@ -53,8 +53,6 @@ export default {
Menu,
},
mixins: [l10n],
props: {
open: {
type: Boolean,
Expand All @@ -64,7 +62,7 @@ export default {
computed: {
label() {
return this.open ? this.t('Close navigation') : this.t('Open navigation')
return this.open ? t('Close navigation') : t('Open navigation')
},
},
methods: {
Expand Down

0 comments on commit 05171d8

Please sign in to comment.