-
Notifications
You must be signed in to change notification settings - Fork 24
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
DO NOT MERGE!! [WF-2017] Allow overriding translations from parent components or app using pro… #388
Open
tcorral
wants to merge
40
commits into
main
Choose a base branch
from
feature/wf-2017
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
DO NOT MERGE!! [WF-2017] Allow overriding translations from parent components or app using pro… #388
Changes from 27 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
350804a
Allow overriding translations from parent components or app using pro…
tcorral 76e6f6a
Fix formatting
tcorral fdf40e1
Tests overriding works
tcorral 4d456b3
Fix overriding translations
tcorral f1ca978
Override translations from parent and from the app level
tcorral 6e22b2a
Update .npmrc
tcorral 3f6b66a
Fix test issues
tcorral 1a355d2
Fix test issues
tcorral f2c9521
Fix tests
tcorral b4068e3
Format
tcorral 6899b9c
Fix lint, format, unit test
tcorral d8efb32
Fix warnings on e2e tests
tcorral 85ca1ac
Apply suggested improvements to use spread operator
tcorral 7a3b01a
Add colon right after the Template start for a proper usage of
tcorral 1a13bd5
Remove to use just
tcorral 40041ac
Change interfaces to be more clear by adding each key but keeping the…
tcorral c0505b9
Use translations-catalog.ts files to store providers, interfaces and …
tcorral 416c692
Fix typo and explicitely say when component is not standalone
tcorral 33eea0a
Fix test errors
tcorral a3c4ee1
Create catalogs for usages too
tcorral ffb4d31
Remove colon added by mistake
tcorral 8f1f2ff
Remove testing text
tcorral 4384962
Remove unneeded catalog
tcorral 991dde7
Remove unneeded catalog
tcorral d68022e
Use Partial<> instead of using string | undefined on interface for tr…
tcorral c289fe1
Fix formatting issues
tcorral 31b7eef
Hide label only for screen reader
tcorral 49f2eda
Remove wrong comment
tcorral 7ff80fa
Change default value for overridingTranslations
tcorral 1c6cd39
Remove old way to setup default value for overridingTranslations
tcorral 2e46598
Format
tcorral 85ca39f
Remove unneeded private defaultTranslations property
tcorral 305eec6
Merge branch 'main' into feature/wf-2017
RAJESH-GN 2060f17
Abstract constructor behaviour to its own package
tcorral bd41d8f
Fix build output dir for shared-translations lib
daiscog 8476d9b
Fix build issue
tcorral ac761e1
Add new tests for the new library
tcorral 1e902dd
Revert changes to registry
tcorral 2660d2b
Fix format
tcorral 7a9f6be
Make translations interface more strict
tcorral File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
.main-content { | ||
padding: 20px; | ||
} | ||
.sr-only { | ||
position: absolute; | ||
width: 1px; | ||
height: 1px; | ||
padding: 0; | ||
margin: -1px; | ||
overflow: hidden; | ||
clip: rect(0, 0, 0, 0); | ||
white-space: nowrap; | ||
border-width: 0; | ||
} |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why should this be Partial please try to have this as a last resource to have Partials as it might break so many things?