Skip to content

Instantly share code, notes, and snippets.

@klairetan
Last active February 8, 2019 19:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save klairetan/687f3dff171053783d5127587657000c to your computer and use it in GitHub Desktop.
Save klairetan/687f3dff171053783d5127587657000c to your computer and use it in GitHub Desktop.
langCLI Test Suite

Success

  1. CLI prints a warning for tr functions that refers to non-langCLI tr functions

  2. CLI will be able to replace variables in param() calls within tr

  3. CLI finds and translates all tr() calls

Failing

  1. CLI detects files which import and renames tr

  2. CLI detects param() calls outside of tr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment