-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Clean up many unused strings #5891
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
Conversation
|
LGTM, will approve if/when you give the green light. Two q's:
|
|
|
That is reasonable. They do have an experiment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, this should be fine to be included in v0.22.0
Clean up many unused strings
Pull Request Type
Description
This pull request removes many of the unused strings in FreeTube's locale files, I left in ones that I thought we might use in the future such as app menu translations and Prompt to Skip for Sponsor Block. The removed strings can be divided into two groups, strings that no longer exist in the
en-USfile but hadn't been removed from other locale files and the second group are strings that did exist inen-USbut are no longer used for one reason or another.The unused strings were found by adding
'@intlify/vue-i18n/no-unused-keys': ['error', { src: './src/renderer', }]to therulesobject in the YAML section of the ESLint config and then manually checked (many thanks to VS Code's find in files functionality).The size of the
dist/static/localesfolder after runningyarn pack:renderer:627 KB606 KB587 KBThe removed strings:
Unused
User Playlists.Playlist Message-> We have support for multiple playlists nowUser Playlists.Your saved videos are empty. ...-> We replaced the saved videos list with proper playlists support.Toggle Theatre Mode-> Replaced byVideo.Player.Theatre ModeandVideo.Player.Exit Theatre ModePlaylist.Videos-> Replaced byGlobal.Counts.Video CountPlaylist.Views-> Replaced byGlobal.Counts.View CountPlaylist.Views-> Replaced byGlobal.Counts.View CountSettings.Data Settings.Check for Legacy Subscriptions-> The subscriptions import automatically detects the type based on the file extension and contentsSettings.Expand All Settings Sections-> Associated setting was removed in Settings menu & UX improvements #5029Subscriptions have not yet been implemented-> FreeTube has had subscriptions for a long time nowHashtags have not yet been implemented, try again later-> FreeTube has supported hashtags for a few releases nowChannels.Unsubscribe-> Replaced byChannel.UnsubscribeChannels.Unsubscribed-> Replaced byChannel.Channel has been removed from your subscriptionsSettings.Subscription Settings.Manage Subscriptions-> The code using it was removed in Fix blank space in the subscription settings #2372 but even before then it was unused because the code using it has av-if="false"on it, so it was never displayed.Unused and not in en-US
About.Check out our Firefox extension!-> FreeTube doesn't have its own browser extension anymoreAbout.This software is FOSS and released under the GNU Affero General Public License v3.0..-> Replaced byAbout.Licensed under theandAbout.AGPLv3About.Thank you very much to the People and Projects that make FreeTube possible!-> Replaced byAbout.FreeTube is made possible byandAbout.these people and projectsAbout.Looking for help? Check out our Wiki page.-> Replaced byAbout.Help,About.FreeTube Wiki,About.FAQandAbout.DiscussionsAbout.Want to chat? Join our Element / Matrix Server . Please check the rules before joining.-> Replaced byAbout.Chat on Matrix,About.Please read the,About.room rulesAbout.If you enjoy using FreeTube, consider donating via Liberapay or through our Bitcoin address.-> Replaced byAbout.DonateAbout.Found a bug? Want to suggest a feature? Want to help out? Check out our GitHub page. Pull requests are welcome.About.Latest FreeTube NewsAbout.View LicenseAbout.Translate via Weblate-> Replaced byAbout.TranslateAbout.Channel Rules-> Replaced byAbout.Please read theandAbout.room rulesAbout.Licensed under the AGPLv3-> Replaced byAbout.Licensed under theandAbout.AGPLv3About.License-> Replaced byAbout.Licensed under theandAbout.AGPLv3About.Wiki-> Replaced byAbout.FreeTube WikiAbout.Useful LinksAbout.Release Notes-> Replaced byAbout.Downloads / ChangelogAbout.Report an Issue-> Replaced byAbout.Report a problemAbout.Source Code-> Replaced byAbout.Source codeAbout.ContactChannel.Subscriber-> Replaced byGlobal.Counts.Subscriber CountChannel.Subscribers-> Replaced byGlobal.Counts.Subscriber CountUser Playlists.SinglePlaylistView.Toast.Quick bookmark disabled-> Unused since Always have quick bookmark set #5058User Playlists.Disable Quick Bookmark-> Unused since Always have quick bookmark set #5058User Playlists.Are you sure you want to remove all watched videos from this playlist? This cannot be undone-> Replaced byUser Playlists.Are you sure you want to remove {playlistItemCount} watched videos from this playlist? This cannot be undoneSettings.Advanced Settings.*-> The entire section is not in en-US anymoreSettings.Subscription Settings.Import Subscriptions-> Subscription importing was moved to the data settings which has its own stringSettings.Subscription Settings.How do I import my subscriptions?-> Subscription importing was moved to the data settings which has its own stringSettings.Subscription Settings.Export Subscriptions-> Subscription exporting was moved to the data settings which has its own stringSettings.Subscription Settings.Subscriptions Export Format.*-> The entire section is not in en-US anymoreSettings.Data Settings.Import FreeTubeSettings.Data Settings.Import YouTubeSettings.Data Settings.Import NewPipeSettings.Player Settings.Remember History-> Was moved to the privacy settings which has its own stringSettings.General Settings.Invidious Instance (Default is https://invidious.snopyta.org)Settings.General Settings.External PlayerSettings.General Settings.External Player ExecutableSettings.Distraction Free Settings.Blur Thumbnails-> Replaced bySettings.General Settings.Thumbnail Preference.BlurProfile.{count} selectedDesktop