Add donate data

This commit is contained in:
lostinlight 2018-03-24 04:35:35 +03:00
parent 2a06f63e99
commit f93591af54
3 changed files with 12 additions and 2 deletions

View file

@ -20,6 +20,7 @@
"devTutorials": "http://gitea.postactiv.com/postActiv/postActiv/src/master/INSTALL.md", "devTutorials": "http://gitea.postactiv.com/postActiv/postActiv/src/master/INSTALL.md",
"notable": "", "notable": "",
"communities": "", "communities": "",
"donate": "https://www.patreon.com/postActiv",
"tracker": "http://gitea.postactiv.com/postActiv/postActiv/issues", "tracker": "http://gitea.postactiv.com/postActiv/postActiv/issues",
"bounty": "https://www.postactiv.com/bounties/index.html", "bounty": "https://www.postactiv.com/bounties/index.html",
"translating": "" "translating": ""

View file

@ -121,7 +121,10 @@ channel: Personal channels
foreword: Please, keep in mind that you are a participant, not a customer. foreword: Please, keep in mind that you are a participant, not a customer.
promptStart: If you'd like to help the promptStart: If you'd like to help the
promptEnd: network grow, you can contribute in different ways. promptEnd: network grow, you can contribute in different ways.
optionOne: Donate to the administrator of your server (if you have the means to do that). optionOne1: Donate to
devTeam: development team
or: or
optionOne2: the administrator of your server (if you have the means to do that).
setUp: Set up # ...your own instance (context for translation) setUp: Set up # ...your own instance (context for translation)
optionTwo: your own instance, to make federation stronger and healthier, with many small servers. optionTwo: your own instance, to make federation stronger and healthier, with many small servers.
optionThree: Spread the word. Invite your friends. Explain why it's important. optionThree: Spread the word. Invite your friends. Explain why it's important.

View file

@ -15,7 +15,13 @@
<p><%- __('promptStart') %> <%= page.title %> <%- __('promptEnd') %></p> <p><%- __('promptStart') %> <%= page.title %> <%- __('promptEnd') %></p>
<ol> <ol>
<li><%- __('optionOne') %></li> <li>
<%- __('optionOne1') %>
<% if (data.donate) { %>
<a href="<%= data.donate %>"><%- __('devTeam') %></a> <%- __('or') %>
<% } %>
<%- __('optionOne2') %>
</li>
<li> <li>
<% if (data.devTutorials !== "") { %> <% if (data.devTutorials !== "") { %>
<a href="<%= data.devTutorials %>"><%- __('setUp') %></a> <%- __('optionTwo') %> <a href="<%= data.devTutorials %>"><%- __('setUp') %></a> <%- __('optionTwo') %>