Skip to content
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

feat: localize raid events #1266

Merged
merged 7 commits into from
Jun 21, 2024
Merged

feat: localize raid events #1266

merged 7 commits into from
Jun 21, 2024

Conversation

kevmo314
Copy link
Contributor

@kevmo314 kevmo314 commented Jun 20, 2024

Introduces localization support for raid and raiding events in the rtchat application.

  • Localization Implementation: Adds flutter_gen/gen_l10n/app_localizations.dart import to both raid_event.dart and raiding_event.dart to utilize localized strings.
  • Dynamic Text Replacement: Replaces static text strings with calls to AppLocalizations for dynamic localization in TwitchRaidEventWidget and TwitchRaidingEventWidget.
  • Localization Entries: Updates app_en.arb with new entries for raid and raiding event messages, including dynamic placeholders for display names and viewer counts. Also introduces localization for "Shoutout" and "Join" buttons within raid events.
  • Support for Time Remaining: Adds a localized message for displaying time remaining in raiding events, enhancing user experience during active raids.

For more details, open the Copilot Workspace session.

@kevmo314 kevmo314 enabled auto-merge (squash) June 21, 2024 03:43
@kevmo314 kevmo314 merged commit 0146563 into main Jun 21, 2024
5 checks passed
@kevmo314 kevmo314 deleted the kevmo314/localize-raid-events branch June 21, 2024 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant