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

[Japanese] "このサイトをブロックする" ("Block this site") is rendered with Chinese font for Chinese websites on Google search #337

Closed
Phroneris opened this issue Mar 30, 2023 · 2 comments
Assignees
Labels
bug Something isn't working released

Comments

@Phroneris
Copy link

日本語での使用時の話なので、日本語で書きます。

Expected Behavior

  • Google検索結果ページの各項目にある「このサイトをブロックする」が、いずれも日本語フォントで表示されるはず。

Actual Behavior

  • Google検索結果ページの各項目にある「このサイトをブロックする」が、基本的には日本語フォントで表示されるものの、中国語のサイトの場合には中国語フォントで表示される。

Steps to Reproduce the Problem

  1. uBlacklistの『「このサイトをブロックする」リンクを非表示にする』オプションを切る。
  2. 例えば「weibo」とGoogle検索する。

uBlacklist-text-chinese

各検索結果はそれぞれの言語に対応した lang 属性を持っており、それに影響されるのが原因かと。
なお、Google自身が追加しているはずの「このページを訳す」も同じ影響を受けてますけどね…。

Specifications

  • OS: Windows 10
  • Browser: Chrome 111.0.5563
  • Other extensions/add-ons: 色々入れていますが、全て切ってシークレットモードで閲覧しても同じでした。
  • Search engine: Google
  • Language: Japanese/日本語
  • Region: Japan/日本
@iorate iorate self-assigned this Apr 2, 2023
@iorate iorate added the bug Something isn't working label Apr 2, 2023
@iorate iorate closed this as completed in 0b15ea7 Apr 2, 2023
@iorate
Copy link
Owner

iorate commented Apr 2, 2023

「このサイトをブロックする」に lang 属性を付けました。
「このページを訳す」には関知しません。

@github-actions
Copy link

🎉 This issue has been resolved in version 8.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

No branches or pull requests

2 participants