diff options
| author | Zog | 2018-02-05 11:26:54 +0100 |
|---|---|---|
| committer | Zog | 2018-04-09 16:53:21 +0200 |
| commit | e1e02c92c7cb5160e78d07fcb8af1a02ce3a69ea (patch) | |
| tree | ae99f6b531f9255b1010b6a4ec007d95932c8eb0 | |
| parent | 98c723ee956b478e8ffb466e461c9889a272efdf (diff) | |
| download | chouette-core-e1e02c92c7cb5160e78d07fcb8af1a02ce3a69ea.tar.bz2 | |
Refs 5846; Fix wrong translation5846-wrong-translation
And a very small css fix
| -rw-r--r-- | app/assets/stylesheets/components/_referential_overview.sass | 1 | ||||
| -rw-r--r-- | app/views/lines/show.html.slim | 2 | ||||
| -rw-r--r-- | config/locales/lines.fr.yml | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/stylesheets/components/_referential_overview.sass b/app/assets/stylesheets/components/_referential_overview.sass index 7a0cc98c5..cf440b22c 100644 --- a/app/assets/stylesheets/components/_referential_overview.sass +++ b/app/assets/stylesheets/components/_referential_overview.sass @@ -24,6 +24,7 @@ .time-travel padding-top: 3px padding-bottom: 4px + height: 43px a.btn:first-child margin-right: 1px a.btn:last-child diff --git a/app/views/lines/show.html.slim b/app/views/lines/show.html.slim index 96bb5bb0d..9e1ae6d6f 100644 --- a/app/views/lines/show.html.slim +++ b/app/views/lines/show.html.slim @@ -6,7 +6,7 @@ .row .col-lg-6.col-md-6.col-sm-12.col-xs-12 = definition_list t('metadatas'), - { t('id_codif') => @line.get_objectid.short_id, + { t('objectid') => @line.get_objectid.short_id, @line.human_attribute_name(:deactivated) => (@line.deactivated? ? t('false') : t('true')), @line.human_attribute_name(:network_id) => (@line.network.nil? ? t('lines.index.unset') : @line.network.name), @line.human_attribute_name(:company_id) => (@line.company.nil? ? t('lines.index.unset') : @line.company.name), diff --git a/config/locales/lines.fr.yml b/config/locales/lines.fr.yml index d3069f1d1..b25026c46 100644 --- a/config/locales/lines.fr.yml +++ b/config/locales/lines.fr.yml @@ -38,7 +38,7 @@ fr: deactivated: "Ligne désactivée" title: "Lignes" line: "Ligne %{line}" - name_or_number_or_objectid: "Recherche par nom, nom court ou ID Codif..." + name_or_number_or_objectid: "Recherche par nom, nom court ou ID..." no_networks: "Aucun réseaux" no_companies: "Aucun transporteurs" no_group_of_lines: "Aucun groupes de ligne" |
