Add new translations for feedback pages
This commit is contained in:
parent
416bf19132
commit
bf2c97184a
|
@ -1,26 +1,16 @@
|
||||||
- provide(:title, generate_title(t('.title')))
|
- provide(:title, generate_title(t('.title')))
|
||||||
|
|
||||||
.text-center.mx-sm-5
|
.text-center.mx-sm-5
|
||||||
%h2 Notice
|
%h2= t(".heading")
|
||||||
|
|
||||||
|
= t(".notice_html", app_name: APP_CONFIG["site_name"])
|
||||||
|
|
||||||
%p
|
%p
|
||||||
= APP_CONFIG["site_name"]
|
%a.text-muted{ href: "https://canny.io/privacy" }= t(".privacy")
|
||||||
uses Canny to collect feedback or bug reports on the following pages.
|
|
||||||
|
|
||||||
%p
|
%p
|
||||||
Canny collects the username, user ID and email address for these purposes.
|
= button_to t(".consent"), feedback_consent_update_path, class: "btn btn-primary", method: :post, params: { consent: true }
|
||||||
Unless you specifically consent to this,
|
|
||||||
= APP_CONFIG["site_name"]
|
|
||||||
will not send your data to Canny, but you can't use the feedback forms either.
|
|
||||||
|
|
||||||
|
%p= t(".alternative")
|
||||||
%p
|
%p
|
||||||
%a.text-muted{ href: "https://canny.io/privacy" } Canny's Privacy Policy
|
%a.btn.btn-outline-primary{ href: "https://github.com/Retrospring/retrospring/issues" }= t(".issues")
|
||||||
|
|
||||||
%p
|
|
||||||
= button_to "Consent and proceed", feedback_consent_update_path, class: "btn btn-primary", method: :post, params: { consent: true }
|
|
||||||
|
|
||||||
%p
|
|
||||||
Alternatively, you can send us bug reports and feature requests directly on GitHub.
|
|
||||||
|
|
||||||
%p
|
|
||||||
%a.btn.btn-outline-primary{ href: "https://github.com/Retrospring/retrospring/issues" } GitHub Issues
|
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
.jumbotron.jumbotron--particles
|
.jumbotron.jumbotron--particles
|
||||||
.jumbotron__particles#particles
|
.jumbotron__particles#particles
|
||||||
.jumbotron__content
|
.jumbotron__content
|
||||||
%h1 Feedback
|
%h1= t(".heading")
|
||||||
.container
|
.container
|
||||||
- unless params[:action] == "consent"
|
- unless params[:action] == "consent"
|
||||||
.card
|
.card
|
||||||
.list-group.list-group-horizontal-sm.text-center
|
.list-group.list-group-horizontal-sm.text-center
|
||||||
= list_group_item "Bugs", feedback_bugs_path
|
= list_group_item t(".tab.bugs"), feedback_bugs_path
|
||||||
= list_group_item "Feature Requests", feedback_features_path
|
= list_group_item t(".tab.features"), feedback_features_path
|
||||||
.card
|
.card
|
||||||
.card-body
|
.card-body
|
||||||
= yield
|
= yield
|
||||||
|
|
|
@ -163,6 +163,21 @@ en:
|
||||||
feedback:
|
feedback:
|
||||||
consent:
|
consent:
|
||||||
title: "Feedback"
|
title: "Feedback"
|
||||||
|
heading: "Notice"
|
||||||
|
notice_html: |
|
||||||
|
<p>
|
||||||
|
%{app_name} uses Canny to collect feedback or bug reports on the following pages.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Canny collects the username, user ID and email address for these purposes.
|
||||||
|
Unless you specifically consent to this,
|
||||||
|
%{app_name}
|
||||||
|
will not send your data to Canny, but you can't use the feedback forms either.
|
||||||
|
</p>
|
||||||
|
privacy: "Canny's Privacy Policy"
|
||||||
|
consent: "Consent and proceed"
|
||||||
|
alternative: "Alternatively, you can send us bug reports and feature requests directly on GitHub."
|
||||||
|
issues: "GitHub Issues"
|
||||||
bugs:
|
bugs:
|
||||||
title: "Bugs – Feedback"
|
title: "Bugs – Feedback"
|
||||||
features:
|
features:
|
||||||
|
@ -198,6 +213,11 @@ en:
|
||||||
heading: "Share"
|
heading: "Share"
|
||||||
button: "Share on %{service}"
|
button: "Share on %{service}"
|
||||||
layouts:
|
layouts:
|
||||||
|
feedback:
|
||||||
|
heading: "Feedback"
|
||||||
|
tab:
|
||||||
|
bugs: "Bugs"
|
||||||
|
features: "Feature Requests"
|
||||||
messages:
|
messages:
|
||||||
noscript: "Please activate JavaScript."
|
noscript: "Please activate JavaScript."
|
||||||
link_filter:
|
link_filter:
|
||||||
|
|
Loading…
Reference in New Issue