From 975d462305b1001a9fa55880e065a1ccb6332e84 Mon Sep 17 00:00:00 2001 From: Alex Parsons Date: Tue, 6 Feb 2024 16:35:44 +0000 Subject: [PATCH] Temporary translation fixes - Have submitted ticket to get Welsh translations - Putting in placeholders to quiet errors --- locale/TheyWorkForYou.pot | 38 +++++++++++------- .../cy_GB.UTF-8/LC_MESSAGES/TheyWorkForYou.po | 40 +++++++++++-------- .../templates/html/user/form.php | 4 +- 3 files changed, 50 insertions(+), 32 deletions(-) diff --git a/locale/TheyWorkForYou.pot b/locale/TheyWorkForYou.pot index da7e4254f7..888be3e9bb 100644 --- a/locale/TheyWorkForYou.pot +++ b/locale/TheyWorkForYou.pot @@ -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 \n" "Language-Team: LANGUAGE \n" @@ -50,38 +50,38 @@ 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 %s" 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 @@ -89,34 +89,34 @@ msgstr "" 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 "" @@ -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 "" diff --git a/locale/cy_GB.UTF-8/LC_MESSAGES/TheyWorkForYou.po b/locale/cy_GB.UTF-8/LC_MESSAGES/TheyWorkForYou.po index 171b8321db..855ea0f0af 100644 --- a/locale/cy_GB.UTF-8/LC_MESSAGES/TheyWorkForYou.po +++ b/locale/cy_GB.UTF-8/LC_MESSAGES/TheyWorkForYou.po @@ -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" @@ -39,38 +39,38 @@ 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 %s" msgstr "Fe wnaeth pleidleisio % s ar %s" -#: 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 @@ -78,34 +78,34 @@ msgstr "Cynulliad" 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" @@ -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" @@ -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 PublicWhip." @@ -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?" diff --git a/www/includes/easyparliament/templates/html/user/form.php b/www/includes/easyparliament/templates/html/user/form.php index 92add8c0d2..3fb1d84b82 100644 --- a/www/includes/easyparliament/templates/html/user/form.php +++ b/www/includes/easyparliament/templates/html/user/form.php @@ -160,8 +160,8 @@ "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?"), );