diff options
| author | jpl | 2017-03-17 11:48:30 +0100 | 
|---|---|---|
| committer | jpl | 2017-03-17 11:48:37 +0100 | 
| commit | 11817ebb004699ec9964a71c2c156de9387ea016 (patch) | |
| tree | 0d7c855a6c0a93b0edcdd36cb10870d893a97b0e | |
| parent | 2c8690d30b851a48bc2ce797f4ac44c7bfedc024 (diff) | |
| download | chouette-core-11817ebb004699ec9964a71c2c156de9387ea016.tar.bz2 | |
Fix i18n issues
| -rw-r--r-- | app/views/routes/show.html.slim | 2 | ||||
| -rw-r--r-- | config/locales/stop_points.fr.yml | 1 | 
2 files changed, 2 insertions, 1 deletions
| diff --git a/app/views/routes/show.html.slim b/app/views/routes/show.html.slim index 39d4521f5..21a64b61e 100644 --- a/app/views/routes/show.html.slim +++ b/app/views/routes/show.html.slim @@ -36,7 +36,7 @@            = table_builder @route_sp,              { 'ID Reflex' => Proc.new {|s| s.try(:stop_area).try(:user_objectid)},                :name => Proc.new {|s| s.try(:stop_area).try(:name)}, -              'Activé' => Proc.new{|s| s.try(:stop_area).deleted_at ? t('false') : t('true')}, +              :deleted_at => Proc.new{|s| s.try(:stop_area).deleted_at ? t('false') : t('true')},                :zip_code => Proc.new {|s| s.try(:stop_area).try(:zip_code)},                :city_name => Proc.new {|s| s.try(:stop_area).try(:city_name)},                :area_type => Proc.new {|s| t("area_types.label.#{s.try(:stop_area).try(:area_type)}")}, diff --git a/config/locales/stop_points.fr.yml b/config/locales/stop_points.fr.yml index 19787abea..333dd051b 100644 --- a/config/locales/stop_points.fr.yml +++ b/config/locales/stop_points.fr.yml @@ -42,6 +42,7 @@ fr:          lines: "Lignes"          created_at: "Créé le"          updated_at: "Modifié le" +        deleted_at: 'Activé'          for_boarding: "Montée"          for_alighting: "Descente"          area_type: "Type d'arrêt" | 
