使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
abunchtell
/
mastodon
关注
1
点赞
0
派生
0
代码
工单
0
动态
浏览代码
Make salutation of email localizable (
#4454
)
master
unarist
6 年前
committed by
Eugen Rochko
父节点
e44f03bc71
当前提交
155ba8fd3a
共有
8 个文件被更改
,包括
8 次插入
和
7 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+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
查看文件
@@ -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
查看文件
@@ -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
查看文件
@@ -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
查看文件
@@ -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
查看文件
@@ -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
查看文件
@@ -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
查看文件
@@ -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
查看文件
@@ -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:'
撰写
预览
正在加载...
取消
保存