-
Notifications
You must be signed in to change notification settings - Fork 505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AO3-6058 Add 'translation into' to download preface #4652
AO3-6058 Add 'translation into' to download preface #4652
Conversation
@@ -65,15 +65,24 @@ | |||
<% end %> | |||
<% end %> | |||
|
|||
<%# i18n-tasks-use t("downloads.download_preface.translated_to.restricted_html") %> | |||
<%# i18n-tasks-use t("downloads.download_preface.translated_to.revealed_html") %> | |||
<%# i18n-tasks-use t("downloads.download_preface.translated_to.unrevealed_html") %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any particular reason these hints are within the template instead of in the helper where they're used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to think about it, but I think the reasoning is that the calls here "cause" the translation key to be used (i.e. without calling the helper here, the translation keys would be unused), and in contrast, the helper just "facilitates" the use
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks for working on this 🙂
Issue
https://otwarchive.atlassian.net/browse/AO3-6058
Purpose
Add the translation(s) of a work to the links displayed at the beginning of a download.
Testing Instructions
Refer to Jira story
References
Follow-up to #4608
Credit
@weeklies for the majority of the work in the linked PR
Brian Austin (they/he)