Skip to content

Commit

Permalink
feat: Add link to help in OAuth clients paywall (#4371)
Browse files Browse the repository at this point in the history
The notion of "devices" is not understood by everybody so we add link
to the page detailing it on our help website.
  • Loading branch information
taratatach committed Apr 9, 2024
2 parents 777d64d + 8b8d0fc commit b817c58
Show file tree
Hide file tree
Showing 8 changed files with 57,442 additions and 38,463 deletions.
8 changes: 7 additions & 1 deletion assets/locales/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,13 @@ msgid "Too Many OAuth Clients Title"
msgstr "%s/%s connected devices"

msgid "Too Many OAuth Clients Intro"
msgstr "Your current offer allows you to connect %s devices at the same time."
msgstr "Your current offer allows you to connect %s devices at the same time"

msgid "Too Many OAuth Clients More Text"
msgstr "Learn more"

msgid "Too Many OAuth Clients More Link"
msgstr "https://help.cozy.io/maximum-number-of-connected-devices-allowed/"

msgid "Too Many OAuth Clients Available Actions"
msgstr "Disconnect one of your devices or change your Cozy offer to access your Cozy from this device."
Expand Down
8 changes: 7 additions & 1 deletion assets/locales/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,13 @@ msgid "Too Many OAuth Clients Title"
msgstr "%s/%s connected devices"

msgid "Too Many OAuth Clients Intro"
msgstr "Your current offer allows you to connect %s devices at the same time."
msgstr "Your current offer allows you to connect %s devices at the same time"

msgid "Too Many OAuth Clients More Text"
msgstr "Learn more"

msgid "Too Many OAuth Clients More Link"
msgstr "https://help.cozy.io/maximum-number-of-connected-devices-allowed/"

msgid "Too Many OAuth Clients Available Actions"
msgstr "Disconnect one of your devices or change your Cozy offer to access your Cozy from this device."
Expand Down
8 changes: 7 additions & 1 deletion assets/locales/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,13 @@ msgid "Too Many OAuth Clients Title"
msgstr "%s/%s connected devices"

msgid "Too Many OAuth Clients Intro"
msgstr "Your current offer allows you to connect %s devices at the same time."
msgstr "Your current offer allows you to connect %s devices at the same time"

msgid "Too Many OAuth Clients More Text"
msgstr "Learn more"

msgid "Too Many OAuth Clients More Link"
msgstr "https://help.cozy.io/maximum-number-of-connected-devices-allowed/"

msgid "Too Many OAuth Clients Available Actions"
msgstr "Disconnect one of your devices or change your Cozy offer to access your Cozy from this device."
Expand Down
8 changes: 7 additions & 1 deletion assets/locales/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,13 @@ msgid "Too Many OAuth Clients Title"
msgstr "%s/%s appareils connectés"

msgid "Too Many OAuth Clients Intro"
msgstr "Votre offre actuelle vous permet de connecter simultanément %s appareils."
msgstr "Votre offre actuelle vous permet de connecter simultanément %s appareils"

msgid "Too Many OAuth Clients More Text"
msgstr "En savoir plus"

msgid "Too Many OAuth Clients More Link"
msgstr "https://support.cozy.io/nombre-maximum-dappareils-connectes-autorises/"

msgid "Too Many OAuth Clients Available Actions"
msgstr "Déconnectez un appareil ou modifiez l'offre de votre Cozy pour accéder à votre Cozy depuis cet appareil."
Expand Down
8 changes: 7 additions & 1 deletion assets/locales/ja.po
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,13 @@ msgid "Too Many OAuth Clients Title"
msgstr "%s/%s connected devices"

msgid "Too Many OAuth Clients Intro"
msgstr "Your current offer allows you to connect %s devices at the same time."
msgstr "Your current offer allows you to connect %s devices at the same time"

msgid "Too Many OAuth Clients More Text"
msgstr "Learn more"

msgid "Too Many OAuth Clients More Link"
msgstr "https://help.cozy.io/maximum-number-of-connected-devices-allowed/"

msgid "Too Many OAuth Clients Available Actions"
msgstr "Disconnect one of your devices or change your Cozy offer to access your Cozy from this device."
Expand Down
8 changes: 7 additions & 1 deletion assets/locales/nl_NL.po
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,13 @@ msgid "Too Many OAuth Clients Title"
msgstr "%s/%s connected devices"

msgid "Too Many OAuth Clients Intro"
msgstr "Your current offer allows you to connect %s devices at the same time."
msgstr "Your current offer allows you to connect %s devices at the same time"

msgid "Too Many OAuth Clients More Text"
msgstr "Learn more"

msgid "Too Many OAuth Clients More Link"
msgstr "https://help.cozy.io/maximum-number-of-connected-devices-allowed/"

msgid "Too Many OAuth Clients Available Actions"
msgstr "Disconnect one of your devices or change your Cozy offer to access your Cozy from this device."
Expand Down
3 changes: 2 additions & 1 deletion assets/templates/oauth_clients_limit_exceeded.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
<div class="modal-body mt-4 mt-md-1 p-md-5">
<h1 class="h4 h2-md mb-4 text-center">{{t "Too Many OAuth Clients Title" .ClientsCount .ClientsLimit}}</h1>
<p class="mb-4 text-center">
{{t "Too Many OAuth Clients Intro" .ClientsLimit}}
{{t "Too Many OAuth Clients Intro" .ClientsLimit}}&nbsp;-
<a href='{{t "Too Many OAuth Clients More Link"}}' target="_blank">{{t "Too Many OAuth Clients More Text"}}</a>
</p>
<p class="mb-4 text-center">
{{t "Too Many OAuth Clients Available Actions"}}
Expand Down
Loading

0 comments on commit b817c58

Please sign in to comment.