From e420049097ce8755d3b166424fec56fc3c44f344 Mon Sep 17 00:00:00 2001 From: mrjvs Date: Wed, 6 Dec 2023 22:59:58 +0100 Subject: [PATCH] Added proper FAQ body text --- src/assets/locales/en.json | 20 +++++++++++++------- src/assets/locales/pirate.json | 22 ---------------------- src/components/LinksDropdown.tsx | 5 +---- src/components/utils/Ol.tsx | 4 ++-- src/pages/About.tsx | 16 ++++++++++++---- src/setup/App.tsx | 2 +- 6 files changed, 29 insertions(+), 40 deletions(-) diff --git a/src/assets/locales/en.json b/src/assets/locales/en.json index 6e755356..b84d0804 100644 --- a/src/assets/locales/en.json +++ b/src/assets/locales/en.json @@ -378,15 +378,21 @@ } } }, - "faq": { - "title": "About us", + "about": { + "title": "About movie-web", + "description": "movie-web is a web application that searches the internet for streams. The team aims for a mostly minimalistic approach to consuming content.", + "faqTitle": "Common questions", "q1": { - "title": "1", - "body": "Body of 1" + "title": "Where does the content come from?", + "body": "movie-web does not host any content. When you click on something to watch, the internet is searched for the selected media (On the loading screen and in the 'video sources' tab you can see which source you're using). Media never gets uploaded by movie-web, everything is through this searching mechanism." }, - "how": { - "title": "1", - "body": "Body of 1" + "q2": { + "title": "Where can I request a show or movie?", + "body": "It's not possible to request a show or movie, movie-web does not manage any content. All content is viewed through sources on the internet." + }, + "q3": { + "title": "The search results display the show or movie, why can't I play it?", + "body": "Our search results are powered by The Movie Database (TMDB) and display regardless of whether our sources actually have the content." } }, "footer": { diff --git a/src/assets/locales/pirate.json b/src/assets/locales/pirate.json index bf69b1a2..b0048e82 100644 --- a/src/assets/locales/pirate.json +++ b/src/assets/locales/pirate.json @@ -53,17 +53,6 @@ "reloadPage": "Reload the page", "title": "That be an error, Captain" }, - "faq": { - "how": { - "body": "Body of 1", - "title": "1" - }, - "q1": { - "body": "Body of 1", - "title": "1" - }, - "title": "About us" - }, "footer": { "legal": { "disclaimer": "Disclaimer", @@ -104,17 +93,6 @@ "noResults": "We couldn't find anythin', arrr!", "placeholder": "What do ye want to watch?", "sectionTitle": "Searchin' results" - }, - "titles": { - "day": [ - "Day title" - ], - "morning": [ - "Morning title" - ], - "night": [ - "Night title" - ] } }, "media": { diff --git a/src/components/LinksDropdown.tsx b/src/components/LinksDropdown.tsx index fa4910ab..3063ddb4 100644 --- a/src/components/LinksDropdown.tsx +++ b/src/components/LinksDropdown.tsx @@ -139,12 +139,9 @@ export function LinksDropdown(props: { children: React.ReactNode }) { {t("navigation.menu.settings")} - + {t("navigation.menu.about")} - - {t("navigation.menu.support")} - {deviceName ? (
@@ -17,7 +17,7 @@ export function Ol(props: { items: React.ReactNode[] }) {
{i !== props.items.length - 1 ? (
- {t("faq.title")} + {t("about.title")} + {t("about.description")} + {t("about.faqTitle")}
    {t("faq.q1.body")}, + + {t("about.q1.body")} + , + + {t("about.q2.body")} + , + + {t("about.q3.body")} + , ]} /> - {t("faq.how.title")} - {t("faq.how.body")} ); diff --git a/src/setup/App.tsx b/src/setup/App.tsx index cebb464a..d532d824 100644 --- a/src/setup/App.tsx +++ b/src/setup/App.tsx @@ -92,7 +92,7 @@ function App() { - + {shouldHaveDmcaPage() ? (