Add translations for inbox show view

This commit is contained in:
Andreas Nedbal 2022-04-19 22:31:56 +02:00 committed by Andreas Nedbal
parent bf0ac3c4e3
commit 5829dc51ec
2 changed files with 7 additions and 4 deletions

View file

@ -1,14 +1,14 @@
#entries
- @inbox.each do |i|
= render 'inbox/entry', i: i
= render "inbox/entry", i: i
- if @inbox.empty?
= t 'views.inbox.empty'
= t(".empty")
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @inbox_last_id
= render "shared/cursored_pagination_dummy", more_data_available: @more_data_available, last_id: @inbox_last_id
- if @more_data_available
.d-flex.justify-content-center.justify-content-sm-start
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @inbox_last_id } }
= t 'views.actions.load'
= t("vpc.load")

View file

@ -29,6 +29,9 @@ en:
title: "Bugs Feedback"
features:
title: "Feature Requests Feedback"
inbox:
show:
empty: "Nothing to see here."
modal:
password:
title: "Save account changes"