fix(procedure): fix translations in changes component

This commit is contained in:
Paul Chavard 2023-02-23 18:45:33 +01:00
parent 3b51654024
commit 14d889b317

View file

@ -46,13 +46,13 @@
= t(".public.enable_mandatory", label: change.label)
- if !total_dossiers.zero? && !change.can_rebase?
%strong
= t(:breaking_change, count: total_dossiers)
= t('.breaking_change', count: total_dossiers)
- else
- list.with_item do
= t(".public.disable_mandatory", label: change.label)
- if !total_dossiers.zero? && !change.can_rebase?
%strong
= t(:breaking_change, count: total_dossiers)
= t('.breaking_change', count: total_dossiers)
- when :piece_justificative_template
- list.with_item do
= t(".#{prefix}.update_piece_justificative_template", label: change.label)
@ -115,19 +115,19 @@
= t(".#{prefix}.add_condition", label: change.label, to: change.to)
- if !total_dossiers.zero? && !change.can_rebase?
%strong
= t(:breaking_change, count: total_dossiers)
= t('.breaking_change', count: total_dossiers)
- elsif change.to.nil?
- list.with_item do
= t(".#{prefix}.remove_condition", label: change.label)
- if !total_dossiers.zero? && !change.can_rebase?
%strong
= t(:breaking_change, count: total_dossiers)
= t('.breaking_change', count: total_dossiers)
- else
- list.with_item do
= t(".#{prefix}.update_condition", label: change.label, to: change.to)
- if !total_dossiers.zero? && !change.can_rebase?
%strong
= t(:breaking_change, count: total_dossiers)
= t('.breaking_change', count: total_dossiers)
- if @public_move_changes.present?
- list.with_item do