Remove redundant labels

We already had translations for these attributes.
This commit is contained in:
Javi Martín
2019-10-04 13:41:20 +02:00
parent 7aae842b38
commit 1bc66925ab
9 changed files with 4 additions and 9 deletions

View File

@@ -13,7 +13,7 @@
</div>
<div class="small-12 column margin-top">
<%= f.check_box :active, label: ::Dashboard::Action.human_attribute_name(:active) %>
<%= f.check_box :active %>
</div>
<div id="request_to_administrators"

View File

@@ -2,7 +2,7 @@
<%= form_for @document,
url: admin_site_customization_documents_path do |f| %>
<%= f.file_field "attachment", label: t("admin.documents.new.label_attachment") %>
<%= f.file_field :attachment %>
<div class="margin-top">
<%= f.submit t("admin.documents.new.submit_button"), class: "button success" %>

View File

@@ -29,7 +29,6 @@
<div class="column">
<%= f.text_field :publication_date,
value: @milestone.publication_date.present? ? l(@milestone.publication_date.to_date) : nil,
label: t("tracking.milestones.new.date"),
class: "js-calendar-full" %>
<%= render "images/admin_image", imageable: @milestone, f: f %>

View File

@@ -168,7 +168,7 @@ en:
status_id: "Current status (optional)"
title: "Title"
description: "Description (optional if there's an status assigned)"
publication_date: "Publication date"
publication_date: "Date"
milestone/status:
name: "Name"
description: "Description (optional)"

View File

@@ -450,7 +450,6 @@ en:
documents:
new:
title: "Upload a document"
label_attachment: "Choose document"
submit_button: "Upload"
index:
new_link: "Add new document"

View File

@@ -53,7 +53,6 @@ en:
no_statuses_defined: There are no defined statuses yet
new:
creating: Create milestone
date: Date
description: Description
edit:
title: Edit milestone

View File

@@ -170,7 +170,7 @@ es:
status_id: "Estado actual (opcional)"
title: "Título"
description: "Descripción (opcional si hay un estado asignado)"
publication_date: "Fecha de publicación"
publication_date: "Fecha"
milestone/status:
name: "Nombre"
description: "Descripción (opcional)"

View File

@@ -452,7 +452,6 @@ es:
documents:
new:
title: "Subir un documento"
label_attachment: "Selecciona un documento"
submit_button: "Subir documento"
index:
new_link: "Subir un documento"

View File

@@ -53,7 +53,6 @@ es:
no_statuses_defined: No hay estados definidos
new:
creating: Crear hito
date: Fecha
description: Descripción
edit:
title: Editar hito