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:
committed by
Daniel Pan
parent
15cd5fb891
commit
63c65c1615
@@ -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>
|
||||
|
Reference in New Issue
Block a user