Skip to content

FEATURE: Localize topic titles in notifications and bookmarks #34059

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 5, 2025

Conversation

nattsw
Copy link
Contributor

@nattsw nattsw commented Aug 4, 2025

Localizes topic titles in these areas

  • user notification
  • bookmarks

This PR also updates the user notification bookmark list to use fancy title instead of title, similar to the other user notification tabs.

Screenshot 2025-08-04 at 5 26 42 PM Screenshot 2025-08-04 at 5 39 06 PM Screenshot 2025-08-04 at 5 40 20 PM

end

def fancy_title
f = _topic.fancy_title
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

understand this is lift-and-shift existing logic but should we handle the case where _topic is nil? I see that we do that in include_fancy_title?

Copy link
Contributor Author

@nattsw nattsw Aug 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There shouldn't be a need, the topic is a must-have in places where the serializer is used. The fancy title shouldn't be sent if include_ is false.

Copy link
Contributor

@tyb-talks tyb-talks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, left a minor comment.

@nattsw nattsw merged commit c61a6f8 into main Aug 5, 2025
27 of 28 checks passed
@nattsw nattsw deleted the localize-title branch August 5, 2025 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants