aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorcedricnjanga2017-07-17 10:31:10 +0200
committercedricnjanga2017-07-17 10:31:10 +0200
commitf7219c19ec2cb304d30cdb2a05ba8306fb2f3a62 (patch)
tree3ae512539b813edb88e63df265df22408fbb4557 /app/models
parent0a2f9ff965389133fb9656dfb5b222ccfc2b0531 (diff)
downloadchouette-core-f7219c19ec2cb304d30cdb2a05ba8306fb2f3a62.tar.bz2
Fix errors tranlations for clean up
Diffstat (limited to 'app/models')
-rw-r--r--app/models/clean_up.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/clean_up.rb b/app/models/clean_up.rb
index cdbf6c00a..b1135a155 100644
--- a/app/models/clean_up.rb
+++ b/app/models/clean_up.rb
@@ -14,7 +14,7 @@ class CleanUp < ActiveRecord::Base
def end_date_must_be_greater_that_begin_date
if self.end_date && self.date_type == 'between' && self.begin_date >= self.end_date
- errors.add(:base, I18n.t('clean_ups.activerecord.errors.invalid_period'))
+ errors.add(:base, I18n.t('activerecord.errors.models.clean_up.invalid_period'))
end
end