We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 539b72c commit bde32c0Copy full SHA for bde32c0
1 file changed
lib/gettext.ex
@@ -640,16 +640,15 @@ defmodule Gettext do
640
"""
641
defining a Gettext backend by calling
642
643
- use Gettext, otp_app: ..., ...
+ use Gettext, otp_app: ...
644
645
is deprecated. To define a backend, call:
646
647
use Gettext.Backend, otp_app: :my_app
648
649
- Then, to use the backend, call this in your module:
+ Then, instead of importing your backend, call this in your module:
650
651
use Gettext, backend: MyApp.Gettext
652
-
653
""",
654
Macro.Env.stacktrace(__CALLER__)
655
)
0 commit comments