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

[Bug]: Some locale files have incorrect/translated placeholder templates #5621

Closed
6 tasks done
ChunkyProgrammer opened this issue Aug 29, 2024 · 0 comments · Fixed by #5628
Closed
6 tasks done

[Bug]: Some locale files have incorrect/translated placeholder templates #5621

ChunkyProgrammer opened this issue Aug 29, 2024 · 0 comments · Fixed by #5628
Labels

Comments

@ChunkyProgrammer
Copy link
Member

Guidelines

  • I have encountered this bug in the latest release of FreeTube.
  • I have encountered this bug in the official downloads of FreeTube.
  • I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
  • I have searched the documentation for information that matches the description of the bug I want to file, without success.
  • This issue contains only one bug.

Describe the bug

Quite a few locale files have incorrect templates (either translated or missing template strings)

Expected Behavior

Templates should be found and not translated. List of issues (data generated by a script)

[
  {
    "locale": "ar",
    "message": "template {subsection} not found for Subscriptions.All Subscription Tabs Hidden"
  },
  {
    "locale": "ar",
    "message": "template {playlistName} not found for User Playlists.Add to Favorites"
  },
  {
    "locale": "ar",
    "message": "template {playlistName} not found for User Playlists.Remove from Favorites"
  },
  {
    "locale": "ar",
    "message": "template {chapterName} not found for Chapters.Chapters list visible, current chapter: {chapterName}"
  },
  {
    "locale": "ar",
    "message": "template {chapterName} not found for Chapters.Chapters list hidden, current chapter: {chapterName}"
  },
  { "locale": "el", "message": "template is missing from Channels.Count" },
  {
    "locale": "el",
    "message": "template is missing from Channels.Unsubscribed"
  },
  {
    "locale": "el",
    "message": "template is missing from Channels.Unsubscribe Prompt"
  },
  { "locale": "el", "message": "template is missing from Screenshot Error" },
  {
    "locale": "es",
    "message": "template {videoCount} not found for User Playlists.AddVideoPrompt.{videoCount}/{totalVideoCount} Videos Will Be Added"
  },
  {
    "locale": "es",
    "message": "template {videoCount} not found for User Playlists.AddVideoPrompt.{videoCount}/{totalVideoCount} Videos Already Added"
  },
  {
    "locale": "es",
    "message": "template {chapterName} not found for Chapters.Chapters list visible, current chapter: {chapterName}"
  },
  {
    "locale": "es",
    "message": "template {chapterName} not found for Chapters.Chapters list hidden, current chapter: {chapterName}"
  },
  {
    "locale": "eu",
    "message": "template {number} not found for Global.Input Tags.Length Requirement"
  },
  {
    "locale": "eu",
    "message": "template {subsection} not found for Subscriptions.All Subscription Tabs Hidden"
  },
  {
    "locale": "eu",
    "message": "template {subsection} not found for Tooltips.Distraction Free Settings.Hide Subscriptions Live"
  },
  {
    "locale": "fa",
    "message": "template {votes} not found for Channel.Community.votes"
  },
  {
    "locale": "fa",
    "message": "template {error} not found for Screenshot Error"
  },
  {
    "locale": "fr-FR",
    "message": "template is missing from Search character limit"
  },
  {
    "locale": "ja",
    "message": "template {videoCount} not found for User Playlists.SinglePlaylistView.Toast.{videoCount} video(s) have been removed"
  },
  {
    "locale": "ko",
    "message": "template {replyCount} not found for Comments.View {replyCount} replies"
  },
  {
    "locale": "pt",
    "message": "template {count} not found for Global.Counts.View Count"
  },
  {
    "locale": "pt",
    "message": "template {chapterName} not found for Chapters.Chapters list hidden, current chapter: {chapterName}"
  },
  {
    "locale": "pt-PT",
    "message": "template {count} not found for Global.Counts.View Count"
  },
  {
    "locale": "pt-PT",
    "message": "template {chapterName} not found for Chapters.Chapters list hidden, current chapter: {chapterName}"
  },
  { "locale": "ru", "message": "template {page} not found for Go to page" },
  {
    "locale": "ru",
    "message": "template {number} not found for Global.Input Tags.Length Requirement"
  },
  {
    "locale": "ru",
    "message": "template {searchCharacterLimit} not found for Search character limit"
  },
  {
    "locale": "ru",
    "message": "template {feedName} not found for Feed.Feed Last Updated"
  },
  {
    "locale": "ru",
    "message": "template {date} not found for Feed.Feed Last Updated"
  },
  {
    "locale": "ru",
    "message": "template {subscriptionName} not found for Feed.Refresh Feed"
  },
  {
    "locale": "ru",
    "message": "template {oldPlaylistName} not found for User Playlists.SinglePlaylistView.Toast.This playlist is now used for quick bookmark instead of {oldPlaylistName}. Click here to undo"
  },
  {
    "locale": "ru",
    "message": "template {oldPlaylistName} not found for User Playlists.SinglePlaylistView.Toast.Reverted to use {oldPlaylistName} for quick bookmark"
  },
  {
    "locale": "ru",
    "message": "template {playlistName} not found for User Playlists.SinglePlaylistView.Toast.Playlist {playlistName} is the new quick bookmark playlist."
  },
  {
    "locale": "ru",
    "message": "template {count} not found for User Playlists.AddVideoPrompt.Added {count} Times"
  },
  {
    "locale": "ru",
    "message": "template {playlistCount} not found for User Playlists.AddVideoPrompt.Toast.{videoCount} video(s) added to {playlistCount} playlists"
  },
  {
    "locale": "ru",
    "message": "template {videoCount} not found for User Playlists.AddVideoPrompt.Toast.{videoCount} video(s) added to {playlistCount} playlists"
  },
  {
    "locale": "ru",
    "message": "template {playlistCount} not found for User Playlists.AddVideoPrompt.Toast.{videoCount} video(s) added to {playlistCount} playlists"
  },
  {
    "locale": "ru",
    "message": "template {length} not found for Trimmed input must be at least N characters long"
  },
  { "locale": "ru", "message": "template {label} not found for Display Label" },
  { "locale": "ru", "message": "template {value} not found for Display Label" },
  {
    "locale": "sv",
    "message": "template {error} not found for Screenshot Error"
  },
  {
    "locale": "vi",
    "message": "template {number} not found for Global.Input Tags.Length Requirement"
  },
  {
    "locale": "zh-CN",
    "message": "template {videoCount} not found for User Playlists.AddVideoPrompt.Toast.{videoCount} video(s) added to 1 playlist"
  }
]

Issue Labels

text/string issue, usability issue

FreeTube Version

latest development

Operating System Version

Linux Mint 22

Installation Method

.deb

Primary API used

Invidious API

Last Known Working FreeTube Version (If Any)

No response

Additional Information

No response

Nightly Build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant