mirror of
https://github.com/nextcloud/server.git
synced 2026-04-28 01:28:08 -04:00
fix(systemtags): Use literal strings for i18n in showSuccess
Signed-off-by: nfebe <fenn25.fn@gmail.com>
This commit is contained in:
parent
e54c07843c
commit
43ae402487
1 changed files with 4 additions and 1 deletions
|
|
@ -64,7 +64,10 @@ export default {
|
|||
handleResponse({ isRestricted, status, errorMessage, error }) {
|
||||
if (status === 'ok') {
|
||||
this.systemTagsCreationRestrictedToAdmin = isRestricted
|
||||
showSuccess(t('settings', `System tag creation is now ${isRestricted ? 'restricted to administrators' : 'allowed for everybody'}`))
|
||||
showSuccess(isRestricted
|
||||
? t('settings', 'System tag creation is now restricted to administrators')
|
||||
: t('settings', 'System tag creation is now allowed for everybody'),
|
||||
)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue