Skip to content

Commit

Permalink
Add CY email templates
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons authored and dracos committed Jun 9, 2023
1 parent 32ee674 commit 4fed515
Show file tree
Hide file tree
Showing 7 changed files with 287 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Subject: Eisoes wedi cofrestru ar gyfer hysbysiadau TheyWorkForYou.com
Gwnaeth rhywun, efallai chi, ceisio eich cofrestru ar gyfer
hysbysiad ar TheyWorkForYou.com yr ydych chi eisoes wedi
ychwanegu gyda'r meini prawf canlynol:

{CRITERIA}

Gan eich bod eisoes wedi cofrestru ar gyfer hyn nid ydym wedi eich cofrestru eto.

Os nad ydych wedi ceisio cofrestru ar gyfer yr hysbysiad hwn yna mae'n rhaid bod rhywun
arall wedi defnyddio eich cyfeiriad.

Pe baech yn meddwl bod hyn wedi'i wneud yn faleisus yna rhowch wybod i ni.

Dymuniadau gorau,
TheyWorkForYou
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Subject: Cadarnhewch eich hysbysiad TheyWorkForYou.com
Rydych chi wedi gofyn i gofrestru ar gyfer hysbysiad
TheyWorkForYou.com ar gyfer y meini prawf canlynol:

{CRITERIA}
Cyn i'r hysbysiad gael ei actifadi mae angen i chi gadarnhau eich
cofrestru drwy glicio ar y ddolen isod:

{CONFIRMURL}
Os nad yw clicio'r ddolen uchod yn gweithio, efallai y bydd
yn rhaid i chi ei gopïo ac yna ei gludo i mewn i flwch
'Cyfeiriad' neu 'Lleoliad' eich porwr gwe,
ac yna pwyso 'Enter' neu 'Return' ar eich bysellfwrdd.

Os nad ydych wedi ceisio cofrestru ar gyfer yr hysbysiad hwn yna
mae'n rhaid bod rhywun arall wedi defnyddio eich cyfeiriad. Pe baech
yn meddwl bod hyn wedi'i wneud yn faleisus yna rhowch wybod i ni.

A pheidiwch anghofio sôn wrth eich ffrindiau a theulu am
TheyWorkForYou.com

Dymuniadau gorau,
TheyWorkForYou
164 changes: 164 additions & 0 deletions www/includes/easyparliament/templates/emails/cy/alert_mailout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
<!DOCTYPE html>
<html lang="cy">
<head>
<title>Eich hysbysiad TheyWorkForYou</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<style type="text/css">
/* CLIENT-SPECIFIC STYLES */
body, table, td, a { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
table, td { mso-table-lspace: 0pt; mso-table-rspace: 0pt; }
img { -ms-interpolation-mode: bicubic; }

/* RESET STYLES */
img { border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none; }
table { border-collapse: collapse !important; }
body { height: 100% !important; margin: 0 !important; padding: 0 !important; width: 100% !important; }

/* iOS BLUE LINKS */
a[x-apple-data-detectors] {
color: inherit !important;
text-decoration: none !important;
font-size: inherit !important;
font-family: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
}

/* GMAIL BLUE LINKS */
u + #body a {
color: inherit;
text-decoration: none;
font-size: inherit;
font-family: inherit;
font-weight: inherit;
line-height: inherit;
}

/* SAMSUNG MAIL BLUE LINKS */
#MessageViewBody a {
color: inherit;
text-decoration: none;
font-size: inherit;
font-family: inherit;
font-weight: inherit;
line-height: inherit;
}

/* These rules set the link and hover states, making it clear that links are, in fact, links. */
/* Embrace established conventions like underlines on links to keep emails accessible. */
a { color: #4faded; font-weight: 900; text-decoration: underline; }
a:hover { color: #38a2eb !important; text-decoration: none !important; }
a.button:hover { color: #ffffff !important; background-color: #38a2eb !important; }

/* These rules adjust styles for desktop devices, keeping the email responsive for users. */
/* Some email clients don't properly apply media query-based styles, which is why we go mobile-first. */
@media screen and (min-width:600px) {
h1 { font-size: 36px !important; line-height: 1.2 !important; margin: 0 0 28px 0;}
.intro { font-size: 24px !important; line-height: 36px !important; }

h2 { font-size: 25px !important; line-height: 1.2 !important; margin: 0; }

p { font-size: 18px !important;}

}

@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v14/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7lujVj9w.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
font-family: 'Source Sans Pro';
font-style: italic;
font-weight: 900;
font-display: swap;
src: url(https://fonts.gstatic.com/s/sourcesanspro/v14/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZklyds18S0xR41.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

u + .body .glist { margin-left: 0 !important; }
ul li { margin-bottom: 20px; color: #ffffff; }

@media only screen and (max-width: 600px) {
u + .body .glist { margin-left: 25px !important; }
}
</style>

</head>
<body style="margin: 0 !important; padding: 0 !important; background-color: #f7f6f5;" class="body">

<!--[if (gte mso 9)|(IE)]>
<table cellspacing="0" cellpadding="0" border="0" width="600" align="center" role="presentation"><tr><td>
<![endif]-->

<div role="article" aria-label="Eich hysbysiad TheyWorkForYou" lang="en" style="background-color: white; color: #2b2b2b; font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 18px; font-weight: 400; line-height: 28px; margin: 0 auto; max-width: 600px; padding: 40px 20px 40px 20px;">

<header>
<a href="https://www.theyworkforyou.com">
<img src="images/theyworkforyou-logo.png" alt="" width="170">
</a>
<h1 style="color: #333333; font-size: 21px; font-weight: 400; line-height: 21px; font-family: 'Source Sans Pro'; margin-top: 30px;">Email alerts</h1>
</header>

<main>

{_HTML_}

<hr style="height:2px;border-width:0; background-color: #f7f6f5; margin: 30px 0;">

<p style="font-size: 16px; margin-top: 30px;">Cofion cynnes,<br>TheyWorkForYou</p>

<p style="font-size: 16px; margin-top: 30px;">
mySociety,<br>
483 Green Lanes,<br>
London,<br>
N13 4BS,<br>
United Kingdom
</p>

<div class="list-box" style="background-color: #f7f6f5; padding: 20px; border-radius: 5px; margin-top: 30px;">
<p>Mae hysbysiadau TheyWorkForYou angen cariad a chefnogaeth.
Os gwelwch yn dda, ystyriwch rhodd i mySociety er mwyn
ein helpu ni barhau a thyfu:</p>

<div style="margin: 0;"><!--[if mso]>
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="https://www.mysociety.org/twfy-donate/" style="height:60px;v-text-anchor:middle;width:300px;" arcsize="10%" stroke="f" fillcolor="#0BA7D1">
<w:anchorlock/>
<center>
<![endif]-->
<a class="button" href="https://www.mysociety.org/twfy-donate/"
style="background-color:#4faded;border-radius:4px;color:#ffffff;display:inline-block;font-size:18px;font-weight:900;line-height:60px;text-align:center;text-decoration:none;padding: 0 20px;-webkit-text-size-adjust:none;">Donate</a>
<!--[if mso]>
</center>
</v:roundrect>
<![endif]--></div>
</div>

<hr style="height:2px;border-width:0; background-color: #f7f6f5; margin: 30px 0;">

</main>

<footer style="margin-top: 30px;">
<a href="https://www.mysociety.org">
<img src="images/mySociety-logo.png" alt="" width="151" height="auto">
</a>

<hr style="height:2px;border-width:0; background-color: #f7f6f5; margin: 30px 0;">

<p><a href="{MANAGE}">I dad-gofrestru, rheoli neu ychwanegu at eich hysbysiadau, os gwelwch yn dda cyrchwch y ddolen canlynol:
</a>.</p>

</footer>

</div>
<!--[if (gte mso 9)|(IE)]>
</td></tr></table>
<![endif]-->
</body>
</html>
31 changes: 31 additions & 0 deletions www/includes/easyparliament/templates/emails/cy/alert_mailout.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Subject: Eich hysbysiad TheyWorkForYou
{DATA}

Os nad yw clicio unrhyw rai o'r dolenni yn gweithio,
efallai y bydd yn rhaid i chi eu copïo ac yna eu cludo
i mewn i flwch 'Cyfeiriad' neu 'Lleoliad' eich porwr gwe,
ac yna pwyso 'Enter' neu 'Return' ar eich bysellfwrdd.

Cofion cynnes,
TheyWorkForYou

mySociety,
483 Green Lanes,
London,
N13 4BS

-------------------------------------------------------------------

Mae hysbysiadau TheyWorkForYou angen cariad a chefnogaeth.
Os gwelwch yn dda, ystyriwch rhodd i mySociety er mwyn
ein helpu ni barhau a thyfu:

https://www.mysociety.org/twfy-donate/

-------------------------------------------------------------------


I dad-gofrestru, rheoli neu ychwanegu at eich hysbysiadau,
os gwelwch yn dda cyrchwch y ddolen canlynol:

{MANAGE}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Subject: Cadarnhewch eich cyfeiriad e-bost ar gyfer eich cyfrif TheyWorkForYou.com os gwelwch yn dda

S'mae,
Cyn i ni newid eich cyfeiriad e-bost mae angen i chi ei gadarnhau
trwy glicio'r ddolen isod:


{CONFIRMURL}

Os nad yw clicio'r ddolen uchod yn gweithio, efallai y bydd yn rhaid i chi
ei gopïo ac yna ei gludo i mewn i flwch 'Cyfeiriad' neu 'Lleoliad' eich
porwr gwe, ac yna pwyso 'Enter' neu 'Return' ar eich bysellfwrdd.

Dymuniadau gorau,
TheyWorkForYou
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Subject: Cadarnhewch eich cyfrif TheyWorkForYou.com os gwelwch yn dda
S'mae,

Croeso i TheyWorkForYou.com, y wefan sy'n eich caniatau chi i ddilyn trefniadau'r
Senedd a chynulliadau datganoledig, darganfod pwy sy'n eich cynrychioli chi,
sut maen nhw wedi pleidleisio a'r hyn maen nhw wedi'i ddweud mewn dadleuon.

Cyn y gallwch fewngofnodi, mae angen i chi gadarnhau eich cofrestriad drwy glicio ar
Y ddolen isod:

{CONFIRMURL}

Os nad yw clicio'r ddolen uchod yn gweithio, efallai y bydd yn rhaid i chi
ei gopïo ac yna ei gludo i mewn i flwch 'Cyfeiriad' neu 'Lleoliad' eich
porwr gwe, ac yna pwyso 'Enter' neu 'Return' ar eich bysellfwrdd.

And don't forget to let your friends and family know about TheyWorkForYou.com

A pheidiwch anghofio sôn wrth eich ffrindiau a theulu am TheyWorkForYou.com

Dymuniadau gorau,
TheyWorkForYou
16 changes: 16 additions & 0 deletions www/includes/easyparliament/templates/emails/cy/new_password.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Subject: Cyfrinair TheyWorkForYou.com Newydd
S'mae,

Rydych chi wedi gofyn am gyfrinair newydd ar gyfer TheyWorkForYou.com.

Y cyfrynair newydd ar gyfer {EMAIL} yw:
{PASSWORD}

Gallwch fewngofnodi yma: {LOGINURL}

Os na wnaethoch ofyn am y cyfrinair newydd hwn, peidiwch â phoeni, ond
bydd yn rhaid i chi fewngofnodi gyda'r cyfrinair newydd yma.

Dymuniadau gorau,

- Gwirfoddolwyr TheyWorkForYou.com

0 comments on commit 4fed515

Please sign in to comment.