1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 16:31:13 +00:00

fix translation

This commit is contained in:
Michael An
2019-04-03 18:01:23 +08:00
parent 1b673b5cd5
commit 523435ca6c
5 changed files with 12 additions and 12 deletions

View File

@@ -83,8 +83,8 @@ class MarkdownViewerToolbar extends React.Component {
let relatedFileString = '';
if (relatedFiles) {
const length = relatedFiles.length;
if (length === 1) relatedFileString = gettext('Related file');
else if (length > 1) relatedFileString = gettext('Related files');
if (length === 1) relatedFileString = gettext('related file');
else if (length > 1) relatedFileString = gettext('related files');
}
return(
<div className="sf-md-viewer-topbar-second d-flex justify-content-center">