Closed
Conversation
Adds AssetBundleLocalizationDataSource.cache property and bumps dependencies
Now they will throw a dedicated exception while calling splitMapJoin, where the translator catches and handles it
If the key is immediatelly being reused after nesting, stops immediately
Refactors interpolation/nesting with specialized exceptions
Adds handlers
Refactors format parsing and formatters in options
Bumps version to 0.6.0-dev
When the interpolation hasn't resolved into a string, it will call the missingInterpolationHandler one last time before finishing.
…dler Fix missingInterpolationHandler to also call for objects
feat: adds escaping variables by default
feat: adds unescape pattern affixes
dart throws when trying to do a nullable type cast like so ```dart someObject as int? ``` so we have to do a `is` check beforehand ```dart someObject is int ? someObject as int : null; ```
fix: count and context casting
Bump v0.6.0
…ey cannot be found (throw or fallback translation) Add tOrNull function that returns null if the translation cannot be found
Feature/translator fallback behavior
[feature]: add getNamespace to ResourceStore
when the data source is synchronous, just do an extra microtask scheduling, keep chaining operations in the same stack/thread.
fix localization delegate synchronous loading of data source
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.