diff --git a/CHANGELOG.md b/CHANGELOG.md
index f259847d..ca8197e1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Low memory warnings to the app logs for easier memory issue debugging
+- German translations (Thanks to Lacey Anaya)
+- Sliding navbar (primarily to support German as it has longer words for the menu screens)
+
+### Changed
+
+- Some UI refactors to support the different languages (English, French, German)
## [0.23.7] - 2024-05-28
diff --git a/playlet-lib/src/components/AppController/AppController.bs b/playlet-lib/src/components/AppController/AppController.bs
index d33b47b2..6f529756 100644
--- a/playlet-lib/src/components/AppController/AppController.bs
+++ b/playlet-lib/src/components/AppController/AppController.bs
@@ -10,6 +10,7 @@ import "pkg:/source/utils/Types.bs"
function Init()
m.screens = {}
+ m.firstScreenCalled = false
end function
function OnNodeReady()
@@ -59,7 +60,7 @@ function ShowRootScreen(screenName as string) as void
screen.id = screenName
m.screens[screenName] = screen
' insert child at 0 to make sure it is behind the navbar
- m.root.insertChild(screen, 0)
+ m.screensContainer.insertChild(screen, 0)
if screen.hasField("binding_done")
screen@.BindNode()
end if
@@ -69,6 +70,10 @@ function ShowRootScreen(screenName as string) as void
return
end if
screen.visible = true
+ if not m.firstScreenCalled
+ m.firstScreenCalled = true
+ NodeSetFocus(screen, true)
+ end if
end function
function GetRootScreen(screenName as string) as object
diff --git a/playlet-lib/src/components/AppController/AppController.xml b/playlet-lib/src/components/AppController/AppController.xml
index bca38108..ecce35a3 100644
--- a/playlet-lib/src/components/AppController/AppController.xml
+++ b/playlet-lib/src/components/AppController/AppController.xml
@@ -1,5 +1,6 @@
+
diff --git a/playlet-lib/src/components/AppController/AppRoot.bs b/playlet-lib/src/components/AppController/AppRoot.bs
index 9c4abe6c..c26c3ca4 100644
--- a/playlet-lib/src/components/AppController/AppRoot.bs
+++ b/playlet-lib/src/components/AppController/AppRoot.bs
@@ -15,7 +15,7 @@ function OnFocusChange() as void
if m.lastFocusedChild <> invalid
focusNode = m.lastFocusedChild
else if m.top.getChildCount() > 0
- focusNode = m.top.getChild(0)
+ focusNode = m.top.getChild(m.top.getChildCount() - 1)
end if
if focusNode <> invalid
diff --git a/playlet-lib/src/components/AppController/AppScreens.bs b/playlet-lib/src/components/AppController/AppScreens.bs
new file mode 100644
index 00000000..a752475b
--- /dev/null
+++ b/playlet-lib/src/components/AppController/AppScreens.bs
@@ -0,0 +1,47 @@
+import "pkg:/source/utils/FocusManagement.bs"
+import "pkg:/source/utils/Types.bs"
+
+' TODO:P1 this is a duplicate of AppRoot, refactor to use the same code
+function Init()
+ m.scrollAnimation = m.top.findNode("scrollAnimation")
+ m.scrollAnimationInterpolator = m.scrollAnimation.findNode("scrollAnimationInterpolator")
+ m.lastFocusedChild = invalid
+ m.top.observeField("focusedChild", FuncName(OnFocusedChildChange))
+end function
+
+function OnFocusChange() as void
+ if not m.top.focus
+ return
+ end if
+
+ focusNode = invalid
+ if m.lastFocusedChild <> invalid
+ focusNode = m.lastFocusedChild
+ else if m.top.getChildCount() > 0
+ focusNode = m.top.getChild(0)
+ end if
+
+ if focusNode <> invalid
+ NodeSetFocus(focusNode, true)
+ end if
+end function
+
+function OnFocusedChildChange() as void
+ if m.top.focusedChild <> invalid
+ m.lastFocusedChild = m.top.focusedChild
+ end if
+end function
+
+function OnAnimateToPosition() as void
+ m.scrollAnimation.control = "stop"
+
+ current = m.top.translation[0]
+ destination = m.top.animateToPosition
+
+ if current = destination
+ return
+ end if
+
+ m.scrollAnimationInterpolator.keyValue = [[current, 0], [(current + destination) / 2, 0], [destination, 0]]
+ m.scrollAnimation.control = "start"
+end function
diff --git a/playlet-lib/src/components/AppController/AppScreens.xml b/playlet-lib/src/components/AppController/AppScreens.xml
new file mode 100644
index 00000000..3314fe1f
--- /dev/null
+++ b/playlet-lib/src/components/AppController/AppScreens.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/playlet-lib/src/components/MainScene.transpiled.xml b/playlet-lib/src/components/MainScene.transpiled.xml
index 61b28a11..13863f92 100644
--- a/playlet-lib/src/components/MainScene.transpiled.xml
+++ b/playlet-lib/src/components/MainScene.transpiled.xml
@@ -22,15 +22,16 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/playlet-lib/src/components/MainScene.xml b/playlet-lib/src/components/MainScene.xml
index 3b383ccf..6ec1d988 100644
--- a/playlet-lib/src/components/MainScene.xml
+++ b/playlet-lib/src/components/MainScene.xml
@@ -3,50 +3,46 @@
-
-
-
+
+
+
-
-
+
-
-
+
-
-
+
-
-
+
-
-
+
-
-
+
-
+ icon="pkg:/images/icons/info.png" />
diff --git a/playlet-lib/src/components/MainScene_bindings.transpiled.brs b/playlet-lib/src/components/MainScene_bindings.transpiled.brs
index d21a2939..f18cbf3d 100644
--- a/playlet-lib/src/components/MainScene_bindings.transpiled.brs
+++ b/playlet-lib/src/components/MainScene_bindings.transpiled.brs
@@ -6,12 +6,14 @@ function InitializeBindings()
},
childProps: {
"AppController": {
+ "screensContainer": "./AppScreens",
"root": "./AppRoot",
"stack": "./Stack",
"videoQueue": "./VideoQueue"
},
"NavBar": {
- "appController": "/AppController"
+ "appController": "/AppController",
+ "screensContainer": "../AppScreens"
},
"VideoQueue": {
"appController": "/AppController",
diff --git a/playlet-lib/src/components/NavBar/IconButton.bs b/playlet-lib/src/components/NavBar/IconButton.bs
deleted file mode 100644
index bb3a933f..00000000
--- a/playlet-lib/src/components/NavBar/IconButton.bs
+++ /dev/null
@@ -1,67 +0,0 @@
-import "pkg:/source/utils/MathUtils.bs"
-import "pkg:/source/utils/Types.bs"
-
-' Based on https://github.com/jellyfin/jellyfin-roku/blob/unstable/components/IconButton.brs
-function Init()
- m.buttonBackground = m.top.findNode("buttonBackground")
- m.buttonIcon = m.top.findNode("buttonIcon")
- m.buttonText = m.top.findNode("buttonText")
-
- m.top.observeField("background", FuncName(onBackgroundChanged))
- m.top.observeField("icon", FuncName(onIconChanged))
- m.top.observeField("text", FuncName(onTextChanged))
- m.top.observeField("height", FuncName(onHeightChanged))
- m.top.observeField("width", FuncName(onWidthChanged))
- m.top.observeField("padding", FuncName(onPaddingChanged))
-end function
-
-function OnFocusChange()
- if m.top.focus
- m.buttonBackground.blendColor = m.top.focusBackground
- else
- m.buttonBackground.blendColor = m.top.background
- end if
- m.buttonBackground.visible = m.top.focus
- m.buttonText.visible = m.top.focus
-end function
-
-function onBackgroundChanged()
- m.buttonBackground.blendColor = m.top.background
-end function
-
-function onIconChanged()
- m.buttonIcon.uri = m.top.icon
-end function
-
-function onTextChanged()
- m.buttonText.text = m.top.text
-end function
-
-function setIconSize()
- height = m.top.height
- width = m.top.width
- if height > 0 and width > 0
- iconSize = MathUtils.Min(height, width) - m.top.padding
- m.buttonIcon.height = iconSize
- m.buttonIcon.width = iconSize
-
- m.buttonIcon.translation = [((width - iconSize) / 2), ((height - iconSize) / 2)]
- m.buttonText.translation = [-5, height + 2]
- m.buttonText.width = width + 10
- end if
-end function
-
-function onHeightChanged()
- m.buttonBackground.height = m.top.height
- setIconSize()
-end function
-
-function onWidthChanged()
- m.buttonBackground.width = m.top.width - 10
- m.buttonBackground.translation = [5, 0]
- setIconSize()
-end function
-
-function onPaddingChanged()
- setIconSize()
-end function
diff --git a/playlet-lib/src/components/NavBar/IconButton.xml b/playlet-lib/src/components/NavBar/IconButton.xml
deleted file mode 100644
index c62c803d..00000000
--- a/playlet-lib/src/components/NavBar/IconButton.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/playlet-lib/src/components/NavBar/NavBar.bs b/playlet-lib/src/components/NavBar/NavBar.bs
index 22481b7c..8488ddd5 100644
--- a/playlet-lib/src/components/NavBar/NavBar.bs
+++ b/playlet-lib/src/components/NavBar/NavBar.bs
@@ -2,133 +2,147 @@ import "pkg:/source/utils/FocusManagement.bs"
import "pkg:/source/utils/Types.bs"
function Init()
+ m.lastIsInFocusChain = false
+ m.top.focusable = true
+ m.sideBar = m.top.findNode("SideBar")
+ m.background = m.top.findNode("Background")
+ m.itemsList = m.top.findNode("ItemsList")
+
+ m.fadeAnimation = m.top.findNode("FadeAnimation")
+ m.sideBarFadeInterpolator = m.top.findNode("SideBarFadeInterpolator")
+ m.backgroundFadeInterpolator = m.top.findNode("BackgroundFadeInterpolator")
end function
function OnNodeReady()
- PopulateButtons()
+ m.lastItemFocused = m.itemsList.itemFocused
m.top.observeField("focusedChild", FuncName(OnFocusedChildChange))
- m.top.observeField("items", FuncName(PopulateButtons))
+ m.itemsList.observeField("focusedChild", FuncName(OnListFirstFocus))
+
+ ' NavBar should be resized after the content is changed.
+ ' Since we don't expect it change after initial setup, resize on node ready once.
+ ResizeNavBar()
end function
-function OnFocusedChildChange()
- m.top.focusIndex = m.top.focusIndex
-end function
-
-function PopulateButtons() as void
- buttonCount = m.buttonGroup.getChildCount()
- if buttonCount > 0
- m.buttonGroup.removeChildrenIndex(buttonCount, 0)
- end if
-
- if m.top.items = invalid
- m.top.focusable = false
+function ResizeNavBar() as void
+ content = m.top.content
+ if content = invalid
return
end if
- navBarItems = m.top.items.getChildren(-1, 0)
-
- buttons = []
- for each item in navBarItems
- button = CreateObject("roSGNode", item.componentName)
- button.background = "#242424FF"
- button.focusBackground = "#FF1C30FF"
- button.height = 50
- button.width = 90
-
- button.icon = item.icon
- button.text = Tr(item.text)
- button.padding = item.padding
-
- buttons.push(button)
+ component = CreateObject("roSGNode", m.itemsList.itemComponentName)
+ itemSize = m.itemsList.itemSize
+ minWidth = itemSize[0]
+ items = content.getChildren(-1, 0)
+ for each item in items
+ component.itemContent = item
+ rect = component.boundingRect()
+ ' Add 35 to account for padding
+ width = rect.width + 35
+ if width > minWidth
+ minWidth = width
+ end if
end for
- m.buttonGroup.appendChildren(buttons)
-
- m.top.focusable = buttons.Count() > 0
-
- m.top.focusIndex = m.top.focusIndex
-
- CenterButtons()
+ m.itemsList.itemSize = [minWidth, itemSize[1]]
+ offset = minWidth - m.background.width + 30
+ m.top.screenOffset = offset
+ m.sideBar.width = offset
end function
-function CenterButtons()
- parent = m.buttonGroup.getParent()
- parentWidth = parent.width
- parentHeight = parent.height
+function OnListFirstFocus() as void
+ if not m.itemsList.hasFocus()
+ return
+ end if
- rect = m.buttonGroup.boundingRect()
+ m.itemsList.unobserveField("focusedChild")
+ initialFocus = m.top.initialFocus
+ if initialFocus > -1
+ m.itemsList.jumpToItem = initialFocus
+ end if
+ m.itemsList.observeField("itemFocused", FuncName(OnItemFocused))
+end function
- m.buttonGroup.translation = [parentWidth / 2 - rect.width / 2, parentHeight / 2 - rect.height / 2]
+function OnFocusedChildChange() as void
+ isInFocusChain = m.top.isInFocusChain()
+ if m.lastIsInFocusChain = isInFocusChain
+ return
+ end if
+
+ m.lastIsInFocusChain = isInFocusChain
+
+ m.sideBar.visible = isInFocusChain
+
+ if isInFocusChain
+ m.screensContainer.animateToPosition = m.top.screenOffset
+ else
+ m.screensContainer.animateToPosition = 0
+ end if
+
+ m.fadeAnimation.control = "stop"
+ m.sideBarFadeInterpolator.reverse = not isInFocusChain
+ m.backgroundFadeInterpolator.reverse = not isInFocusChain
+ m.fadeAnimation.control = "start"
+end function
+
+function OnFocusChange() as void
+ if not m.top.focus
+ return
+ end if
+ NodeSetFocus(m.itemsList, true)
+end function
+
+function OnItemFocused() as void
+ index = m.itemsList.itemFocused
+ item = GetItem(index)
+ if item = invalid
+ return
+ end if
+
+ if m.lastItemFocused <> index
+ UnfocusItem(m.lastItemFocused)
+ end if
+ m.lastItemFocused = index
+
+ m.appController@.ShowRootScreen(item.screen)
+end function
+
+function UnfocusItem(index as integer) as void
+ item = GetItem(index)
+ if item = invalid
+ return
+ end if
+
+ m.appController@.HideRootScreen(item.screen)
end function
function onKeyEvent(key as string, press as boolean) as boolean
- if not press
+ if key <> "right" or not press
return false
end if
- if key = "down"
- i = m.top.focusIndex
- target = i + 1
- if target >= m.buttonGroup.getChildCount()
- return false
- end if
- m.top.focusIndex = target
- return true
- else if key = "up"
- i = m.top.focusIndex
- target = i - 1
- if target < 0
- return false
- end if
- m.top.focusIndex = target
- return true
- else if key = "right"
- if m.top.items = invalid or m.top.focusIndex = -1 or m.top.focusIndex >= m.top.items.getChildCount()
- return false
- end if
- navBarItem = m.top.items.getChild(m.top.focusIndex)
- screen = m.appController@.GetRootScreen(navBarItem.screen)
- if screen = invalid
- return false
- end if
- if not screen.focusable
- return false
- end if
- NodeSetFocus(screen, true)
- return true
+
+ item = GetItem(m.itemsList.itemFocused)
+ if item = invalid
+ return false
end if
- return false
+ screen = m.appController@.GetRootScreen(item.screen)
+ if screen = invalid or not screen.focusable
+ return false
+ end if
+
+ NodeSetFocus(screen, true)
+ return true
end function
-function OnFocusIndexChange() as void
- if m.top.items = invalid
- return
+function GetItem(index as integer) as dynamic
+ content = m.itemsList.content
+ if content = invalid
+ return invalid
end if
- buttonCount = m.buttonGroup.getChildCount()
- if buttonCount = 0
- return
- end if
- focusIndex = m.top.focusIndex
- if focusIndex < 0
- m.top.focusIndex = 0
- return
- end if
- if focusIndex >= buttonCount
- m.top.focusIndex = buttonCount - 1
- return
+ childCount = content.getChildCount()
+ if childCount = 0 or index < 0 or index >= childCount
+ return invalid
end if
- navBarItems = m.top.items.getChildren(-1, 0)
-
- buttons = m.buttonGroup.getChildren(-1, 0)
- for i = 0 to buttonCount - 1
- if i <> focusIndex
- buttons[i].focus = false
- m.appController@.HideRootScreen(navBarItems[i].screen)
- end if
- end for
- if focusIndex <> -1
- m.buttonGroup.getChild(focusIndex).focus = m.top.hasFocus()
- m.appController@.ShowRootScreen(navBarItems[focusIndex].screen)
- end if
+ return content.getChild(index)
end function
diff --git a/playlet-lib/src/components/NavBar/NavBar.xml b/playlet-lib/src/components/NavBar/NavBar.xml
index c6650970..603da069 100644
--- a/playlet-lib/src/components/NavBar/NavBar.xml
+++ b/playlet-lib/src/components/NavBar/NavBar.xml
@@ -1,21 +1,59 @@
-
+
+
-
-
-
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/playlet-lib/src/components/NavBar/NavBarComponent.bs b/playlet-lib/src/components/NavBar/NavBarComponent.bs
new file mode 100644
index 00000000..9107d1b7
--- /dev/null
+++ b/playlet-lib/src/components/NavBar/NavBarComponent.bs
@@ -0,0 +1,44 @@
+function Init()
+ m.titleLabel = m.top.findNode("TitleLabel")
+ m.titleLabelFocused = m.top.findNode("TitleLabelFocused")
+ m.iconPoster = m.top.findNode("IconPoster")
+ m.profileIcon = m.top.findNode("ProfileIcon")
+end function
+
+function OnContentSet() as void
+ content = m.top.itemContent
+ if content = invalid
+ return
+ end if
+
+ m.titleLabel.text = content.text
+ m.titleLabelFocused.text = content.text
+
+ isProfile = content.isProfile
+ if isProfile
+ m.iconPoster.visible = false
+ m.profileIcon.visible = true
+ else
+ m.iconPoster.visible = true
+ m.profileIcon.visible = false
+ m.iconPoster.uri = content.icon
+ end if
+
+ OnListHasFocusChange()
+end function
+
+function OnItemHasFocusChange() as void
+ itemHasFocus = m.top.itemHasFocus
+ m.titleLabelFocused.visible = itemHasFocus
+ m.titleLabel.visible = not itemHasFocus
+end function
+
+function OnListHasFocusChange()
+ listHasFocus = m.top.listHasFocus
+ if not listHasFocus
+ m.titleLabelFocused.visible = false
+ m.titleLabel.visible = false
+ else
+ OnItemHasFocusChange()
+ end if
+end function
diff --git a/playlet-lib/src/components/NavBar/NavBarComponent.xml b/playlet-lib/src/components/NavBar/NavBarComponent.xml
new file mode 100644
index 00000000..36e780bd
--- /dev/null
+++ b/playlet-lib/src/components/NavBar/NavBarComponent.xml
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/playlet-lib/src/components/NavBar/NavBarItem.xml b/playlet-lib/src/components/NavBar/NavBarItem.xml
deleted file mode 100644
index ceed3a39..00000000
--- a/playlet-lib/src/components/NavBar/NavBarItem.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/playlet-lib/src/components/NavBar/NavBarItemContent.xml b/playlet-lib/src/components/NavBar/NavBarItemContent.xml
new file mode 100644
index 00000000..0c9368e8
--- /dev/null
+++ b/playlet-lib/src/components/NavBar/NavBarItemContent.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/playlet-lib/src/components/NavBar/ProfileIcon.bs b/playlet-lib/src/components/NavBar/ProfileIcon.bs
new file mode 100644
index 00000000..11e6e688
--- /dev/null
+++ b/playlet-lib/src/components/NavBar/ProfileIcon.bs
@@ -0,0 +1,36 @@
+import "pkg:/source/utils/StringUtils.bs"
+import "pkg:/source/utils/Types.bs"
+
+function Init()
+ m.buttonIcon = m.top.findNode("buttonIcon")
+ m.circlePoster = m.top.findNode("circlePoster")
+ m.circlePosterInner = m.top.findNode("circlePosterInner")
+ m.letterLabel = m.top.findNode("letterLabel")
+
+ profilesService = m.top.getScene().findNode("ProfilesService")
+ if profilesService <> invalid
+ m.profilesService = profilesService
+ profilesService.observeField("currentProfile", FuncName(OnCurrentProfile))
+ OnCurrentProfile()
+ end if
+end function
+
+function OnCurrentProfile() as void
+ currentProfile = m.profilesService.currentProfile
+ if currentProfile = invalid
+ m.circlePoster.visible = false
+ m.buttonIcon.visible = true
+ return
+ end if
+
+ username = currentProfile.username
+ if not StringUtils.IsNullOrEmpty(username)
+ m.letterLabel.text = UCase(username.Left(1))
+ else
+ m.letterLabel.text = ""
+ end if
+ m.circlePosterInner.blendColor = currentProfile.color
+
+ m.circlePoster.visible = true
+ m.buttonIcon.visible = false
+end function
diff --git a/playlet-lib/src/components/NavBar/ProfileIcon.xml b/playlet-lib/src/components/NavBar/ProfileIcon.xml
new file mode 100644
index 00000000..168647d5
--- /dev/null
+++ b/playlet-lib/src/components/NavBar/ProfileIcon.xml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/playlet-lib/src/components/NavBar/ProfileIconButton.bs b/playlet-lib/src/components/NavBar/ProfileIconButton.bs
deleted file mode 100644
index 640c813a..00000000
--- a/playlet-lib/src/components/NavBar/ProfileIconButton.bs
+++ /dev/null
@@ -1,111 +0,0 @@
-import "pkg:/source/utils/Logging.bs"
-import "pkg:/source/utils/MathUtils.bs"
-import "pkg:/source/utils/StringUtils.bs"
-import "pkg:/source/utils/Types.bs"
-
-' TODO:P1 this file is a copy paste of IconButton. It should be refactored.
-function Init()
- m.buttonBackground = m.top.findNode("buttonBackground")
- m.buttonIcon = m.top.findNode("buttonIcon")
- m.buttonText = m.top.findNode("buttonText")
-
- m.circlePoster = m.top.findNode("circlePoster")
- m.circlePosterInner = m.top.findNode("circlePosterInner")
- m.letterLabel = m.top.findNode("LetterLabel")
-
- m.top.observeField("background", FuncName(onBackgroundChanged))
- m.top.observeField("icon", FuncName(onIconChanged))
- m.top.observeField("text", FuncName(onTextChanged))
- m.top.observeField("height", FuncName(onHeightChanged))
- m.top.observeField("width", FuncName(onWidthChanged))
- m.top.observeField("padding", FuncName(onPaddingChanged))
-
- profilesService = m.top.getScene().findNode("ProfilesService")
- if profilesService <> invalid
- m.profilesService = profilesService
- profilesService.observeField("currentProfile", FuncName(OnCurrentProfile))
- OnCurrentProfile()
- end if
-end function
-
-function OnFocusChange()
- if m.top.focus
- m.buttonBackground.blendColor = m.top.focusBackground
- else
- m.buttonBackground.blendColor = m.top.background
- end if
- m.buttonBackground.visible = m.top.focus
- m.buttonText.visible = m.top.focus
-end function
-
-function onBackgroundChanged()
- m.buttonBackground.blendColor = m.top.background
-end function
-
-function onIconChanged()
- m.buttonIcon.uri = m.top.icon
-end function
-
-function onTextChanged()
- m.buttonText.text = m.top.text
-end function
-
-function setIconSize()
- height = m.top.height
- width = m.top.width
- if height > 0 and width > 0
- iconSize = MathUtils.Min(height, width) - m.top.padding
- m.buttonIcon.height = iconSize
- m.buttonIcon.width = iconSize
-
- iconTranslation = [((width - iconSize) / 2), ((height - iconSize) / 2)]
- m.buttonIcon.translation = iconTranslation
- m.buttonText.translation = [-5, height + 2]
- m.buttonText.width = width + 10
-
- m.circlePoster.width = iconSize
- m.circlePoster.height = iconSize
- m.circlePoster.translation = iconTranslation
-
- m.circlePosterInner.width = iconSize - 4
- m.circlePosterInner.height = iconSize - 4
-
- m.letterLabel.width = iconSize - 4
- m.letterLabel.height = iconSize - 4
- end if
-end function
-
-function onHeightChanged()
- m.buttonBackground.height = m.top.height
- setIconSize()
-end function
-
-function onWidthChanged()
- m.buttonBackground.width = m.top.width - 10
- m.buttonBackground.translation = [5, 0]
- setIconSize()
-end function
-
-function onPaddingChanged()
- setIconSize()
-end function
-
-function OnCurrentProfile() as void
- currentProfile = m.profilesService.currentProfile
- if currentProfile = invalid
- m.circlePoster.visible = false
- m.buttonIcon.visible = true
- return
- end if
-
- username = currentProfile.username
- if not StringUtils.IsNullOrEmpty(username)
- m.LetterLabel.text = UCase(username.Left(1))
- else
- m.LetterLabel.text = ""
- end if
- m.circlePosterInner.blendColor = currentProfile.color
-
- m.circlePoster.visible = true
- m.buttonIcon.visible = false
-end function
diff --git a/playlet-lib/src/components/NavBar/ProfileIconButton.xml b/playlet-lib/src/components/NavBar/ProfileIconButton.xml
deleted file mode 100644
index 55b1a858..00000000
--- a/playlet-lib/src/components/NavBar/ProfileIconButton.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/playlet-lib/src/components/Screens/AppInfoScreen/AppInfoScreen.xml b/playlet-lib/src/components/Screens/AppInfoScreen/AppInfoScreen.xml
index 54e42090..65dc3f4d 100644
--- a/playlet-lib/src/components/Screens/AppInfoScreen/AppInfoScreen.xml
+++ b/playlet-lib/src/components/Screens/AppInfoScreen/AppInfoScreen.xml
@@ -4,7 +4,7 @@
diff --git a/playlet-lib/src/components/Screens/BookmarksScreen/BookmarksScreen.xml b/playlet-lib/src/components/Screens/BookmarksScreen/BookmarksScreen.xml
index 175db836..4a10614d 100644
--- a/playlet-lib/src/components/Screens/BookmarksScreen/BookmarksScreen.xml
+++ b/playlet-lib/src/components/Screens/BookmarksScreen/BookmarksScreen.xml
@@ -7,7 +7,7 @@
-
+
diff --git a/playlet-lib/src/components/Screens/RemoteScreen/RemoteScreen.bs b/playlet-lib/src/components/Screens/RemoteScreen/RemoteScreen.bs
index fcbf42a3..4da6bb1b 100644
--- a/playlet-lib/src/components/Screens/RemoteScreen/RemoteScreen.bs
+++ b/playlet-lib/src/components/Screens/RemoteScreen/RemoteScreen.bs
@@ -27,12 +27,12 @@ function Init()
m.wifiInstructionWithDeviceNameLabel.drawingStyles = {
"Bold": {
"fontSize": 22
- "fontUri": "font:SmallBoldSystemFont"
+ "fontUri": "font:MediumSystemFontFile"
"color": "#DDDDDDFF"
}
"default": {
"fontSize": 22
- "fontUri": "font:SmallSystemFont"
+ "fontUri": "font:SystemFontFile"
"color": "#DDDDDDFF"
}
}
@@ -95,10 +95,11 @@ function OnButtonSizeChange()
width3 = m.linkWithTvButton.contentWidth
width = MathUtils.Max(width1, MathUtils.Max(width2, width3))
+ width = MathUtils.Max(width, 380)
- m.webAppButton.minimumWidth = width
- m.linkWithWifiButton.minimumWidth = width
- m.linkWithTvButton.minimumWidth = width
+ m.webAppButton.minWidth = width
+ m.linkWithWifiButton.minWidth = width
+ m.linkWithTvButton.minWidth = width
end function
function OnkeyEvent(key as string, press as boolean) as boolean
diff --git a/playlet-lib/src/components/Screens/RemoteScreen/RemoteScreen.xml b/playlet-lib/src/components/Screens/RemoteScreen/RemoteScreen.xml
index ac1c2051..ced0b8fc 100644
--- a/playlet-lib/src/components/Screens/RemoteScreen/RemoteScreen.xml
+++ b/playlet-lib/src/components/Screens/RemoteScreen/RemoteScreen.xml
@@ -16,144 +16,159 @@
vertAlign="center"
text="Could not get IP address: are we connected to the internet?"
wrap="true"
- translation="[180,0]"
+ translation="[145,0]"
/>
-
+
-
+
-
+
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
+
+
+ width="400"
+ height="30"
+ font="font:SmallBoldSystemFont"
+ horizAlign="center"
+ vertAlign="center"
+ text="Scan the QR code" />
+
+ id="WebAppUrlLabel"
+ width="400"
+ height="30"
+ font="font:SmallBoldSystemFont"
+ horizAlign="center"
+ vertAlign="center" />
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text="Roku connected to:"
+ translation="[0,220]">
+
+
+ id="WifiNameLabel"
+ color="#4287f5"
+ translation="[0,250]">
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+ id="LinkCodeLabel"
+ font="font:LargeBoldSystemFont"
+ color="#4287f5">
+
+
-
-
-
+
+
\ No newline at end of file
diff --git a/playlet-lib/src/components/Screens/SearchScreen/SearchScreen.xml b/playlet-lib/src/components/Screens/SearchScreen/SearchScreen.xml
index deea2c91..e569edb9 100644
--- a/playlet-lib/src/components/Screens/SearchScreen/SearchScreen.xml
+++ b/playlet-lib/src/components/Screens/SearchScreen/SearchScreen.xml
@@ -10,7 +10,7 @@
+
-
+
+
+
+
+
+
-
+
\ No newline at end of file
diff --git a/playlet-lib/src/components/Screens/SettingsScreen/SettingsScreen.bs b/playlet-lib/src/components/Screens/SettingsScreen/SettingsScreen.bs
index c36d50a2..77bd0fa1 100644
--- a/playlet-lib/src/components/Screens/SettingsScreen/SettingsScreen.bs
+++ b/playlet-lib/src/components/Screens/SettingsScreen/SettingsScreen.bs
@@ -9,7 +9,7 @@ function Init()
m.scrollAnimation = m.top.findNode("scrollAnimation")
m.scrollAnimationInterpolator = m.scrollAnimation.findNode("scrollAnimationInterpolator")
m.viewport = {
- x: 150
+ x: 115
y: 50
width: 1920
height: 620
@@ -17,10 +17,10 @@ function Init()
end function
function OnNodeReady()
- startX = 150
+ startX = 115
startY = 100
- controlsX = 450
+ controlsX = 435
categorySpacing = 50
controlSpacing = 25
@@ -72,6 +72,7 @@ end function
function CreateCategoryNode(item as object, container as object, startX as integer, startY as integer) as object
node = container.createChild("SettingCategory")
+ node.maxWidth = 440
node.translation = [startX, startY]
node.displayText = Tr(item.displayText)
node.description = Tr(item.description)
diff --git a/playlet-lib/src/locale/de_DE/translations.ts b/playlet-lib/src/locale/de_DE/translations.ts
index d7f12c48..90a01714 100644
--- a/playlet-lib/src/locale/de_DE/translations.ts
+++ b/playlet-lib/src/locale/de_DE/translations.ts
@@ -1,8 +1,1272 @@
- UTF-8
-
- default
-
-
\ No newline at end of file
+UTF-8
+
+ default
+
+ Login
+ Einloggen
+
+
+ Logout
+ Ausloggen
+
+
+ Cancel
+ Abbrechen
+
+
+ Close
+ Schließen
+
+
+ Exit
+ Verlassen
+
+
+ Filters
+ Filter
+
+
+ IP address not available
+ IP Adresse nicht verfügbar
+
+
+ Login to Invidious in order to view Subscriptions, Playlists, and use the Watch history.
+ Bei Invidious einloggen, um auf Abonnements, Wiedergabelisten und Wiedergabeverlauf zuzugreifen.
+
+
+ Load more
+ Mehr laden
+
+
+ Queue
+ Warteschlange
+
+
+ No Bookmarks
+ Keine Lesezeichen
+
+
+ To add bookmarks, select a video, playlist or channel, and add a bookmark.
+ Wählen Sie ein Video, eine Wiedergabeliste oder einen Kanal, um Lesezeichen hinzuzufügen.
+
+
+ Playlet Library version changed. Playlet will now restart.
+ Die Playlet Library Version hat sich geändert. Playlet startet nun neu.
+
+
+ We didn't find any results for your search. Please try again with a different query or different filters.
+ Es konnten keine Suchergebnisse gefunden werden. Bitte versuchen Sie es mit einer neuen Sucheingabe oder anderen Filtern erneut.
+
+
+ Failed to load channel %1
+ Der Kanal %1 konnte nicht geladen werden
+
+
+ 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.
+ Es sieht so aus, als hätten Sie sich bei Invidious angemeldet, ohne jedoch die erforderlichen Berechtigungen zu besitzen.\nAus diesem Grund wurden Sie aus Folgenden Profilen ausgeloggt: %1\nBitte loggen Sie sich wieder ein.\nDies kann Folge eines Updates von Playlet sein.\nWir entschuldigen uns für entstandene Unannehmlichkeiten.
+
+
+ Premieres in 1 minute
+ Premiere in 1 Minute
+
+
+ Lounge service setup error
+ Fehler beim Setup des Lounge-Services
+
+
+ Failed to get lounge token. Please restart Playlet to use the cast function.
+ Lounge Token konnte nicht geladen werden. Bitte starten Sie Playlet erneut, um die Cast-Funktion nutzen zu können.
+
+
+ name
+ Name
+
+
+ 0 videos
+ 0 Videos
+
+
+ 1 video
+ 1 Video
+
+
+ 1 view
+ 1 Aufruf
+
+
+ Updated ^n weeks ago
+ Vor ^n Wochen aktualisiert
+
+
+ 1 day ago
+ Vor 1 Tag
+
+
+ Updated 1 month ago
+ Vor 1 Monat aktualisiert
+
+
+ ^n days ago
+ Vor ^n Tagen
+
+
+ Premieres in 1 day
+ Premiere in 1 Tag
+
+
+ To add bookmarks, long-press 'OK' on a video, playlist or channel.
+ Drücken sie lange auf 'OK' bei einem Video, einer Wiedergabeliste oder einem Kanal, um ein Lesezeichen hinzuzufügen.
+
+
+ Could not get IP address: are we connected to the internet?
+ IP Adresse nicht gefunden: ist dieses Gerät mit dem Internet verbunden?
+
+
+ Cast from the YouTube app to Playlet
+ Von der YouTube App zu Playlet mithilfe der Cast-Funktion übertragen
+
+
+ Loading...
+ Lädt...
+
+
+ When you finish a video, another plays automatically
+ Nach dem Ende eines Videos wird automatisch ein neues Video wiedergegeben
+
+
+ Auto (DASH)
+ Automatisch (DASH)
+
+
+ Medium
+ Mittel
+
+
+ 720p
+ 720p
+
+
+ Proxy videos
+ Videos über einen Proxy abrufen
+
+
+ Proxy videos through the Invidious server. This is useful if videos are geoblocked.
+ Die Invidious Instanz als Proxy für Videos nutzen. Kann dabei helfen, Videos abzurufen, die in bestimmten Ländern gesperrt sind.
+
+
+ Only if needed
+ Nur falls nötig
+
+
+ Show notifications when a segment is skipped
+ Benachrichtigung anzeigen wenn ein Videoabschnitt übersprungen wird
+
+
+ Search history preferences
+ Suchverlaufseinstellungen
+
+
+ Clear search history
+ Suchverlauf löschen
+
+
+ Search history cleared.
+ Suchverlauf gelöscht.
+
+
+ Clear search history from Playlet. This affects the search suggestions. This does not affect the watch history on Invidious.
+ Löscht den Suchverlauf von Playlet. Führt zu veränderten Suchvorschlägen. Dies hat keinen Einfluss auf den Wiedergabeverlauf auf Invidious.
+
+
+ Edit home screen
+ Startseite bearbeiten
+
+
+ Enable/disable and reorder sections on the home screen
+ Abschnitte auf der Startseite aktivieren/deaktivieren und verschieben
+
+
+ Enable the dev video player. This is an unfinished video player for testing purposes.
+ Den Entwickler-Videoplayer aktivieren. Dieser ist ein unfertiger Videoplayer zum Testen.
+
+
+ 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.
+ Die Version der Playlet Library, die genutzt werden soll. Die Versionen entsprechen den markierten Releases auf GitHub. Releases, die die Datei playlet-lib.zip nicht enthalten, sind deaktiviert.
+
+
+ Request not sent.
+ Anfrage nicht gesendet.
+
+
+ Highlight
+ Höhepunkt
+
+
+ Error closing video
+ Fehler beim Schließen des Videos
+
+
+ Request timed out.
+ Zeitüberschreitung der Anfrage (timed out).
+
+
+ Request cancelled.
+ Anfrage abgebrochen.
+
+
+ Reason
+ Grund
+
+
+ Interaction Reminder (Subscribe)
+ Interaktionsaufforderung (Abonnieren)
+
+
+ Interaction Reminder
+ Interaktionsaufforderung
+
+
+ Filler Tangent/Jokes
+ Zeit schindendes Nebenthema/Witze
+
+
+ Open Playlist Channel
+ Erstellerkanal der Wiedergabeliste öffnen
+
+
+ Any date
+ Irgendein Datum
+
+
+ Video
+ Video
+
+
+ Channel
+ Kanal
+
+
+ Any duration
+ Irgendeine Dauer
+
+
+ Under 4 minutes
+ Unter 4 Minuten
+
+
+ 4 - 20 minutes
+ 4 - 20 Minuten
+
+
+ HD
+ HD
+
+
+ Creative Commons
+ Creative Commons
+
+
+ Purchased
+ Gekauft
+
+
+ Profile
+ Profil
+
+
+ Search
+ Suche
+
+
+ Home
+ Startseite
+
+
+ Bookmarks
+ Lesezeichen
+
+
+ Settings
+ Einstellungen
+
+
+ Remote
+ Fernsteuerung
+
+
+ Info
+ Info
+
+
+ OK
+ OK
+
+
+ Activate
+ Aktivieren
+
+
+ In Use
+ Wird genutzt
+
+
+ Subscriptions
+ Abonnements
+
+
+ Playlists
+ Wiedergabelisten
+
+
+ Watch history
+ Wiedergabeverlauf
+
+
+ Trending
+ Trends
+
+
+ Trending - Movies
+ Trends - Filme
+
+
+ Trending - Music
+ Trends - Musik
+
+
+ Trending - Gaming
+ Trends - Gaming
+
+
+ Popular
+ Populär
+
+
+ Videos
+ Videos
+
+
+ Shorts
+ Shorts
+
+
+ Live
+ Live
+
+
+ Releases
+ Veröffentlichungen
+
+
+ Podcasts
+ Podcasts
+
+
+ Edit
+ Bearbeiten
+
+
+ Save
+ Speichern
+
+
+ Subscribe
+ Abonnieren
+
+
+ Unsubscribe
+ Abonnement beenden
+
+
+ Login to Invidious
+ Bei Invidious einloggen
+
+
+ Test instance
+ Instanz testen
+
+
+ Scan the QR code
+ QR Code scannen
+
+
+ Please note that an Invidious account is different from a YouTube account.
+ Beachten Sie, dass ein Invidious-Benutzerkonto nicht das gleiche wie ein YouTube-Benutzerkonto ist.
+
+
+ Do you want to exit Playlet?
+ Wollen Sie Playlet verlassen?
+
+
+ Sort %1 by
+ %1 sortieren nach
+
+
+ Date added (newest)
+ Hinzugefügt am (neustes zuerst)
+
+
+ Latest
+ Neustes zuerst
+
+
+ Oldest
+ Ältestes zuerst
+
+
+ Last video added
+ Neustes hochgeladenes Video
+
+
+ Channel load error
+ Fehler beim Laden des Kanals
+
+
+ Playlist load error
+ Fehler beim Laden der Wiedergabeliste
+
+
+ No results found
+ Keine Suchergebnisse
+
+
+ Invidious public instances load error
+ Fehler beim laden öffentlicher Invidious-Instanzen
+
+
+ Failed to load Invidious public instances
+ Öffentliche Invidious-Instanzen konnten nicht geladen werden
+
+
+ Failed to load playlist %1
+ Die Wiedergabeliste %1 konnte nicht geladen werden
+
+
+ Failed to load feed
+ Feed konnte nicht geladen werden
+
+
+ User logged out
+ Benutzer ausgellogt
+
+
+ Failed to get screen ID. Please restart Playlet to use the cast function.
+ Bildschirm ID konnte nicht gefunden werden. Bitte starten sie Playlet neu, um die Cast-Funktion nutzen zu können.
+
+
+ Not a valid screen id: %1
+ Ungültige Bildschirm-ID: %1
+
+
+ Invalid response: %1
+ Ungültige Antwort: %1
+
+
+ Failed to get session data. Please restart Playlet to use the cast function.
+ Session-Daten konnten nicht geladen werden. Bitte starten Sie Playlet neu, um die Cast-Funktion nutzen zu können.
+
+
+ Invidious custom instance
+ Benutzerdefinierte Invidious-Instanz
+
+
+ Or
+ Oder
+
+
+ Invidious public instances
+ Öffentliche Invidious-Instanzen
+
+
+ Move up
+ Nach oben
+
+
+ Move down
+ Nach unten
+
+
+ version
+ Version
+
+
+ users
+ Benutzer
+
+
+ signup
+ Anmeldung
+
+
+ location
+ Standort
+
+
+ health
+ Gesundheit
+
+
+ Yes
+ Ja
+
+
+ No
+ Nein
+
+
+ Success
+ Erfolg
+
+
+ Refresh
+ Aktualisieren
+
+
+ Clear
+ Zurücksetzen
+
+
+ Play next video
+ Nächstes Video abspielen
+
+
+ Test
+ Test
+
+
+ Testing %1
+ Testet %1
+
+
+ Status
+ Status
+
+
+ Test duration
+ Testdauer
+
+
+ Details
+ Details
+
+
+ Valid URL
+ Gültige URL
+
+
+ Instance reachable
+ Instanz erreichbar
+
+
+ Fetch video details
+ Videodetails abrufen
+
+
+ Fetch video comments
+ Kommentare abrufen
+
+
+ Fetch video captions
+ Untertitel abrufen
+
+
+ Fetch video thumbnails
+ Vorschaubilder abrufen
+
+
+ Press 'OK' for details
+ Für Details 'OK' drücken
+
+
+ Url must not end with /
+ Url darf nicht auf '/' enden
+
+
+ The url seems to be of a valid format
+ Die Url scheint ein gültiges Format zu besitzen
+
+
+ Url must start with http:// or https://
+ Url muss mit http:// oder https:// anfangen
+
+
+ The instance can fetch video %1 captions for ID %2
+ Die Instanz kann %1 Untertitel für ID %2 abrufen
+
+
+ Did not find expected text in caption data from %1
+ Erwarteter Text konnte in den Untertiteldaten von %1 nicht gefunden werden
+
+
+ ^n videos
+ ^n Videos
+
+
+ 0 views
+ O Aufrufe
+
+
+ ^n views
+ ^n Aufrufe
+
+
+ Updated 1 minute ago
+ Vor 1 Minute aktualisiert
+
+
+ Updated ^n minutes ago
+ Vor ^n Minuten aktualisiert
+
+
+ Updated 1 hour ago
+ Vor 1 Stunde aktualisiert
+
+
+ Updated ^n months ago
+ Vor ^n Monaten aktualisiert
+
+
+ Updated 1 year ago
+ Vor 1 Jahr aktualisiert
+
+
+ Updated ^n years ago
+ Vor ^n Jahren aktualisiert
+
+
+ 1 year ago
+ Vor 1 Jahr
+
+
+ ^n years ago
+ Vor ^n Jahren
+
+
+ 1 month ago
+ Vor 1 Monat
+
+
+ Premieres in ^n minutes
+ Premiere in ^n Minuten
+
+
+ Premieres in ^n seconds
+ Premiere in ^n Sekunden
+
+
+ Premieres in 1 hour
+ Premiere in 1 Stunde
+
+
+ LIVE
+ LIVE
+
+
+ Channels
+ Kanäle
+
+
+ Please note that Bookmarks is an experimental feature.
+ Beachten Sie, dass es sich bei Lesezeichen um eine experimentelle Funktion handelt.
+
+
+ Playlet Web App
+ Playlet Web App
+
+
+ Use Playlet Remote in the browser
+ Playlet Fernbedienung im Browser nutzen
+
+
+ Link with Wi-Fi
+ Mit Wlan verbinden
+
+
+ On your phone, connect to the same Wi-Fi network as this device.
+ Verbinden Sie sich auf ihrem Handy mit dem Wlan, mit dem auch dieses Gerät verbunden ist.
+
+
+ Open the YouTube app on your phone.
+ Öffnen Sie die YouTube App auf Ihrem Handy.
+
+
+ Playback
+ Wiedergabe
+
+
+ Playback preferences
+ Wiedergabeeinstellungen
+
+
+ Autoplay
+ Automatische Wiedergabe
+
+
+ Always
+ Immer
+
+
+ Enabled
+ Aktiviert
+
+
+ Enable SponsorBlock
+ SponsorBlock aktivieren
+
+
+ Show notifications
+ Benachrichtigungen anzeigen
+
+
+ Enable search history
+ Suchverlauf aktivieren
+
+
+ Miscellaneous
+ Sonstiges
+
+
+ Misc. preferences
+ Sonstige Einstellungen
+
+
+ Queue notifications
+ Benachrichtigungen in eine Warteschlange einreihen
+
+
+ Developer
+ Entwickler
+
+
+ Skipped
+ Übersprungen
+
+
+ Endcards/Credits
+ Endcard/Abspann
+
+
+ Preview/Recap/Hook
+ Vorschau/Rückschau/Hook
+
+
+ Preview/Recap
+ Vorschau/Rückschau
+
+
+ Filler
+ Füllwörter/ Zeitverschwendung
+
+
+ Chapter
+ Kapitel
+
+
+ Thank you for using Playlet.
+ Danke, dass Sie Playlet nutzen.
+
+
+ Device connected
+ Gerät verbunden
+
+
+ Latest (default)
+ Neustes (Standard)
+
+
+ Apply
+ Anwenden
+
+
+ Are you sure you want to change the Playlet Library version to %1?
+ Möchten Sie die Playlet Library Version wirklich zu %1 ändern?
+
+
+ Error with login, please refresh the page.
+ Fehler beim Login, bitte Laden Sie die Website erneut.
+
+
+ Refresh Home
+ Startseite aktualisieren
+
+
+ Open Video Channel
+ Erstellerkanal des Videos öffnen
+
+
+ Last hour
+ Letzte Stunde
+
+
+ Today
+ Heute
+
+
+ This week
+ Diese Woche
+
+
+ This month
+ Dieser Monat
+
+
+ Movie
+ Film
+
+
+ Playlist
+ Wiedergabeliste
+
+
+ 4K
+ 4K
+
+
+ Subtitles/CC
+ Untertitel/CC
+
+
+ Over 20 minutes
+ Über 20 Minuten
+
+
+ 360°
+ 360°
+
+
+ Location
+ Standort
+
+
+ Relevance
+ Relevanz
+
+
+ HDR
+ HDR
+
+
+ Rating
+ Bewertung
+
+
+ View count
+ Aufrufe
+
+
+ Clear cache
+ Cache bereinigen
+
+
+ Clear cache from cachefs: and tmp:
+ Cache aus cachefs: und tmp: bereinigen
+
+
+ Cache cleared.
+ Cache bereinigt.
+
+
+ Fetch with CORS
+ Mit CORS abrufen
+
+
+ Invalid JSON from %1
+ Ungültiges JSON von %1
+
+
+ Invalid JSON from %1 (couldn't read %2)
+ Ungültiges JSON von %1 (%2 konnte nicht gelesen werden)
+
+
+ The instance is reachable and running %1 version %2
+ Die Instanz ist erreichbar und nutzt %1 Version %2
+
+
+ The instance can fetch video details for ID %1 (%2)
+ Die Instanz kann Videodetails von ID %1 (%2) abrufen
+
+
+ The instance can fetch video comments for ID %1 (%2 comments)
+ Die Instanz kann Kommentare von ID %1 (%2 Kommentare) abrufen
+
+
+ Invalid caption data from %1 (Content-Type is not text/vtt)
+ Ungültige Untertiteldaten von %1 (Content-Type ist nicht text/vtt)
+
+
+ Invalid caption data from %1 (response is not a valid vtt file)
+ Ungültige Untertiteldaten von %1 (Antwort ist keine gültige vtt-Datei)
+
+
+ No thumbnails found in JSON from %1
+ Keine Vorschaubilder im JSON von 1% gefunden
+
+
+ %1 is not reachable
+ %1 ist nicht erreichbar
+
+
+ Invalid thumbnail data %1 (Content-Type is not image/*)
+ Ungültige Vorschaubilddateien %1 (Content-Type ist nicht image/*)
+
+
+ The instance can fetch video thumbnail for ID %1 (%2)
+ Die Instanz kann das Vorschaubild von ID %1 (%2) abrufen
+
+
+ CORS header not set correctly from %1
+ CORS-Header von %1 nicht korrekt konfiguriert
+
+
+ The instance can fetch with CORS from %1
+ Die Instanz kann mit CORS von %1 abrufen
+
+
+ Passed
+ Bestanden
+
+
+ Failed
+ Nicht bestanden
+
+
+ 0 subscribers
+ 0 Abonnenten
+
+
+ 1 subscriber
+ 1 Abonnent
+
+
+ ^n subscribers
+ ^n Abonnenten
+
+
+ Updated ^n hours ago
+ Vor ^n Stunden aktualisiert
+
+
+ Updated 1 day ago
+ Vor 1 Tag aktualisiert
+
+
+ Updated ^n days ago
+ Vor ^n Tagen aktualisiert
+
+
+ Updated 1 week ago
+ Vor 1 Woche aktualisiert
+
+
+ ^n months ago
+ Vor ^n Monaten
+
+
+ 1 week ago
+ Vor 1 Woche
+
+
+ ^n weeks ago
+ Vor ^n Wochen
+
+
+ 1 hour ago
+ Vor 1 Stunde
+
+
+ ^n hours ago
+ Vor ^n Stunden
+
+
+ 1 minute ago
+ Vor 1 Minute
+
+
+ ^n minutes ago
+ Vor ^n Minuten
+
+
+ Premiering now
+ Premiere läuft
+
+
+ Premieres in 1 second
+ Premiere in 1 Sekunde
+
+
+ Premieres in ^n hours
+ Premiere in ^n Stunden
+
+
+ Premieres in ^n days
+ Premiere in ^n Tagen
+
+
+ UPCOMING
+ BEVORSTEHEND
+
+
+ You currently have no bookmarks.
+ Sie besitzen aktuell keine Lesezeichen.
+
+
+ Link with TV code
+ Mit einem TV-Code verbinden
+
+
+ Tap the cast icon and select %1
+ Drücken Sie auf das Cast-Symbol und wählen Sie %1 aus
+
+
+ Roku connected to:
+ Roku verbunden mit:
+
+
+ Wired connection
+ Kabelverbindung
+
+
+ On your phone, open the YouTube app.
+ Öffnen Sie die YouTube App auf Ihrem Handy.
+
+
+ Tap the cast icon.
+ Drücken Sie auf das Cast-Symbol.
+
+
+ Tap 'Link with TV code' and enter the code below.
+ Drücken Sie auf 'Mit TV-Code verbinden' und geben Sie den Code unten ein.
+
+
+ TV code error
+ TV-Code Fehler
+
+
+ Failed to generate manual pairing code
+ Erstellen eines manuellen Verbindungscodes fehlgeschlagen
+
+
+ Preferred quality
+ Bevorzugte Qualität
+
+
+ Preferred video quality
+ Bevorzugte Videoqualität
+
+
+ Invidious preferences
+ Invidious-Einstellungen
+
+
+ Instance
+ Instanz
+
+
+ Never
+ Niemals
+
+
+ SponsorBlock
+ SponsorBlock
+
+
+ SponsorBlock preferences
+ SponsorBlock Einstellungen
+
+
+ Invidious instance to use. Example: https://example.com
+ Invidous Instanz, die genutzt werden soll. Beispiel: https://beispiel.com
+
+
+ Search History
+ Suchverlauf
+
+
+ Show a notification when a video is added to the queue
+ Eine Benachrichtigung anzeigen, wenn ein Video der Warteschlange hinzugefügt wird
+
+
+ Developer preferences
+ Entwicklereinstellungen
+
+
+ Use dev video player
+ Entwickler-Videoplayer nutzen
+
+
+ Playlet Library version
+ Playlet Library Version
+
+
+ Press Options (*) for full screen
+ Für Vollbild auf Optionen (*) drücken
+
+
+ Video load error
+ Fehler beim Laden des Videos
+
+
+ Failed to load video information for %1
+ Videoinformationen für %1 konnten nicht geladen werden
+
+
+ Error playing video %1
+ Fehler beim Abspielen des Videos %1
+
+
+ Sponsor
+ Sponsor
+
+
+ Unpaid/Self Promotion
+ Nicht bezahlte/ eigennützige Werbung
+
+
+ Exclusive Access
+ Exklusiver Zugriff
+
+
+ Intermission/Intro Animation
+ Unterbrechung/Intro
+
+
+ Intermission
+ Unterbrechung
+
+
+ Music: Non-Music Section
+ Musik: Abschnitt ohne Musik
+
+
+ Non-Music
+ Nicht-Musik
+
+
+ Added to queue
+ Zur Warteschlange hinzugefügt
+
+
+ Press and hold Options (*) to open the queue
+ Drücken und halten Sie Optionen (*) um die Warteschlange zu öffnen
+
+
+ Device
+ Gerät
+
+
+ Invidious instance to use. Example: https://example.com. Find more instances at $INVIDIOUS_PUBLIC_INSTANCES
+ Invidious Instanz, die genutzt werden soll. Beispiel: https://beispiel.com. Mehr Instanzen finden Sie hier: $INVIDIOUS_PUBLIC_INSTANCES
+
+
+ You have feedback? Let us know by %IssueStart%creating an issue on Github%IssueEnd% or by %EmailStart%sending an email%EmailEnd%.
+ Haben Sie Feedback? Machen Sie uns mit einem %IssueStart%GitHub Issue%IssueEnd% oder mit einer %EmailStart%Email%EmailEnd% darauf aufmerksam.
+
+
+ This will restart Playlet.
+ Dies wird Playlet neustarten.
+
+
+ Profiles
+ Profile
+
+
+ Drop a YouTube link here
+ Hier einen YouTube-Link ablegen
+
+
+ Play on %1
+ Auf %1 abspielen
+
+
+ Queue on %1
+ Auf %1 der Warteschlange hinzufügen
+
+
+ Open on %1
+ Auf %1 öffnen
+
+
+ Open in Invidious
+ Auf Invidious öffnen
+
+
+ Start at
+ Anfangen bei
+
+
+ Play Video
+ Video abspielen
+
+
+ Queue Video
+ Video der Warteschlange hinzufügen
+
+
+ Play Playlist
+ Wiedergabeliste abspielen
+
+
+ Queue Playlist
+ Die Wiedergabeliste der Warteschlange hinzufügen
+
+
+ Open Channel
+ Kanal öffnen
+
+
+ Open Playlist
+ Wiedergabeliste öffnen
+
+
+ Refresh Bookmarks
+ Lesezeichen aktualisieren
+
+
+ Remove from %1 bookmarks
+ Aus %1 Lesezeichen entfernen
+
+
+ Add to %1 bookmark
+ Zu %1 Lesezeichen hinzufügen
+
+
+ Upload date
+ Uploaddatum
+
+
+ Type
+ Typ
+
+
+ Duration
+ Dauer
+
+
+ Features
+ Funktionen
+
+
+ Sort by
+ Sortiere nach
+
+
+ This year
+ Dieses Jahr
+
+
+ Any type
+ Irgendein Typ
+
+
+ VR180
+ VR180
+
+
+ 3D
+ 3D
+
+
+
diff --git a/playlet-lib/src/locale/en_US/translations.ts b/playlet-lib/src/locale/en_US/translations.ts
index e95b839c..6404dda8 100644
--- a/playlet-lib/src/locale/en_US/translations.ts
+++ b/playlet-lib/src/locale/en_US/translations.ts
@@ -1,1272 +1,1272 @@
- UTF-8
-
- default
-
- Profile
- Profile
-
-
- Search
- Search
-
-
- Home
- Home
-
-
- Bookmarks
- Bookmarks
-
-
- Settings
- Settings
-
-
- Remote
- Remote
-
-
- Info
- Info
-
-
- OK
- OK
-
-
- Activate
- Activate
-
-
- In Use
- In Use
-
-
- Login
- Login
-
-
- Logout
- Logout
-
-
- Close
- Close
-
-
- Exit
- Exit
-
-
- Cancel
- Cancel
-
-
- Filters
- Filters
-
-
- Subscriptions
- Subscriptions
-
-
- Playlists
- Playlists
-
-
- Watch history
- Watch history
-
-
- Trending
- Trending
-
-
- Trending - Movies
- Trending - Movies
-
-
- Trending - Music
- Trending - Music
-
-
- Trending - Gaming
- Trending - Gaming
-
-
- Popular
- Popular
-
-
- Videos
- Videos
-
-
- Shorts
- Shorts
-
-
- Live
- Live
-
-
- Releases
- Releases
-
-
- Podcasts
- Podcasts
-
-
- Edit
- Edit
-
-
- Save
- Save
-
-
- Test instance
- Test instance
-
-
- Subscribe
- Subscribe
-
-
- Unsubscribe
- Unsubscribe
-
-
- Login to Invidious
- Login to Invidious
-
-
- IP address not available
- IP address not available
-
-
- Scan the QR code
- Scan the QR code
-
-
- Login to Invidious in order to view Subscriptions, Playlists, and use the Watch history.
- Login to Invidious in order to view Subscriptions, Playlists, and use the Watch history.
-
-
- Please note that an Invidious account is different from a YouTube account.
- Please note that an Invidious account is different from a YouTube account.
-
-
- Do you want to exit Playlet?
- Do you want to exit Playlet?
-
-
- Sort %1 by
- Sort %1 by
-
-
- Latest
- Latest
-
-
- Oldest
- Oldest
-
-
- Date added (newest)
- Date added (newest)
-
-
- Last video added
- Last video added
-
-
- Channel load error
- Channel load error
-
-
- Failed to load channel %1
- Failed to load channel %1
-
-
- Playlist load error
- Playlist load error
-
-
- Failed to load playlist %1
- Failed to load playlist %1
-
-
- No results found
- No results found
-
-
- We didn't find any results for your search. Please try again with a different query or different filters.
- We didn't find any results for your search. Please try again with a different query or different filters.
-
-
- Invidious public instances load error
- Invidious public instances load error
-
-
- Failed to load Invidious public instances
- Failed to load Invidious public instances
-
-
- Failed to load feed
- Failed to load feed
-
-
- User logged out
- User logged out
-
-
- 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.
- 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.
-
-
- Lounge service setup error
- Lounge service setup error
-
-
- Failed to get screen ID. Please restart Playlet to use the cast function.
- Failed to get screen ID. Please restart Playlet to use the cast function.
-
-
- Not a valid screen id: %1
- Not a valid screen id: %1
-
-
- Failed to get lounge token. Please restart Playlet to use the cast function.
- Failed to get lounge token. Please restart Playlet to use the cast function.
-
-
- Invalid response: %1
- Invalid response: %1
-
-
- Failed to get session data. Please restart Playlet to use the cast function.
- Failed to get session data. Please restart Playlet to use the cast function.
-
-
- Invidious custom instance
- Invidious custom instance
-
-
- Or
- Or
-
-
- Invidious public instances
- Invidious public instances
-
-
- Move up
- Move up
-
-
- Move down
- Move down
-
-
- name
- name
-
-
- version
- version
-
-
- users
- users
-
-
- signup
- signup
-
-
- location
- location
-
-
- health
- health
-
-
- Yes
- Yes
-
-
- No
- No
-
-
- Success
- Success
-
-
- Refresh
- Refresh
-
-
- Play next video
- Play next video
-
-
- Clear
- Clear
-
-
- Test
- Test
-
-
- Testing %1
- Testing %1
-
-
- Status
- Status
-
-
- Test duration
- Test duration
-
-
- Details
- Details
-
-
- Valid URL
- Valid URL
-
-
- Instance reachable
- Instance reachable
-
-
- Fetch video details
- Fetch video details
-
-
- Fetch video comments
- Fetch video comments
-
-
- Fetch video captions
- Fetch video captions
-
-
- Fetch video thumbnails
- Fetch video thumbnails
-
-
- Fetch with CORS
- Fetch with CORS
-
-
- Press 'OK' for details
- Press 'OK' for details
-
-
- Url must start with http:// or https://
- Url must start with http:// or https://
-
-
- Url must not end with /
- Url must not end with /
-
-
- The url seems to be of a valid format
- The url seems to be of a valid format
-
-
- Invalid JSON from %1
- Invalid JSON from %1
-
-
- Invalid json from %1 (couldn't read %2)
- Invalid json from %1 (couldn't read %2)
-
-
- The instance is reachable and running %1 version %2
- The instance is reachable and running %1 version %2
-
-
- The instance can fetch video details for ID %1 (%2)
- The instance can fetch video details for ID %1 (%2)
-
-
- The instance can fetch video comments for ID %1 (%2 comments)
- The instance can fetch video comments for ID %1 (%2 comments)
-
-
- Invalid caption data from %1 (Content-Type is not text/vtt)
- Invalid caption data from %1 (Content-Type is not text/vtt)
-
-
- Invalid caption data from %1 (response is not a valid vtt file)
- Invalid caption data from %1 (response is not a valid vtt file)
-
-
- Did not find expected text in caption data from %1
- Did not find expected text in caption data from %1
-
-
- The instance can fetch video %1 captions for ID %2
- The instance can fetch video %1 captions for ID %2
-
-
- No thumbnails found in json from %1
- No thumbnails found in json from %1
-
-
- %1 is not reachable
- %1 is not reachable
-
-
- Invalid thumbnail data %1 (Content-Type is not image/*)
- Invalid thumbnail data %1 (Content-Type is not image/*)
-
-
- The instance can fetch video thumbnail for ID %1 (%2)
- The instance can fetch video thumbnail for ID %1 (%2)
-
-
- CORS header not set correctly from %1
- CORS header not set correctly from %1
-
-
- The instance can fetch with CORS from %1
- The instance can fetch with CORS from %1
-
-
- Passed
- Passed
-
-
- Failed
- Failed
-
-
- 0 subscribers
- 0 subscribers
-
-
- 1 subscriber
- 1 subscriber
-
-
- ^n subscribers
- ^n subscribers
-
-
- 0 videos
- 0 videos
-
-
- 1 video
- 1 video
-
-
- ^n videos
- ^n videos
-
-
- 0 views
- 0 views
-
-
- 1 view
- 1 view
-
-
- ^n views
- ^n views
-
-
- Updated 1 minute ago
- Updated 1 minute ago
-
-
- Updated ^n minutes ago
- Updated ^n minutes ago
-
-
- Updated 1 hour ago
- Updated 1 hour ago
-
-
- Updated ^n hours ago
- Updated ^n hours ago
-
-
- Updated 1 day ago
- Updated 1 day ago
-
-
- Updated ^n days ago
- Updated ^n days ago
-
-
- Updated 1 week ago
- Updated 1 week ago
-
-
- Updated ^n weeks ago
- Updated ^n weeks ago
-
-
- Updated 1 month ago
- Updated 1 month ago
-
-
- Updated ^n months ago
- Updated ^n months ago
-
-
- Updated 1 year ago
- Updated 1 year ago
-
-
- Updated ^n years ago
- Updated ^n years ago
-
-
- 1 year ago
- 1 year ago
-
-
- ^n years ago
- ^n years ago
-
-
- 1 month ago
- 1 month ago
-
-
- ^n months ago
- ^n months ago
-
-
- 1 week ago
- 1 week ago
-
-
- ^n weeks ago
- ^n weeks ago
-
-
- 1 day ago
- 1 day ago
-
-
- ^n days ago
- ^n days ago
-
-
- 1 hour ago
- 1 hour ago
-
-
- ^n hours ago
- ^n hours ago
-
-
- 1 minute ago
- 1 minute ago
-
-
- ^n minutes ago
- ^n minutes ago
-
-
- Premiering now
- Premiering now
-
-
- Premieres in 1 second
- Premieres in 1 second
-
-
- Premieres in ^n seconds
- Premieres in ^n seconds
-
-
- Premieres in 1 minute
- Premieres in 1 minute
-
-
- Premieres in ^n minutes
- Premieres in ^n minutes
-
-
- Premieres in 1 hour
- Premieres in 1 hour
-
-
- Premieres in ^n hours
- Premieres in ^n hours
-
-
- Premieres in 1 day
- Premieres in 1 day
-
-
- Premieres in ^n days
- Premieres in ^n days
-
-
- LIVE
- LIVE
-
-
- UPCOMING
- UPCOMING
-
-
- You currently have no bookmarks.
- You currently have no bookmarks.
-
-
- To add bookmarks, long-press 'OK' on a video, playlist or channel.
- To add bookmarks, long-press 'OK' on a video, playlist or channel.
-
-
- Please note that Bookmarks is an experimental feature.
- Please note that Bookmarks is an experimental feature.
-
-
- Channels
- Channels
-
-
- Could not get IP address: are we connected to the internet?
- Could not get IP address: are we connected to the internet?
-
-
- Playlet Web App
- Playlet Web App
-
-
- Use Playlet Remote in the browser
- Use Playlet Remote in the browser
-
-
- Link with Wi-Fi
- Link with Wi-Fi
-
-
- Link with TV code
- Link with TV code
-
-
- Cast from the YouTube app to Playlet
- Cast from the YouTube app to Playlet
-
-
- On your phone, connect to the same Wi-Fi network as this device.
- On your phone, connect to the same Wi-Fi network as this device.
-
-
- Open the YouTube app on your phone.
- Open the YouTube app on your phone.
-
-
- Tap the cast icon and select %1
- Tap the cast icon and select %1
-
-
- Roku connected to:
- Roku connected to:
-
-
- Wired connection
- Wired connection
-
-
- On your phone, open the YouTube app.
- On your phone, open the YouTube app.
-
-
- Tap the cast icon.
- Tap the cast icon.
-
-
- Tap 'Link with TV code' and enter the code below.
- Tap 'Link with TV code' and enter the code below.
-
-
- Loading...
- Loading...
-
-
- TV code error
- TV code error
-
-
- Failed to generate manual pairing code
- Failed to generate manual pairing code
-
-
- Playback
- Playback
-
-
- Playback preferences
- Playback preferences
-
-
- Autoplay
- Autoplay
-
-
- When you finish a video, another plays automatically
- When you finish a video, another plays automatically
-
-
- Preferred quality
- Preferred quality
-
-
- Preferred video quality
- Preferred video quality
-
-
- Auto (DASH)
- Auto (DASH)
-
-
- 720p
- 720p
-
-
- Medium
- Medium
-
-
- Invidious preferences
- Invidious preferences
-
-
- Instance
- Instance
-
-
- Invidious instance to use. Example: https://example.com
- Invidious instance to use. Example: https://example.com
-
-
- Proxy videos
- Proxy videos
-
-
- Proxy videos through the Invidious server. This is useful if videos are geoblocked.
- Proxy videos through the Invidious server. This is useful if videos are geoblocked.
-
-
- Always
- Always
-
-
- Only if needed
- Only if needed
-
-
- Never
- Never
-
-
- SponsorBlock
- SponsorBlock
-
-
- SponsorBlock preferences
- SponsorBlock preferences
-
-
- Enabled
- Enabled
-
-
- Enable SponsorBlock
- Enable SponsorBlock
-
-
- Show notifications
- Show notifications
-
-
- Show notifications when a segment is skipped
- Show notifications when a segment is skipped
-
-
- Search History
- Search History
-
-
- Search history preferences
- Search history preferences
-
-
- Enable search history
- Enable search history
-
-
- Clear search history
- Clear search history
-
-
- Clear search history from Playlet. This affects the search suggestions. This does not affect the watch history on Invidious.
- Clear search history from Playlet. This affects the search suggestions. This does not affect the watch history on Invidious.
-
-
- Search history cleared.
- Search history cleared.
-
-
- Miscellaneous
- Miscellaneous
-
-
- Misc. preferences
- Misc. preferences
-
-
- Edit home screen
- Edit home screen
-
-
- Enable/disable and reorder sections on the home screen
- Enable/disable and reorder sections on the home screen
-
-
- Queue notifications
- Queue notifications
-
-
- Show a notification when a video is added to the queue
- Show a notification when a video is added to the queue
-
-
- Developer
- Developer
-
-
- Developer preferences
- Developer preferences
-
-
- Use dev video player
- Use dev video player
-
-
- Enable the dev video player. This is an unfinished video player for testing purposes.
- Enable the dev video player. This is an unfinished video player for testing purposes.
-
-
- Playlet Library version
- Playlet Library version
-
-
- 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.
- 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.
-
-
- Press Options (*) for full screen
- Press Options (*) for full screen
-
-
- Video load error
- Video load error
-
-
- Failed to load video information for %1
- Failed to load video information for %1
-
-
- Error playing video %1
- Error playing video %1
-
-
- Error closing video
- Error closing video
-
-
- Request not sent.
- Request not sent.
-
-
- Request timed out.
- Request timed out.
-
-
- Request cancelled.
- Request cancelled.
-
-
- Reason
- Reason
-
-
- Skipped
- Skipped
-
-
- Sponsor
- Sponsor
-
-
- Unpaid/Self Promotion
- Unpaid/Self Promotion
-
-
- Exclusive Access
- Exclusive Access
-
-
- Interaction Reminder (Subscribe)
- Interaction Reminder (Subscribe)
-
-
- Interaction Reminder
- Interaction Reminder
-
-
- Highlight
- Highlight
-
-
- Intermission/Intro Animation
- Intermission/Intro Animation
-
-
- Intermission
- Intermission
-
-
- Endcards/Credits
- Endcards/Credits
-
-
- Preview/Recap/Hook
- Preview/Recap/Hook
-
-
- Preview/Recap
- Preview/Recap
-
-
- Filler Tangent/Jokes
- Filler Tangent/Jokes
-
-
- Filler
- Filler
-
-
- Chapter
- Chapter
-
-
- Music: Non-Music Section
- Music: Non-Music Section
-
-
- Non-Music
- Non-Music
-
-
- Added to queue
- Added to queue
-
-
- Press and hold Options (*) to open the queue
- Press and hold Options (*) to open the queue
-
-
- Device
- Device
-
-
- Device connected
- Device connected
-
-
- Queue
- Queue
-
-
- Load more
- Load more
-
-
- No Bookmarks
- No Bookmarks
-
-
- To add bookmarks, select a video, playlist or channel, and add a bookmark.
- To add bookmarks, select a video, playlist or channel, and add a bookmark.
-
-
- Invidious instance to use. Example: https://example.com. Find more instances at $INVIDIOUS_PUBLIC_INSTANCES
- Invidious instance to use. Example: https://example.com. Find more instances at $INVIDIOUS_PUBLIC_INSTANCES
-
-
- Thank you for using Playlet.
- Thank you for using Playlet.
-
-
- You have feedback? Let us know by %IssueStart%creating an issue on Github%IssueEnd% or by %EmailStart%sending an email%EmailEnd%.
- You have feedback? Let us know by %IssueStart%creating an issue on Github%IssueEnd% or by %EmailStart%sending an email%EmailEnd%.
-
-
- Latest (default)
- Latest (default)
-
-
- Apply
- Apply
-
-
- Are you sure you want to change the Playlet Library version to %1?
- Are you sure you want to change the Playlet Library version to %1?
-
-
- This will restart Playlet.
- This will restart Playlet.
-
-
- Playlet Library version changed. Playlet will now restart.
- Playlet Library version changed. Playlet will now restart.
-
-
- Error with login, please refresh the page.
- Error with login, please refresh the page.
-
-
- Profiles
- Profiles
-
-
- Drop a YouTube link here
- Drop a YouTube link here
-
-
- Play on %1
- Play on %1
-
-
- Queue on %1
- Queue on %1
-
-
- Open on %1
- Open on %1
-
-
- Open in Invidious
- Open in Invidious
-
-
- Start at
- Start at
-
-
- Play Video
- Play Video
-
-
- Queue Video
- Queue Video
-
-
- Play Playlist
- Play Playlist
-
-
- Queue Playlist
- Queue Playlist
-
-
- Open Channel
- Open Channel
-
-
- Open Playlist
- Open Playlist
-
-
- Open Playlist Channel
- Open Playlist Channel
-
-
- Open Video Channel
- Open Video Channel
-
-
- Refresh Home
- Refresh Home
-
-
- Refresh Bookmarks
- Refresh Bookmarks
-
-
- Remove from %1 bookmarks
- Remove from %1 bookmarks
-
-
- Add to %1 bookmark
- Add to %1 bookmark
-
-
- Upload date
- Upload date
-
-
- Type
- Type
-
-
- Duration
- Duration
-
-
- Features
- Features
-
-
- Sort by
- Sort by
-
-
- Any date
- Any date
-
-
- Last hour
- Last hour
-
-
- Today
- Today
-
-
- This week
- This week
-
-
- This month
- This month
-
-
- This year
- This year
-
-
- Any type
- Any type
-
-
- Video
- Video
-
-
- Playlist
- Playlist
-
-
- Channel
- Channel
-
-
- Movie
- Movie
-
-
- Any duration
- Any duration
-
-
- Under 4 minutes
- Under 4 minutes
-
-
- 4 - 20 minutes
- 4 - 20 minutes
-
-
- Over 20 minutes
- Over 20 minutes
-
-
- 4K
- 4K
-
-
- HD
- HD
-
-
- Subtitles/CC
- Subtitles/CC
-
-
- Creative Commons
- Creative Commons
-
-
- 360°
- 360°
-
-
- VR180
- VR180
-
-
- 3D
- 3D
-
-
- HDR
- HDR
-
-
- Purchased
- Purchased
-
-
- Location
- Location
-
-
- Relevance
- Relevance
-
-
- View count
- View count
-
-
- Rating
- Rating
-
-
- Clear cache
- Clear cache
-
-
- Clear cache from cachefs: and tmp:
- Clear cache from cachefs: and tmp:
-
-
- Cache cleared.
- Cache cleared.
-
-
-
\ No newline at end of file
+UTF-8
+
+ default
+
+ Profile
+ Profile
+
+
+ Search
+ Search
+
+
+ Home
+ Home
+
+
+ Bookmarks
+ Bookmarks
+
+
+ Settings
+ Settings
+
+
+ Remote
+ Remote
+
+
+ Info
+ Info
+
+
+ OK
+ OK
+
+
+ Activate
+ Activate
+
+
+ In Use
+ In Use
+
+
+ Login
+ Login
+
+
+ Logout
+ Logout
+
+
+ Close
+ Close
+
+
+ Exit
+ Exit
+
+
+ Cancel
+ Cancel
+
+
+ Filters
+ Filters
+
+
+ Subscriptions
+ Subscriptions
+
+
+ Playlists
+ Playlists
+
+
+ Watch history
+ Watch history
+
+
+ Trending
+ Trending
+
+
+ Trending - Movies
+ Trending - Movies
+
+
+ Trending - Music
+ Trending - Music
+
+
+ Trending - Gaming
+ Trending - Gaming
+
+
+ Popular
+ Popular
+
+
+ Videos
+ Videos
+
+
+ Shorts
+ Shorts
+
+
+ Live
+ Live
+
+
+ Releases
+ Releases
+
+
+ Podcasts
+ Podcasts
+
+
+ Edit
+ Edit
+
+
+ Save
+ Save
+
+
+ Test instance
+ Test instance
+
+
+ Subscribe
+ Subscribe
+
+
+ Unsubscribe
+ Unsubscribe
+
+
+ Login to Invidious
+ Login to Invidious
+
+
+ IP address not available
+ IP address not available
+
+
+ Scan the QR code
+ Scan the QR code
+
+
+ Login to Invidious in order to view Subscriptions, Playlists, and use the Watch history.
+ Login to Invidious in order to view Subscriptions, Playlists, and use the Watch history.
+
+
+ Please note that an Invidious account is different from a YouTube account.
+ Please note that an Invidious account is different from a YouTube account.
+
+
+ Do you want to exit Playlet?
+ Do you want to exit Playlet?
+
+
+ Sort %1 by
+ Sort %1 by
+
+
+ Latest
+ Latest
+
+
+ Oldest
+ Oldest
+
+
+ Date added (newest)
+ Date added (newest)
+
+
+ Last video added
+ Last video added
+
+
+ Channel load error
+ Channel load error
+
+
+ Failed to load channel %1
+ Failed to load channel %1
+
+
+ Playlist load error
+ Playlist load error
+
+
+ Failed to load playlist %1
+ Failed to load playlist %1
+
+
+ No results found
+ No results found
+
+
+ We didn't find any results for your search. Please try again with a different query or different filters.
+ We didn't find any results for your search. Please try again with a different query or different filters.
+
+
+ Invidious public instances load error
+ Invidious public instances load error
+
+
+ Failed to load Invidious public instances
+ Failed to load Invidious public instances
+
+
+ Failed to load feed
+ Failed to load feed
+
+
+ User logged out
+ User logged out
+
+
+ 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.
+ 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.
+
+
+ Lounge service setup error
+ Lounge service setup error
+
+
+ Failed to get screen ID. Please restart Playlet to use the cast function.
+ Failed to get screen ID. Please restart Playlet to use the cast function.
+
+
+ Not a valid screen id: %1
+ Not a valid screen id: %1
+
+
+ Failed to get lounge token. Please restart Playlet to use the cast function.
+ Failed to get lounge token. Please restart Playlet to use the cast function.
+
+
+ Invalid response: %1
+ Invalid response: %1
+
+
+ Failed to get session data. Please restart Playlet to use the cast function.
+ Failed to get session data. Please restart Playlet to use the cast function.
+
+
+ Invidious custom instance
+ Invidious custom instance
+
+
+ Or
+ Or
+
+
+ Invidious public instances
+ Invidious public instances
+
+
+ Move up
+ Move up
+
+
+ Move down
+ Move down
+
+
+ name
+ name
+
+
+ version
+ version
+
+
+ users
+ users
+
+
+ signup
+ signup
+
+
+ location
+ location
+
+
+ health
+ health
+
+
+ Yes
+ Yes
+
+
+ No
+ No
+
+
+ Success
+ Success
+
+
+ Refresh
+ Refresh
+
+
+ Play next video
+ Play next video
+
+
+ Clear
+ Clear
+
+
+ Test
+ Test
+
+
+ Testing %1
+ Testing %1
+
+
+ Status
+ Status
+
+
+ Test duration
+ Test duration
+
+
+ Details
+ Details
+
+
+ Valid URL
+ Valid URL
+
+
+ Instance reachable
+ Instance reachable
+
+
+ Fetch video details
+ Fetch video details
+
+
+ Fetch video comments
+ Fetch video comments
+
+
+ Fetch video captions
+ Fetch video captions
+
+
+ Fetch video thumbnails
+ Fetch video thumbnails
+
+
+ Fetch with CORS
+ Fetch with CORS
+
+
+ Press 'OK' for details
+ Press 'OK' for details
+
+
+ Url must start with http:// or https://
+ Url must start with http:// or https://
+
+
+ Url must not end with /
+ Url must not end with /
+
+
+ The url seems to be of a valid format
+ The url seems to be of a valid format
+
+
+ Invalid JSON from %1
+ Invalid JSON from %1
+
+
+ Invalid JSON from %1 (couldn't read %2)
+ Invalid JSON from %1 (couldn't read %2)
+
+
+ The instance is reachable and running %1 version %2
+ The instance is reachable and running %1 version %2
+
+
+ The instance can fetch video details for ID %1 (%2)
+ The instance can fetch video details for ID %1 (%2)
+
+
+ The instance can fetch video comments for ID %1 (%2 comments)
+ The instance can fetch video comments for ID %1 (%2 comments)
+
+
+ Invalid caption data from %1 (Content-Type is not text/vtt)
+ Invalid caption data from %1 (Content-Type is not text/vtt)
+
+
+ Invalid caption data from %1 (response is not a valid vtt file)
+ Invalid caption data from %1 (response is not a valid vtt file)
+
+
+ Did not find expected text in caption data from %1
+ Did not find expected text in caption data from %1
+
+
+ The instance can fetch video %1 captions for ID %2
+ The instance can fetch video %1 captions for ID %2
+
+
+ No thumbnails found in JSON from %1
+ No thumbnails found in JSON from %1
+
+
+ %1 is not reachable
+ %1 is not reachable
+
+
+ Invalid thumbnail data %1 (Content-Type is not image/*)
+ Invalid thumbnail data %1 (Content-Type is not image/*)
+
+
+ The instance can fetch video thumbnail for ID %1 (%2)
+ The instance can fetch video thumbnail for ID %1 (%2)
+
+
+ CORS header not set correctly from %1
+ CORS header not set correctly from %1
+
+
+ The instance can fetch with CORS from %1
+ The instance can fetch with CORS from %1
+
+
+ Passed
+ Passed
+
+
+ Failed
+ Failed
+
+
+ 0 subscribers
+ 0 subscribers
+
+
+ 1 subscriber
+ 1 subscriber
+
+
+ ^n subscribers
+ ^n subscribers
+
+
+ 0 videos
+ 0 videos
+
+
+ 1 video
+ 1 video
+
+
+ ^n videos
+ ^n videos
+
+
+ 0 views
+ 0 views
+
+
+ 1 view
+ 1 view
+
+
+ ^n views
+ ^n views
+
+
+ Updated 1 minute ago
+ Updated 1 minute ago
+
+
+ Updated ^n minutes ago
+ Updated ^n minutes ago
+
+
+ Updated 1 hour ago
+ Updated 1 hour ago
+
+
+ Updated ^n hours ago
+ Updated ^n hours ago
+
+
+ Updated 1 day ago
+ Updated 1 day ago
+
+
+ Updated ^n days ago
+ Updated ^n days ago
+
+
+ Updated 1 week ago
+ Updated 1 week ago
+
+
+ Updated ^n weeks ago
+ Updated ^n weeks ago
+
+
+ Updated 1 month ago
+ Updated 1 month ago
+
+
+ Updated ^n months ago
+ Updated ^n months ago
+
+
+ Updated 1 year ago
+ Updated 1 year ago
+
+
+ Updated ^n years ago
+ Updated ^n years ago
+
+
+ 1 year ago
+ 1 year ago
+
+
+ ^n years ago
+ ^n years ago
+
+
+ 1 month ago
+ 1 month ago
+
+
+ ^n months ago
+ ^n months ago
+
+
+ 1 week ago
+ 1 week ago
+
+
+ ^n weeks ago
+ ^n weeks ago
+
+
+ 1 day ago
+ 1 day ago
+
+
+ ^n days ago
+ ^n days ago
+
+
+ 1 hour ago
+ 1 hour ago
+
+
+ ^n hours ago
+ ^n hours ago
+
+
+ 1 minute ago
+ 1 minute ago
+
+
+ ^n minutes ago
+ ^n minutes ago
+
+
+ Premiering now
+ Premiering now
+
+
+ Premieres in 1 second
+ Premieres in 1 second
+
+
+ Premieres in ^n seconds
+ Premieres in ^n seconds
+
+
+ Premieres in 1 minute
+ Premieres in 1 minute
+
+
+ Premieres in ^n minutes
+ Premieres in ^n minutes
+
+
+ Premieres in 1 hour
+ Premieres in 1 hour
+
+
+ Premieres in ^n hours
+ Premieres in ^n hours
+
+
+ Premieres in 1 day
+ Premieres in 1 day
+
+
+ Premieres in ^n days
+ Premieres in ^n days
+
+
+ LIVE
+ LIVE
+
+
+ UPCOMING
+ UPCOMING
+
+
+ You currently have no bookmarks.
+ You currently have no bookmarks.
+
+
+ To add bookmarks, long-press 'OK' on a video, playlist or channel.
+ To add bookmarks, long-press 'OK' on a video, playlist or channel.
+
+
+ Please note that Bookmarks is an experimental feature.
+ Please note that Bookmarks is an experimental feature.
+
+
+ Channels
+ Channels
+
+
+ Could not get IP address: are we connected to the internet?
+ Could not get IP address: are we connected to the internet?
+
+
+ Playlet Web App
+ Playlet Web App
+
+
+ Use Playlet Remote in the browser
+ Use Playlet Remote in the browser
+
+
+ Link with Wi-Fi
+ Link with Wi-Fi
+
+
+ Link with TV code
+ Link with TV code
+
+
+ Cast from the YouTube app to Playlet
+ Cast from the YouTube app to Playlet
+
+
+ On your phone, connect to the same Wi-Fi network as this device.
+ On your phone, connect to the same Wi-Fi network as this device.
+
+
+ Open the YouTube app on your phone.
+ Open the YouTube app on your phone.
+
+
+ Tap the cast icon and select %1
+ Tap the cast icon and select %1
+
+
+ Roku connected to:
+ Roku connected to:
+
+
+ Wired connection
+ Wired connection
+
+
+ On your phone, open the YouTube app.
+ On your phone, open the YouTube app.
+
+
+ Tap the cast icon.
+ Tap the cast icon.
+
+
+ Tap 'Link with TV code' and enter the code below.
+ Tap 'Link with TV code' and enter the code below.
+
+
+ Loading...
+ Loading...
+
+
+ TV code error
+ TV code error
+
+
+ Failed to generate manual pairing code
+ Failed to generate manual pairing code
+
+
+ Playback
+ Playback
+
+
+ Playback preferences
+ Playback preferences
+
+
+ Autoplay
+ Autoplay
+
+
+ When you finish a video, another plays automatically
+ When you finish a video, another plays automatically
+
+
+ Preferred quality
+ Preferred quality
+
+
+ Preferred video quality
+ Preferred video quality
+
+
+ Auto (DASH)
+ Auto (DASH)
+
+
+ 720p
+ 720p
+
+
+ Medium
+ Medium
+
+
+ Invidious preferences
+ Invidious preferences
+
+
+ Instance
+ Instance
+
+
+ Invidious instance to use. Example: https://example.com
+ Invidious instance to use. Example: https://example.com
+
+
+ Proxy videos
+ Proxy videos
+
+
+ Proxy videos through the Invidious server. This is useful if videos are geoblocked.
+ Proxy videos through the Invidious server. This is useful if videos are geoblocked.
+
+
+ Always
+ Always
+
+
+ Only if needed
+ Only if needed
+
+
+ Never
+ Never
+
+
+ SponsorBlock
+ SponsorBlock
+
+
+ SponsorBlock preferences
+ SponsorBlock preferences
+
+
+ Enabled
+ Enabled
+
+
+ Enable SponsorBlock
+ Enable SponsorBlock
+
+
+ Show notifications
+ Show notifications
+
+
+ Show notifications when a segment is skipped
+ Show notifications when a segment is skipped
+
+
+ Search History
+ Search History
+
+
+ Search history preferences
+ Search history preferences
+
+
+ Enable search history
+ Enable search history
+
+
+ Clear search history
+ Clear search history
+
+
+ Clear search history from Playlet. This affects the search suggestions. This does not affect the watch history on Invidious.
+ Clear search history from Playlet. This affects the search suggestions. This does not affect the watch history on Invidious.
+
+
+ Search history cleared.
+ Search history cleared.
+
+
+ Miscellaneous
+ Miscellaneous
+
+
+ Misc. preferences
+ Misc. preferences
+
+
+ Edit home screen
+ Edit home screen
+
+
+ Enable/disable and reorder sections on the home screen
+ Enable/disable and reorder sections on the home screen
+
+
+ Queue notifications
+ Queue notifications
+
+
+ Show a notification when a video is added to the queue
+ Show a notification when a video is added to the queue
+
+
+ Developer
+ Developer
+
+
+ Developer preferences
+ Developer preferences
+
+
+ Use dev video player
+ Use dev video player
+
+
+ Enable the dev video player. This is an unfinished video player for testing purposes.
+ Enable the dev video player. This is an unfinished video player for testing purposes.
+
+
+ Playlet Library version
+ Playlet Library version
+
+
+ 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.
+ 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.
+
+
+ Press Options (*) for full screen
+ Press Options (*) for full screen
+
+
+ Video load error
+ Video load error
+
+
+ Failed to load video information for %1
+ Failed to load video information for %1
+
+
+ Error playing video %1
+ Error playing video %1
+
+
+ Error closing video
+ Error closing video
+
+
+ Request not sent.
+ Request not sent.
+
+
+ Request timed out.
+ Request timed out.
+
+
+ Request cancelled.
+ Request cancelled.
+
+
+ Reason
+ Reason
+
+
+ Skipped
+ Skipped
+
+
+ Sponsor
+ Sponsor
+
+
+ Unpaid/Self Promotion
+ Unpaid/Self Promotion
+
+
+ Exclusive Access
+ Exclusive Access
+
+
+ Interaction Reminder (Subscribe)
+ Interaction Reminder (Subscribe)
+
+
+ Interaction Reminder
+ Interaction Reminder
+
+
+ Highlight
+ Highlight
+
+
+ Intermission/Intro Animation
+ Intermission/Intro Animation
+
+
+ Intermission
+ Intermission
+
+
+ Endcards/Credits
+ Endcards/Credits
+
+
+ Preview/Recap/Hook
+ Preview/Recap/Hook
+
+
+ Preview/Recap
+ Preview/Recap
+
+
+ Filler Tangent/Jokes
+ Filler Tangent/Jokes
+
+
+ Filler
+ Filler
+
+
+ Chapter
+ Chapter
+
+
+ Music: Non-Music Section
+ Music: Non-Music Section
+
+
+ Non-Music
+ Non-Music
+
+
+ Added to queue
+ Added to queue
+
+
+ Press and hold Options (*) to open the queue
+ Press and hold Options (*) to open the queue
+
+
+ Device
+ Device
+
+
+ Device connected
+ Device connected
+
+
+ Queue
+ Queue
+
+
+ Load more
+ Load more
+
+
+ No Bookmarks
+ No Bookmarks
+
+
+ To add bookmarks, select a video, playlist or channel, and add a bookmark.
+ To add bookmarks, select a video, playlist or channel, and add a bookmark.
+
+
+ Invidious instance to use. Example: https://example.com. Find more instances at $INVIDIOUS_PUBLIC_INSTANCES
+ Invidious instance to use. Example: https://example.com. Find more instances at $INVIDIOUS_PUBLIC_INSTANCES
+
+
+ Thank you for using Playlet.
+ Thank you for using Playlet.
+
+
+ You have feedback? Let us know by %IssueStart%creating an issue on Github%IssueEnd% or by %EmailStart%sending an email%EmailEnd%.
+ You have feedback? Let us know by %IssueStart%creating an issue on Github%IssueEnd% or by %EmailStart%sending an email%EmailEnd%.
+
+
+ Latest (default)
+ Latest (default)
+
+
+ Apply
+ Apply
+
+
+ Are you sure you want to change the Playlet Library version to %1?
+ Are you sure you want to change the Playlet Library version to %1?
+
+
+ This will restart Playlet.
+ This will restart Playlet.
+
+
+ Playlet Library version changed. Playlet will now restart.
+ Playlet Library version changed. Playlet will now restart.
+
+
+ Error with login, please refresh the page.
+ Error with login, please refresh the page.
+
+
+ Profiles
+ Profiles
+
+
+ Drop a YouTube link here
+ Drop a YouTube link here
+
+
+ Play on %1
+ Play on %1
+
+
+ Queue on %1
+ Queue on %1
+
+
+ Open on %1
+ Open on %1
+
+
+ Open in Invidious
+ Open in Invidious
+
+
+ Start at
+ Start at
+
+
+ Play Video
+ Play Video
+
+
+ Queue Video
+ Queue Video
+
+
+ Play Playlist
+ Play Playlist
+
+
+ Queue Playlist
+ Queue Playlist
+
+
+ Open Channel
+ Open Channel
+
+
+ Open Playlist
+ Open Playlist
+
+
+ Open Playlist Channel
+ Open Playlist Channel
+
+
+ Open Video Channel
+ Open Video Channel
+
+
+ Refresh Home
+ Refresh Home
+
+
+ Refresh Bookmarks
+ Refresh Bookmarks
+
+
+ Remove from %1 bookmarks
+ Remove from %1 bookmarks
+
+
+ Add to %1 bookmark
+ Add to %1 bookmark
+
+
+ Upload date
+ Upload date
+
+
+ Type
+ Type
+
+
+ Duration
+ Duration
+
+
+ Features
+ Features
+
+
+ Sort by
+ Sort by
+
+
+ Any date
+ Any date
+
+
+ Last hour
+ Last hour
+
+
+ Today
+ Today
+
+
+ This week
+ This week
+
+
+ This month
+ This month
+
+
+ This year
+ This year
+
+
+ Any type
+ Any type
+
+
+ Video
+ Video
+
+
+ Playlist
+ Playlist
+
+
+ Channel
+ Channel
+
+
+ Movie
+ Movie
+
+
+ Any duration
+ Any duration
+
+
+ Under 4 minutes
+ Under 4 minutes
+
+
+ 4 - 20 minutes
+ 4 - 20 minutes
+
+
+ Over 20 minutes
+ Over 20 minutes
+
+
+ 4K
+ 4K
+
+
+ HD
+ HD
+
+
+ Subtitles/CC
+ Subtitles/CC
+
+
+ Creative Commons
+ Creative Commons
+
+
+ 360°
+ 360°
+
+
+ VR180
+ VR180
+
+
+ 3D
+ 3D
+
+
+ HDR
+ HDR
+
+
+ Purchased
+ Purchased
+
+
+ Location
+ Location
+
+
+ Relevance
+ Relevance
+
+
+ View count
+ View count
+
+
+ Rating
+ Rating
+
+
+ Clear cache
+ Clear cache
+
+
+ Clear cache from cachefs: and tmp:
+ Clear cache from cachefs: and tmp:
+
+
+ Cache cleared.
+ Cache cleared.
+
+
+
diff --git a/playlet-lib/src/locale/fr_CA/translations.ts b/playlet-lib/src/locale/fr_CA/translations.ts
index 0b64463c..aada4319 100644
--- a/playlet-lib/src/locale/fr_CA/translations.ts
+++ b/playlet-lib/src/locale/fr_CA/translations.ts
@@ -26,8 +26,7 @@
Remote
- Télécommande is too long for the UI
- Commande
+ TélécommandeInfo
@@ -382,7 +381,7 @@
JSON invalide de %1
- Invalid json from %1 (couldn't read %2)
+ Invalid JSON from %1 (couldn't read %2)JSON invalide de %1 (impossible de lire %2)
@@ -414,7 +413,7 @@
L'instance peut récupérer les sous-titres %1 de la vidéo pour l'ID %2
- No thumbnails found in json from %1
+ No thumbnails found in JSON from %1Aucune vignette trouvée dans JSON de %1
@@ -1245,10 +1244,6 @@
OKOK
-
- Remote
- Commande
- Fetch with CORSRécupérer avec CORS
diff --git a/playlet-lib/src/source/components/tests/NavBar.spec.bs b/playlet-lib/src/source/components/tests/NavBar.spec.bs
deleted file mode 100644
index 33f4183d..00000000
--- a/playlet-lib/src/source/components/tests/NavBar.spec.bs
+++ /dev/null
@@ -1,68 +0,0 @@
-namespace Tests
-
- @suite
- class NavBarTests extends Rooibos.BaseTestSuite
-
- @describe("NavBar")
-
- @beforeEach
- function _()
- m.navBar = CreateObject("roSGNode", "NavBar")
- m.navbar.appController = CreateObject("roSGNode", "AppController")
- m.navBar@.BindNode()
- end function
-
- @it("Populates the buttons based on content node")
- function _()
- items = [
- {
- text: "Item1"
- },
- {
- text: "Item2"
- }
- ]
-
- m.navBar.items = m.CreateContentNode(items)
-
- buttonGroup = m.navBar.buttonGroup.getChildren(-1, 0)
-
- m.assertArrayCount(buttonGroup, 2)
-
- m.assertEqual(buttonGroup[0].text, "Item1")
- m.assertEqual(buttonGroup[1].text, "Item2")
- end function
-
- @it("Clears the buttons when content node is invalid")
- function _()
- items = [
- {
- text: "Item1"
- },
- {
- text: "Item2"
- }
- ]
-
- m.navBar.items = m.CreateContentNode(items)
- buttonGroup = m.navBar.buttonGroup.getChildren(-1, 0)
- m.assertArrayCount(buttonGroup, 2)
-
- m.navBar.items = invalid
- buttonGroup = m.navBar.buttonGroup.getChildren(-1, 0)
- m.assertArrayCount(buttonGroup, 0)
- end function
-
- function CreateContentNode(items as object) as object
- contentNode = CreateObject("roSGNode", "ContentNode")
- for each item in items
- navBarItem = CreateObject("roSGNode", "NavBarItem")
- navBarItem.text = item.text
- contentNode.appendChild(navBarItem)
- end for
- return contentNode
- end function
-
- end class
-
-end namespace
diff --git a/playlet-lib/src/source/utils/Locale.bs b/playlet-lib/src/source/utils/Locale.bs
index 61fb69b9..57211072 100644
--- a/playlet-lib/src/source/utils/Locale.bs
+++ b/playlet-lib/src/source/utils/Locale.bs
@@ -127,7 +127,7 @@ namespace Locale
UrlSeemsValid = "The url seems to be of a valid format"
InvalidJsonFrom = "Invalid JSON from %1"
- InvalidJsonFromCouldntRead = "Invalid json from %1 (couldn't read %2)"
+ InvalidJsonFromCouldntRead = "Invalid JSON from %1 (couldn't read %2)"
TheInstanceIsReachableAndRunning = "The instance is reachable and running %1 version %2"
TheInstanceCanFetchVideoDetails = "The instance can fetch video details for ID %1 (%2)"
TheInstanceCanFetchVideoComments = "The instance can fetch video comments for ID %1 (%2 comments)"
@@ -135,7 +135,7 @@ namespace Locale
InvalidCaptionDataNotWebVtt = "Invalid caption data from %1 (response is not a valid vtt file)"
ExpectedTextNotFoundInCaptionData = "Did not find expected text in caption data from %1"
TheInstanceCanFetchVideoCaptions = "The instance can fetch video %1 captions for ID %2"
- NoThumbnailsFoundInJson = "No thumbnails found in json from %1"
+ NoThumbnailsFoundInJson = "No thumbnails found in JSON from %1"
ThumbnailNotReachable = "%1 is not reachable"
InvalidThumbnailData = "Invalid thumbnail data %1 (Content-Type is not image/*)"
TheInstanceCanFetchVideoThumbnails = "The instance can fetch video thumbnail for ID %1 (%2)"