Skip to content

Commit

Permalink
fix: Spacing in OAuth clients limit exceeded modal
Browse files Browse the repository at this point in the history
  Add more space between modal introduction and available actions and
  make sure the maximum number of devices and the word "devices" are
  always on the same line.
  • Loading branch information
taratatach committed Sep 20, 2023
1 parent 7bde4bf commit 35d6ef7
Show file tree
Hide file tree
Showing 8 changed files with 913 additions and 909 deletions.
2 changes: 1 addition & 1 deletion assets/locales/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ 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 %sdevices at the same time."

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
2 changes: 1 addition & 1 deletion assets/locales/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,7 @@ 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 %sdevices at the same time."

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
2 changes: 1 addition & 1 deletion assets/locales/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ 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 %sdevices at the same time."

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
2 changes: 1 addition & 1 deletion assets/locales/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,7 @@ 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 %sappareils."

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
2 changes: 1 addition & 1 deletion assets/locales/ja.po
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ 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 %sdevices at the same time."

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
2 changes: 1 addition & 1 deletion assets/locales/nl_NL.po
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ 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 %sdevices at the same time."

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
4 changes: 3 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,9 @@
<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}}<br/>
{{t "Too Many OAuth Clients Intro" .ClientsLimit}}
</p>
<p>
{{t "Too Many OAuth Clients Available Actions"}}
</p>
{{if .PremiumURL}}
Expand Down
1,806 changes: 904 additions & 902 deletions web/statik/statik.go

Large diffs are not rendered by default.

0 comments on commit 35d6ef7

Please sign in to comment.