Make Connected Apps links available in Transifex

This commit is contained in:
drummer83
2024-12-01 23:39:44 +01:00
committed by Konrad
parent db76cd1659
commit 53d2166579
4 changed files with 18 additions and 33 deletions

View File

@@ -10,6 +10,8 @@
%em= t(".need_to_be_manager") unless managed_by_user?(enterprise)
- else
= button_to t(".disable"), admin_enterprise_connected_app_path(connected_app.id, enterprise_id: enterprise.id), method: :delete
%hr
.connected-app__description
= t ".description_html"
%p= t ".description"
%b= link_to( t(".link_label_html"), "#{t(".link_url")}", target: "_blank")

View File

@@ -27,4 +27,5 @@
%hr
.connected-app__description
= t ".description_html"
%p= t ".description"
%b= link_to( t(".link_label_html"), "#{t(".link_url")}", target: "_blank")

View File

@@ -25,6 +25,8 @@
.connected-app__vine-content
.vine-disable
= button_to t(".disable"), admin_enterprise_connected_app_path(connected_app.id, enterprise_id: enterprise.id), method: :delete
%hr
.connected-app__description
= t ".description_html"
%p= t ".description"
%b= link_to( t(".link_label_html"), "#{t(".link_url")}", target: "_blank")

View File

@@ -1414,20 +1414,14 @@ en:
legend: "Connected apps"
affiliate_sales_data:
title: "INRAE / UFC QUE CHOISIR Research"
tagline: "Allow this research project to access your orders data anonymously"
tagline: "Allow this research project to access your orders data anonymously."
enable: "Allow data sharing"
disable: "Stop sharing"
loading: "Loading"
need_to_be_manager: "Only managers can connect apps."
description_html: |
<p>
INRAE and UFC QUE CHOISIR are teaming up to study food prices in short food systems and compare them with prices in the supermarket, for a given set of products. The data that is used by INRAE is mixed with data coming from other short food chain platforms in France. No individual product prices will be publicly disclosed through this project.
</p>
<p>
<a href="https://apropos.coopcircuits.fr/"
target="_blank"><b>Learn more about this research project</b>
<i class="icon-external-link"></i></a>
</p>
description: "INRAE and UFC QUE CHOISIR are teaming up to study food prices in short food systems and compare them with prices in the supermarket, for a given set of products. The data that is used by INRAE is mixed with data coming from other short food chain platforms in France. No individual product prices will be publicly disclosed through this project."
link_label_html: "Learn more about this research project <i class=\"icon-external-link\"></i>"
link_url: "https://apropos.coopcircuits.fr/"
discover_regen:
title: "Discover Regenerative"
tagline: "Allow Discover Regenerative to publish your enterprise information."
@@ -1439,18 +1433,9 @@ en:
Your Open Food Network account is connected to Discover Regenerative.
Add or update information on your Discover Regenerative listing here.
link_label: "Manage listing"
description_html: |
<p>
Eligible producers can showcase their regenerative credentials,
farming practices and more through a profile listing.
Simplifying how buyers can find regenerative produce and connect
with producers of interest.
</p>
<p>
<a href="https://about.openfoodnetwork.org.au/regen-produce-portal/"
target="_blank"><b>Learn more about Discover Regenerative</b>
<i class="icon-external-link"></i></a>
</p>
description: "Eligible producers can showcase their regenerative credentials, farming practices and more through a profile listing. Simplifying how buyers can find regenerative produce and connect with producers of interest."
link_label_html: "Learn more about Discover Regenerative <i class=\"icon-external-link\"></i>"
link_url: "https://about.openfoodnetwork.org.au/regen-produce-portal/"
vine:
title: "Voucher Integration Engine (VINE)"
tagline: "Allow redemption of VINE vouchers in your shopfront."
@@ -1459,14 +1444,9 @@ en:
need_to_be_manager: "Only managers can connect apps."
vine_api_key: "VINE API Key"
vine_secret: "VINE secret"
description_html: |
<p>
To enable VINE for your enterprise, enter your API key and secret.
</p>
<p>
<a href="#" target="_blank"><b>VINE</b>
<i class="icon-external-link"></i></a>
</p>
description: "To enable VINE for your enterprise, enter your API key and secret."
link_label_html: "VINE <i class=\"icon-external-link\"></i>"
link_url: "https://apropos.coopcircuits.fr"
api_parameters_empty: "Please enter an API key and a secret"
api_parameters_error: "Check you entered your API key and secret correctly, contact your instance manager if the error persists"
connection_error: "API connection error, please try again"