Skip to content

Commit ffe5caa

Browse files
committed
fix(systemtags): fix translations for systemtags view
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1 parent daa9852 commit ffe5caa

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

apps/systemtags/src/components/SystemTagsCreationControl.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
<template>
77
<div id="system-tags-creation-control">
88
<h4 class="inlineblock">
9-
{{ t('settings', 'System tag management') }}
9+
{{ t('systemtags', 'System tag management') }}
1010
</h4>
1111

1212
<p class="settings-hint">
13-
{{ t('settings', 'If enabled, only administrators can create and edit tags. Accounts can still assign and remove them from files.') }}
13+
{{ t('systemtags', 'If enabled, only administrators can create and edit tags. Accounts can still assign and remove them from files.') }}
1414
</p>
1515

1616
<NcCheckboxRadioSwitch type="switch"
1717
:checked.sync="systemTagsCreationRestrictedToAdmin"
1818
@update:checked="updateSystemTagsDefault">
19-
{{ t('settings', 'Restrict tag creation and editing to administrators') }}
19+
{{ t('systemtags', 'Restrict tag creation and editing to administrators') }}
2020
</NcCheckboxRadioSwitch>
2121
</div>
2222
</template>
@@ -47,7 +47,7 @@ export default {
4747
data() {
4848
return {
4949
// By default, system tags creation is not restricted to admins
50-
systemTagsCreationRestrictedToAdmin: loadState('settings', 'restrictSystemTagsCreationToAdmin', false),
50+
systemTagsCreationRestrictedToAdmin: loadState('systemtags', 'restrictSystemTagsCreationToAdmin', false),
5151
}
5252
},
5353
methods: {
@@ -61,7 +61,7 @@ export default {
6161
})
6262
} catch (e) {
6363
this.handleResponse({
64-
errorMessage: t('settings', 'Unable to update setting'),
64+
errorMessage: t('systemtags', 'Unable to update setting'),
6565
error: e,
6666
})
6767
}
@@ -71,8 +71,8 @@ export default {
7171
if (status === 'ok') {
7272
this.systemTagsCreationRestrictedToAdmin = isRestricted
7373
showSuccess(isRestricted
74-
? t('settings', 'System tag creation is now restricted to administrators')
75-
: t('settings', 'System tag creation is now allowed for everybody'),
74+
? t('systemtags', 'System tag creation is now restricted to administrators')
75+
: t('systemtags', 'System tag creation is now allowed for everybody'),
7676
)
7777
return
7878
}

0 commit comments

Comments
 (0)