Add followable specific notices to follows controller actions and render notice on AJAX JS response.
This commit is contained in:
@@ -504,7 +504,17 @@ en:
|
||||
flag: Flag as inappropriate
|
||||
follow: "Follow"
|
||||
follow_entity: "Follow %{entity}"
|
||||
followable_title: "Follow %{entity}: You can participate and receive notifications of any related events."
|
||||
followable:
|
||||
budget_investment:
|
||||
create:
|
||||
notice_html: "You are now following this investment project! </br> We will notify you of changes as they occur so that you are up-to-date."
|
||||
destroy:
|
||||
notice_html: "You have stopped following this investment project! </br> You will no longer receive notifications related to this project."
|
||||
proposal:
|
||||
create:
|
||||
notice_html: "Now you are following this citizen proposal! </br> We will notify you of changes as they occur so that you are up-to-date."
|
||||
destroy:
|
||||
notice_html: "You have stopped following this citizen proposal! </br> You will no longer receive notifications related to this proposal."
|
||||
hide: Hide
|
||||
print:
|
||||
print_button: Print this info
|
||||
|
||||
@@ -504,7 +504,17 @@ es:
|
||||
flag: Denunciar como inapropiado
|
||||
follow: "Seguir"
|
||||
follow_entity: "Seguir %{entity}"
|
||||
followable_title: "Seguir %{entity}: Podrás participar y recibir notificaciones de cualquier suceso relacionado."
|
||||
followable:
|
||||
budget_investment:
|
||||
create:
|
||||
notice_html: "¡Ahora estás siguiendo este proyecto de inversión! </br> Te notificaremos los cambios a medida que se produzcan para que estés al día."
|
||||
destroy:
|
||||
notice_html: "¡Has dejado de seguir este proyecto de inverisión! </br> Ya no recibirás más notificaciones relacionadas con este proyecto."
|
||||
proposal:
|
||||
create:
|
||||
notice_html: "¡Ahora estás siguiendo esta propuesta ciudadana! </br> Te notificaremos los cambios a medida que se produzcan para que estés al día."
|
||||
destroy:
|
||||
notice_html: "¡Has dejado de seguir esta propuesta ciudadana! </br> Ya no recibirás más notificaciones relacionadas con esta propuesta."
|
||||
hide: Ocultar
|
||||
print:
|
||||
print_button: Imprimir esta información
|
||||
|
||||
Reference in New Issue
Block a user