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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add machine translation disclaimer #5233

Merged
merged 9 commits into from
Dec 10, 2021

Conversation

roadlittledawn
Copy link
Collaborator

@roadlittledawn roadlittledawn commented Dec 9, 2021

Description

  • Adds a machine translation callout/disclaimer to the top of any translated page that has translationType: machine in frontmatter. for now any page that uses docPage.js template, which i believe should cover relevant pages for now
  • Adds type def for translationType in case no instances exist in frontmatter so Gatsby doesn't freak out when it sees it in graphql queries
  • Adds long form disclaimer doc from other PR (linked in issue)
  • Bumps theme to latest to be able to disable Link component's auto localizing link when linking to english version of localized page
  • Adds feather globe icon

Related issues / PRs

Closes #2537

Screenshot(s)

2021-12-07_16-15-16
2021-12-07_16-15-36

@roadlittledawn roadlittledawn requested a review from a team as a code owner December 9, 2021 00:52
@roadlittledawn roadlittledawn requested review from LizBaker and tabathadelane and removed request for a team December 9, 2021 00:52
@github-actions github-actions bot added this to Hero to triage in Docs PRs and Issues Dec 9, 2021
@github-actions
Copy link

github-actions bot commented Dec 9, 2021

Hi @roadlittledawn 👋
Thanks for your pull request! Your PR is in a queue, and a writer will take a look soon. We generally publish small edits within one business day, and larger edits within three days.

Gatsby Cloud will automatically generate a preview of your request, and will comment with a link when the preview is ready (usually 20 to 30 minutes).

@roadlittledawn roadlittledawn changed the base branch from develop to feature/machine-translation December 9, 2021 00:53
@paperclypse paperclypse removed this from Hero to triage in Docs PRs and Issues Dec 9, 2021
@gatsby-cloud
Copy link

gatsby-cloud bot commented Dec 9, 2021

Gatsby Cloud Build Report

docs-website-develop

🎉 Your build was successful! See the Deploy preview here.

Build Details

View the build logs here.

🕐 Build time: 27m

@roadlittledawn roadlittledawn merged commit 68f2949 into feature/machine-translation Dec 10, 2021
@roadlittledawn roadlittledawn deleted the clang/mt-disclaimer branch December 10, 2021 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Machine Translation] Add disclaimer for machine translated pages
2 participants