From bed484d75e78494b79611c6f4b1ec397d291784b Mon Sep 17 00:00:00 2001
From: Saphron <109723086+denerose@users.noreply.github.com>
Date: Fri, 5 Apr 2024 11:46:57 +1100
Subject: [PATCH] AO3-5865 Reorganise 'Edit multiple works' form (#4655)
* AO3-5865 Reorganize edit multiple works form
* AO3-5865 Update capitalization on related labels
* ERBLint autocorrect to resolve style issues
* Update relevant tests to match new case format
* Correct additional linter errors
* Convert related text lines to i18n
* Fix unexpected (s)
* Appease linter
* Update app/views/works/_work_form_associations_language.html.erb
Co-authored-by: Brian Austin <13002992+brianjaustin@users.noreply.github.com>
* Fix work skin test to reflect updated capitalisation
* Prefer single-quoted strings inside interpolations
---------
Co-authored-by: Brian Austin <13002992+brianjaustin@users.noreply.github.com>
---
.../collectibles/_collectible_form.html.erb | 2 +-
app/views/pseuds/_byline.html.erb | 4 +-
app/views/works/_standard_form.html.erb | 10 ++--
.../_work_form_associations_language.html.erb | 2 +-
app/views/works/_work_form_pseuds.html.erb | 4 +-
app/views/works/edit_multiple.html.erb | 58 ++++++++++---------
app/views/works/edit_tags.html.erb | 4 +-
config/locales/views/en.yml | 13 ++++-
features/works/work_edit.feature | 2 +-
features/works/work_edit_multiple.feature | 10 ++--
10 files changed, 61 insertions(+), 48 deletions(-)
diff --git a/app/views/collectibles/_collectible_form.html.erb b/app/views/collectibles/_collectible_form.html.erb
index 3a957e23f47..075850a08e6 100644
--- a/app/views/collectibles/_collectible_form.html.erb
+++ b/app/views/collectibles/_collectible_form.html.erb
@@ -11,7 +11,7 @@
<% end %>
-
<%= form.label :collections_to_add, ts("Add To Collections") %> <%= link_to_help "add-collectible-to-collection" %>
+<%= form.label :collections_to_add, ts("Add to collections") %> <%= link_to_help "add-collectible-to-collection" %>
<%= form.text_field :collections_to_add, autocomplete_options("open_collection_names") %>
diff --git a/app/views/pseuds/_byline.html.erb b/app/views/pseuds/_byline.html.erb
index f47d5bf0cdb..896b99da453 100644
--- a/app/views/pseuds/_byline.html.erb
+++ b/app/views/pseuds/_byline.html.erb
@@ -69,11 +69,11 @@
<% end %>
- <%= label_tag "co-authors-options-show", ts("Add co-creators?") %>
+ <%= label_tag "co-authors-options-show", t("works.byline.show_co-creator_options") %>
<%= check_box_tag "co-authors-options-show", "1", object.creatorships.any?(&:ambiguous?), class: "toggle_formfield" %>
-