Add localization support for FollowModal component (#4558)

* Initial plan

* Add localization support for FollowModal component

Co-authored-by: gabek <414923+gabek@users.noreply.github.com>

* Update web/components/modals/FollowModal/FollowModal.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update web/components/modals/FollowModal/FollowForm.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: gabek <414923+gabek@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Copilot
2025-09-15 21:50:36 -07:00
committed by GitHub
co-authored by gabek Copilot copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Gabe Kangas
parent aa6ab61cbc
commit 51ae467a5a
5 changed files with 92 additions and 13 deletions
+14
View File
@@ -100,6 +100,20 @@ export const Localization = {
source: 'Frontend.Footer.source',
},
// Follow modal component
FollowModal: {
description: 'Frontend.FollowModal.description',
learnFediverse: 'Frontend.FollowModal.learnFediverse',
newToYou: 'Frontend.FollowModal.newToYou',
instructions: 'Frontend.FollowModal.instructions',
placeholder: 'Frontend.FollowModal.placeholder',
redirectMessage: 'Frontend.FollowModal.redirectMessage',
joinFediverse: 'Frontend.FollowModal.joinFediverse',
followButton: 'Frontend.FollowModal.followButton',
followError: 'Frontend.FollowModal.followError',
unableToFollow: 'Frontend.FollowModal.unableToFollow',
},
// Offline banner messages
offlineBasic: 'Frontend.offlineBasic',
offlineNotifyOnly: 'Frontend.offlineNotifyOnly',