From ffe5caa91b9f56e98f98a968d87eefa1991dfac2 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Sun, 1 Jun 2025 21:20:04 +0200 Subject: fix(systemtags): fix translations for systemtags view Signed-off-by: Daniel Kesselberg --- .../src/components/SystemTagsCreationControl.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'apps') diff --git a/apps/systemtags/src/components/SystemTagsCreationControl.vue b/apps/systemtags/src/components/SystemTagsCreationControl.vue index 1b69983839f..2133387ec06 100644 --- a/apps/systemtags/src/components/SystemTagsCreationControl.vue +++ b/apps/systemtags/src/components/SystemTagsCreationControl.vue @@ -6,17 +6,17 @@ @@ -47,7 +47,7 @@ export default { data() { return { // By default, system tags creation is not restricted to admins - systemTagsCreationRestrictedToAdmin: loadState('settings', 'restrictSystemTagsCreationToAdmin', false), + systemTagsCreationRestrictedToAdmin: loadState('systemtags', 'restrictSystemTagsCreationToAdmin', false), } }, methods: { @@ -61,7 +61,7 @@ export default { }) } catch (e) { this.handleResponse({ - errorMessage: t('settings', 'Unable to update setting'), + errorMessage: t('systemtags', 'Unable to update setting'), error: e, }) } @@ -71,8 +71,8 @@ export default { if (status === 'ok') { this.systemTagsCreationRestrictedToAdmin = isRestricted showSuccess(isRestricted - ? t('settings', 'System tag creation is now restricted to administrators') - : t('settings', 'System tag creation is now allowed for everybody'), + ? t('systemtags', 'System tag creation is now restricted to administrators') + : t('systemtags', 'System tag creation is now allowed for everybody'), ) return } -- cgit v1.2.3