Browse Source

add 'why cc' box on homepage, fix cancel translation

master
alice 6 months ago
parent
commit
68cf63304c
4 changed files with 54 additions and 9 deletions
  1. +29
    -8
      locale/fr/LC_MESSAGES/django.po
  2. +15
    -0
      static/css/style.css
  3. +9
    -0
      templates/ccvpn/index.html
  4. +1
    -1
      templates/payments/cancel_subscr.html

+ 29
- 8
locale/fr/LC_MESSAGES/django.po View File

@@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: unnamed project\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-05-18 23:54+0000\n"
"POT-Creation-Date: 2022-05-19 19:04+0000\n"
"PO-Revision-Date: 2021-09-14 22:21+0200\n"
"Last-Translator: alice <alice@ccrypto.org>\n"
"Language-Team: French <alice@ccrypto.org>\n"
@@ -38,27 +38,27 @@ msgstr "Chat Live"
msgid "Download {} v{}"
msgstr "Télécharger {} v{}"

#: lambdainst/admin.py:48
#: lambdainst/admin.py:47
msgid "(rewarded)"
msgstr ""

#: lambdainst/admin.py:50
#: lambdainst/admin.py:49
msgid "(not rewarded)"
msgstr ""

#: lambdainst/admin.py:54
#: lambdainst/admin.py:53
msgid "Referrer"
msgstr ""

#: lambdainst/admin.py:60 lambdainst/admin.py:90
#: lambdainst/admin.py:59 lambdainst/admin.py:89
msgid "Is paid?"
msgstr "Est payé?"

#: lambdainst/admin.py:69
#: lambdainst/admin.py:68
msgid "Important dates"
msgstr "Dates importantes"

#: lambdainst/admin.py:71
#: lambdainst/admin.py:70
msgid "Permissions"
msgstr "Permissions"

@@ -387,7 +387,24 @@ msgstr "Créez un compte et essayez gratuitement"
msgid "No CC required, 3€/month after 7 days"
msgstr "Abonnez-vous pour 3€/mois après 7 jours"

#: templates/ccvpn/index.html:75
#: templates/ccvpn/index.html:71
msgid "CCrypto is a non-profit organization."
msgstr "CCrypto est une association à but non lucratif."

#: templates/ccvpn/index.html:72
msgid ""
"As such, we pledge that we will never sell your personal information, "
"exploit your trust or data, or get acquired by a company without such "
"boundaries. Your payments will go exclusively towards funding our services "
"and staff, or to other non-profits."
msgstr ""
"À ce titre, nous promettons ne jamais vendre vos données personnelles, "
"exploiter votre traffic ou votre confiance, ou laisser une entreprise sans "
"de tels principes nous racheter. Vos paiements seront exclusivement utilisés "
"pour financer notre service et rémunérer notre équipe, ou reversés à "
"d'autres associations."

#: templates/ccvpn/index.html:84
msgid "more on our infrastructure"
msgstr "plus sur notre infrastructure"

@@ -1675,6 +1692,10 @@ msgstr ""
"Voudriez-vous nous dire pourquoi, ou laisser un retour pour nous permettre "
"d'améliorer notre service ? C'est optionel."

#: templates/payments/cancel_subscr.html:27
msgid "You do not have any active subscription to cancel."
msgstr "Vous n'avez pas d'abonnement à annuller."

#: templates/payments/order-pay.html:5 templates/payments/success.html:12
msgid "Payment"
msgstr "Paiement"


+ 15
- 0
static/css/style.css View File

@@ -731,6 +731,15 @@ ul.errorlist {
margin: auto;
}

p.home-whyus {
width: 47%;
margin: auto;
border: 2px solid #1c619a;
padding: 0.5em 1em;
background: #f8F8FF;
}


@media screen and (max-width: 80em) {
.homepage .features {
margin-left: 0;
@@ -775,6 +784,9 @@ a.home-signup-button .subtext {
.home-signup-button {
min-width: 50%;
}
p.home-whyus {
width: 90%;
}
}


@@ -1242,6 +1254,9 @@ div.ticket-message-private {
.homepage h2 {
text-shadow: 0px 0px 5px #ffd99f50;
}
p.home-whyus {
background: #22222b;
}

.content-box {
background: #272727;


+ 9
- 0
templates/ccvpn/index.html View File

@@ -67,6 +67,15 @@
</a>
</p>

<p class="home-whyus">
<b>{% trans "CCrypto is a non-profit organization." %}</b><br />
{% blocktrans trimmed %}
As such, we pledge that we will never sell your personal information, exploit your trust or data,
or get acquired by a company without such boundaries.
Your payments will go exclusively towards funding our services and staff, or to other non-profits.
{% endblocktrans %}
</p>

<div class="locations">
<object id="map" data="{% static 'img/world.svg' %}" type="image/svg+xml"></object>
{{gateway_locations|json_script:"locations-data"}}


+ 1
- 1
templates/payments/cancel_subscr.html View File

@@ -24,7 +24,7 @@
</fieldset>
</form>
{% else %}
<p>You do not have any active subscription to cancel.</p>
<p>{% trans "You do not have any active subscription to cancel." %}</p>
{% endif %}
</div>
{% endblock %}

Loading…
Cancel
Save