Localization part 3 (#333)
* TODO * TODO * Add some translations * Remote screen and settings * Video player and http client
This commit is contained in:
1 parent
9a7db6aab2
commit
7330b321a5
19 files changed
+837
-85
No files matched your search
@@ -30,6 +30,7 @@ namespace Locale
|
||||
MoveUp = "Move up"
|
||||
MoveDown = "Move down"
|
||||
Refresh = "Refresh"
|
||||
PlayNextVideo = "Play next video"
|
||||
end enum
|
||||
|
||||
@locale
|
||||
@@ -49,12 +50,13 @@ namespace Locale
|
||||
end enum
|
||||
|
||||
@locale
|
||||
enum LoginDialog
|
||||
enum Dialogs
|
||||
LoginToInvidious = "Login to Invidious"
|
||||
IpAddressNotAvailable = "IP address not available"
|
||||
ScanTheQrCode = "Scan the QR code"
|
||||
LoginInstructions1 = "Login to Invidious in order to view Subscriptions, Playlists, and use the Watch history."
|
||||
LoginInstructions2 = "Please note that an Invidious account is different from a YouTube account."
|
||||
ExitPlayletQuestion = "Do you want to exit Playlet?"
|
||||
end enum
|
||||
|
||||
@locale
|
||||
@@ -71,9 +73,10 @@ namespace Locale
|
||||
end enum
|
||||
|
||||
@locale
|
||||
enum Genetic
|
||||
enum Generic
|
||||
Yes = "Yes"
|
||||
No = "No"
|
||||
Success = "Success"
|
||||
end enum
|
||||
|
||||
@locale
|
||||
@@ -170,4 +173,105 @@ namespace Locale
|
||||
Upcoming = "UPCOMING"
|
||||
end enum
|
||||
|
||||
@locale
|
||||
enum Bookmarks
|
||||
YouCurrentlyHaveNoBookmarks = "You currently have no bookmarks."
|
||||
ToAddBookmarksInstructions = "To add bookmarks, long-press 'OK' on a video, playlist or channel."
|
||||
BookmarksAreExperimental = "Please note that Bookmarks is an experimental feature."
|
||||
end enum
|
||||
|
||||
@locale
|
||||
enum RemoteScreen
|
||||
CouldNotGetIpAddress = "Could not get IP address: are we connected to the internet?"
|
||||
|
||||
PlayletWebApp = "Playlet Web App"
|
||||
UsePlayletRemoteInTheBrowser = "Use Playlet Remote in the browser"
|
||||
LinkWithWiFi = "Link with Wi-Fi"
|
||||
LinkWithTvCode = "Link with TV code"
|
||||
CastFromYouTubeAppToPlaylet = "Cast from the YouTube app to Playlet"
|
||||
|
||||
WifiInstruction1 = "On your phone, connect to the same Wi-Fi network as this device."
|
||||
WifiInstruction2 = "Open the YouTube app on your phone."
|
||||
WifiInstruction3 = "Tap the cast icon and select %1"
|
||||
RokuConnectedTo = "Roku connected to:"
|
||||
WiredConnection = "Wired connection"
|
||||
|
||||
TvCodeInstruction1 = "On your phone, open the YouTube app."
|
||||
TvCodeInstruction2 = "Tap the cast icon."
|
||||
TvCodeInstruction3 = "Tap 'Link with TV code' and enter the code below."
|
||||
Loading = "Loading..."
|
||||
TvCodeError = "TV code error"
|
||||
FailedToGeneratePairingCode = "Failed to generate manual pairing code"
|
||||
end enum
|
||||
|
||||
@locale
|
||||
enum Settings
|
||||
Playback = "Playback"
|
||||
PlaybackPreferences = "Playback preferences"
|
||||
Autoplay = "Autoplay"
|
||||
AutoplayDescription = "When you finish a video, another plays automatically"
|
||||
PreferredQuality = "Preferred quality"
|
||||
PreferredQualityDescription = "Preferred video quality"
|
||||
AutoDASH = "Auto (DASH)"
|
||||
Seven20p = "720p"
|
||||
Medium = "Medium"
|
||||
|
||||
' "Invidious" is used as node id, so we can't use it before refactoring node ids.
|
||||
' Either way, Invidious doesn't translate, so it's fine to skip it here
|
||||
' Invidious = "Invidious"
|
||||
InvidiousPreferences = "Invidious preferences"
|
||||
Instance = "Instance"
|
||||
InstanceDescriptionTV = "Invidious instance to use. Example: https://example.com"
|
||||
ProxyVideos = "Proxy videos"
|
||||
ProxyVideosDescription = "Proxy videos through the Invidious server. This is useful if videos are geoblocked."
|
||||
Always = "Always"
|
||||
OnlyIfNeeded = "Only if needed"
|
||||
Never = "Never"
|
||||
|
||||
SponsorBlock = "SponsorBlock"
|
||||
SponsorBlockPreferences = "SponsorBlock preferences"
|
||||
Enabled = "Enabled"
|
||||
EnabledDescription = "Enable SponsorBlock"
|
||||
ShowNotifications = "Show notifications"
|
||||
ShowNotificationsDescription = "Show notifications when a segment is skipped"
|
||||
|
||||
SearchHistory = "Search History"
|
||||
SearchHistoryPreferences = "Search history preferences"
|
||||
EnableSearchHistory = "Enable 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."
|
||||
|
||||
Miscellaneous = "Miscellaneous"
|
||||
MiscellaneousPreferences = "Misc. preferences"
|
||||
EditHomeScreen = "Edit home screen"
|
||||
EditHomeScreenDescription = "Enable/disable and reorder sections on the home screen"
|
||||
QueueNotifications = "Queue notifications"
|
||||
QueueNotificationsDescription = "Show a notification when a video is added to the queue"
|
||||
|
||||
Developer = "Developer"
|
||||
DeveloperPreferences = "Developer preferences"
|
||||
UseDevVideoPlayer = "Use dev video player"
|
||||
UseDevVideoPlayerDescription = "Enable the dev video player. This is an unfinished video player for testing purposes."
|
||||
PlayletLibraryVersion = "Playlet Library version"
|
||||
PlayletLibraryVersionDescription = "The version of Playlet Lib to use. These correspond to tagged releases on Github. Releases that do not have a playlet-lib.zip file are disabled."
|
||||
end enum
|
||||
|
||||
@locale
|
||||
enum VideoPlayer
|
||||
FullScreenHint = "Press Options (*) for full screen"
|
||||
VideoLoadError = "Video load error"
|
||||
VideoLoadErrorMessage = "Failed to load video information for %1"
|
||||
ErrorPlayingVideo = "Error playing video %1"
|
||||
ErrorClosingVideo = "Error closing video"
|
||||
end enum
|
||||
|
||||
@locale
|
||||
enum HttpClient
|
||||
RequestNotSent = "Request not sent."
|
||||
RequestTimedOut = "Request timed out."
|
||||
RequestCancelled = "Request cancelled."
|
||||
Reason = "Reason"
|
||||
end enum
|
||||
|
||||
end namespace
|
||||
@@ -1,9 +1,13 @@
|
||||
' TODO:P2 Translations left
|
||||
' - Some error messages
|
||||
' - Settings file
|
||||
' - Remote screen
|
||||
' TODO:P2 Translations left:
|
||||
' - Search filters
|
||||
' - Web app
|
||||
' - Loading messages
|
||||
' - Video player
|
||||
' - sponsorblock chapters
|
||||
' - Queue
|
||||
' - SponsorBlock notification
|
||||
' - Device connected notification
|
||||
' - Added to queue notification
|
||||
|
||||
import "pkg:/source/utils/MathUtils.bs"
|
||||
|
||||
|
||||
Reference in new issue
Block a user