Merge pull request #3191 from consul/ui-i18n-details
Fix i18n and UI minor details
This commit is contained in:
@@ -980,7 +980,7 @@ footer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.locale-switcher {
|
.locale-switcher {
|
||||||
background: #1a1a1a;
|
background: #001d33;
|
||||||
border: 0;
|
border: 0;
|
||||||
border-radius: rem-calc(4);
|
border-radius: rem-calc(4);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|||||||
@@ -19,10 +19,10 @@
|
|||||||
</td>
|
</td>
|
||||||
<td class="small-6">
|
<td class="small-6">
|
||||||
<%= form_for(setting, url: admin_setting_path(setting), html: { id: "edit_#{dom_id(setting)}"}) do |f| %>
|
<%= form_for(setting, url: admin_setting_path(setting), html: { id: "edit_#{dom_id(setting)}"}) do |f| %>
|
||||||
<div class="small-12 medium-6 large-9 column">
|
<div class="small-12 medium-6 large-8 column">
|
||||||
<%= f.text_area :value, label: false, id: dom_id(setting), lines: 1 %>
|
<%= f.text_area :value, label: false, id: dom_id(setting), lines: 1 %>
|
||||||
</div>
|
</div>
|
||||||
<div class="small-12 medium-6 large-3 column">
|
<div class="small-12 medium-6 large-4 column">
|
||||||
<%= f.submit(t('admin.settings.index.update_setting'), class: "button hollow expanded") %>
|
<%= f.submit(t('admin.settings.index.update_setting'), class: "button hollow expanded") %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -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']) %>
|
||||||
|
|
||||||
|
|||||||
@@ -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']) %>
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ en:
|
|||||||
table_edit_budget: Edit
|
table_edit_budget: Edit
|
||||||
edit_groups: Edit headings groups
|
edit_groups: Edit headings groups
|
||||||
edit_budget: Edit budget
|
edit_budget: Edit budget
|
||||||
no_budgets: "There are no open budgets."
|
no_budgets: "There are no budgets."
|
||||||
create:
|
create:
|
||||||
notice: New participatory budget created successfully!
|
notice: New participatory budget created successfully!
|
||||||
update:
|
update:
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -147,7 +146,7 @@ en:
|
|||||||
different_heading_assigned_html: "You have active votes in another heading: %{heading_link}"
|
different_heading_assigned_html: "You have active votes in another heading: %{heading_link}"
|
||||||
change_ballot: "If your change your mind you can remove your votes in %{check_ballot} and start again."
|
change_ballot: "If your change your mind you can remove your votes in %{check_ballot} and start again."
|
||||||
check_ballot_link: "check my ballot"
|
check_ballot_link: "check my ballot"
|
||||||
price: "This heading have a budget of"
|
price: "This heading has a budget of"
|
||||||
progress_bar:
|
progress_bar:
|
||||||
assigned: "You have assigned: "
|
assigned: "You have assigned: "
|
||||||
available: "Available budget: "
|
available: "Available budget: "
|
||||||
|
|||||||
@@ -445,8 +445,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"
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ en:
|
|||||||
official_level_5_name_description: "Tag that will appear on users marked as Level 5 official position"
|
official_level_5_name_description: "Tag that will appear on users marked as Level 5 official position"
|
||||||
max_ratio_anon_votes_on_debates: "Maximum ratio of anonymous votes per Debate"
|
max_ratio_anon_votes_on_debates: "Maximum ratio of anonymous votes per Debate"
|
||||||
max_ratio_anon_votes_on_debates_description: "Anonymous votes are by registered users with an unverified account"
|
max_ratio_anon_votes_on_debates_description: "Anonymous votes are by registered users with an unverified account"
|
||||||
max_votes_for_proposal_edit: "Number of votes from which a Proposal can no longer be edited"
|
max_votes_for_proposal_edit: "Number of supports from which a Proposal can no longer be edited"
|
||||||
max_votes_for_proposal_edit_description: "From this number of supports the author of a Proposal can no longer edit it"
|
max_votes_for_proposal_edit_description: "From this number of supports the author of a Proposal can no longer edit it"
|
||||||
max_votes_for_debate_edit: "Number of votes from which a Debate can no longer be edited"
|
max_votes_for_debate_edit: "Number of votes from which a Debate can no longer be edited"
|
||||||
max_votes_for_debate_edit_description: "From this number of votes the author of a Debate can no longer edit it"
|
max_votes_for_debate_edit_description: "From this number of votes the author of a Debate can no longer edit it"
|
||||||
@@ -22,7 +22,7 @@ en:
|
|||||||
proposal_code_prefix_description: "This prefix will appear in the Proposals before the creation date and its ID"
|
proposal_code_prefix_description: "This prefix will appear in the Proposals before the creation date and its ID"
|
||||||
featured_proposals_number: "Number of featured proposals"
|
featured_proposals_number: "Number of featured proposals"
|
||||||
featured_proposals_number_description: "Number of featured proposals that will be displayed if the Featured proposals feature is active"
|
featured_proposals_number_description: "Number of featured proposals that will be displayed if the Featured proposals feature is active"
|
||||||
votes_for_proposal_success: "Number of votes necessary for approval of a Proposal"
|
votes_for_proposal_success: "Number of supports necessary for approval of a Proposal"
|
||||||
votes_for_proposal_success_description: "When a proposal reaches this number of supports it will no longer be able to receive more supports and is considered successful"
|
votes_for_proposal_success_description: "When a proposal reaches this number of supports it will no longer be able to receive more supports and is considered successful"
|
||||||
months_to_archive_proposals: "Months to archive Proposals"
|
months_to_archive_proposals: "Months to archive Proposals"
|
||||||
months_to_archive_proposals_description: "After this number of months the Proposals will be archived and will no longer be able to receive supports"
|
months_to_archive_proposals_description: "After this number of months the Proposals will be archived and will no longer be able to receive supports"
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ es:
|
|||||||
table_edit_budget: Editar
|
table_edit_budget: Editar
|
||||||
edit_groups: Editar grupos de partidas
|
edit_groups: Editar grupos de partidas
|
||||||
edit_budget: Editar presupuesto
|
edit_budget: Editar presupuesto
|
||||||
no_budgets: "No hay presupuestos abiertos."
|
no_budgets: "No hay presupuestos."
|
||||||
create:
|
create:
|
||||||
notice: '¡Presupuestos participativos creados con éxito!'
|
notice: '¡Presupuestos participativos creados con éxito!'
|
||||||
update:
|
update:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -445,8 +445,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"
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ es:
|
|||||||
official_level_5_name_description: "Etiqueta que aparecerá en los usuarios marcados como Nivel 5 de cargo público"
|
official_level_5_name_description: "Etiqueta que aparecerá en los usuarios marcados como Nivel 5 de cargo público"
|
||||||
max_ratio_anon_votes_on_debates: "Porcentaje máximo de votos anónimos por Debate"
|
max_ratio_anon_votes_on_debates: "Porcentaje máximo de votos anónimos por Debate"
|
||||||
max_ratio_anon_votes_on_debates_description: "Se consideran votos anónimos los realizados por usuarios registrados con una cuenta sin verificar"
|
max_ratio_anon_votes_on_debates_description: "Se consideran votos anónimos los realizados por usuarios registrados con una cuenta sin verificar"
|
||||||
max_votes_for_proposal_edit: "Número de votos en que una Propuesta deja de poderse editar"
|
max_votes_for_proposal_edit: "Número de apoyos en que una Propuesta deja de poderse editar"
|
||||||
max_votes_for_proposal_edit_description: "A partir de este número de apoyos el autor de una Propuesta ya no podrá editarla"
|
max_votes_for_proposal_edit_description: "A partir de este número de apoyos el autor de una Propuesta ya no podrá editarla"
|
||||||
max_votes_for_debate_edit: "Número de votos en que un Debate deja de poderse editar"
|
max_votes_for_debate_edit: "Número de votos en que un Debate deja de poderse editar"
|
||||||
max_votes_for_debate_edit_description: "A partir de este número de votos el autor de un Debate ya no podrá editarlo"
|
max_votes_for_debate_edit_description: "A partir de este número de votos el autor de un Debate ya no podrá editarlo"
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ feature 'Admin budgets' do
|
|||||||
scenario 'Displaying no open budgets text' do
|
scenario 'Displaying no open budgets text' do
|
||||||
visit admin_budgets_path
|
visit admin_budgets_path
|
||||||
|
|
||||||
expect(page).to have_content("There are no open budgets.")
|
expect(page).to have_content("There are no budgets.")
|
||||||
end
|
end
|
||||||
|
|
||||||
scenario 'Displaying budgets' do
|
scenario 'Displaying budgets' do
|
||||||
@@ -125,7 +125,7 @@ feature 'Admin budgets' do
|
|||||||
click_link 'Delete budget'
|
click_link 'Delete budget'
|
||||||
|
|
||||||
expect(page).to have_content('Budget deleted successfully')
|
expect(page).to have_content('Budget deleted successfully')
|
||||||
expect(page).to have_content('There are no open budgets.')
|
expect(page).to have_content("There are no budgets.")
|
||||||
end
|
end
|
||||||
|
|
||||||
scenario 'Try to destroy a budget with investments' do
|
scenario 'Try to destroy a budget with investments' do
|
||||||
|
|||||||
Reference in New Issue
Block a user