Update announcement

This commit is contained in:
Brahim Hadriche committed 2024-04-27 10:22:02 -04:00
1 parent 416a1b86d4
commit a018264f76
3 files changed
+30 -8

No files matched your search

+3 -1
View File
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
- Nothing worth mentioning yet.
### Changed
- Updated announcement
## [0.23.1] - 2024-04-24
+15 -4
View File
@@ -37,10 +37,18 @@ function ShowAnnouncement()
title = "Announcement"
message = [
"YouTube has made changes that broke 3rd party apps, which is affecting Playlet and Invidious.",
"Some videos might not play, and you might see error messages often.",
"We're aware of the issue, and working on a fix.",
"We apologize for the inconvenience.",
"Invidious was experiencing an outage, and a fix has been deployed.",
"If you are experiencing issues playing videos:",
]
bulletText = [
"For custom Invidious instances, please update to the latest version.",
"For public Invidious instances, go to Settings -> Invidious -> Instance, and select an instance with a version 2024.04.27 or newer."
]
bottomMessage = [
"If you don't know what instance you're using, follow the instructions from step 2."
"We apologize for the inconvenience."
]
buttons = [Tr(Locale.Buttons.OK)]
@@ -48,6 +56,9 @@ function ShowAnnouncement()
dialog = CreateObject("roSGNode", "SimpleDialog")
dialog.title = title
dialog.message = message
dialog.bulletText = bulletText
dialog.bulletType = "numbered"
dialog.bottomMessage = bottomMessage
dialog.buttons = buttons
deviceInfo = CreateObject("roDeviceInfo")
displaySize = deviceInfo.GetDisplaySize()
@@ -35,9 +35,15 @@ end function
function ShowAnnouncement()
title = "Announcement"
message = [
"YouTube has made changes that broke 3rd party apps, which is affecting Playlet and Invidious."
"Some videos might not play, and you might see error messages often."
"We're aware of the issue, and working on a fix."
"Invidious was experiencing an outage, and a fix has been deployed."
"If you are experiencing issues playing videos:"
]
bulletText = [
"For custom Invidious instances, please update to the latest version."
"For public Invidious instances, go to Settings -> Invidious -> Instance, and select an instance with a version 2024.04.27 or newer."
]
bottomMessage = [
"If you don't know what instance you're using, follow the instructions from step 2."
"We apologize for the inconvenience."
]
buttons = [
@@ -46,6 +52,9 @@ function ShowAnnouncement()
dialog = CreateObject("roSGNode", "SimpleDialog")
dialog.title = title
dialog.message = message
dialog.bulletText = bulletText
dialog.bulletType = "numbered"
dialog.bottomMessage = bottomMessage
dialog.buttons = buttons
deviceInfo = CreateObject("roDeviceInfo")
displaySize = deviceInfo.GetDisplaySize()