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), url: budget_investment_url(investment.budget, investment),
description: t("budgets.investments.share.message", description: t("budgets.investments.share.message",
title: investment.title, title: investment.title,
org: setting['org_name']), handle: setting['org_name']),
mobile: t("budgets.investments.share.message_mobile", mobile: t("budgets.investments.share.message",
title: investment.title, title: investment.title,
handle: setting['twitter_handle']) %> handle: setting['twitter_handle']) %>

View File

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

View File

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

View File

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

View File

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

View File

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