aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/chouette/stop_point.rb
diff options
context:
space:
mode:
authorjpl2017-07-18 15:01:17 +0200
committerjpl2017-07-18 15:01:24 +0200
commit1039a32677434bac1816e48939db5f1040a6862d (patch)
tree78bafe126aec4725b1dadee3fc3f1d4168e29739 /app/models/chouette/stop_point.rb
parent6d2ff080cc989e8f74f7f90ed7d0b1828e4271c2 (diff)
downloadchouette-core-1039a32677434bac1816e48939db5f1040a6862d.tar.bz2
Refs #4112: updating and fixing I18n
Diffstat (limited to 'app/models/chouette/stop_point.rb')
-rw-r--r--app/models/chouette/stop_point.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/chouette/stop_point.rb b/app/models/chouette/stop_point.rb
index 3dbf6be0d..8fe79dc0c 100644
--- a/app/models/chouette/stop_point.rb
+++ b/app/models/chouette/stop_point.rb
@@ -36,12 +36,12 @@ module Chouette
def stop_area_id_validation
if stop_area_id.nil?
- errors.add(:stop_area_id, I18n.t("errors.messages.empty"))
+ errors.add(:stop_area_id, I18n.t("stop_areas.errors.empty"))
end
end
def self.area_candidates
- Chouette::StopArea.where( :area_type => ['Quay', 'BoardingPosition'])
+ Chouette::StopArea.where(:area_type => ['Quay', 'BoardingPosition'])
end
end