Skip to content

Commit 2a28caf

Browse files
committed
highlight fixed with no html in translations
1 parent 9e789d9 commit 2a28caf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

options/locale/locale_en-US.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ authorize_application = Authorize Application
458458
authorize_redirect_notice = You will be redirected to %s if you authorize this application.
459459
authorize_application_created_by = This application was created by %s.
460460
authorize_application_description = If you grant the access, it will be able to access and write to all your account information, including private repos and organisations.
461-
authorize_application_with_scopes = With scopes: <b>%s</b>
461+
authorize_application_with_scopes = With scopes: %s
462462
authorize_title = Authorize "%s" to access your account?
463463
authorization_failed = Authorization failed
464464
authorization_failed_desc = The authorization failed because we detected an invalid request. Please contact the maintainer of the app you have tried to authorize.

templates/user/auth/grant.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<b>{{ctx.Locale.Tr "auth.authorize_application_description"}}</b><br>
1313
{{end}}
1414
{{ctx.Locale.Tr "auth.authorize_application_created_by" .ApplicationCreatorLinkHTML}}<br>
15-
{{ctx.Locale.Tr "auth.authorize_application_with_scopes" .Scope}}
15+
{{ctx.Locale.Tr "auth.authorize_application_with_scopes" (HTMLFormat "<b>%s</b>" .Scope)}}
1616
</p>
1717
</div>
1818
<div class="ui attached segment">

0 commit comments

Comments
 (0)