Commit Graph

54 Commits

Author SHA1 Message Date
mingyu guo
757514c536 Completed chineseMessage in Yesod.Auth.Message. Previously, most of the
messages are using simplified characters, but the google translated parts are
using traditional characters. I have fixed this as well.
2017-03-28 20:40:05 +10:30
Michael Snoyman
3dc2d10b30 Compile with -Wall -Werror 2017-02-05 12:09:18 +02:00
Sibi Prabakaran
0255f93c22
Export croatianMessage 2016-12-06 18:44:46 +05:30
kevin147147
e27cebb8a5 Translation bug in german message
missing space
2016-09-01 11:55:44 +02:00
Felix Paulusma
76726063e4 Updated some Dutch translations. 2016-07-12 17:19:09 +02:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
ecdee7f51a Tidy up imports 2016-03-29 19:14:40 +05:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
5febecf812 Improve Russian translation for ConfirmPass message 2016-03-29 19:14:27 +05:00
Sebastien Canart
36bc175f50 Add French translation for CurrentPassword 2016-03-23 08:26:44 +01:00
Adam Sjøgren
04a7c12b65 Add translation to Danish. 2016-03-20 21:16:14 +01:00
Alex Kardos
dee130ac9f Made spacing consistent with the rest of the file 2016-03-09 19:47:52 -07:00
Alex Kardos
7faecc8952 Added translations and dummy data for current password
German and Spanish provided by Erin Eichenberger.
2016-03-09 19:22:36 -07:00
Alex Kardos
e3aa310c84 Used monadic form helper for password handler
This needed to happen in order to automatically get CSRF protection

Several changes happened while switching over:
* Relied on built in names for inputs
* Cleaned up naming
* Created password helpers for each field
* Added a translation for current password
2016-03-07 16:44:05 -07:00
Eugen
69b4751990 Fix typo in auth german translation 2016-01-26 00:12:26 +01:00
vlatkoB
1fca3ceea3 Croatian translation 2016-01-20 08:48:15 +01:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
ec3ec15a80 Fix Czech UserName message
Convert word "jméno" to lowercase.
See comment from
[`lubomir`](https://github.com/yesodweb/yesod/pull/1100#commitcomment-14580304)
2015-11-24 13:34:13 +05:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
97d8bbba06 Introduce LogoutTitle message constructor
`LogoutTitle` is a replacement for `Logout` constructor, the latter is
inconsistent with `LoginTitle` constructor name.
Added `DEPRECATED` pragma to warn users about this change.
2015-11-24 02:15:03 +05:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
11bedecdc0 Prettify imports (via Stylish Haskell) 2015-11-23 16:41:09 +05:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
d1e92af79e Add UserName message constructor 2015-11-23 16:40:47 +05:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
311f949f0e Extract "in"/"out" suffixes in Login/Logout words
Split "Login" and "Logout" words into two parts, e.g. "Log In" and "Log
Out".
2015-11-23 16:14:40 +05:00
patrick brisbin
3564e1f746
Add AuthenticationResult and authenticate function
- getAuthId returns Maybe AuthId with no useful information in the
  Nothing case.
- AuthenticationResult includes whether it was a User or Server error
  (with an accompanying message) in the failure case.
- User errors are displayed back to the user and have a 401 status in
  JSON responses. Server errors are logged and a generic error message
  is presented to the user, with a 500 status in JSON responses.

Resolves #956
2015-03-23 18:01:26 -04:00
Félix Sipma
9c1a970305 Updated french translation of Yesod.Auth.Message. 2015-01-07 19:40:37 +01:00
gxtaillon
c9dff10bd1 Updated french translation of Yesod.Auth.Message. 2014-12-28 00:51:43 -05:00
Артур Файзрахманов
7875b6aa87 Support "Logout" message
Added support for `Logout` message, all translations made with Google
Translate, except: Russian translation (by hand) and Dutch translation
(do not translated)
2014-12-22 01:19:47 +05:00
Mats Rietdijk
0678281352 Adds missing dutch translation and improved another translation 2014-11-19 23:02:35 +01:00
Mats Rietdijk
31fb28850c Adds dutch translations to yesod-auth 2014-11-19 22:47:32 +01:00
Kadzuya OKAMOTO
1fe72e8351 fixed Japanese message 2014-08-15 12:57:39 +09:00
Артур Файзрахманов
30be70918f added messages for Russian language
`.cabal` unchanged, need version bump
2014-07-28 23:13:31 +06:00
Axel Angel
da034e7beb Translate missing french messages 2014-05-09 00:50:13 +02:00
Greg Weber
366e63fb36 use loginErrorMessageI to send a json response 2013-12-20 18:32:20 -08:00
Lubomír Sedlář
94fd685046 Add Czech translation for auth messages 2013-08-31 13:37:20 +02:00
Fredrik Carlen
21b8d3e10b Update Message.hs
Added translations to the Swedish messages, and added also some minor corrections to those aswell.
2013-04-22 10:48:35 +03:00
josejuan
0f0c30ecf8 Some corrections on Spanish string into Message.hs
Some corrections on Spanish string into Message.hs
Minor grammatical errors and some unusual terminology.
2013-04-21 22:38:54 +03:00
Felipe Lessa
9a09a80cd8 Update Portuguese translation. 2013-04-21 14:40:49 -03:00
kluge
afa330a83d Update Finnish translations
Add Finnish translations for new strings related to username logins.
2013-04-21 20:20:18 +03:00
Michael Snoyman
60c9df66f4 Fix Spanish messages 2013-04-21 18:38:55 +03:00
Francisco Jose CHAVES
f2bb79faad Update Message.hs
LatinAmerican Spanish
2013-04-21 10:04:11 -05:00
Michael Snoyman
73726dcd6e Merge branch 'patch-1' of https://github.com/pSub/yesod into yesod1.2 2013-04-21 17:15:24 +03:00
Pascal Wittmann
7e00bf4443 Update Message.hs
Updated German transaltions.
2013-04-21 17:05:45 +03:00
rns
76b6ab100e Update Message.hs
Chinese translation of Yesod.Auth.Message
2013-04-21 20:48:29 +08:00
Michael Snoyman
5a1663b6fd Allow username logins for Yesod.Auth.Email (fixes #532) 2013-04-21 12:57:32 +03:00
Tero Laitinen
0d417e5f69 Finnish translation for Yesod.Auth.Message 2012-08-10 12:33:11 +03:00
Michael Snoyman
83e6061944 Merge branch 'master' of https://github.com/tanakh/yesod
Conflicts:
	yesod-auth/Yesod/Auth/Message.hs
	yesod-form/yesod-form.cabal
2012-06-05 06:22:31 +03:00
Hideyuki Tanaka
7296b13fc3 japanese translation 2012-06-05 01:13:22 +09:00
Christian Rødli Amble
5a54cf0dbc Norwegian language support. 2012-06-04 11:03:04 +02:00
Félix
69871a030a Fixed some typos in the french translation 2012-04-10 19:14:41 +02:00
Félix
dd8ce35e74 French translation of Yesod Auth messages 2012-04-09 19:58:23 +02:00
Tom Streller
f9dde86025 germanMessage added to the export list 2012-02-29 12:28:57 +01:00
Tom Streller
7b90f10f14 german auth messages 2012-02-28 19:38:46 +01:00
Arash Rouhani
2914025202 Include Swedish support in yesod-auth 2012-02-17 23:22:39 +01:00
Felipe Lessa
ad94640041 Translate new Kerberos messages to Portuguese. 2012-01-17 07:52:05 -02:00