Simplify internationalization key in moderation
In keys like `hide_debates`, the suffix part is redundant when that key is part of an absoulte key starting with `moderation.debates`. This change will make it easier to remove duplication in moderation views.
This commit is contained in:
@@ -57,7 +57,7 @@
|
|||||||
data: { confirm: t("moderation.budget_investments.index.confirm") } %>
|
data: { confirm: t("moderation.budget_investments.index.confirm") } %>
|
||||||
|
|
||||||
<div class="float-right">
|
<div class="float-right">
|
||||||
<%= submit_tag t("moderation.budget_investments.index.hide_budget_investments"),
|
<%= submit_tag t("moderation.budget_investments.index.hide"),
|
||||||
name: "hide_budget_investments",
|
name: "hide_budget_investments",
|
||||||
class: "button hollow alert",
|
class: "button hollow alert",
|
||||||
data: { confirm: t("moderation.budget_investments.index.confirm") } %>
|
data: { confirm: t("moderation.budget_investments.index.confirm") } %>
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
data: { confirm: t("moderation.comments.index.confirm") } %>
|
data: { confirm: t("moderation.comments.index.confirm") } %>
|
||||||
|
|
||||||
<div class="float-right">
|
<div class="float-right">
|
||||||
<%= submit_tag t("moderation.comments.index.hide_comments"),
|
<%= submit_tag t("moderation.comments.index.hide"),
|
||||||
name: "hide_comments",
|
name: "hide_comments",
|
||||||
class: "button hollow alert",
|
class: "button hollow alert",
|
||||||
data: { confirm: t("moderation.comments.index.confirm") } %>
|
data: { confirm: t("moderation.comments.index.confirm") } %>
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
data: { confirm: t("moderation.debates.index.confirm") } %>
|
data: { confirm: t("moderation.debates.index.confirm") } %>
|
||||||
|
|
||||||
<div class="float-right">
|
<div class="float-right">
|
||||||
<%= submit_tag t("moderation.debates.index.hide_debates"),
|
<%= submit_tag t("moderation.debates.index.hide"),
|
||||||
name: "hide_debates",
|
name: "hide_debates",
|
||||||
class: "button hollow alert",
|
class: "button hollow alert",
|
||||||
data: { confirm: t("moderation.debates.index.confirm") } %>
|
data: { confirm: t("moderation.debates.index.confirm") } %>
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
data: { confirm: t("moderation.proposal_notifications.index.confirm") } %>
|
data: { confirm: t("moderation.proposal_notifications.index.confirm") } %>
|
||||||
|
|
||||||
<div class="float-right">
|
<div class="float-right">
|
||||||
<%= submit_tag t("moderation.proposal_notifications.index.hide_proposal_notifications"),
|
<%= submit_tag t("moderation.proposal_notifications.index.hide"),
|
||||||
name: "hide_proposal_notifications",
|
name: "hide_proposal_notifications",
|
||||||
class: "button hollow alert",
|
class: "button hollow alert",
|
||||||
data: { confirm: t("moderation.proposal_notifications.index.confirm") } %>
|
data: { confirm: t("moderation.proposal_notifications.index.confirm") } %>
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
data: { confirm: t("moderation.proposals.index.confirm") } %>
|
data: { confirm: t("moderation.proposals.index.confirm") } %>
|
||||||
|
|
||||||
<div class="float-right">
|
<div class="float-right">
|
||||||
<%= submit_tag t("moderation.proposals.index.hide_proposals"),
|
<%= submit_tag t("moderation.proposals.index.hide"),
|
||||||
name: "hide_proposals",
|
name: "hide_proposals",
|
||||||
class: "button hollow alert",
|
class: "button hollow alert",
|
||||||
data: { confirm: t("moderation.proposals.index.confirm") } %>
|
data: { confirm: t("moderation.proposals.index.confirm") } %>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ en:
|
|||||||
headers:
|
headers:
|
||||||
comment: Comment
|
comment: Comment
|
||||||
moderate: Moderate
|
moderate: Moderate
|
||||||
hide_comments: Hide comments
|
hide: Hide comments
|
||||||
ignore_flags: Mark as viewed
|
ignore_flags: Mark as viewed
|
||||||
order: Order
|
order: Order
|
||||||
orders:
|
orders:
|
||||||
@@ -34,7 +34,7 @@ en:
|
|||||||
headers:
|
headers:
|
||||||
debate: Debate
|
debate: Debate
|
||||||
moderate: Moderate
|
moderate: Moderate
|
||||||
hide_debates: Hide debates
|
hide: Hide debates
|
||||||
ignore_flags: Mark as viewed
|
ignore_flags: Mark as viewed
|
||||||
order: Order
|
order: Order
|
||||||
orders:
|
orders:
|
||||||
@@ -62,7 +62,7 @@ en:
|
|||||||
headers:
|
headers:
|
||||||
moderate: Moderate
|
moderate: Moderate
|
||||||
proposal: Proposal
|
proposal: Proposal
|
||||||
hide_proposals: Hide proposals
|
hide: Hide proposals
|
||||||
ignore_flags: Mark as viewed
|
ignore_flags: Mark as viewed
|
||||||
order: Order by
|
order: Order by
|
||||||
orders:
|
orders:
|
||||||
@@ -81,7 +81,7 @@ en:
|
|||||||
headers:
|
headers:
|
||||||
moderate: Moderate
|
moderate: Moderate
|
||||||
budget_investment: Budget investment
|
budget_investment: Budget investment
|
||||||
hide_budget_investments: Hide budget investments
|
hide: Hide budget investments
|
||||||
ignore_flags: Mark as viewed
|
ignore_flags: Mark as viewed
|
||||||
order: Order by
|
order: Order by
|
||||||
orders:
|
orders:
|
||||||
@@ -100,7 +100,7 @@ en:
|
|||||||
headers:
|
headers:
|
||||||
moderate: Moderate
|
moderate: Moderate
|
||||||
proposal_notification: Proposal notification
|
proposal_notification: Proposal notification
|
||||||
hide_proposal_notifications: Hide proposals
|
hide: Hide proposals
|
||||||
ignore_flags: Mark as viewed
|
ignore_flags: Mark as viewed
|
||||||
order: Order by
|
order: Order by
|
||||||
orders:
|
orders:
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ es:
|
|||||||
headers:
|
headers:
|
||||||
comment: Comentario
|
comment: Comentario
|
||||||
moderate: Moderar
|
moderate: Moderar
|
||||||
hide_comments: Ocultar comentarios
|
hide: Ocultar comentarios
|
||||||
ignore_flags: Marcar como revisados
|
ignore_flags: Marcar como revisados
|
||||||
order: Orden
|
order: Orden
|
||||||
orders:
|
orders:
|
||||||
@@ -34,7 +34,7 @@ es:
|
|||||||
headers:
|
headers:
|
||||||
debate: Debate
|
debate: Debate
|
||||||
moderate: Moderar
|
moderate: Moderar
|
||||||
hide_debates: Ocultar debates
|
hide: Ocultar debates
|
||||||
ignore_flags: Marcar como revisados
|
ignore_flags: Marcar como revisados
|
||||||
order: Orden
|
order: Orden
|
||||||
orders:
|
orders:
|
||||||
@@ -62,7 +62,7 @@ es:
|
|||||||
headers:
|
headers:
|
||||||
moderate: Moderar
|
moderate: Moderar
|
||||||
proposal: Propuesta
|
proposal: Propuesta
|
||||||
hide_proposals: Ocultar Propuestas
|
hide: Ocultar Propuestas
|
||||||
ignore_flags: Marcar como revisadas
|
ignore_flags: Marcar como revisadas
|
||||||
order: Ordenar por
|
order: Ordenar por
|
||||||
orders:
|
orders:
|
||||||
@@ -81,7 +81,7 @@ es:
|
|||||||
headers:
|
headers:
|
||||||
moderate: Moderar
|
moderate: Moderar
|
||||||
budget_investment: Proyecto de gasto
|
budget_investment: Proyecto de gasto
|
||||||
hide_budget_investments: Ocultar proyectos de gasto
|
hide: Ocultar proyectos de gasto
|
||||||
ignore_flags: Marcar como revisados
|
ignore_flags: Marcar como revisados
|
||||||
order: Ordenar por
|
order: Ordenar por
|
||||||
orders:
|
orders:
|
||||||
@@ -100,7 +100,7 @@ es:
|
|||||||
headers:
|
headers:
|
||||||
moderate: Moderar
|
moderate: Moderar
|
||||||
proposal_notification: Notificación de propuesta
|
proposal_notification: Notificación de propuesta
|
||||||
hide_proposal_notifications: Ocultar notificaciones
|
hide: Ocultar notificaciones
|
||||||
ignore_flags: Marcar como revisadas
|
ignore_flags: Marcar como revisadas
|
||||||
order: Ordenar por
|
order: Ordenar por
|
||||||
orders:
|
orders:
|
||||||
|
|||||||
Reference in New Issue
Block a user