Skip to content
Extraits de code Groupes Projets
Valider eb7d6083 rédigé par Jonne Haß's avatar Jonne Haß
Parcourir les fichiers

Merge pull request #5232 from taro-k/develop5231

fix locale of invitation email subject #5231
parents 31613e77 93c6159c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -48,6 +48,7 @@ The default for including jQuery from a CDN has changed. If you want to continue
* Move submit button to the right in conversations view [#4960](https://github.com/diaspora/diaspora/pull/4960)
* Handle long URLs and titles in OpenGraph descriptions [#5208](https://github.com/diaspora/diaspora/pull/5208)
* Fix deformed getting started popover [#5227](https://github.com/diaspora/diaspora/pull/5227)
* Use correct locale for invitation subject [#5232](https://github.com/diaspora/diaspora/pull/5232)
## Features
* Don't pull jQuery from a CDN by default [#5105](https://github.com/diaspora/diaspora/pull/5105)
......
......@@ -13,6 +13,8 @@
padding: 0;
}
.avatar.large { margin-bottom: 0; }
ul#profile_information {
margin: 1em 0;
> li {
......
......@@ -43,11 +43,11 @@ class Notifier < ActionMailer::Base
@locale = locale
@invitation_code = invitation_code
mail_opts = {:to => email, :from => AppConfig.mail.sender_address,
I18n.with_locale(locale) do
mail_opts = {:to => email, :from => AppConfig.mail.sender_address,
:subject => I18n.t('notifier.invited_you', :name => @inviter.name),
:host => AppConfig.pod_uri.host}
I18n.with_locale(locale) do
mail(mail_opts) do |format|
format.text { render :layout => nil }
format.html { render :layout => nil }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter