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

Remove deprecated {{Interface}} macro #5193

Closed
cw118 opened this issue Apr 21, 2022 · 7 comments · Fixed by #5460
Closed

Remove deprecated {{Interface}} macro #5193

cw118 opened this issue Apr 21, 2022 · 7 comments · Fixed by #5460
Labels
l10n-ko Issues related to Korean content.

Comments

@cw118
Copy link
Member

cw118 commented Apr 21, 2022

The {{Interface}} macro has been removed from mdn/content and is (being) deprecated (cf. mdn/yari#6011), so it should be removed from translated-content as well.

If I understood correctly, the macro can be replaced by its argument with code formatting (e.g. {{Interface("nsIDOMElement")}} becomes nsIDOMElement).

For the fr locale, I used find/replace regexp in VS Code:

  • search \{\{[ ]?interface[ ]?\(["'](\S*)(["'][ ]?\))[ ]?\}\}
  • for .md files (be careful with macros in HTML tables, I did a quick manual check for this): replace by `$1`
  • for .html files: replace by <code>$1</code>
@cw118 cw118 added l10n-ja Issues related to Japanese content. l10n-fr Issues related to French content. l10n-zh Issues related to Chinese content. l10n-es Issues related to Spanish content. l10n-ru Issues related to Russian content. l10n-ko Issues related to Korean content. l10n-pt-br Issues related to Brazilian Portuguese labels Apr 21, 2022
@yin1999
Copy link
Member

yin1999 commented Apr 21, 2022

l10n-zh is resolved via #5197 and #5198.

@SphinxKnight SphinxKnight removed l10n-fr Issues related to French content. l10n-zh Issues related to Chinese content. labels Apr 21, 2022
@SphinxKnight
Copy link
Member

l10n-fr taken care of in #5194 by @cw118: thanks!

@Graywolf9
Copy link
Contributor

es ready thanks to @yin1999 !

@cw118 cw118 removed the l10n-es Issues related to Spanish content. label May 5, 2022
@cw118
Copy link
Member Author

cw118 commented May 6, 2022

l10n-ru taken care of in #5398 🎉

@cw118 cw118 removed the l10n-ru Issues related to Russian content. label May 6, 2022
@cw118
Copy link
Member Author

cw118 commented May 9, 2022

l10n-pt-br taken care of by #5225

@cw118 cw118 removed the l10n-pt-br Issues related to Brazilian Portuguese label May 9, 2022
@cw118
Copy link
Member Author

cw118 commented May 14, 2022

l10n-ja taken care of by #5452

@cw118 cw118 added l10n-de (retired) Issues related to German content. l10n-pl (retired) Issues related to Polish content. and removed l10n-ja Issues related to Japanese content. labels May 14, 2022
@cw118
Copy link
Member Author

cw118 commented May 14, 2022

de and pl taken care of by #5651

@cw118 cw118 removed l10n-de (retired) Issues related to German content. l10n-pl (retired) Issues related to Polish content. labels May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-ko Issues related to Korean content.
4 participants