Adds fbt strings to Wallet component on CashTab.
Uses fbt function coupled with fbt.params function when applicable due to linting issues with JSX.
Depends on D8559
Details
Details
- Reviewers
bytesofman majcosta deadalnix - Group Reviewers
Restricted Project
npm install && npm start. Switching browser language to portuguese, for example, should show portuguese strings on the Wallet component.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- transifex-cashtab
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 14285 Build 28545: Build Diff Build 28544: arc lint + arc unit
Event Timeline
web/cashtab/src/components/Wallet/Wallet.js | ||
---|---|---|
192 | Yep, you're right. The <fbt:params> tag doesn't work with the linter (doesn't allow JSX namespaces, and there is no rule to allow it AFAIK) and disabling linting is not a good idea. However, I think I've come up with a better solution, will update shortly. |