Skip to content

Commit

Permalink
translate the 'Amount' alt text
Browse files Browse the repository at this point in the history
  • Loading branch information
OniriCorpe committed May 22, 2024
1 parent ac970eb commit a40de29
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 17 deletions.
3 changes: 2 additions & 1 deletion assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ <h1 class="h3 mb-3 fw-normal">{{ _('I want to give to %(name)s', name=name) }}</
<input type="hidden" id="csrf" value="{{ csrf }}" />
<input type="hidden" id="public_key" value="{{ stripe_publishable_key }}" />

<input type="number" min="0" max="9999" class="form-control" id="quantity" value="10" aria-label="Amount">
<input type="number" min="0" max="9999" class="form-control" id="quantity" value="10"
aria-label="{{ _('Amount') }}">

<select class="form-select" id="currency" style="width:40px" aria-label="{{ _('Currency') }}">
{% for iso, symbol in currencies %}
Expand Down
20 changes: 12 additions & 8 deletions locales/en/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-05-22 04:12+0200\n"
"POT-Creation-Date: 2024-05-22 04:43+0200\n"
"PO-Revision-Date: 2021-02-18 23:33+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
Expand All @@ -23,7 +23,7 @@ msgstr ""
msgid "Donate to %(name)s"
msgstr ""

#: assets/canceled.html:20 assets/index.html:21 assets/success.html:20
#: assets/canceled.html:20 assets/index.html:22 assets/success.html:20
#, python-format
msgid "%(name)s Logo"
msgstr ""
Expand All @@ -36,32 +36,36 @@ msgstr ""
msgid "Go back to the donate form"
msgstr ""

#: assets/index.html:22
#: assets/index.html:23
#, python-format
msgid "I want to give to %(name)s"
msgstr ""

#: assets/index.html:30
msgid "Amount"
msgstr ""

#: assets/index.html:32
msgid "Currency"
msgstr ""

#: assets/index.html:36
#: assets/index.html:38
msgid "Frequency"
msgstr ""

#: assets/index.html:37
#: assets/index.html:39
msgid "/ month"
msgstr ""

#: assets/index.html:38
#: assets/index.html:40
msgid "one time"
msgstr ""

#: assets/index.html:43
#: assets/index.html:45
msgid "Donate"
msgstr ""

#: assets/index.html:46
#: assets/index.html:48
msgid "If you want to cancel a monthly donation, please contact us"
msgstr ""

Expand Down
21 changes: 13 additions & 8 deletions locales/fr/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-05-22 04:12+0200\n"
"POT-Creation-Date: 2024-05-22 04:43+0200\n"
"PO-Revision-Date: 2021-02-18 23:33+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: fr\n"
Expand All @@ -23,7 +23,7 @@ msgstr ""
msgid "Donate to %(name)s"
msgstr "Donner à %(name)s"

#: assets/canceled.html:20 assets/index.html:21 assets/success.html:20
#: assets/canceled.html:20 assets/index.html:22 assets/success.html:20
#, python-format
msgid "%(name)s Logo"
msgstr "Logo de %(name)s"
Expand All @@ -36,32 +36,37 @@ msgstr "Votre paiement a été annulé"
msgid "Go back to the donate form"
msgstr "Retourner au formulaire de don"

#: assets/index.html:22
#: assets/index.html:23
#, python-format
msgid "I want to give to %(name)s"
msgstr "Je veux donner à %(name)s"

#: assets/index.html:30
#, fuzzy
msgid "Amount"
msgstr "Montant"

#: assets/index.html:32
msgid "Currency"
msgstr "Devise"

#: assets/index.html:36
#: assets/index.html:38
msgid "Frequency"
msgstr "Fréquence"

#: assets/index.html:37
#: assets/index.html:39
msgid "/ month"
msgstr "/ mois"

#: assets/index.html:38
#: assets/index.html:40
msgid "one time"
msgstr "une fois"

#: assets/index.html:43
#: assets/index.html:45
msgid "Donate"
msgstr "Donner"

#: assets/index.html:46
#: assets/index.html:48
msgid "If you want to cancel a monthly donation, please contact us"
msgstr ""
"Si vous souhaitez mettre fin à votre don mensuel, contactez-nous s'il "
Expand Down

0 comments on commit a40de29

Please sign in to comment.