Merge pull request #8689 from tchak/fix-procedure-modifications
fix(procedure): fix translations in changes component
This commit is contained in:
commit
cb0db65938
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue