fix(settings): fix missing translation

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
This commit is contained in:
Julian Koberg committed 2025-05-26 15:23:54 +02:00
1 parent 06ee9dc4be
commit 6a2decf8b2
2 files changed
+8 -1

No files matched your search

@@ -0,0 +1,6 @@
Bugfix: Fix translations in Settings
Notification option translation where missing one string. This is fixed.
https://github.com/owncloud/ocis/pull/11361
https://github.com/owncloud/ocis/pull/11364
+2 -1
View File
@@ -706,7 +706,8 @@ func translateBundle(bundle *settingsmsg.Bundle, t l10n.OcisLocale) *settingsmsg
defaults.SettingUUIDProfileEventSpaceUnshared,
defaults.SettingUUIDProfileEventSpaceMembershipExpired,
defaults.SettingUUIDProfileEventSpaceDisabled,
defaults.SettingUUIDProfileEventSpaceDeleted:
defaults.SettingUUIDProfileEventSpaceDeleted,
defaults.SettingUUIDProfileEventPostprocessingStepFinished:
// translate event names ('Share Received', 'Share Removed', ...)
set.DisplayName = t.Get(set.GetDisplayName())
// translate event descriptions ('Notify me when I receive a share', ...)