Skip to content

Commit 6e495d2

Browse files
committed
Translate "sign in with other services"
1 parent 010f34e commit 6e495d2

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

app/views/sessions/new.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
</div>
3131
<div class="col-md-3">
3232
<div class="panel panel-default">
33-
<div class="panel-heading">用其他平台的帐号登录</div>
33+
<div class="panel-heading"><%= t("common.auth_with_other_services") %></div>
3434
<ul class="list-group">
3535
<li class="list-group-item"><%= link_to raw("<i class='fa fa-github'></i> GitHub"), user_omniauth_authorize_path(:github), class: "btn btn-default" %> </li>
3636
</ul>
3737
</div>
3838
</div>
39-
</div>
39+
</div>

config/locales/menu.en.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
at: "on"
6161
hot_topics: "Hot topics"
6262
has_deleted: "has deleted"
63+
auth_with_other_services: "Sign in with other services"
6364
reply:
6465
edit_reply: "Edit Reply"
6566
delete_reply_success: 'Delete successfully.'

config/locales/menu.zh-CN.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
replies_count: "回复"
6666
likes_count:
6767
has_deleted: 已删除
68+
auth_with_other_services: "用其他平台的帐号登录"
6869
reply:
6970
edit_reply: "修改回帖"
7071
delete_reply_success: '回帖删除成功.'

config/locales/menu.zh-TW.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
replies_count: "回覆"
6666
likes_count:
6767
has_deleted: 已刪除
68+
auth_with_other_services: "用其它服務登入"
6869
reply:
6970
edit_reply: "修改回帖"
7071
delete_reply_success: '回帖刪除成功.'

0 commit comments

Comments
 (0)