diff options
| author | Luc Donnet | 2014-09-19 10:54:07 +0200 | 
|---|---|---|
| committer | Luc Donnet | 2014-09-19 10:54:07 +0200 | 
| commit | ecafca45574aaf4520b8827469042bef74e17a8d (patch) | |
| tree | 3e97d29ffd2f482e5e743392b5db275d93ece540 | |
| parent | 018053cb882e75ee7437f42c5f4609303218ba65 (diff) | |
| download | chouette-core-ecafca45574aaf4520b8827469042bef74e17a8d.tar.bz2 | |
Use metadatas name for creation and history tags Refs #0028883
| -rw-r--r-- | app/helpers/history_helper.rb | 2 | ||||
| -rw-r--r-- | config/locales/layouts.yml | 8 | 
2 files changed, 3 insertions, 7 deletions
diff --git a/app/helpers/history_helper.rb b/app/helpers/history_helper.rb index 1b9d056ab..ccc6374a1 100644 --- a/app/helpers/history_helper.rb +++ b/app/helpers/history_helper.rb @@ -1,7 +1,7 @@  module HistoryHelper    def creation_tag(object) -    field_set_tag t("layouts.creation_tag.title"), :class => "history_tag" do +    field_set_tag t("layouts.history_tag.title"), :class => "history_tag" do        content_tag :ul do          [(content_tag :li do            if object.has_attribute?(:creation_time)   diff --git a/config/locales/layouts.yml b/config/locales/layouts.yml index d1b479254..d679fc01f 100644 --- a/config/locales/layouts.yml +++ b/config/locales/layouts.yml @@ -12,10 +12,8 @@ en:        select_referential_datas: "Select datas"        return_to_dashboard: "Return to Dashboard"        referential_datas: "Datas" -    creation_tag: -      title: "Create"      history_tag: -      title: "History"   +      title: "Metadatas"          created_at: "Created at"        updated_at: "Updated at"        user_name: "User" @@ -54,10 +52,8 @@ fr:        select_referential_datas: "Sélection des données"        return_to_dashboard: "Retour au Tableau de Bord"        referential_datas: "Données" -    creation_tag: -      title: "Création"      history_tag: -      title: "Historique"     +      title: "Métadonnées"            created_at: "Créé le"        updated_at: "Mise à jour le"        user_name: "Auteur"  | 
