Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

feat: add new useTranslator #2197

Merged
merged 3 commits into from
Jul 8, 2020
Merged

feat: add new useTranslator #2197

merged 3 commits into from
Jul 8, 2020

Conversation

vault-developer
Copy link
Contributor

Fixes #2135.

Changes proposed in this pull request:

  • Added new useTranslator hook (wrapper) to simplify the use of useTranslation.
  • Added tests for useTranslator
  • All translations now use useTranslator, not useTranslation

Newly added dependencies with Bundlephobia links:

  • No new depencies added

@jsf-clabot
Copy link

jsf-clabot commented Jul 4, 2020

CLA assistant check
All committers have signed the CLA.

@gitpod-io
Copy link

gitpod-io bot commented Jul 4, 2020

@vercel
Copy link

vercel bot commented Jul 4, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/hospitalrun/hospitalrun-frontend/qmvtigy81
✅ Preview: https://hospitalrun-fr-git-fork-vault-developer-feature-2135-use-1ace8f.hospitalrun.vercel.app

@vault-developer vault-developer changed the title feat: add new useTranslator (fixes #2135) feat: add new useTranslator Jul 4, 2020
@matteovivona matteovivona requested review from a user, jackcmeyer and fox1t July 4, 2020 19:04
@matteovivona matteovivona added the in progress indicates that issue/pull request is currently being worked on label Jul 4, 2020
@jackcmeyer jackcmeyer added this to the v2.0 milestone Jul 8, 2020
@jackcmeyer jackcmeyer merged commit d756cb6 into HospitalRun:master Jul 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in progress indicates that issue/pull request is currently being worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New hook to simplify the use of useTranslation
4 participants