Skip to content

Commit 9359464

Browse files
committed
fix: Update notification titles to include conversation context in English and Spanish translations
1 parent 9e43d2e commit 9359464

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/views/better_together/new_message_notifier/notifications/_notification.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- app/views/better_together/new_message_notifier/_notification.html.erb -->
2-
<%= render layout: 'better_together/notifications/notification', locals: { notification: notification, notification_title: t('better_together.new_message_notifier.new_message', conversation_title: notification.conversation.title), notification_url: notification.url } do %>
2+
<%= render layout: 'better_together/notifications/notification', locals: { notification: notification, notification_title: t('better_together.new_message_notifier.new_message'), notification_url: notification.url } do %>
33
<p class="mb-1 message-content">
44
<strong><%= policy(notification.sender).show? ? link_to(notification.sender, notification.sender, class: 'text-decoration-none') : notification.sender %></strong><br>
55
<%= notification.message.content.to_plain_text.truncate(50) %>

config/locales/es.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,7 @@ es:
15421542
accepted: debe ser aceptado
15431543
already_confirmed: ya ha sido confirmado, por favor intenta iniciar sesión
15441544
blank: no puede estar en blanco
1545-
confirmation: no coincide
1545+
confirmation: no coincide con %{attribute}
15461546
confirmation_period_expired: necesita confirmarse dentro de %{period}, por favor
15471547
solicita una nueva
15481548
empty: no puede estar vacío

0 commit comments

Comments
 (0)