mdn / translated-content

The source repository of all translated content for MDN Web Docs
https://developer.mozilla.org/en-US/docs/MDN/Community/Contributing/Translated_content
Other
1.66k stars 8k forks source link

Macro - Meta - Remove transclusion calls of `{{EmbedLiveSample}}` (Parity with mdn/content/issues/15872) #5716

Open SphinxKnight opened 2 years ago

SphinxKnight commented 2 years ago

See https://github.com/mdn/content/issues/15872, {{EmbedLiveSample}} may use sources from other pages. Looking for this pattern EmbedLiveSample *\([^,]*,[^,]*,[^,]*,[^,]*, *'[^'][^']*' as of today, we also find occurrences in mdn/translated-content.

cw118 commented 2 years ago

l10n-fr taken care of thanks to @SphinxKnight 🎉

mfuji09 commented 1 year ago

ja is done.

Graywolf9 commented 1 year ago

es is donde

runnign: rg -i "EmbedLiveSample *\([^,]*,[^,]*,[^,]*,[^,]*, *'[^'][^']*'" only get the macro description file

Also, that regexes didn't use double quotes.

with rg 'EmbedLiveSample *\([^,]*,[^,]*,[^,]*,[^,]*, *"[^"][^"]*"' -i to search it only left files that still using transclusion in en-US too

sashasushko commented 1 year ago

Hi 👋 I'm not sure that I understood the main idea of this issue for 100%. Can someone please look at PR to ru locale? Just few of changed files, not of all.

sashasushko commented 1 year ago

Done for ru locale

hochan222 commented 11 months ago

Done for ko locale