diff options
| author | anicet | 2015-06-23 17:57:56 +0200 |
|---|---|---|
| committer | anicet | 2015-06-23 17:57:56 +0200 |
| commit | f0e302338d5289156376273fc9cb9b30caa00568 (patch) | |
| tree | e2638546dc6ed23eb46d461bd0f19b36ba5671c7 | |
| parent | c0bd58315467fa7e7a72acd6b20739b67ee86768 (diff) | |
| download | chouette-core-f0e302338d5289156376273fc9cb9b30caa00568.tar.bz2 | |
ComplianceCheck : wording
| -rw-r--r-- | app/views/compliance_checks/report.html.erb | 5 | ||||
| -rw-r--r-- | config/locales/compliance_checks.yml | 3 | ||||
| -rw-r--r-- | config/locales/imports.fr.yml | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/app/views/compliance_checks/report.html.erb b/app/views/compliance_checks/report.html.erb index 24cffab38..28abd4cbb 100644 --- a/app/views/compliance_checks/report.html.erb +++ b/app/views/compliance_checks/report.html.erb @@ -2,10 +2,11 @@ <div class="compliance_check_show"> <div class="links"> - <%= link_to(font_awesome_classic_tag('fa-eye') + t("compliance_checks.index.title"), referential_compliance_check_path(@referential, @compliance_check.id)) %> <% if @compliance_check.class == Import %> + <%= link_to(font_awesome_classic_tag('fa-eye') + t("compliance_checks.report.action_report"), referential_import_path(@referential, @compliance_check.id)) %> <%= link_to font_awesome_classic_tag("fa-external-link") + t("compliance_checks.rule_parameter_set"), rule_parameter_set_referential_import_path(@referential, @compliance_check.id) if @compliance_check.rule_parameter_set? %> <% else %> + <%= link_to(font_awesome_classic_tag('fa-eye') + t("compliance_checks.report.action_report"), referential_compliance_check_path(@referential, @compliance_check.id)) %> <%= link_to font_awesome_classic_tag("fa-external-link") + t("compliance_checks.rule_parameter_set"), rule_parameter_set_referential_compliance_check_path(@referential, @compliance_check.id) if @compliance_check.rule_parameter_set? %> <% end %> <div class="btn-group pull-right"> @@ -14,7 +15,7 @@ </button> <ul class="dropdown-menu" role="menu"> <li> - <% if @compliance_check.class == Import %> + <% if @compliance_check.class == Import %> <%= link_to t("compliance_checks.show.export_csv"), export_referential_import_path(@referential, @compliance_check.id) %> <% else %> <%= link_to t("compliance_checks.show.export_csv"), export_referential_compliance_check_path(@referential, @compliance_check.id) %> diff --git a/config/locales/compliance_checks.yml b/config/locales/compliance_checks.yml index 1d2331bcb..b94e66d92 100644 --- a/config/locales/compliance_checks.yml +++ b/config/locales/compliance_checks.yml @@ -87,11 +87,12 @@ fr: export_csv: "Format CSV" report: validation_success: "La validation est passé avec succès." + action_report: "Rapport d'action" actions: destroy_confirm: "Voulez-vous supprimer ce résultat de validation ?" destroy: "Supprimer cette validation" edit: "Editer cette validation" - report: "Rapport" + report: "Test de conformité" rule_parameter_set: "Jeu de paramètres" download: "Télécharger" statuses: diff --git a/config/locales/imports.fr.yml b/config/locales/imports.fr.yml index bc9fbbae3..0eee4fc02 100644 --- a/config/locales/imports.fr.yml +++ b/config/locales/imports.fr.yml @@ -11,7 +11,7 @@ fr: report: "Rapport" imported_file: "Fichier source" rule_parameter_set: "Jeu de paramètres" - compliance_check: "Rapport de validation" + compliance_check: "Test de conformité" compliance_check_of: "Validation de l'import : " import_of_validation: "L'import de la validation" compliance_check_task: "Validation" |
