1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 07:01:12 +00:00

repair translate bug (#2892)

* repair translate bug

* escape repo-name

* repair translate bug

* repair shared-repo-list-item translate bug
This commit is contained in:
杨顺强
2019-01-28 16:32:32 +08:00
committed by Daniel Pan
parent 55da78826e
commit d702be3b2b
10 changed files with 51 additions and 32 deletions

View File

@@ -72,7 +72,7 @@ class WikiSelectDialog extends React.Component {
<tr key={index}>
<td className="text-center"><input type="radio" className="vam" name="repo" value={repo.repo_id} onChange={this.onChange.bind(this, repo)} /></td>
<td className="text-center"><img src={siteRoot + 'media/img/lib/48/lib.png'} width="24" alt={gettext('icon')} /></td>
<td>{gettext(repo.repo_name)}</td>
<td>{repo.repo_name}</td>
<td>{moment(repo.last_modified).fromNow()}</td>
</tr>
);