Skip to content

Commit a704e4b

Browse files
authored
Fix toolip on mobile notification bell (#20270)
Unfortunately there is a bug in #20108 where the translation call was not updated to use `.locale` from `.i18n`. This PR updates the template to use `.locale`. Signed-off-by: Andrew Thornton <[email protected]>
1 parent 354bfbe commit a704e4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: templates/base/head_navbar.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<img class="ui mini image" width="30" height="30" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{.locale.Tr "logo"}}" aria-hidden="true">
99
</a>
1010
{{if .IsSigned}}
11-
<a href="{{AppSubUrl}}/notifications" class="tooltip mobile-only" data-content='{{.i18n.Tr "notifications"}}'>
11+
<a href="{{AppSubUrl}}/notifications" class="tooltip mobile-only" data-content='{{.locale.Tr "notifications"}}'>
1212
<span class="text black">
1313
<span class="fitted">{{svg "octicon-bell"}}</span>
1414
<span class="ui red label mini{{if not $notificationUnreadCount}} hidden{{end}} notification_count">

0 commit comments

Comments
 (0)