Refactor social share messages

This commit is contained in:
decabeza
2019-02-11 15:41:35 +01:00
parent 25bf7bf37d
commit b4ecd07f1f
6 changed files with 8 additions and 12 deletions

View File

@@ -194,8 +194,8 @@
url: budget_investment_url(investment.budget, investment),
description: t("budgets.investments.share.message",
title: investment.title,
org: setting['org_name']),
mobile: t("budgets.investments.share.message_mobile",
handle: setting['org_name']),
mobile: t("budgets.investments.share.message",
title: investment.title,
handle: setting['twitter_handle']) %>

View File

@@ -4,7 +4,7 @@
url: proposal_url(proposal),
description: t("proposals.share.message",
summary: proposal.summary,
org: setting['org_name']),
mobile: t("proposals.share.message_mobile",
handle: setting['org_name']),
mobile: t("proposals.share.message",
summary: proposal.summary,
handle: setting['twitter_handle']) %>

View File

@@ -106,8 +106,7 @@ en:
confidence_score: highest rated
price: by price
share:
message: "I created the investment project %{title} in %{org}. Create an investment project you too!"
message_mobile: "I created the investment project %{title} in %{handle}. Create an investment project you too!"
message: "I created the investment project %{title} in %{handle}. Create an investment project too!"
show:
author_deleted: User deleted
price_explanation: Price explanation

View File

@@ -452,8 +452,7 @@ en:
form:
submit_button: Save changes
share:
message: "I supported the proposal %{summary} in %{org}. If you're interested, support it too!"
message_mobile: "I supported the proposal %{summary} in %{handle}. If you're interested, support it too!"
message: "I supported the proposal %{summary} in %{handle}. If you're interested, support it too!"
polls:
all: "All"
no_dates: "no date assigned"

View File

@@ -106,8 +106,7 @@ es:
confidence_score: Mejor valorados
price: Por coste
share:
message: "He presentado el proyecto %{title} en %{org}. ¡Presenta un proyecto tú también!"
message_mobile: "He presentado el proyecto %{title} en %{handle}. ¡Presenta un proyecto tú también!"
message: "He presentado el proyecto %{title} en %{handle}. ¡Presenta un proyecto tú también!"
show:
author_deleted: Usuario eliminado
price_explanation: Informe de coste

View File

@@ -452,8 +452,7 @@ es:
form:
submit_button: Guardar cambios
share:
message: "He apoyado la propuesta %{summary} en %{org}. Si te interesa, ¡apoya tú también!"
message_mobile: "He apoyado la propuesta %{summary} en %{handle}. Si te interesa, ¡apoya tú también!"
message: "He apoyado la propuesta %{summary} en %{handle}. Si te interesa, ¡apoya tú también!"
polls:
all: "Todas"
no_dates: "sin fecha asignada"