Skip to content

Commit

Permalink
Add lang attribute on preview card title (mastodon#31303)
Browse files Browse the repository at this point in the history
  • Loading branch information
c960657 authored Aug 9, 2024
1 parent 994ef16 commit e29c401
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/admin/trends/links/_preview_card.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

.batch-table__row__content.pending-account
.pending-account__header
= link_to preview_card.title, url_for_preview_card(preview_card)
= link_to preview_card.title, url_for_preview_card(preview_card), lang: preview_card.language

%br/

- if preview_card.provider_name.present?
= preview_card.provider_name
%span{ lang: preview_card.language }= preview_card.provider_name
·

- if preview_card.language.present?
Expand Down

0 comments on commit e29c401

Please sign in to comment.