Skip to content

Commit

Permalink
Fix a typo in the docs (#405)
Browse files Browse the repository at this point in the history
Co-authored-by: Brad Hanks <hanks.brad@gmail.com>
  • Loading branch information
BradS2S and bradhanks authored Dec 6, 2024
1 parent 3a6e81c commit 30fe469
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/gettext.ex
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ defmodule Gettext do
means they only contain message IDs, and not actual translated strings. POT files have
entries like this:
#: lib/myapp_web/live/hello_live.html.heex:2
#: lib/my_app_web/live/hello_live.html.heex:2
#, elixir-autogen, elixir-format
msgid "Hello world"
msgstr ""
Expand All @@ -40,7 +40,7 @@ defmodule Gettext do
Entries in PO files contain translations for their specific locale. For example,
in a PO file for Italian, the entry above would look like this:
#: lib/myapp_web/live/hello_live.html.heex:2
#: lib/my_app_web/live/hello_live.html.heex:2
#, elixir-autogen, elixir-format
msgid "Hello world"
msgstr "Ciao mondo"
Expand Down

0 comments on commit 30fe469

Please sign in to comment.