|
|
@@ -39,10 +39,11 @@ class PageStatusAlert extends React.Component {
|
|
|
}
|
|
|
|
|
|
renderSomeoneEditingAlert() {
|
|
|
+ const { t } = this.props;
|
|
|
return (
|
|
|
<div className="alert-hackmd-someone-editing myadmin-alert alert-success myadmin-alert-bottom alertbottom2">
|
|
|
<i className="icon-fw icon-people"></i>
|
|
|
- Someone editing this page on HackMD
|
|
|
+ {t('hackmd.someone_editing')}
|
|
|
|
|
|
<i className="fa fa-angle-double-right"></i>
|
|
|
|
|
|
@@ -54,10 +55,11 @@ class PageStatusAlert extends React.Component {
|
|
|
}
|
|
|
|
|
|
renderDraftExistsAlert(isRealtime) {
|
|
|
+ const { t } = this.props;
|
|
|
return (
|
|
|
<div className="alert-hackmd-draft-exists myadmin-alert alert-success myadmin-alert-bottom alertbottom2">
|
|
|
<i className="icon-fw icon-pencil"></i>
|
|
|
- This page has a draft on HackMD
|
|
|
+ {t('hackmd.this_page_has_draft')}
|
|
|
|
|
|
<i className="fa fa-angle-double-right"></i>
|
|
|
|