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 subscription event widget #1270

Merged
merged 5 commits into from
Jun 21, 2024

Conversation

kevmo314
Copy link
Contributor

@kevmo314 kevmo314 commented Jun 21, 2024

Introduces localization support for Twitch subscription events in the rtchat app.

  • Localization Implementation: Adds AppLocalizations calls in subscription_event.dart to replace hardcoded strings with localized versions. This includes the subscription event, subscription gift event, and subscription message event widgets.
  • Style Tags Preservation: Ensures that style tags are maintained within the localized strings to keep the text styling consistent post-localization.
  • Localization Strings Addition: Updates app_en.arb with new entries for the localized strings used in subscription_event.dart, including placeholders for dynamic content such as subscriber names, tier levels, and cumulative totals.

For more details, open the Copilot Workspace session.

@kevmo314 kevmo314 enabled auto-merge (squash) June 21, 2024 04:30
@kevmo314 kevmo314 merged commit a9f5640 into main Jun 21, 2024
7 checks passed
@kevmo314 kevmo314 deleted the kevmo314/localize-subscription-event branch June 21, 2024 04:32
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.

1 participant