Fix missing and unused i18n translations

This commit is contained in:
Sebastian Serth
2024-04-14 03:07:29 +02:00
committed by Sebastian Serth
parent f6041af4c3
commit 1589c9472b
10 changed files with 24 additions and 77 deletions

View File

@@ -1,7 +1,9 @@
h1 = t('.headline')
p
/ i18n-tasks-use t('.success_with_outcome') t('.success_without_outcome')
= t(".success_#{@lti_parameter ? 'with' : 'without'}_outcome", consumer: current_user.consumer)
/ i18n-tasks-use t('.finished_with_consumer') t('.finished_without_consumer')
==< t(".finished_#{@lti_parameter ? 'with' : 'without'}_consumer", consumer: h(current_user.consumer.name), url: @url)
=< t('.do_not_use_backbutton')