New texts and titles for followable buttons.
This commit is contained in:
committed by
Senén Rodero Rodríguez
parent
e54e33f296
commit
60e812c2e5
@@ -13,6 +13,11 @@ module FollowsHelper
|
|||||||
t('shared.follow_entity', entity: t("activerecord.models.#{entity}.one").downcase)
|
t('shared.follow_entity', entity: t("activerecord.models.#{entity}.one").downcase)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def follow_entity_title(followable)
|
||||||
|
entity = followable.class.name.gsub('::', '/').downcase
|
||||||
|
t('shared.follow_entity_title', entity: t("activerecord.models.#{entity}.one").downcase)
|
||||||
|
end
|
||||||
|
|
||||||
def unfollow_entity_text(followable)
|
def unfollow_entity_text(followable)
|
||||||
entity = followable.class.name.gsub('::', '/').downcase
|
entity = followable.class.name.gsub('::', '/').downcase
|
||||||
t('shared.unfollow_entity', entity: t("activerecord.models.#{entity}.one").downcase)
|
t('shared.unfollow_entity', entity: t("activerecord.models.#{entity}.one").downcase)
|
||||||
|
|||||||
@@ -504,6 +504,7 @@ en:
|
|||||||
flag: Flag as inappropriate
|
flag: Flag as inappropriate
|
||||||
follow: "Follow"
|
follow: "Follow"
|
||||||
follow_entity: "Follow %{entity}"
|
follow_entity: "Follow %{entity}"
|
||||||
|
follow_entity_title: "Follow %{entity}: You can participate and receive notifications of any related events."
|
||||||
hide: Hide
|
hide: Hide
|
||||||
print:
|
print:
|
||||||
print_button: Print this info
|
print_button: Print this info
|
||||||
|
|||||||
@@ -503,7 +503,8 @@ es:
|
|||||||
collective: Colectivo
|
collective: Colectivo
|
||||||
flag: Denunciar como inapropiado
|
flag: Denunciar como inapropiado
|
||||||
follow: "Seguir"
|
follow: "Seguir"
|
||||||
follow_entity: "Seguir %{entity}: Podrás participar y recibir notificaciones de cualquier suceso relacionado."
|
follow_entity: "Seguir %{entity}"
|
||||||
|
follow_entity_title: "Seguir %{entity}: Podrás participar y recibir notificaciones de cualquier suceso relacionado."
|
||||||
hide: Ocultar
|
hide: Ocultar
|
||||||
print:
|
print:
|
||||||
print_button: Imprimir esta información
|
print_button: Imprimir esta información
|
||||||
|
|||||||
Reference in New Issue
Block a user