You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
==> timex
Compiling 62 files (.ex)
warning: defining a Gettext backend by calling
use Gettext, otp_app: ..., ...
is deprecated. To define a backend, call:
use Gettext.Backend, otp_app: :my_app
Then, to use the backend, call this in your module:
use Gettext, backend: MyApp.Gettext
error: undefined function dngettext/4 (there is no such import)
│
255 │ dngettext("units", "%{count} nanosecond", "%{count} nanoseconds", 0)
│ ^
│
└─ lib/l10n/translator.ex:255:3: Timex.Translator (module)
The text was updated successfully, but these errors were encountered:
Gettext 0.25 works well with Timex, but 0.26 brings changes in how to call Gettext Backends indeed, which breaks Gettext function calls inside /lib/l10n/translator.ex .
Steps to reproduce
Upgrade gettext to latest version (0.26)
Description of issue
The text was updated successfully, but these errors were encountered: