Skip to content

Releases: gamcoh/translations-checker

v0.1.9

15 Nov 09:19
Compare
Choose a tag to compare

Full Changelog: v0.1.8...v0.1.9

Fixed #2

When you have translations hooks or function in the file with some argument like so:

const Blog = async () => { // For instance a Next.js page
  const t = await getTranslations("/page2");

Or :

const Blog = () => {
  const { t } = useTranslation("/page");

The keys in the json file are going to look like this:

{
  "/page2.some_key_found": "TODO"

Careful

If you have multiple hooks in one file this will through an error.

v0.1.8

15 Oct 10:31
Compare
Choose a tag to compare

Full Changelog: v0.1.7...v0.1.8

Initial Release

14 Oct 21:50
Compare
Choose a tag to compare
v0.1.0

Added configs so that this project can be used as a pre-commit hook