cleanup maintenance stuff

This commit is contained in:
Ivan Evans 2024-12-31 13:40:27 -07:00
parent b406c99331
commit 4888d50920
8 changed files with 6 additions and 16 deletions

View file

@ -330,7 +330,6 @@
"downtimeNotice": {
"badge": "Проблеми",
"goHome": "Прибирай се",
"timeFrame": "<bold>March 31th 11:00 PM - 5:00 AM EST</bold>",
"title": "Проблеми с доставчика",
"message": "P-Stream.lol отново има проблеми с някои доставчици, ако не можете да намерите или пуснете шоу, моля, променете източника. Очаквайте тази грешка да продължи през времената по-долу."
},

View file

@ -209,7 +209,6 @@
},
"downtimeNotice": {
"badge": "Problemer",
"timeFrame": "<bold>31. marts kl. 23:00 - 5:00 EST</bold>",
"goHome": "Gå til hjem",
"title": "Problemer med udbydere",
"message": "P-Stream.lol har igen problemer med nogle udbydere. Hvis du ikke kan finde eller afspille et afsnit, skal du skifte kilde. Vi forventer, at denne fejl fortsætter i tidsrummet nedenfor."

View file

@ -220,8 +220,7 @@
"downtimeNotice": {
"badge": "Issues",
"goHome": "Go home",
"message": "P-Stream.lol is experiencing issues with some providers again, if you cant find or play a show please change the source. Expect this error to persist throughout the below times.",
"timeFrame": "<bold>March 31th 11:00 PM - 5:00 AM EST</bold>",
"message": "P-Stream is experiencing issues with some providers again, if you cant find or play a show please change the source. Expect this error to persist throughout the below times.",
"title": "Provider issues"
},
"onboarding": {

View file

@ -621,7 +621,6 @@
"message": "P-Stream.lol sta riscontrando problemi con alcuni provider, se non riesci a trovare o riprodurre uno show, cambia la fonte. È previsto che questo errore persista durante i tempi indicati di seguito.",
"badge": "Problemi",
"goHome": "Vai alla pagina iniziale",
"timeFrame": "<bold>31 Marzo 5:00 - 11:00 </bold>",
"title": "Problemi col fornitore"
}
}

View file

@ -613,8 +613,7 @@
"message": "P-Stream.lol испытывает проблемы с некоторыми провайдерами. Если вы не можете найти или воспроизвести шоу, измените источник. Ожидайте, что эта ошибка сохранится в течение указанного ниже времени.",
"badge": "Проблемы",
"goHome": "Вернуться на главную.",
"title": "Проблемы с провайдером",
"timeFrame": "<bold>31 марта, с 23:00 до 5:00 по EST</bold>"
"title": "Проблемы с провайдером"
},
"support": {
"title": "Поддержка",

View file

@ -199,7 +199,6 @@
"badge": "Issues",
"goHome": "Go home",
"message": "uwu-flix is expewiencing issues with some p-pwovidews again, if you cant find ow (・`ω´・) pway a show pwease change the souwce. Expect this ewwow t-to pewsist thwoughout the bewow times.",
"timeFrame": "<bold>March 31th 11:00 PM - 5:00 AM EST</bold>",
"title": "Provider issues"
},
"onboarding": {

View file

@ -8,6 +8,7 @@ import { Navigation } from "@/components/layout/Navigation";
import { Title } from "@/components/text/Title";
import { Paragraph } from "@/components/utils/Text";
import { ErrorContainer, ErrorLayout } from "@/pages/layouts/ErrorLayout";
import { maintenanceTime } from "@/setup/App";
type MaintenancePageProps = {
onHomeButtonClick: () => void;
@ -30,14 +31,7 @@ function MaintenancePage({ onHomeButtonClick }: MaintenancePageProps) {
</IconPill>
<Title>{t("downtimeNotice.title")}</Title>
<Paragraph>{t("downtimeNotice.message")}</Paragraph>
<Trans
i18nKey="downtimeNotice.timeFrame"
components={{
bold: (
<span className="font-bold" style={{ color: "#cfcfcf" }} />
),
}}
/>
<span className="font-bold text-white">{maintenanceTime}</span>
<div className="flex gap-3">
<Button
onClick={onHomeButtonClick}

View file

@ -87,6 +87,8 @@ function QueryView() {
return null;
}
export const maintenanceTime = "March 31th 11:00 PM - 5:00 AM EST";
function App() {
useHistoryListener();
useOnlineListener();