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

The aria-label of the notification element should be localized strings. (#4152)

This commit is contained in:
huaiyinfeilong
2019-10-15 16:51:19 +08:00
committed by Daniel Pan
parent 15cd5fb891
commit 63c65c1615

View File

@@ -61,7 +61,7 @@ class Notification extends React.Component {
return (
<div id="notifications">
<a href="#" onClick={this.onClick} className="no-deco" id="notice-icon" title="Notifications" aria-label="Notifications">
<a href="#" onClick={this.onClick} className="no-deco" id="notice-icon" title="Notifications" aria-label={gettext('Notifications')}>
<span className="sf2-icon-bell"></span>
<span className={`num ${this.state.unseenCount ? '' : 'hide'}`}>{this.state.unseenCount}</span>
</a>