-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provides `_gettext` functions to views, which can be passed to components or route generators. * `_gettext` macro * Pass `gettext_fn` parallel to `overrides` * Wrap all output texts in `_gettext` * Gettext .pot/.po file templates in `/i18n` (included in package) * Docs * Doc clarification regarding password reset routes * Tests for translation and basic test for `/password-reset`
- Loading branch information
1 parent
202fe16
commit 5028671
Showing
25 changed files
with
471 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
## This file is a PO Template file. | ||
## | ||
## "msgid"s here are often extracted from source code. | ||
## Add new messages manually only if they're dynamic | ||
## messages that can't be statically extracted. | ||
## | ||
## Leave "msgstr"s empty as changing them here has no | ||
## effect: edit them in PO (.po) files instead. | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Language: en\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
||
msgid "Already have an account?" | ||
msgstr "" | ||
|
||
msgid "Email or password was incorrect" | ||
msgstr "" | ||
|
||
msgid "Email" | ||
msgstr "" | ||
|
||
msgid "Forgot your password?" | ||
msgstr "" | ||
|
||
msgid "If this user exists in our database you will contacted with a sign-in link shortly." | ||
msgstr "" | ||
|
||
msgid "If this user exists in our system, you will be contacted with reset instructions shortly." | ||
msgstr "" | ||
|
||
msgid "Need an account?" | ||
msgstr "" | ||
|
||
msgid "Password" | ||
msgstr "" | ||
|
||
msgid "Password Confirmation" | ||
msgstr "" | ||
|
||
msgid "Request magic link" | ||
msgstr "" | ||
|
||
msgid "Request password reset token" | ||
msgstr "" | ||
|
||
msgid "Requesting ..." | ||
msgstr "" | ||
|
||
msgid "Reset password with token" | ||
msgstr "" | ||
|
||
msgid "Sign in" | ||
msgstr "" | ||
|
||
msgid "Signing in ..." | ||
msgstr "" | ||
|
||
msgid "Your password has successfully been reset" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
## "msgid"s in this file come from POT (.pot) files. | ||
### | ||
### Do not add, change, or remove "msgid"s manually here as | ||
### they're tied to the ones in the corresponding POT file | ||
### (with the same domain). | ||
### | ||
### Use "mix gettext.extract --merge" or "mix gettext.merge" | ||
### to merge POT files into PO files. | ||
msgid "" | ||
msgstr "" | ||
"Language: de\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
||
msgid "Already have an account?" | ||
msgstr "Bereit zum Anmelden?" | ||
|
||
msgid "Email or password was incorrect" | ||
msgstr "Email oder Passwort nicht korrekt" | ||
|
||
msgid "Email" | ||
msgstr "Email" | ||
|
||
msgid "Forgot your password?" | ||
msgstr "Passwort vergessen?" | ||
|
||
msgid "If this user exists in our database you will contacted with a sign-in link shortly." | ||
msgstr "Falls dieser Benutzer bekannt ist, wird jetzt eine Email mit Anmelde-Link versendet." | ||
|
||
msgid "If this user exists in our system, you will be contacted with reset instructions shortly." | ||
msgstr "Falls dieser Benutzer bekannt ist, wird jetzt eine Email mit einer Anleitung zum Zurücksetzen versendet." | ||
|
||
msgid "Need an account?" | ||
msgstr "Konto anlegen?" | ||
|
||
msgid "Password" | ||
msgstr "Passwort" | ||
|
||
msgid "Password Confirmation" | ||
msgstr "Passwort Wiederholung" | ||
|
||
msgid "Request magic link" | ||
msgstr "Magischen Link anfordern" | ||
|
||
msgid "Request password reset token" | ||
msgstr "Passwort zurücksetzen" | ||
|
||
msgid "Requesting ..." | ||
msgstr "Anfrage låuft..." | ||
|
||
msgid "Reset password with token" | ||
msgstr "Neues Passwort setzen" | ||
|
||
msgid "Sign in" | ||
msgstr "Anmelden" | ||
|
||
msgid "Signing in ..." | ||
msgstr "Anmelden..." | ||
|
||
msgid "Your password has successfully been reset" | ||
msgstr "Das Passwort wurde erfolgreich zurückgesetzt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.