diff options
| author | cedricnjanga | 2018-03-27 23:31:39 -0700 | 
|---|---|---|
| committer | Johan Van Ryseghem | 2018-03-29 09:31:43 +0200 | 
| commit | ebac4a585f8da9ed1081e865ed852a00f8524fa8 (patch) | |
| tree | 9f0981a5cac561379eaea21d9942f0d70796ec0a | |
| parent | c76e2d94396dcedcf304e03c6a476bafe18464d3 (diff) | |
| download | chouette-core-ebac4a585f8da9ed1081e865ed852a00f8524fa8.tar.bz2 | |
Refs #6156 Update import english translations
| -rw-r--r-- | app/views/imports/show.html.slim | 12 | ||||
| -rw-r--r-- | config/locales/imports.en.yml | 6 | ||||
| -rw-r--r-- | config/locales/imports.fr.yml | 7 | 
3 files changed, 19 insertions, 6 deletions
| diff --git a/app/views/imports/show.html.slim b/app/views/imports/show.html.slim index 48a4f334c..9d0a6423d 100644 --- a/app/views/imports/show.html.slim +++ b/app/views/imports/show.html.slim @@ -6,7 +6,7 @@    .container-fluid      .row        .col-lg-6.col-md-6.col-sm-12.col-xs-12 -        = definition_list t('metadatas'), { 'Récupération des données' => '-', "Nom de l'archive" => @import.try(:file_identifier)} +        = definition_list t('metadatas'), { t('.data_recovery') => '-', t('.filename') => @import.try(:file_identifier)}      .row        .col-lg-12 @@ -19,7 +19,7 @@            = table_builder_2 @import.children,              [ \                TableBuilderHelper::Column.new( \ -                name: 'Nom du jeu de données', \ +                name: t('.referential_name'), \                  attribute: 'name', \                  sortable: false, \                  link_to: lambda do |import| \ @@ -35,12 +35,12 @@                  end \                ), \                TableBuilderHelper::Column.new( \ -                name: 'Contrôle STIF', \ +                name: t('.stif_control'), \                  attribute: '', \                  sortable: false, \                ), \                TableBuilderHelper::Column.new( \ -                name: 'Contrôle organisation', \ +                name: t('.organisation_control'), \                  attribute: '', \                  sortable: false, \                ) \ @@ -49,11 +49,11 @@              overhead: [ \                {}, \                { \ -                title: "#{@import.children_succeedeed} jeu de données validé sur #{@import.children.count} présent(s) dans l'archive", \ +                title: I18n.t('imports.show.results', count: @import.children_succeedeed, total: @import.children.count), \                  width: 1, \                  cls: "#{@import.import_status_css_class} full-border" \                }, { \ -                title: 'Bilan des jeux de contrôles d\'import <span title="Lorem ipsum..." class="fa fa-lg fa-info-circle text-info"></span>', \ +                title: I18n.t('imports.show.summary').html_safe, \                  width: 2, \                  cls: 'overheaded-default colspan="2"' \                } \ diff --git a/config/locales/imports.en.yml b/config/locales/imports.en.yml index d0db87fb1..d428a0748 100644 --- a/config/locales/imports.en.yml +++ b/config/locales/imports.en.yml @@ -26,6 +26,12 @@ en:        compliance_check: "Validation report"        compliance_check_of: "Validation of import: "        import_of_validation: "Import of the validation" +      data_recovery: Data recovery +      filname: Filname +      stif_control: STIF Control +      organisation_control: Organization control +      results: "%{count} validated referential(s) out of %{total} in the file" +      summary: Summay of import compliance check sets <span title="Lorem ipsum..." class="fa fa-lg fa-info-circle text-info"></span>      compliance_check_task: "Validate Report"      severities:        info: "Information" diff --git a/config/locales/imports.fr.yml b/config/locales/imports.fr.yml index 40272889a..733254fa4 100644 --- a/config/locales/imports.fr.yml +++ b/config/locales/imports.fr.yml @@ -26,6 +26,13 @@ fr:        compliance_check: "Test de conformité"        compliance_check_of: "Validation de l'import : "        import_of_validation: "L'import de la validation" +      data_recorvery: Récupération des données +      filename: Nom de l'archive +      referential_name: Nom du référentiel +      stif_control: Contrôle STIF +      organisation_control: Contrôle organisation +      results: "%{count} jeu(x) de données validé(s) sur %{total}" +      summary: Bilan des jeux de contrôles d'import <span title="Lorem ipsum..." class="fa fa-lg fa-info-circle text-info"></span>      compliance_check_task: "Validation"      severities:        info: "Information" | 
