Skip to content

AO3-7515 i18n pseud icon comment, icon alt text and collection name help files - #5945

Open
zrei wants to merge 6 commits into
otwcode:masterfrom
zrei:AO3-7515
Open

zrei wants to merge 6 commits into
otwcode:masterfrom
zrei:AO3-7515

Conversation

@zrei

@zrei zrei commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Pull Request Checklist

Issue

https://otwarchive.atlassian.net/browse/AO3-7515

Purpose

Move help HTML files pseud-icon-comment.html, icon-alt-text.html, and collection-name.html to HTML erb files icon_comment_text.html.erb, icon_alt_text.html.erb, and collections_name.html.erb. Also update link_to_help for these modals to link_to_help_modal, and add redirects to routes.rb.

Credit

zrei (she/they)

Comment thread config/routes.rb

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be alphabetized just like how you did in help_controller.rb

@@ -0,0 +1,3 @@
<h4><%= t(".page_heading") %></h4>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally the new files are meant to look just like the old ones, even if that means they'll be inconsistent. If it helps, I think this one has no heading because it's just one paragraph.

@ASalbenblatt ASalbenblatt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks :)

@Bilka2 Bilka2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on this, I have only one small thing: The help titles should generally match exactly what is currently used, so I've left suggestions for that

Comment thread config/locales/views/en.yml Outdated
no_challenge: No Challenge
prompt_meme: Prompt Meme Challenge
form:
collections_name_help_title: Collection name help

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
collections_name_help_title: Collection name help
collections_name_help_title: Collection name

To match the current help title

Comment thread config/locales/views/en.yml Outdated
label: Custom header URL
icon:
delete: Delete collection icon and revert to our default. This will also remove the icon alt text and comment text.
icon_alt_text_help_title: Icon alt text help

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
icon_alt_text_help_title: Icon alt text help
icon_alt_text_help_title: Icon alt text

To match the current help title

Comment thread config/locales/views/en.yml Outdated
Comment on lines +2890 to +2892
icon_alt_text_help_title: Icon alt text help
icon_comment: Icon comment text
icon_comment_text_help_title: Icon comment text help

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
icon_alt_text_help_title: Icon alt text help
icon_comment: Icon comment text
icon_comment_text_help_title: Icon comment text help
icon_alt_text_help_title: Icon alt text
icon_comment: Icon comment text
icon_comment_text_help_title: Pseud icon comment

To match the current help title

Comment thread config/locales/views/en.yml Outdated
icon:
delete: Delete collection icon and revert to our default. This will also remove the icon alt text and comment text.
icon_alt_text_help_title: Icon alt text help
icon_comment_text_help_title: Icon comment text help

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
icon_comment_text_help_title: Icon comment text help
icon_comment_text_help_title: Icon comment text

for consistency

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated the locale file!

@Bilka2 Bilka2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you both for coding and reviewing!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants