Skip to content

Commit

Permalink
Temporary translation fixes
Browse files Browse the repository at this point in the history
- Have submitted ticket to get Welsh translations
- Putting in placeholders to quiet errors
  • Loading branch information
ajparsons committed Feb 6, 2024
1 parent 907235c commit 975d462
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 32 deletions.
38 changes: 24 additions & 14 deletions locale/TheyWorkForYou.pot
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-01-16 13:13+0000\n"
"POT-Creation-Date: 2024-02-06 16:34+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 @@ -50,73 +50,73 @@ msgid ""
"smaller alerts."
msgstr ""

#: classes/Divisions.php:528
#: classes/Divisions.php:529
#, php-format
msgid "voted %s"
msgstr ""

#: classes/Divisions.php:530
#: classes/Divisions.php:531
#, php-format
msgid "voted %s on <em>%s</em>"
msgstr ""

#: classes/Member.php:403 classes/Member.php:415
#: classes/Member.php:390 classes/Member.php:402
#: www/includes/easyparliament/member.php:31
#: www/includes/easyparliament/templates/html/divisions/index.php:52
msgid "House of Lords"
msgstr ""

#: classes/Member.php:407
#: classes/Member.php:394
#, php-format
msgid "Previously MP for %s until %s"
msgstr ""

#: classes/Member.php:423 classes/Member.php:427
#: classes/Member.php:410 classes/Member.php:414
#: www/includes/easyparliament/member.php:30
#: www/includes/easyparliament/templates/html/divisions/index.php:51
msgid "House of Commons"
msgstr ""

#: classes/Member.php:430 classes/Member.php:431
#: classes/Member.php:417 classes/Member.php:418
msgid "Assembly"
msgstr ""

#: classes/Member.php:432 classes/Member.php:433
#: classes/Member.php:419 classes/Member.php:420
#: www/includes/easyparliament/hansardlist.php:1225
#: www/includes/easyparliament/member.php:33
#: www/includes/easyparliament/templates/html/divisions/index.php:54
#: www/includes/easyparliament/templates/html/search/form_options.php:68
msgid "Scottish Parliament"
msgstr ""

#: classes/Member.php:434 classes/Member.php:435
#: classes/Member.php:421 classes/Member.php:422
#: www/includes/easyparliament/member.php:34
#: www/includes/easyparliament/templates/html/divisions/index.php:55
msgid "Senedd"
msgstr ""

#: classes/Member.php:436 classes/Member.php:437
#: classes/Member.php:423 classes/Member.php:424
#: www/includes/easyparliament/member.php:35
#: www/includes/easyparliament/templates/html/search/form_options.php:76
msgid "London Assembly"
msgstr ""

#: classes/Member.php:447
#: classes/Member.php:434
#, php-format
msgid "Entered the %s in %s"
msgstr ""

#: classes/Member.php:449
#: classes/Member.php:436
#, php-format
msgid "Entered the %s on %s"
msgstr ""

#: classes/Member.php:463
#: classes/Member.php:450
#, php-format
msgid "Left the %s in %s"
msgstr ""

#: classes/Member.php:465
#: classes/Member.php:452
#, php-format
msgid "Left the %s on %s"
msgstr ""
Expand Down Expand Up @@ -2872,6 +2872,16 @@ msgstr ""
msgid "Optional and public"
msgstr ""

#: www/includes/easyparliament/templates/html/user/form.php:163
msgid "Can we send you occasional emails about TheyWorkForYou.com?"
msgstr ""

#: www/includes/easyparliament/templates/html/user/form.php:164
msgid ""
"Do you want to receive our newsletter about our wider democracy work, "
"including our research and campaigns?"
msgstr ""

#: www/includes/easyparliament/templates/html/user/form.php:165
#: www/includes/easyparliament/templates/html/user/join.php:92
msgid ""
Expand Down
40 changes: 24 additions & 16 deletions locale/cy_GB.UTF-8/LC_MESSAGES/TheyWorkForYou.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-16 13:13+0000\n"
"POT-Creation-Date: 2024-02-06 16:34+0000\n"
"PO-Revision-Date: 2023-03-20 17:59-0000\n"
"Language-Team: mySociety\n"
"Language: fr\n"
Expand Down Expand Up @@ -39,73 +39,73 @@ msgstr "Mae'n ymddangos bod y chwiliad hwnnw'n annilys - %s - gwiriwch a cheisi
msgid "That search is too long for our database; please split it up into multiple smaller alerts."
msgstr "Mae'r chwiliad hwnnw'n rhy hir i'n cronfa ddata; os gwelwch yna dda rhannwch i nifer o hysbysiadau llai."

#: classes/Divisions.php:528
#: classes/Divisions.php:529
#, php-format
msgid "voted %s"
msgstr "wedi pleidleisio %s"

#: classes/Divisions.php:530
#: classes/Divisions.php:531
#, php-format
msgid "voted %s on <em>%s</em>"
msgstr "Fe wnaeth pleidleisio % s ar <em>%s</EM>"

#: classes/Member.php:403 classes/Member.php:415
#: classes/Member.php:390 classes/Member.php:402
#: www/includes/easyparliament/member.php:31
#: www/includes/easyparliament/templates/html/divisions/index.php:52
msgid "House of Lords"
msgstr "Tŷ'r Arglwyddi"

#: classes/Member.php:407
#: classes/Member.php:394
#, php-format
msgid "Previously MP for %s until %s"
msgstr "Yn flaenorol AS am %s tan %s"

#: classes/Member.php:423 classes/Member.php:427
#: classes/Member.php:410 classes/Member.php:414
#: www/includes/easyparliament/member.php:30
#: www/includes/easyparliament/templates/html/divisions/index.php:51
msgid "House of Commons"
msgstr "Tŷ'r Cyffredin"

#: classes/Member.php:430 classes/Member.php:431
#: classes/Member.php:417 classes/Member.php:418
msgid "Assembly"
msgstr "Cynulliad"

#: classes/Member.php:432 classes/Member.php:433
#: classes/Member.php:419 classes/Member.php:420
#: www/includes/easyparliament/hansardlist.php:1225
#: www/includes/easyparliament/member.php:33
#: www/includes/easyparliament/templates/html/divisions/index.php:54
#: www/includes/easyparliament/templates/html/search/form_options.php:68
msgid "Scottish Parliament"
msgstr "Senedd yr Alban"

#: classes/Member.php:434 classes/Member.php:435
#: classes/Member.php:421 classes/Member.php:422
#: www/includes/easyparliament/member.php:34
#: www/includes/easyparliament/templates/html/divisions/index.php:55
msgid "Senedd"
msgstr "Senedd"

#: classes/Member.php:436 classes/Member.php:437
#: classes/Member.php:423 classes/Member.php:424
#: www/includes/easyparliament/member.php:35
#: www/includes/easyparliament/templates/html/search/form_options.php:76
msgid "London Assembly"
msgstr "Cynulliad Llundain"

#: classes/Member.php:447
#: classes/Member.php:434
#, php-format
msgid "Entered the %s in %s"
msgstr "Aeth i mewn i'r %s yn %s"

#: classes/Member.php:449
#: classes/Member.php:436
#, php-format
msgid "Entered the %s on %s"
msgstr "Aeth i mewn i'r %s ar %s"

#: classes/Member.php:463
#: classes/Member.php:450
#, php-format
msgid "Left the %s in %s"
msgstr "Gadawodd y %s mewn %s"

#: classes/Member.php:465
#: classes/Member.php:452
#, php-format
msgid "Left the %s on %s"
msgstr "Gadawodd y %s ar %s"
Expand Down Expand Up @@ -171,7 +171,7 @@ msgstr "Ni allwch chwilio am fwy nag un ystod o ddyddiadau."

#: classes/Search.php:79
msgid "Maximum term length is 255 characters."
msgstr ""
msgstr "Maximum term length is 255 characters."

#: classes/User.php:196
msgid "Please enter a password"
Expand Down Expand Up @@ -1552,7 +1552,7 @@ msgstr "Mae'r rhestr hon yn cynnwys pleidleisiau o Dŷ'r Cyffredin, Tŷ'r Arglwy

#: www/includes/easyparliament/templates/html/divisions/index.php:49
msgid "Only show votes from:"
msgstr ""
msgstr "Only show votes from:"

#: www/includes/easyparliament/templates/html/divisions/index.php:59
msgid "Some vote information from <a href=\"https://www.publicwhip.org.uk/\">PublicWhip</a>."
Expand Down Expand Up @@ -2692,6 +2692,14 @@ msgstr "Eich gwefan:"
msgid "Optional and public"
msgstr "Dewisol a chyhoeddus"

#: www/includes/easyparliament/templates/html/user/form.php:163
msgid "Can we send you occasional emails about TheyWorkForYou.com?"
msgstr "Can we send you occasional emails about TheyWorkForYou.com?"

#: www/includes/easyparliament/templates/html/user/form.php:164
msgid "Do you want to receive our newsletter about our wider democracy work, including our research and campaigns?"
msgstr "Do you want to receive our newsletter about our wider democracy work, including our research and campaigns?"

#: www/includes/easyparliament/templates/html/user/form.php:165
#: www/includes/easyparliament/templates/html/user/join.php:92
msgid "Do you want to receive the monthly newsletter from mySociety, with news on TheyWorkForYou and our other projects?"
Expand Down
4 changes: 2 additions & 2 deletions www/includes/easyparliament/templates/html/user/form.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@

<?php
$optin_options = array(
"optin_service" => "Do you wish to receive occasional update emails about TheyWorkForYou.com?",
"optin_stream" => "Do you want to receive our newsletter about our wider democracy work, including our research and campaigns?",
"optin_service" => gettext("Can we send you occasional emails about TheyWorkForYou.com?"),
"optin_stream" => gettext("Do you want to receive our newsletter about our wider democracy work, including our research and campaigns?"),
"optin_org" => gettext("Do you want to receive the monthly newsletter from mySociety, with news on TheyWorkForYou and our other projects?"),
);

Expand Down

0 comments on commit 975d462

Please sign in to comment.