Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lang): UI string edits, round 2 #1202

Merged
merged 9 commits into from
Mar 18, 2021
Merged

fix(lang): UI string edits, round 2 #1202

merged 9 commits into from
Mar 18, 2021

Conversation

TheCatLady
Copy link
Collaborator

@TheCatLady TheCatLady commented Mar 16, 2021

Description

More language string fixes, for things I didn't catch the last time or which were introduced since that first round of string edits. Apologies @sct and translators 馃憖

Also in this PR:

  • set more descriptive page titles for settings, user settings, and error pages
  • add links back to the media details page from the "Recommendations" and "Similar <Movies/Series>" pages
  • fixed Yup validation on port number fields to not show errors like "port must be a number type, but the final value was: NaN (cast from the value ...)."
  • removed all remaining instances of FormattedMessage and FormattedNumber
  • swapped ReactMarkdown for ReactMarkdownWithHtml so that images defined using HTML img tags in release notes get displayed properly

Screenshot (if UI-related)

To-Dos

  • Successful build yarn build
  • Translation keys yarn i18n:extract

Issues Fixed or Closed

N/A

@@ -24,29 +27,27 @@ const messages = defineMessages({
applicationTitle: 'Application Title',
applicationurl: 'Application URL',
region: 'Discover Region',
regionTip:
'Filter content by region (only applies to the "Popular" and "Upcoming" categories)',
Copy link
Owner

Choose a reason for hiding this comment

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

Are these tips no longer relevant?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I didn't remove the tip, just the parts in parentheses. We are also filtering results for genres now, and possibly more areas in the future. We can't possibly list them all, and I think we only filter where it makes sense, so I didn't feel the category clarification was necessary anymore.

I did change the region tip to say "filter content by regional availability" though, since that is a bit more clear on what the region setting actually does.

@lgtm-com

This comment has been minimized.

@sct sct merged commit ea1863a into develop Mar 18, 2021
@sct sct deleted the fix/lang/string-edits branch March 18, 2021 02:28
@github-actions
Copy link

github-actions bot commented Apr 1, 2021

馃帀 This PR is included in version 1.22.0 馃帀

The release is available on:

Your semantic-release bot 馃摝馃殌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants