mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 20:22:45 +08:00
Add I18n support for "The topic has been deleted" message
This commit is contained in:
parent
841bf3f064
commit
dc7b690921
|
@ -211,7 +211,7 @@ Discourse.TopicController = Discourse.ObjectController.extend({
|
|||
var _this = this;
|
||||
this.unsubscribe();
|
||||
this.get('content')["delete"](function() {
|
||||
_this.set('message', "The topic has been deleted");
|
||||
_this.set('message', Em.String.i18n('topic.deleted'));
|
||||
_this.set('loaded', false);
|
||||
});
|
||||
},
|
||||
|
|
|
@ -416,6 +416,7 @@ en:
|
|||
read_position_reset: "Your read position has been reset."
|
||||
jump_reply_up: jump to earlier reply
|
||||
jump_reply_down: jump to later reply
|
||||
deleted: "The topic has been deleted"
|
||||
|
||||
progress:
|
||||
title: topic progress
|
||||
|
|
|
@ -422,6 +422,7 @@ zh_CN:
|
|||
read_position_reset: "你的阅读位置已经被重置。"
|
||||
jump_reply_up: 跳转至更早的回复
|
||||
jump_reply_down: 跳转至更晚的回复
|
||||
deleted: "此主题已被删除"
|
||||
|
||||
progress:
|
||||
title: 主题进度
|
||||
|
|
|
@ -422,6 +422,7 @@ zh_TW:
|
|||
read_position_reset: "你的閱讀位置已經被重置。"
|
||||
jump_reply_up: 跳轉至更早的回複
|
||||
jump_reply_down: 跳轉至更晚的回複
|
||||
deleted: "此主題已被刪除"
|
||||
|
||||
progress:
|
||||
title: 主題進度
|
||||
|
|
Loading…
Reference in New Issue
Block a user