locale for web app (#334)

* locale for web app

* more translations

* Rename profiles service to avoid locale conflict

* More translation work

* Lint fix

---------

Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
Brahim Hadricheandgithub-action linter authored and GitHub committed 2024-03-22 17:43:03 -04:00
1 parent 019fde1e67
commit 42dadec020
54 files changed
+538 -151

No files matched your search

+38 -1
View File
@@ -65,6 +65,23 @@ namespace Locale
Oldest = "Oldest"
DateAdded = "Date added (newest)"
LastVideoAdded = "Last video added"
ChannelLoadError = "Channel load error"
FailedToLoadChannel = "Failed to load channel %1"
PlaylistLoadError = "Playlist load error"
FailedToLoadPlaylist = "Failed to load playlist %1"
NoResultsFound = "No results found"
NoResultsFoundMessage = "We didn't find any results for your search. Please try again with a different query or different filters."
InvidiousPublicInstancesLoadError = "Invidious public instances load error"
FailedToLoadInvidiousPublicInstances = "Failed to load Invidious public instances"
FailedToLoadFeed = "Failed to load feed"
UserLoggedOut = "User logged out"
UserLoggedOutMessage = "It looks like you are logged in to Invidious, but do not have the required permissions.\nFor that reason, we have logged you out from the following profiles: %1\nPlease log in again.\nThis can happen when Playlet is updated with new features.\nWe apologize for the inconvenience."
LoungeServiceSetupError = "Lounge service setup error"
LoungeFailedToGetScreenId = "Failed to get screen ID. Please restart Playlet to use the cast function."
LoungeNotAValidScreenId = "Not a valid screen id: %1"
LoungeFailedToGetLoungeToken = "Failed to get lounge token. Please restart Playlet to use the cast function."
LoungeInvalidResponse = "Invalid response: %1"
LoungeFailedToGetSessionData = "Failed to get session data. Please restart Playlet to use the cast function."
end enum
@locale
@@ -247,7 +264,7 @@ namespace Locale
SearchHistory = "Search History"
SearchHistoryPreferences = "Search history preferences"
EnableSearchHistory = "Enable search history"
ClearSearchHistory = "Clear Search History"
ClearSearchHistory = "Clear search history"
ClearSearchHistoryDescription = "Clear search history from Playlet. This affects the search suggestions. This does not affect the watch history on Invidious."
SearchHistoryCleared = "Search history cleared."
@@ -321,4 +338,24 @@ namespace Locale
enum VideoQueue
Queue = "Queue"
end enum
' Translations specific to the web app
@locale
enum WebApp
LoadMore = "Load more"
NoBookmarks = "No Bookmarks"
ToAddBookmarksInstructions = "To add bookmarks, select a video, playlist or channel, and add a bookmark."
InstanceDescriptionWeb = "Invidious instance to use. Example: https://example.com. Find more instances at $INVIDIOUS_PUBLIC_INSTANCES"
ThankYou = "Thank you for using Playlet."
FeedbackLinks = "You have feedback? Let us know by %IssueStart%creating an issue on Github%IssueEnd% or by %EmailStart%sending an email%EmailEnd%."
PlayletLibVersionLatestDefault = "Latest (default)"
Apply = "Apply"
PlayletLibVersionChangeDialog1 = "Are you sure you want to change the Playlet Library version to %1?"
PlayletLibVersionChangeDialog2 = "This will restart Playlet."
PlayletLibVersionChangeConfirm = "Playlet Library version changed. Playlet will now restart."
ErrorWithLogin = "Error with login, please refresh the page."
Profiles = "Profiles"
DropYouTubeLinkHere = "Drop a YouTube link here"
end enum
end namespace
+25 -1
View File
@@ -1,8 +1,32 @@
' TODO:P2 Translations left:
' - Context menu
' - Search filters
' - Web app
' - Loading messages
' Web app:
' - Video publish text
' - Video video count
' - Video live/upcoming/premiere indicator
' - Playlist updated time
' - Playlist video count
' - Channel sub count
' - Video dialog options
' - Play on
' - Queue on
' - Open in Invidious
' - Cancel
' - Channel dialog options
' - Open on
' - Open in Invidious
' - Cancel
' - Playlist dialog options
' - Play on
' - Queue on
' - Open on
' - Open in Invidious
' - Cancel
import "pkg:/source/utils/MathUtils.bs"