Skip to content

Commit bde32c0

Browse files
committed
Improve message
1 parent 539b72c commit bde32c0

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

lib/gettext.ex

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -640,16 +640,15 @@ defmodule Gettext do
640640
"""
641641
defining a Gettext backend by calling
642642
643-
use Gettext, otp_app: ..., ...
643+
use Gettext, otp_app: ...
644644
645645
is deprecated. To define a backend, call:
646646
647647
use Gettext.Backend, otp_app: :my_app
648648
649-
Then, to use the backend, call this in your module:
649+
Then, instead of importing your backend, call this in your module:
650650
651651
use Gettext, backend: MyApp.Gettext
652-
653652
""",
654653
Macro.Env.stacktrace(__CALLER__)
655654
)

0 commit comments

Comments
 (0)