Ver Código Fonte

fix locale error

Maarten van den Berg 7 anos atrás
pai
commit
dde3743e8e

+ 1 - 1
app/models/person.rb

@@ -36,7 +36,7 @@ class Person < ApplicationRecord
36 36
   has_many :groups, through: :members
37 37
   has_many :activities, through: :participants
38 38
 
39
-  validates :email, presence: true, uniqueness: true
39
+  validates :email, uniqueness: true
40 40
   validates :first_name, presence: true
41 41
   validates :last_name, presence: true
42 42
 

+ 2 - 2
config/locales/authentication/en.yml

@@ -19,8 +19,8 @@ en:
19 19
       link_expires: This link will expire %{expires}.
20 20
 
21 21
       confirm:
22
-        click_this: Please confirm your account for Aardbei by clicking on the following link:
22
+        click_this: Please confirm your account for Aardbei by clicking on the following link.
23 23
 
24 24
       forgot:
25
-        blurb: You (or someone pretending to be you) have requested to reset your password. If this was you, please open the following link:
25
+        blurb: You (or someone pretending to be you) have requested to reset your password. If this was you, please open the following link.
26 26
         ignore_if_not_you: If you did not request this password reset, ignore this message.

+ 3 - 3
config/locales/authentication/nl.yml

@@ -19,8 +19,8 @@ nl:
19 19
       link_expires: Deze link is bruikbaar tot %{expires}.
20 20
 
21 21
       confirm:
22
-        click_this: Bevestig je account voor Aardbei door te klikken op de volgende link:
22
+        click_this: Bevestig je account voor Aardbei door te klikken op de volgende link.
23 23
 
24 24
       forgot:
25
-        blurb: Jij (of iemand die doet alsof hij jou is) heeft een wachtwoordwijziging aangevraagd. Open de volgende link als je dit wilt:
26
-        ignore_if_noy_you: Als jij dit niet hebt aangevraagd kan je dit bericht negeren, en is je oude wachtwoord onveranderd.
25
+        blurb: Jij (of iemand die doet alsof hij jou is) heeft een wachtwoordwijziging aangevraagd. Open de volgende link als je dit wilt.
26
+        ignore_if_not_you: Als jij dit niet hebt aangevraagd kan je dit bericht negeren, en is je oude wachtwoord onveranderd.