Skip to content

Fix invalid locale keys in zh_CN/messages.json causing the error Name…#3176

Merged
ImprovedTube merged 2 commits intocode-charity:masterfrom
omareltomy:fix-zh-cn-locale-keys
Sep 21, 2025
Merged

Fix invalid locale keys in zh_CN/messages.json causing the error Name…#3176
ImprovedTube merged 2 commits intocode-charity:masterfrom
omareltomy:fix-zh-cn-locale-keys

Conversation

@omareltomy
Copy link
Contributor

Fix invalid locale keys in zh_CN/messages.json

  • Fix invalid key names that prevented extension from loading
  • Changed keys to match correct names used in JavaScript code
  • Fixes 'Could not load manifest' error due to invalid locale file

Fixed keys:

  • 'Disable video playback on hover' -> 'disableThumbnailPlayback'
  • 'Hide AI Summaries' -> 'hideAISummary'
  • 'Hide Banner Ads (YouTube might deny)' -> 'hideBannerAds'
  • 'Hide Pause Overlay' -> 'Hide_Pause_Overlay'
  • 'Hide YouTube Logo' -> 'Hide_YouTube_Logo'
  • 'Hide ⫶ (more actions) on thumbnails' -> 'hideThumbnailDots'
  • 'Hide watched videos' -> 'hideWatchedVideos'
  • 'Remove member only videos' -> 'removeMemberOnly'
  • 'Thumbnail Size' -> 'thumbnailSize'
  • 'Youtube-Search' -> 'Youtube_Search'
  • 'Dim Youtube's pages, except what i mouse-over!' -> 'cursorLighting'

… of a key "dim youtube's pages, except what i mouse-over!" is invalid. Only ASCII [a-z], [A-Z], [0-9] and "_" are allowed
@Tibood
Copy link
Contributor

Tibood commented Sep 20, 2025

Duplicate of #3110, but the latter is no longer up to date.

@ImprovedTube
Copy link
Member

Welcome and thank you! @omareltomy @Tibood

@ImprovedTube ImprovedTube merged commit acb1e27 into code-charity:master Sep 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants