Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
abunchtell
/
mastodon
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Activité
Parcourir la source
Make salutation of email localizable (
#4454
)
master
unarist
il y a 6 ans
committed by
Eugen Rochko
Parent
e44f03bc71
révision
155ba8fd3a
8 fichiers modifiés
avec
8 ajouts
et
7 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+1
-1
app/views/admin_mailer/new_report.text.erb
+1
-1
app/views/notification_mailer/digest.text.erb
+1
-1
app/views/notification_mailer/favourite.text.erb
+1
-1
app/views/notification_mailer/follow.text.erb
+1
-1
app/views/notification_mailer/follow_request.text.erb
+1
-1
app/views/notification_mailer/mention.text.erb
+1
-1
app/views/notification_mailer/reblog.text.erb
+1
-0
config/locales/en.yml
+ 1
- 1
app/views/admin_mailer/new_report.text.erb
Voir le fichier
@@ -1,4 +1,4 @@
<%= display_name(@me) %>
,
<%=
raw t('application_mailer.salutation', name:
display_name(@me)
)
%>
<%= raw t('admin_mailer.new_report.body', target: @report.target_account.acct, reporter: @report.account.acct) %>
+ 1
- 1
app/views/notification_mailer/digest.text.erb
Voir le fichier
@@ -1,4 +1,4 @@
<%= display_name(@me) %>
,
<%=
raw t('application_mailer.salutation', name:
display_name(@me)
)
%>
<%= raw t('notification_mailer.digest.body', since: l(@since), instance: root_url) %>
<% @notifications.each do |notification| %>
+ 1
- 1
app/views/notification_mailer/favourite.text.erb
Voir le fichier
@@ -1,4 +1,4 @@
<%= display_name(@me) %>
,
<%=
raw t('application_mailer.salutation', name:
display_name(@me)
)
%>
<%= raw t('notification_mailer.favourite.body', name: @account.acct) %>
+ 1
- 1
app/views/notification_mailer/follow.text.erb
Voir le fichier
@@ -1,4 +1,4 @@
<%= display_name(@me) %>
,
<%=
raw t('application_mailer.salutation', name:
display_name(@me)
)
%>
<%= raw t('notification_mailer.follow.body', name: @account.acct) %>
+ 1
- 1
app/views/notification_mailer/follow_request.text.erb
Voir le fichier
@@ -1,4 +1,4 @@
<%= display_name(@me) %>
,
<%=
raw t('application_mailer.salutation', name:
display_name(@me)
)
%>
<%= raw t('notification_mailer.follow_request.body', name: @account.acct) %>
+ 1
- 1
app/views/notification_mailer/mention.text.erb
Voir le fichier
@@ -1,4 +1,4 @@
<%= display_name(@me) %>
,
<%=
raw t('application_mailer.salutation', name:
display_name(@me)
)
%>
<%= raw t('notification_mailer.mention.body', name: @status.account.acct) %>
+ 1
- 1
app/views/notification_mailer/reblog.text.erb
Voir le fichier
@@ -1,4 +1,4 @@
<%= display_name(@me) %>
,
<%=
raw t('application_mailer.salutation', name:
display_name(@me)
)
%>
<%= raw t('notification_mailer.reblog.body', name: @account.acct) %>
+ 1
- 0
config/locales/en.yml
Voir le fichier
@@ -215,6 +215,7 @@ en:
body: "%{reporter} has reported %{target}"
subject: New report for %{instance} (#%{id})
application_mailer:
salutation: '%{name},'
settings: 'Change e-mail preferences: %{link}'
signature: Mastodon notifications from %{instance}
view: 'View:'
Écrire
Aperçu
Chargement…
Annuler
Enregistrer