mirror of https://gitee.com/answerdev/answer.git
fix: revert unnecessary translation
This commit is contained in:
parent
b58bce8309
commit
1b52d2d737
|
@ -59,7 +59,7 @@ const ActionBar = ({
|
|||
index > 0 && 'ms-3',
|
||||
)}
|
||||
onClick={() => onAction(action)}>
|
||||
{t(`btn_${action.action}`)}
|
||||
{action.name}
|
||||
</Button>
|
||||
);
|
||||
})}
|
||||
|
@ -81,7 +81,7 @@ const ActionBar = ({
|
|||
variant="link"
|
||||
size="sm"
|
||||
onClick={() => onAction(action)}>
|
||||
{t(`btn_${action.action}`)}
|
||||
{action.name}
|
||||
</Dropdown.Item>
|
||||
);
|
||||
})}
|
||||
|
|
|
@ -125,7 +125,7 @@ const Index: FC<IProps> = ({
|
|||
to={editUrl}
|
||||
className="link-secondary p-0 fs-14 me-3"
|
||||
style={{ lineHeight: '23px' }}>
|
||||
{t(`btn_${item.action}`)}
|
||||
{item.name}
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
|
@ -135,7 +135,7 @@ const Index: FC<IProps> = ({
|
|||
variant="link"
|
||||
className="link-secondary p-0 fs-14 me-3"
|
||||
onClick={() => handleAction(item.action)}>
|
||||
{t(`btn_${item.action}`)}
|
||||
{item.name}
|
||||
</Button>
|
||||
);
|
||||
})}
|
||||
|
|
|
@ -297,7 +297,7 @@
|
|||
"btn_reply": "Reply",
|
||||
"btn_edit": "Edit",
|
||||
"btn_delete": "Delete",
|
||||
"btn_report": "Flag",
|
||||
"btn_flag": "Flag",
|
||||
"btn_save_edits": "Save edits",
|
||||
"btn_cancel": "Cancel",
|
||||
"show_more": "Show more comment",
|
||||
|
@ -595,10 +595,6 @@
|
|||
},
|
||||
"delete": {
|
||||
"title": "Delete this post",
|
||||
"btn_edit": "Edit",
|
||||
"btn_close": "Close",
|
||||
"btn_delete": "Delete",
|
||||
"btn_report": "Flag",
|
||||
"question": "We do not recommend <strong>deleting questions with answers</strong> because doing so deprives future readers of this knowledge.</p><p>Repeated deletion of answered questions can result in your account being blocked from asking. Are you sure you wish to delete?",
|
||||
"answer_accepted": "<p>We do not recommend <strong>deleting accepted answer</strong> because doing so deprives future readers of this knowledge. </p> Repeated deletion of accepted answers can result in your account being blocked from answering. Are you sure you wish to delete?",
|
||||
"other": "Are you sure you wish to delete?",
|
||||
|
|
|
@ -297,7 +297,7 @@
|
|||
"btn_reply": "回复",
|
||||
"btn_edit": "编辑",
|
||||
"btn_delete": "删除",
|
||||
"btn_report": "举报",
|
||||
"btn_flag": "举报",
|
||||
"btn_save_edits": "保存",
|
||||
"btn_cancel": "取消",
|
||||
"show_more": "显示更多评论",
|
||||
|
@ -595,10 +595,6 @@
|
|||
},
|
||||
"delete": {
|
||||
"title": "删除",
|
||||
"btn_edit": "编辑",
|
||||
"btn_close": "关闭",
|
||||
"btn_delete": "删除",
|
||||
"btn_report": "举报",
|
||||
"question": "我们不建议<strong>删除有回答的帖子</strong>。因为这样做会使得后来的读者无法从该问题中获得帮助。</p><p>如果删除过多有回答的帖子,你的账号将会被禁止提问。你确定要删除吗?",
|
||||
"answer_accepted": "<p>我们不建议<strong>删除被采纳的回答</strong>。因为这样做会使得后来的读者无法从该回答中获得帮助。</p>如果删除过多被采纳的回答,你的账号将会被禁止回答任何提问。你确定要删除吗?",
|
||||
"other": "你确定要删除?",
|
||||
|
|
Loading…
Reference in New Issue