Skip to content

Translate CSS selectors restructuring to es, fr, zh#5456

Merged
mintlify[bot] merged 1 commit intomainfrom
mintlify/translate-css-selectors-1776710881
Apr 20, 2026
Merged

Translate CSS selectors restructuring to es, fr, zh#5456
mintlify[bot] merged 1 commit intomainfrom
mintlify/translate-css-selectors-1776710881

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify bot commented Apr 20, 2026

Translates the CSS selectors readability improvements from #5454 into Spanish, French, and Chinese.

Changes

  • Replaced flat identifier/selector lists with categorized accordion sections in all three language files
  • Updated description format from Name: \value`to`value` — Description` to match the new English structure
  • Removed deprecated headings ("Adding style.css", "Using identifiers and selectors", "Adding custom JavaScript")
  • Added new "ID selectors" and "Element selectors" subsections with categorized accordions
  • Moved the breaking-changes warning inline and removed the bottom <Warning> block
  • Updated frontmatter descriptions to match the English source

Note

Low Risk
Low risk documentation-only changes that reorganize and reword translated MDX content without affecting runtime code.

Overview
Updates the Spanish, French, and Chinese custom-scripts.mdx docs to match the new CSS selector documentation structure, splitting guidance into ID selectors vs element selectors and replacing flat lists with categorized accordions.

Refreshes frontmatter descriptions and assorted wording (including Google Analytics wording), moves the compatibility warning inline, and removes now-redundant section headings (e.g., Adding style.css / Adding custom JavaScript).

Reviewed by Cursor Bugbot for commit 8506949. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify-development
Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
userauth 🟡 Building Apr 20, 2026, 6:53 PM

@mintlify mintlify bot merged commit ab7d139 into main Apr 20, 2026
3 checks passed
@mintlify mintlify bot deleted the mintlify/translate-css-selectors-1776710881 branch April 20, 2026 18:53
@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify bot commented Apr 20, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🔴 Failed Apr 20, 2026, 6:57 PM

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.

0 participants