Skip to content

Releases: justledbetter/t

Improvements All Around

08 Sep 21:22

Choose a tag to compare

  • Fixes an issue where tscan was ingesting strings from functions that weren't ours.
  • Allows users to override localizations in the event they want to override what's imported from i18n.

Scanner Fix

14 Oct 18:41

Choose a tag to compare

Calling a function to return a context to t.C() broke the regular expression used by tscan. This should now be fixed!

Minor Fix

08 Sep 15:15

Choose a tag to compare

  • t.Locale() should now (hopefully) return the locale set either globally (if pointed to the package name), or locally (if pointed at a Context-retrieved T object).

Improved Usability (slightly)

08 Sep 01:52

Choose a tag to compare

  • Added t.C() to more easily enable per-user sessions (with locale stored in a context.Context shared within a user's session)
  • Enabled tscan to detect t.R() and t.C() strings from source files.

Migration to Native Embed

15 Apr 21:02

Choose a tag to compare

We've migrated from github.com/markbates/pkger to Golang's new (1.16+) native embed functionality.