diff --git a/frontend/src/components/markdown-viewer.js b/frontend/src/components/markdown-viewer.js index 93e2f767e9..22d116d452 100644 --- a/frontend/src/components/markdown-viewer.js +++ b/frontend/src/components/markdown-viewer.js @@ -6,6 +6,8 @@ import WikiOutline from './wiki-outline'; var URL = require('url-parse'); +const gettext = window.gettext; + require('@seafile/seafile-editor/src/lib/code-hight-package'); const contentClass = "wiki-md-viewer-rendered-content"; @@ -181,7 +183,7 @@ class MarkdownViewer extends React.Component { renderingContent={this.state.renderingContent} html={this.state.html} onLinkClick={this.props.onLinkClick} /> -

Last modified by {this.props.latestContributor}, {this.props.lastModified}

+

{gettext("Last modified by")} {this.props.latestContributor}, {this.props.lastModified}