Skip to content

Commit f95e268

Browse files
committed
Update email confirmation subjects for multiple languages
1 parent b986b30 commit f95e268

1 file changed

Lines changed: 23 additions & 23 deletions

File tree

app/mailers/user_mailer.rb

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,29 @@ def email_confirmation(user, origin = nil, language = nil)
99
token = user.verification_tokens.email.create!
1010
@url = confirm_email_url(@user.id, token.token, language: language)
1111
subject = 'Confirm your mooc.fi account email address' if language == 'en' || language == 'en-lu' || language == 'en-ie'
12-
subject = 'Varmista mooc.fi tunnuksesi sähköpostiosoite' if language == 'fi'
13-
subject = 'Bekräfta e-postadressen till ditt mooc.fi-konto' if language == 'se'
14-
subject = 'Bestätige deine E-Mail-Adresse, um mit dem Kurs zu beginnen' if language == 'de' || language == 'de-at'
15-
subject = 'Palun kinnita oma e-posti aadress' if language == 'ee'
16-
subject = 'Bekreft email adressen din' if language == 'no'
17-
subject = 'Apstipriniet savu e-pasta adresi, lai sāktu darbu ar AI' if language == 'lv'
18-
subject = 'Confirmez votre adresse électronique pour commencer le cours «Elements of AI».' if language == 'fr' || language == 'fr-be'
19-
subject = 'Hagyd jóvá az email-címed az Elements of AI/Az MI alapjai -kurzus megkezdéséhez' if language == 'hu'
20-
subject = 'Potvrdenie e-mailovej adresy pred začiatkom kurzu Elements of AI' if language == 'sk'
21-
subject = 'Confirmați adresa dumneavoastră de e-mail pentru a începe cursul „Elements of AI”.' if language == 'ro'
22-
subject = 'Ikkonferma l-indirizz elettroniku tiegħek għall-kors Elements of AI' if language == 'mt'
23-
subject = 'Aby rozpocząć kurs „Elements of AI” potwierdź Twój adres e-mail.' if language == 'pl'
24-
subject = 'Confirme o seu endereço eletrónico para iniciar o curso «Elements of AI»' if language == 'pt'
25-
subject = 'Confirma tu dirección de correo electrónico para empezar a trabajar con Elements of AI' if language == 'es'
26-
subject = 'Deimhnigh do sheoladh ríomhphoist chun tús a chur leis an gcúrsa Elements of AI' if language == 'ga'
27-
subject = 'Bevestig je e-mailadres om te beginnen aan Elements of AI' if language == 'nl' || language == 'nl-be'
28-
subject = 'Da biste započeli s tečajem Elements of AI, potvrdite svoju e-adresu.' if language == 'hr'
29-
subject = 'Potrdite svoj e-naslov za začetek tečaja Elements of AI.' if language == 'sl'
30-
subject = 'Jei norite pradėti kursą „Elements of AI“, patvirtinkite savo e. pašto adresą.' if language == 'lt'
31-
subject = 'Επιβεβαιώστε την ηλεκτρονική σας διεύθυνση για να ξεκινήσετε τον κύκλο μαθημάτων «Elements of AI».' if language == 'el'
32-
subject = 'Потвърдете своя имейл, за да започнете курса „Elements of AI“.' if language == 'bg'
33-
subject = 'Conferma il tuo indirizzo e-mail per cominciare il corso Elements of AI' if language == 'it'
34-
subject = 'Abyste mohl/a začít s kurzem, potvrďte prosím svou e-mailovou adresu.' if language == 'cs'
12+
subject = 'Vahvista mooc.fi-tilisi sähköpostiosoite' if language == 'fi'
13+
subject = 'Bekräfta e-postadressen för ditt mooc.fi-konto' if language == 'se'
14+
subject = 'Bestätige die E-Mail-Adresse deines mooc.fi-Kontos' if language == 'de' || language == 'de-at'
15+
subject = 'Kinnita oma mooc.fi konto e-posti aadress' if language == 'ee'
16+
subject = 'Bekreft e-postadressen til mooc.fi-kontoen din' if language == 'no'
17+
subject = 'Apstipriniet savu mooc.fi konta e-pasta adresi' if language == 'lv'
18+
subject = 'Confirmez l’adresse électronique de votre compte mooc.fi' if language == 'fr' || language == 'fr-be'
19+
subject = 'Erősítsd meg a mooc.fi fiókod email-címét' if language == 'hu'
20+
subject = 'Potvrďte e-mailovú adresu svojho mooc.fi účtu' if language == 'sk'
21+
subject = 'Confirmați adresa de e-mail a contului dumneavoastră mooc.fi' if language == 'ro'
22+
subject = 'Ikkonferma l-indirizz elettroniku tal-kont mooc.fi tiegħek' if language == 'mt'
23+
subject = 'Potwierdź adres e-mail swojego konta mooc.fi' if language == 'pl'
24+
subject = 'Confirme o endereço eletrónico da sua conta mooc.fi' if language == 'pt'
25+
subject = 'Confirma el correo electrónico de tu cuenta mooc.fi' if language == 'es'
26+
subject = 'Deimhnigh do sheoladh ríomhphoist do chuntas mooc.fi' if language == 'ga'
27+
subject = 'Bevestig het e-mailadres van je mooc.fi-account' if language == 'nl' || language == 'nl-be'
28+
subject = 'Potvrdite e-adresu svog mooc.fi računa' if language == 'hr'
29+
subject = 'Potrdite e-naslov svojega mooc.fi računa' if language == 'sl'
30+
subject = 'Patvirtinkite savo mooc.fi paskyros el. pašto adresą' if language == 'lt'
31+
subject = 'Επιβεβαιώστε τη διεύθυνση email του λογαριασμού σας mooc.fi' if language == 'el'
32+
subject = 'Потвърдете имейл адреса на вашия mooc.fi акаунт' if language == 'bg'
33+
subject = 'Conferma l’indirizzo email del tuo account mooc.fi' if language == 'it'
34+
subject = 'Potvrďte e-mailovou adresu svého mooc.fi účtu' if language == 'cs'
3535
subject = "#{origin}: #{subject}" if origin && !origin.start_with?('courses_moocfi')
3636
if origin
3737
origin_name = origin.downcase.tr(' ', '_').gsub(/[.\/]/, '')

0 commit comments

Comments
 (0)