Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

refactor: update localization handling to fall back to English and im…#2678

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
ragokan wants to merge3 commits intosingerdmx:master
base:master
Choose a base branch
Loading
fromragokan:master

Conversation

@ragokan
Copy link

Description

Localization fallback improvements:

  • Theloc getter in theLocalizationsExt extension now falls back to the default English localization (FlutterQuillLocalizationsEn) if no delegate is registered, instead of throwing aMissingFlutterQuillLocalizationException.
  • TheMissingFlutterQuillLocalizationException class is now marked as deprecated, as it will be removed in a future release.

Test updates:

  • Tests ineditor_test.dart were updated to verify that no exception is thrown when the localization delegate is missing, and that English fallback messages are used.[1][2]
  • Tests now check that the provided localization delegate is used when available (e.g., Spanish), and that fallback localization provides correct interpolated messages when the delegate is missing.

Related Issues

Type of Change

  • Feature: New functionality without breaking existing features.
  • 🛠️Bug fix: Resolves an issue without altering current behavior.
  • 🧹Refactor: Code reorganization, no behavior change.
  • Breaking: Alters existing functionality and requires updates.
  • 🧪Tests: New or modified tests
  • 📝Documentation: Updates or additions to documentation.
  • 🗑️Chore: Routine tasks, or maintenance.
  • Build configuration change: Build/configuration changes.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@ragokan

[8]ページ先頭

©2009-2025 Movatter.jp