This repository has been archived by the owner on Feb 8, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4305 from gratipay/project/claim-packages
Integrate initial package claiming PRs
- Loading branch information
Showing
99 changed files
with
2,945 additions
and
683 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
{{ _("New activity on your account") }} | ||
|
||
[---] text/html | ||
{% if new_email_verified %} | ||
{{ ngettext( "We are connecting the {package_name} npm package to the {username} account on " | ||
"Gratipay. This is a notification sent to {email_address} because that is the " | ||
"primary email address we have on file." | ||
, "We are connecting {n} npm packages to the {username} account on Gratipay. This is " | ||
"a notification sent to {email_address} because that is the primary email address " | ||
"we have on file." | ||
, n=npackages | ||
, package_name=('<b>{}</b>'|safe).format(package_name) | ||
, username=('<b><a href="https://gratipay.com/{0}/">{0}</a></b>'|safe).format(username) | ||
, email_address=('<b>{}</b>'|safe).format(email) | ||
) }} | ||
{% elif npackages > 0 %} | ||
{{ ngettext( "We are connecting {email_address} and the {package_name} npm package to the " | ||
"{username} account on Gratipay. This is a notification sent to {email_address_2} " | ||
"because that is the primary email address we have on file." | ||
, "We are connecting {email_address} and {n} npm packages to the {username} account on " | ||
"Gratipay. This is a notification sent to {email_address_2} because that is the " | ||
"primary email address we have on file." | ||
, n=npackages | ||
, package_name=('<b>{}</b>'|safe).format(package_name) | ||
, username=('<b><a href="https://gratipay.com/{0}/">{0}</a></b>'|safe).format(username) | ||
, email_address=('<b>{}</b>'|safe).format(new_email) | ||
, email_address_2=('<b>{}</b>'|safe).format(email) | ||
) }} | ||
{% else %} | ||
{{ _( "We are connecting {email_address} to the {username} account on Gratipay. This is a " | ||
"notification sent to {email_address_2} because that is the primary email address we have " | ||
"on file." | ||
, username=('<b><a href="https://gratipay.com/{0}/">{0}</a></b>'|safe).format(username) | ||
, email_address=('<b>{}</b>'|safe).format(new_email) | ||
, email_address_2=('<b>{}</b>'|safe).format(email) | ||
) }} | ||
{% endif %} | ||
[---] text/plain | ||
{% if new_email_verified %} | ||
{{ ngettext( "We are connecting the {package_name} npm package to the {username} account on " | ||
"Gratipay. This is a notification sent to {email_address} because that is the " | ||
"primary email address we have on file." | ||
, "We are connecting {n} npm packages to the {username} account on Gratipay. This is " | ||
"a notification sent to {email_address} because that is the primary email address " | ||
"we have on file." | ||
, n=npackages | ||
, package_name=package_name | ||
, username=username | ||
, email_address=email | ||
) }} | ||
{% elif npackages > 0 %} | ||
{{ ngettext( "We are connecting {email_address} and the {package_name} npm package to the " | ||
"{username} account on Gratipay. This is a notification sent to {email_address_2} " | ||
"because that is the primary email address we have on file." | ||
, "We are connecting {email_address} and {n} npm packages to the {username} account on " | ||
"Gratipay. This is a notification sent to {email_address_2} because that is the " | ||
"primary email address we have on file." | ||
, n=npackages | ||
, package_name=package_name | ||
, username=username | ||
, email_address=new_email | ||
, email_address_2=email | ||
) }} | ||
{% else %} | ||
{{ _( "We are connecting {email_address} to the {username} account on Gratipay. This is a " | ||
"notification sent to {email_address_2} because that is the primary email address we have " | ||
"on file." | ||
, username=username | ||
, email_address=new_email | ||
, email_address_2=email | ||
) }} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,64 @@ | ||
{{ _("Connect to {0} on Gratipay?", username) }} | ||
|
||
[---] text/html | ||
{{ _("We've received a request to connect {0} to the {1} account on Gratipay. Sound familiar?", | ||
('<b>%s</b>'|safe) % email, | ||
('<b><a href="https://gratipay.com/~{0}/">{0}</a></b>'|safe).format(username)) }} | ||
{% if new_email_verified %} | ||
{{ ngettext( "We've received a request to connect the {package_name} npm package to the " | ||
"{username} account on Gratipay. Sound familiar?" | ||
, "We've received a request to connect {n} npm packages to the {username} account " | ||
"on Gratipay. Sound familiar?" | ||
, n=npackages | ||
, package_name=('<b>{}</b>'|safe).format(package_name) | ||
, username=('<b><a href="https://gratipay.com/~{0}/">{0}</a></b>'|safe).format(username) | ||
) }} | ||
{% elif npackages > 0 %} | ||
{{ ngettext( "We've received a request to connect {email_address} and the {package_name} npm " | ||
"package to the {username} account on Gratipay. Sound familiar?" | ||
, "We've received a request to connect {email_address} and {n} npm packages to the " | ||
"{username} account on Gratipay. Sound familiar?" | ||
, n=npackages | ||
, package_name=('<b>{}</b>'|safe).format(package_name) | ||
, email_address=('<b>{}</b>'|safe).format(new_email) | ||
, username=('<b><a href="https://gratipay.com/~{0}/">{0}</a></b>'|safe).format(username) | ||
) }} | ||
{% else %} | ||
{{ _( "We've received a request to connect {email_address} to the {username} account on Gratipay. " | ||
"Sound familiar?" | ||
, email_address=('<b>{}</b>'|safe).format(new_email) | ||
, username=('<b><a href="https://gratipay.com/~{0}/">{0}</a></b>'|safe).format(username) | ||
) }} | ||
{% endif %} | ||
<br> | ||
<br> | ||
<a href="{{ link }}" style="{{ button_style }}">{{ _("Yes, proceed!") }}</a> | ||
|
||
[---] text/plain | ||
{{ _("We've received a request to connect {0} to the {1} account on Gratipay. Sound familiar?", | ||
email, username) }} | ||
{% if new_email_verified %} | ||
{{ ngettext( "We've received a request to connect the {package_name} npm package to the " | ||
"{username} account on Gratipay. Sound familiar?" | ||
, "We've received a request to connect {n} npm packages to the {username} account " | ||
"on Gratipay. Sound familiar?" | ||
, n=npackages | ||
, package_name=package_name | ||
, username=username | ||
) }} | ||
{% elif npackages > 0 %} | ||
{{ ngettext( "We've received a request to connect {email_address} and the {package_name} npm " | ||
"package to the {username} account on Gratipay. Sound familiar?" | ||
, "We've received a request to connect {email_address} and {n} npm packages to the " | ||
"{username} account on Gratipay. Sound familiar?" | ||
, n=npackages | ||
, package_name=package_name | ||
, email_address=new_email | ||
, username=username | ||
) }} | ||
{% else %} | ||
{{ _( "We've received a request to connect {email_address} to the {username} account on Gratipay. " | ||
"Sound familiar?" | ||
, email_address=new_email | ||
, username=username | ||
) }} | ||
{% endif %} | ||
|
||
{{ _("Follow this link to finish connecting your email:") }} | ||
{{ _("Follow this link to finish connecting:") }} | ||
|
||
{{ link }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.