Skip to content

Skip style and .translate-no elements for translation

Samwilson requested to merge skip-untranslatable into main

When building the list of nodes to translate, skip <style> elements and any with a parent .translate-no (this latter can be changed to translate="no" at some future point). This doesn't allow for opting in to translation for a child element of an opted-out element, but as we want to assume all is translatable this seems to be okay for now.

Bug: T371098

Merge request reports