-
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
base: main
Are you sure you want to change the base?
Conversation
apps/golden-sample-app/src/app/user-accounts/user-accounts-view/user-accounts-view.component.ts
Outdated
Show resolved
Hide resolved
.../feature/src/lib/components/ach-positive-pay-journey/ach-positive-pay-journey.component.html
Outdated
Show resolved
Hide resolved
… possibility to add more if needed
…default translations
...on-details-view/src/lib/transactions-journey-feature-transaction-details-view.component.html
Outdated
Show resolved
Hide resolved
'main.entitlements-test-nested-groups.text': string; | ||
'main.entitlements-test-using-not-operators-on-groups.text': string; | ||
'main.entitlements-test-using-multiple-not-operators-on-groups.text': string; | ||
[key: string]: string; |
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.
I would avoid this one if we have typed the whole translations @tcorral
public layoutService: LayoutService, | ||
@Inject(APP_TRANSLATIONS) | ||
private readonly overridingTranslations: Partial<AppTranslations>, |
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?
'user-accounts.view-transactions': string; | ||
'user-accounts.add-favorites': string; | ||
'user-accounts.remove-favorites': string; | ||
[key: string]: string; |
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.
Same here we should not allow this if we have types written
@@ -1 +1,5 @@ | |||
export { TextFilterComponent } from './lib/components/text-filter/text-filter.component'; | |||
export { |
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.
import of the actual translation is missing
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.
there are couple of index.ts files where the index files are missing the export of actual translations can u please update the imports of those files please
DO NOT MERGE!!!