-
Notifications
You must be signed in to change notification settings - Fork 886
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
Clean up many unused strings #5891
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-US
file but hadn't been removed from other locale files and the second group are strings that did exist inen-US
but 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 therules
object 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/locales
folder after runningyarn pack:renderer
:627 KB
606 KB
587 KB
The 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 Mode
andVideo.Player.Exit Theatre Mode
Playlist.Videos
-> Replaced byGlobal.Counts.Video Count
Playlist.Views
-> Replaced byGlobal.Counts.View Count
Playlist.Views
-> Replaced byGlobal.Counts.View Count
Settings.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.Unsubscribe
Channels.Unsubscribed
-> Replaced byChannel.Channel has been removed from your subscriptions
Settings.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 the
andAbout.AGPLv3
About.Thank you very much to the People and Projects that make FreeTube possible!
-> Replaced byAbout.FreeTube is made possible by
andAbout.these people and projects
About.Looking for help? Check out our Wiki page.
-> Replaced byAbout.Help
,About.FreeTube Wiki
,About.FAQ
andAbout.Discussions
About.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 rules
About.If you enjoy using FreeTube, consider donating via Liberapay or through our Bitcoin address.
-> Replaced byAbout.Donate
About.Found a bug? Want to suggest a feature? Want to help out? Check out our GitHub page. Pull requests are welcome.
About.Latest FreeTube News
About.View License
About.Translate via Weblate
-> Replaced byAbout.Translate
About.Channel Rules
-> Replaced byAbout.Please read the
andAbout.room rules
About.Licensed under the AGPLv3
-> Replaced byAbout.Licensed under the
andAbout.AGPLv3
About.License
-> Replaced byAbout.Licensed under the
andAbout.AGPLv3
About.Wiki
-> Replaced byAbout.FreeTube Wiki
About.Useful Links
About.Release Notes
-> Replaced byAbout.Downloads / Changelog
About.Report an Issue
-> Replaced byAbout.Report a problem
About.Source Code
-> Replaced byAbout.Source code
About.Contact
Channel.Subscriber
-> Replaced byGlobal.Counts.Subscriber Count
Channel.Subscribers
-> Replaced byGlobal.Counts.Subscriber Count
User 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 undone
Settings.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 FreeTube
Settings.Data Settings.Import YouTube
Settings.Data Settings.Import NewPipe
Settings.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 Player
Settings.General Settings.External Player Executable
Settings.Distraction Free Settings.Blur Thumbnails
-> Replaced bySettings.General Settings.Thumbnail Preference.Blur
Profile.{count} selected
Desktop