Skip to content

Commit

Permalink
Merge pull request #5084 from consul/check-translations-keys
Browse files Browse the repository at this point in the history
Remove duplicate keys
  • Loading branch information
taitus committed Feb 22, 2023
2 parents c1d70ef + f100e01 commit 0f52180
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/views/admin/debates/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<table>
<thead>
<th class="text-center"><%= t("admin.debates.index.id") %></th>
<th><%= t("admin.debates.index.title") %></th>
<th><%= Debate.human_attribute_name(:title) %></th>
<th><%= t("admin.debates.index.author") %></th>
</thead>
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/legislation/proposals/_proposals.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<thead>
<tr>
<th class="text-center"><%= t("admin.legislation.proposals.index.id") %></th>
<th><%= t("admin.legislation.proposals.index.title") %></th>
<th><%= Legislation::Proposal.human_attribute_name(:title) %></th>
<th class="text-center"><%= t("admin.legislation.proposals.index.supports") %></th>
<th><%= t("admin.proposals.index.selected") %></th>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/proposals/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<thead>
<tr>
<th class="text-center"><%= t("admin.proposals.index.id") %></th>
<th><%= t("admin.proposals.index.title") %></th>
<th><%= Proposal.human_attribute_name(:title) %></th>
<th><%= t("admin.proposals.index.author") %></th>
<th><%= t("admin.proposals.index.milestones") %></th>
<th><%= t("admin.proposals.index.selected") %></th>
Expand Down
1 change: 0 additions & 1 deletion config/locales/en/admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,6 @@ en:
title: Proposals
back: Back
id: Id
title: Title
supports: Total supports
form:
custom_categories: Categories
Expand Down
1 change: 0 additions & 1 deletion config/locales/en/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ en:
delete_button: Remove image
note: "You can upload one image of following content types: %{accepted_content_types}, up to %{max_file_size} MB."
add_new_image: Add image
title_placeholder: Add a descriptive title for the image
actions:
destroy:
notice: Image was deleted successfully.
Expand Down

0 comments on commit 0f52180

Please sign in to comment.