Skip to content

Commit b5b1d2f

Browse files
committed
1 parent 1e7e657 commit b5b1d2f

File tree

8 files changed

+31
-14
lines changed

8 files changed

+31
-14
lines changed

_i18n/da.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ contribute:
106106
wireframes? Hjælp med at løse disse problemer.
107107
introduction: AntennaPod er under aktiv udvikling af frivillige. Du kan også bidrage
108108
med kode eller andet!
109-
donate: Hvis du ikke kan bidrage på nogen af de ovennævnte måder, kan du også give
110-
et <a href="https://opencollective.com/antennapod" target="_blank"> bidrag</a>.
111109
documentation:
112110
general:
113111
search-placeholder: Søg i dokumentation

_i18n/en.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,12 @@ contribute:
109109
design:
110110
title: "Design"
111111
text: "You turn complex requests in understandable user stories or wireframes? Help tackle these issues."
112-
donate: "Or, if you can't contribute in any of the ways listed above, you can also make a <a href=\"https://opencollective.com/antennapod\" target=\"_blank\">donation</a>."
112+
donate:
113+
link: "I want to make a <a href=\"https://opencollective.com/antennapod\" target=\"_blank\" data-toggle=\"modal\" data-target=\"#donationModal\">donation</a>."
114+
modal-title: "Are you sure you want to donate?"
115+
modal-button-donate: "Donate anyway"
116+
modal-button-chat: "Discuss with us how you can help"
117+
modal-button-contribute: "Check contribution options again"
113118

114119
## Documentation
115120
documentation:

_i18n/en/general/donation-modal.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
AntennaPod doesn't need a lot of money. **Our (annual) costs are already covered** by our existing donation funds. Therefore, we'd much prefer it if you
2+
* donate to your favorite podcast(er), or
3+
* help us with a non-monetary contribution.

_i18n/es.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,6 @@ contribute:
109109
"wireframes"? Ayuda a solucionar estos problemas.
110110
introduction: AntennaPod está siendo desarrollado activamente por gente voluntaria.
111111
¡Tú también puedes contribuir, mediante código o de otra manera!
112-
donate: O, si no puedes contribuir de ninguna de las formas arriba listadas, también
113-
puedes hacer una <a href="https://opencollective.com/antennapod" target="_blank">donación</a>.
114112
documentation:
115113
general:
116114
introduction: Bienvenido a la sección de documentación de AntennaPod. Esta sección

_i18n/fr.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,6 @@ contribute:
110110
test:
111111
text: Vous êtes doué pour casser des trucs ? Devenez bêta-testeur.
112112
title: Tester
113-
donate: Ou, si vous ne pouvez pas contribuer de l'une des manières énumérées ci-dessus,
114-
vous pouvez également faire un <a href="https://opencollective.com/antennapod"
115-
target="_blank">don</a>.
116113
documentation:
117114
general:
118115
search-placeholder: Rechercher dans la documentation

_i18n/it.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ contribute:
2626
translate:
2727
title: Traduzione
2828
text: Parli altre lingue oltre all'inglese? Aiutaci a tradurre AntennaPod.
29-
donate: Oppure, se non puoi contribuire in nessuno dei modi elencati qui sopra,
30-
puoi anche fare una <a href="https://opencollective.com/antennapod" target="_blank">donazione</a>.
3129
test:
3230
title: Test
3331
text: Rompere le cose ti riesce bene? Diventa beta tester.

_i18n/nl.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@ contribute:
100100
title: Promoten
101101
text: Schrijf je pakkende tweets en interessante blogs, of maak je prachtige graphics?
102102
Help ons AntennaPod wereldberoemd maken.
103-
donate: Of, als je niet op een van bovenstaande manieren kunt bijdragen, kun je
104-
ook een <a href="https://opencollective.com/antennapod" target="_blank">donatie</a>
105-
doen.
106103
documentation:
107104
categories:
108105
podcasters-hosters:

contribute.html

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,25 @@
1616
{% include contribute-card.html icon="fa-pencil-ruler" url="https://github.com/AntennaPod/AntennaPod/labels/needs:%20mock-up%20or%20user%20story" item="design" target="external" %}
1717
</div>
1818

19-
<p id="donate">{% t contribute.donate %}</p>
19+
<p id="donate">{% t contribute.donate.link %}</p>
20+
21+
<div class="modal fade" id="donationModal" tabindex="-1" role="dialog" aria-labelledby="donationModalLabel" aria-hidden="true">
22+
<div class="modal-dialog modal-dialog-centered" role="document">
23+
<div class="modal-content">
24+
<div class="modal-header">
25+
<h5 class="modal-title" id="donationModalLabel">{% t contribute.donate.modal-title %}</h5>
26+
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
27+
<span aria-hidden="true">&times;</span>
28+
</button>
29+
</div>
30+
<div class="modal-body">
31+
{% tf general/donation-modal.md %}
32+
</div>
33+
<div class="modal-footer">
34+
<a role="button" class="btn btn-secondary" href="https://opencollective.com/antennapod">{% t contribute.donate.modal-button-donate %}</a>
35+
<a role="button" class="btn btn-primary" href="https://forum.antennapod.org/t/monthly-community-call/1869">{% t contribute.donate.modal-button-chat %}</a>
36+
<button type="button" class="btn btn-light" data-dismiss="modal">{% t contribute.donate.modal-button-contribute %}</button>
37+
</div>
38+
</div>
39+
</div>
40+
</div>

0 commit comments

Comments
 (0)