🐛 Fix the usage of new localization system

This commit is contained in:
2026-02-05 16:03:09 +08:00
parent 769b0e0e9c
commit 3c0f5b0e41
9 changed files with 24 additions and 24 deletions

View File

@@ -117,7 +117,7 @@ public class RelationshipService(
Notification = new PushNotification
{
Topic = "relationships.friends.request",
Title = localizer.Get("friendRequestTitle", locale: sender.Language, args: new { sender.Nick }),
Title = localizer.Get("friendRequestTitle", locale: sender.Language, args: new { sender = sender.Nick }),
Body = localizer.Get("friendRequestBody", locale: sender.Language),
ActionUri = "/account/relationships",
IsSavable = true