このコードを変更しようとしています。David Taylor のトピックを参照しています。
<script type="text/discourse-plugin" version="0.8.20">
// <html> タグに属性を追加します。これでユーザーがヘッダーリンクのスタイルを設定しやすくなるかもしれません
$('html').attr('dhp-locale', I18n.locale)
const customHeaderLinks = I18n.t(themePrefix("header_nav_link"));
if (!customHeaderLinks.length) return;
const h = require("virtual-dom").h;
const headerLinks = [];
const mobileView = api.container.lookup("site:main").mobileView;
そして locales/en.yml を追加しましたが、結果として [en.theme_translations.87.header_nav_link] という表示になってしまいます。
何か間違っているのでしょうか?
