9 changed files with 97 additions and 41 deletions
@ -0,0 +1,41 @@ |
|||||||
|
{ |
||||||
|
"global": { |
||||||
|
"name": "movie-web" |
||||||
|
}, |
||||||
|
"search": { |
||||||
|
"loading": "Fetching your favourite shows...", |
||||||
|
"providersFailed": "{{fails}}/{{total}} providers failed!", |
||||||
|
"allResults": "That's all we have!", |
||||||
|
"noResults": "We couldn't find anything!", |
||||||
|
"allFailed": "All providers have failed!", |
||||||
|
"headingTitle": "Search results", |
||||||
|
"headingLink": "Back to home", |
||||||
|
"bookmarks": "Bookmarks", |
||||||
|
"continueWatching": "Continue Watching", |
||||||
|
"tagline": "Because watching legally is boring", |
||||||
|
"title": "What do you want to watch?", |
||||||
|
"placeholder": "What do you want to watch?" |
||||||
|
}, |
||||||
|
"media": { |
||||||
|
"invalidUrl": "Your URL may be invalid", |
||||||
|
"arrowText": "Go back" |
||||||
|
}, |
||||||
|
"notFound": { |
||||||
|
"backArrow": "Back to home", |
||||||
|
"media": { |
||||||
|
"title": "Couldn't find that media", |
||||||
|
"description": "We couldn't find the media you requested. Either it's been removed or you tampered with the URL" |
||||||
|
}, |
||||||
|
"provider": { |
||||||
|
"title": "This provider has been disabled", |
||||||
|
"description": "We had issues with the provider or it was too unstable to use, so we had to disable it." |
||||||
|
}, |
||||||
|
"page": { |
||||||
|
"title": "Couldn't find that page", |
||||||
|
"description": "We looked everywhere: under the bins, in the closet, behind the proxy but ultimately couldn't find the page you are looking for." |
||||||
|
} |
||||||
|
}, |
||||||
|
"errorBoundary": { |
||||||
|
"text": "The app encountered an error and wasn't able to recover, please report it to the" |
||||||
|
} |
||||||
|
} |
@ -1,5 +0,0 @@ |
|||||||
{ |
|
||||||
"global": { |
|
||||||
"name": "movie-web" |
|
||||||
} |
|
||||||
} |
|
@ -1,16 +1,18 @@ |
|||||||
import { Icon, Icons } from "@/components/Icon"; |
import { Icon, Icons } from "@/components/Icon"; |
||||||
|
import { useTranslation } from "react-i18next"; |
||||||
|
|
||||||
export function BrandPill(props: { clickable?: boolean }) { |
export function BrandPill(props: { clickable?: boolean }) { |
||||||
|
const { t } = useTranslation(); |
||||||
|
|
||||||
return ( |
return ( |
||||||
<div |
<div |
||||||
className={`flex items-center space-x-2 rounded-full bg-bink-100 bg-opacity-50 px-4 py-2 text-bink-600 ${ |
className={`flex items-center space-x-2 rounded-full bg-bink-100 bg-opacity-50 px-4 py-2 text-bink-600 ${props.clickable |
||||||
props.clickable |
|
||||||
? "transition-[transform,background-color] hover:scale-105 hover:bg-bink-200 hover:text-bink-700 active:scale-95" |
? "transition-[transform,background-color] hover:scale-105 hover:bg-bink-200 hover:text-bink-700 active:scale-95" |
||||||
: "" |
: "" |
||||||
}`}
|
}`}
|
||||||
> |
> |
||||||
<Icon className="text-xl" icon={Icons.MOVIE_WEB} /> |
<Icon className="text-xl" icon={Icons.MOVIE_WEB} /> |
||||||
<span className="font-semibold text-white">movie-web</span> |
<span className="font-semibold text-white">{t('global.name')}</span> |
||||||
</div> |
</div> |
||||||
); |
); |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue