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 #entries
- @inbox.each do |i| - @inbox.each do |i|
= render 'inbox/entry', i: i = render "inbox/entry", i: i
- if @inbox.empty? - 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 - if @more_data_available
.d-flex.justify-content-center.justify-content-sm-start .d-flex.justify-content-center.justify-content-sm-start
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @inbox_last_id } } %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" title: "Bugs Feedback"
features: features:
title: "Feature Requests Feedback" title: "Feature Requests Feedback"
inbox:
show:
empty: "Nothing to see here."
modal: modal:
password: password:
title: "Save account changes" title: "Save account changes"