Add new translations for ask modal

This commit is contained in:
Andreas Nedbal 2022-07-27 02:05:29 +02:00 committed by Andreas Nedbal
parent b08fbf29da
commit 001e747efe
2 changed files with 11 additions and 6 deletions

View File

@ -1,13 +1,13 @@
.modal.fade#modal-ask-followers{ aria: { hidden: true, labelledby: 'modal-ask-followers-label' }, role: :dialog, tabindex: -1 } .modal.fade#modal-ask-followers{ aria: { hidden: true, labelledby: "modal-ask-followers-label" }, role: :dialog, tabindex: -1 }
.modal-dialog .modal-dialog
.modal-content .modal-content
.modal-header .modal-header
%h5.modal-title#modal-ask-followers-label= t 'views.modal.ask.title' %h5.modal-title#modal-ask-followers-label= t(".title")
%button.close{ data: { dismiss: :modal }, type: :button } %button.close{ data: { dismiss: :modal }, type: :button }
%span{ aria: { hidden: true } } × %span{ aria: { hidden: true } } ×
%span.sr-only= t 'views.actions.close' %span.sr-only= t("voc.close")
.modal-body .modal-body
%textarea.form-control{ name: 'qb-all-question', placeholder: t('views.placeholder.question') } %textarea.form-control{ name: "qb-all-question", placeholder: t(".placeholder") }
.modal-footer .modal-footer
%button.btn.btn-default{ type: :button, data: { dismiss: :modal } }= t 'views.actions.cancel' %button.btn.btn-default{ type: :button, data: { dismiss: :modal } }= t("voc.cancel")
%button.btn.btn-primary{ name: 'qb-all-ask', type: :button, data: { loading_text: t('views.modal.ask.loading') } }= t 'views.actions.ask' %button.btn.btn-primary{ name: "qb-all-ask", type: :button, data: { loading_text: t(".loading") } }= t(".action")

View File

@ -151,6 +151,11 @@ en:
url: "URL:" url: "URL:"
confirm: "I understand the risk, proceed!" confirm: "I understand the risk, proceed!"
modal: modal:
ask:
title: "Ask your followers"
placeholder: "Type your question here…"
action: "Ask"
loading: "Asking..."
password: password:
title: "Save account changes" title: "Save account changes"
ban: ban: