Skip to content

Commit

Permalink
Replace footer translations
Browse files Browse the repository at this point in the history
As well as improve election timetables tags for translation
  • Loading branch information
VirginiaDooley committed May 2, 2024
1 parent 5314cc4 commit 46456b1
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 61 deletions.
82 changes: 52 additions & 30 deletions locale/cy/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-01 13:42+0000\n"
"POT-Creation-Date: 2024-05-02 07:24+0000\n"
"PO-Revision-Date: 2022-03-24 09:04+0000\n"
"Last-Translator: Sym Roe <[email protected]>, 2022\n"
"Language-Team: Welsh (https://www.transifex.com/democracy-club/teams/61326/"
Expand All @@ -29,19 +29,46 @@ msgstr ""
msgid "Enter your postcode"
msgstr "Rhowch eich cod post"

#: wcivf/apps/elections/models.py:735
#: env/lib/python3.10/site-packages/dc_utils/templates/dc_base.html:53
msgid "Join our mailing list"
msgstr "Ymunwch â'n rhestr bostio"

#: env/lib/python3.10/site-packages/dc_utils/templates/dc_base.html:64
msgid "democracy"
msgstr "democratiaeth"

#: env/lib/python3.10/site-packages/dc_utils/templates/dc_base.html:64
msgid "club"
msgstr "clwb"

#: env/lib/python3.10/site-packages/dc_utils/templates/dc_base.html:69
msgid "Copyright"
msgstr "Hawlfraint"

#: env/lib/python3.10/site-packages/dc_utils/templates/dc_base.html:70
msgid "Democracy Club Community Interest Company"
msgstr "Cwmni Buddiannau Cymunedol y Clwb Democratiaeth"

#: env/lib/python3.10/site-packages/dc_utils/templates/dc_base.html:71
msgid "Company No: "
msgstr "Rhif y Cwmni: "

#: env/lib/python3.10/site-packages/dc_utils/templates/dc_base.html:73
msgid "Building digital infrastructure for a 21st century democracy."
msgstr "Adeiladu seilwaith digidol ar gyfer democratiaeth yn yr 21ain ganrif."

msgid "First-past-the-post"
msgstr "Y Cyntaf i’r Felin"

#: wcivf/apps/elections/models.py:737
#: wcivf/apps/elections/models.py:743
msgid "Additional Member System"
msgstr "Y System Aelodau Ychwanegol"

#: wcivf/apps/elections/models.py:739
#: wcivf/apps/elections/models.py:745
msgid "Supplementary Vote"
msgstr "Pleidlais Atodol"

#: wcivf/apps/elections/models.py:741
#: wcivf/apps/elections/models.py:747
msgid "Single Transferable Vote"
msgstr "Pleidlais Sengl Drosglwyddadwy"

Expand Down Expand Up @@ -1116,8 +1143,8 @@ msgid "Tweets by"
msgstr "Trydariadau gan"

#: wcivf/apps/elections/templates/elections/party_list_view.html:71
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:66
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:91
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:67
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:92
msgid "Candidates"
msgstr "Ymgeiswyr"

Expand Down Expand Up @@ -2035,7 +2062,7 @@ msgid "Election"
msgstr "Etholiad"

#: wcivf/apps/people/templates/people/includes/_person_previous_elections_card.html:11
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:90
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:91
#: wcivf/apps/ppc_2024/templates/ppc_2024/ppcperson_list.html:45
msgid "Party"
msgstr "Plaid"
Expand Down Expand Up @@ -2350,24 +2377,19 @@ msgid "Timetable"
msgstr "Amserlen"

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:43
#, fuzzy
#| msgid "About Democracy Club"
msgid "Democracy Club's"
msgstr "Ynglŷn â'r Clwb Democratiaeth"

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:44
msgid "general election timetable generator"
msgstr "cynhyrchydd amserlen etholiad cyffredinol"

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:44
msgid "provides an election timetable for any given date"
msgstr "yn darparu amserlen etholiad ar gyfer unrhyw ddyddiad penodol"
#, python-format
msgid ""
"Democracy Club's <a href=%(election_timetable_url)s>general election "
"timetable generator</a> provides an election timetable for any given date"
msgstr ""
"<a href=%(election_timetable_url)s>Etholiad cyffredinol Clwb Democratiaeth"
"Mae cynhyrchydd amserlen</a> yn darparu amserlen etholiad ar gyfer unrhyw ddyddiad penodol"

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:50
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:51
msgid "The data"
msgstr "Y data"

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:54
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:55
#, python-format
msgid ""
"The full list of prospective parliamentary candidates is available as a <a "
Expand All @@ -2382,31 +2404,31 @@ msgstr ""
"e/2PACX-1vRhZbBrU2AdJDYyBZViMs6irvH7zVUiZm2rDoADw5B18drp6hILJBr-"
"duSXCmHJ18SmYWm3iq0bbfoR/pub?gid=0&single=true&output=csv\">CSV</a>."

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:63
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:64
msgid "Number of candidates announced per UK region or nation"
msgstr "Nifer yr ymgeiswyr a gyhoeddwyd fesul rhanbarth neu wlad yn y DU"

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:65
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:66
msgid "Region / nation"
msgstr "Rhanbarth / cenedl"

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:67
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:68
msgid "Total seats in region"
msgstr "Cyfanswm y seddi yn y rhanbarth"

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:88
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:89
msgid "Candidate selections by political party"
msgstr "Dethol ymgeiswyr yn ôl plaid wleidyddol"

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:100
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:101
msgid "Total"
msgstr "Cyfanswm"

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:108
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:109
msgid "Support our work"
msgstr "Cefnogwch ein gwaith"

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:109
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:110
msgid ""
"Democracy Club is a non-profit Community Interest Company. If you've found "
"this resource useful, please consider a donation"
Expand All @@ -2415,7 +2437,7 @@ msgstr ""
"wedi darganfod mae'r adnodd hwn yn ddefnyddiol, ystyriwch rodd os gwelwch yn "
"dda"

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:111
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:112
msgid "Donate now"
msgstr "Cyfrannwch nawr"

Expand Down
48 changes: 21 additions & 27 deletions locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-01 13:40+0000\n"
"POT-Creation-Date: 2024-05-02 07:22+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -54,15 +54,15 @@ msgstr ""
msgid "First-past-the-post"
msgstr ""

#: wcivf/apps/elections/models.py:737
#: wcivf/apps/elections/models.py:743
msgid "Additional Member System"
msgstr ""

#: wcivf/apps/elections/models.py:739
#: wcivf/apps/elections/models.py:745
msgid "Supplementary Vote"
msgstr ""

#: wcivf/apps/elections/models.py:741
#: wcivf/apps/elections/models.py:747
msgid "Single Transferable Vote"
msgstr ""

Expand Down Expand Up @@ -936,8 +936,8 @@ msgid "Tweets by"
msgstr ""

#: wcivf/apps/elections/templates/elections/party_list_view.html:71
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:66
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:91
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:67
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:92
msgid "Candidates"
msgstr ""

Expand Down Expand Up @@ -1352,7 +1352,6 @@ msgid ""
"\">their role in elections</a> on the parliament.uk website."
msgstr ""


#: wcivf/apps/people/models.py:78
msgid "Elected unopposed"
msgstr "Etholwyd yn ddiwrthwynebiad"
Expand Down Expand Up @@ -1725,7 +1724,7 @@ msgid "Election"
msgstr ""

#: wcivf/apps/people/templates/people/includes/_person_previous_elections_card.html:11
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:90
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:91
#: wcivf/apps/ppc_2024/templates/ppc_2024/ppcperson_list.html:45
msgid "Party"
msgstr ""
Expand Down Expand Up @@ -1979,22 +1978,17 @@ msgid "Timetable"
msgstr ""

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:43
msgid "Democracy Club's"
msgstr ""

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:44
msgid "general election timetable generator"
msgstr ""

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:44
msgid "provides an election timetable for any given date"
#, python-format
msgid ""
"Democracy Club's <a href=%(election_timetable_url)s>general election "
"timetable generator</a> provides an election timetable for any given date"
msgstr ""

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:50
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:51
msgid "The data"
msgstr ""

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:54
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:55
#, python-format
msgid ""
"The full list of prospective parliamentary candidates is available as a <a "
Expand All @@ -2004,37 +1998,37 @@ msgid ""
"duSXCmHJ18SmYWm3iq0bbfoR/pub?gid=0&single=true&output=csv\">CSV</a>."
msgstr ""

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:63
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:64
msgid "Number of candidates announced per UK region or nation"
msgstr ""

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:65
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:66
msgid "Region / nation"
msgstr ""

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:67
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:68
msgid "Total seats in region"
msgstr ""

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:88
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:89
msgid "Candidate selections by political party"
msgstr ""

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:100
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:101
msgid "Total"
msgstr ""

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:108
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:109
msgid "Support our work"
msgstr ""

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:109
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:110
msgid ""
"Democracy Club is a non-profit Community Interest Company. If you've found "
"this resource useful, please consider a donation"
msgstr ""

#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:111
#: wcivf/apps/ppc_2024/templates/ppc_2024/home.html:112
msgid "Donate now"
msgstr ""

Expand Down
9 changes: 5 additions & 4 deletions wcivf/apps/ppc_2024/templates/ppc_2024/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@ <h2 class="ds-h4">{% trans "MPs standing down" %}</h2>
{% trans "Visit the website of the Institute for Government for a full list" %}</a>.</p>

<h2 class="ds-h4">{% trans "Timetable" %}</h2>
<p>{% trans "Democracy Club's" %} <a href="https://election-timetable.democracyclub.org.uk/">
{% trans "general election timetable generator" %}</a> {% trans "provides an election timetable for any given date" %}.</p>


<p>{% blocktrans trimmed with election_timetable_url="https://election-timetable.democracyclub.org.uk/" %}
Democracy Club's <a href={{election_timetable_url}}>general election timetable generator</a>
provides an election timetable for any given date
{% endblocktrans %}
</p>
</details>


Expand Down

0 comments on commit 46456b1

Please sign in to comment.