diff --git a/front/packages/ui/src/collection/index.tsx b/front/packages/ui/src/collection/index.tsx
index 1a6e0326..a340a73b 100644
--- a/front/packages/ui/src/collection/index.tsx
+++ b/front/packages/ui/src/collection/index.tsx
@@ -36,7 +36,7 @@ import { Platform, View, ViewProps } from "react-native";
import { Fetch } from "../fetch";
import { InfiniteFetch } from "../fetch-infinite";
import { DefaultLayout } from "../layout";
-import { ItemDetails } from "../home/recommanded";
+import { ItemDetails } from "../home/recommended";
import { SvgWave } from "../details/show";
import { ItemGrid } from "../browse/grid";
diff --git a/front/packages/ui/src/home/index.tsx b/front/packages/ui/src/home/index.tsx
index 9aa85257..29aba417 100644
--- a/front/packages/ui/src/home/index.tsx
+++ b/front/packages/ui/src/home/index.tsx
@@ -24,8 +24,8 @@ import { Header } from "./header";
import { DefaultLayout } from "../layout";
import { RefreshControl, ScrollView } from "react-native";
import { GenreGrid } from "./genre";
-import { Recommanded } from "./recommanded";
-import { VerticalRecommanded } from "./vertical";
+import { Recommended } from "./recommended";
+import { VerticalRecommended } from "./vertical";
import { NewsList } from "./news";
import { WatchlistList } from "./watchlist";
import { useQueryClient } from "@tanstack/react-query";
@@ -76,13 +76,13 @@ export const HomePage: QueryPage<{}, Genre> = ({ randomItems }) => {
.map((x) => (
))}
-
+
{randomItems
.filter((_, i) => i >= 2 && i < 6)
.map((x) => (
))}
-
+
{/*
TODO: Lazy load those items
{randomItems.filter((_, i) => i >= 6).map((x) => )}
@@ -100,6 +100,6 @@ HomePage.getFetchUrls = (_, randomItems) => [
WatchlistList.query(),
NewsList.query(),
...randomItems.filter((_, i) => i < 6).map((x) => GenreGrid.query(x)),
- Recommanded.query(),
- VerticalRecommanded.query(),
+ Recommended.query(),
+ VerticalRecommended.query(),
];
diff --git a/front/packages/ui/src/home/recommanded.tsx b/front/packages/ui/src/home/recommended.tsx
similarity index 96%
rename from front/packages/ui/src/home/recommanded.tsx
rename to front/packages/ui/src/home/recommended.tsx
index bc0ce604..a7515268 100644
--- a/front/packages/ui/src/home/recommanded.tsx
+++ b/front/packages/ui/src/home/recommended.tsx
@@ -81,7 +81,7 @@ export const ItemDetails = ({
unseenEpisodesCount: number | null;
}>) => {
const [moreOpened, setMoreOpened] = useState(false);
- const { css } = useYoshiki("recommanded-card");
+ const { css } = useYoshiki("recommended-card");
const { t } = useTranslation();
return (
@@ -238,15 +238,15 @@ ItemDetails.layout = {
gap: ts(8),
} satisfies Layout;
-export const Recommanded = () => {
+export const Recommended = () => {
const { t } = useTranslation();
const { css } = useYoshiki();
return (
- {t("home.recommanded")}
+ {t("home.recommended")}
{
);
};
-Recommanded.query = (): QueryIdentifier => ({
+Recommended.query = (): QueryIdentifier => ({
parser: LibraryItemP,
infinite: true,
path: ["items"],
diff --git a/front/packages/ui/src/home/vertical.tsx b/front/packages/ui/src/home/vertical.tsx
index c5082fd3..bf2cc061 100644
--- a/front/packages/ui/src/home/vertical.tsx
+++ b/front/packages/ui/src/home/vertical.tsx
@@ -28,15 +28,15 @@ import { useTranslation } from "react-i18next";
import { ItemGrid } from "../browse/grid";
import { itemMap } from "../browse";
-export const VerticalRecommanded = () => {
+export const VerticalRecommended = () => {
const { t } = useTranslation();
const { css } = useYoshiki();
return (
- {t("home.recommanded")}
+ {t("home.recommended")}
{
);
};
-VerticalRecommanded.query = (): QueryIdentifier => ({
+VerticalRecommended.query = (): QueryIdentifier => ({
parser: LibraryItemP,
infinite: true,
path: ["items"],
diff --git a/front/translations/en.json b/front/translations/en.json
index 6d157aa7..80248f36 100644
--- a/front/translations/en.json
+++ b/front/translations/en.json
@@ -1,6 +1,6 @@
{
"home": {
- "recommanded": "Recommanded",
+ "recommended": "Recommended",
"news": "News",
"watchlist": "Continue watching",
"info": "See more",
diff --git a/front/translations/fr.json b/front/translations/fr.json
index a154d214..a83c4541 100644
--- a/front/translations/fr.json
+++ b/front/translations/fr.json
@@ -1,6 +1,6 @@
{
"home": {
- "recommanded": "Recommandé",
+ "recommended": "Recommandé",
"news": "Nouveautés",
"watchlist": "Continuer de regarder",
"info": "Voir plus",
diff --git a/front/translations/zh.json b/front/translations/zh.json
index 0318b961..93c9f9ae 100644
--- a/front/translations/zh.json
+++ b/front/translations/zh.json
@@ -1,6 +1,6 @@
{
"home": {
- "recommanded": "推荐",
+ "recommended": "推荐",
"news": "新闻",
"watchlist": "继续观看",
"info": "查看更多",
diff --git a/transcoder/src/stream.go b/transcoder/src/stream.go
index 0b59b8d7..c2f600cc 100644
--- a/transcoder/src/stream.go
+++ b/transcoder/src/stream.go
@@ -246,7 +246,7 @@ func (ts *Stream) run(start int32) error {
args = append(args,
"-f", "segment",
// needed for rounding issues when forcing keyframes
- // recommanded value is 1/(2*frame_rate), which for a 24fps is ~0.021
+ // recommended value is 1/(2*frame_rate), which for a 24fps is ~0.021
// we take a little bit more than that to be extra safe but too much can be harmfull
// when segments are short (can make the video repeat itself)
"-segment_time_delta", "0.05",