diff --git a/.gitmodules b/.gitmodules index 8ecda16..f3c38d0 100644 --- a/.gitmodules +++ b/.gitmodules @@ -5,7 +5,7 @@ [submodule "joinlemmy-translations"] path = joinlemmy-translations url = https://github.com/lemmynet/joinlemmy-translations - branch = main + branch = tailwind_rework [submodule "lemmy-translations"] path = lemmy-translations url = https://github.com/lemmynet/lemmy-translations diff --git a/crawl.mjs b/crawl.mjs index 1639200..9777636 100644 --- a/crawl.mjs +++ b/crawl.mjs @@ -52,7 +52,7 @@ try { process.stdout.write(strData); }); - run.on("close", exitCode => { + run.on("close", _exitCode => { var stats = JSON.parse(savedOutput); // Crawl results from all instances include tons of data which needs to be compiled. // If it is too much data it breaks the build, so we need to exclude as much as possible. diff --git a/joinlemmy-translations b/joinlemmy-translations index f96ec38..57cc965 160000 --- a/joinlemmy-translations +++ b/joinlemmy-translations @@ -1 +1 @@ -Subproject commit f96ec38a927aa2477d9a1d21f6a637ed8838b913 +Subproject commit 57cc965548287bbf508fbbe8aadf15b1449fb839 diff --git a/lemmy-docs b/lemmy-docs index 46e7d37..bc063f4 160000 --- a/lemmy-docs +++ b/lemmy-docs @@ -1 +1 @@ -Subproject commit 46e7d377c5e27418c89df28e6c620a7a3265b62f +Subproject commit bc063f46eb15fa09391639a4777b0cabb0cdcef5 diff --git a/lemmy-translations b/lemmy-translations index 18da108..0a5b979 160000 --- a/lemmy-translations +++ b/lemmy-translations @@ -1 +1 @@ -Subproject commit 18da10858d8c63750beb06247947f25d91944741 +Subproject commit 0a5b9790fbae41e8dc51021c2d20ec0f5743b1d8 diff --git a/recommended-instances.json b/recommended-instances.json index 95e9a2b..2faa471 100644 --- a/recommended-instances.json +++ b/recommended-instances.json @@ -1,23 +1,12 @@ { - "en": [ - "sopuli.xyz", - "sh.itjust.works", - "lemmy.fmhy.ml", - "discuss.tchncs.de", + "recommended": [ + "lemmy.ml", "lemm.ee", + "lemmygrad.ml", "reddthat.com", - "discuss.online" + "hexbear.net", + "lemmy.fmhy.ml" ], - "fr": ["sh.itjust.works"], - "da": ["feddit.dk"], - "de": ["feddit.de", "discuss.tchncs.de"], - "nl": ["feddit.nl"], - "pt": ["lemmy.pt"], - "pt-PT": ["lemmy.pt"], - "pt-BR": ["lemmy.pt"], - "eu": ["lemmy.eus"], - "ja": ["tabinezumi.net", "lm.korako.me"], - "it": ["feddit.it"], "exclude": [ "lemmy.glasgow.social", "ds9.lemmy.ml", diff --git a/src/assets/images/code_pic.webp b/src/assets/images/code_pic.webp deleted file mode 100644 index 673af09..0000000 Binary files a/src/assets/images/code_pic.webp and /dev/null differ diff --git a/src/assets/images/main_img.webp b/src/assets/images/main_img.webp deleted file mode 100644 index 2601ab1..0000000 Binary files a/src/assets/images/main_img.webp and /dev/null differ diff --git a/src/assets/images/mod_pic.webp b/src/assets/images/mod_pic.webp deleted file mode 100644 index e9e4d12..0000000 Binary files a/src/assets/images/mod_pic.webp and /dev/null differ diff --git a/src/assets/images/reply_vid.webm b/src/assets/images/reply_vid.webm deleted file mode 100644 index 8814fa5..0000000 Binary files a/src/assets/images/reply_vid.webm and /dev/null differ diff --git a/src/assets/images/review_pic.webp b/src/assets/images/review_pic.webp deleted file mode 100644 index b2d56e1..0000000 Binary files a/src/assets/images/review_pic.webp and /dev/null differ diff --git a/src/shared/components/apps.tsx b/src/shared/components/apps.tsx index 633fab4..5293a22 100644 --- a/src/shared/components/apps.tsx +++ b/src/shared/components/apps.tsx @@ -1,6 +1,7 @@ import { Component } from "inferno"; import { Helmet } from "inferno-helmet"; import { i18n } from "../i18next"; +import { T } from "inferno-i18next"; import { BottomSpacer, TEXT_GRADIENT } from "./common"; import { ANDROID_APPS, @@ -15,7 +16,9 @@ import { Icon } from "./icon"; const TitleBlock = () => (
{i18n.t("lemmy_apps")}
+{i18n.t("choose_from_apps")}
@@ -45,7 +48,7 @@ interface AppDetailsButtonsProps { const AppDetailsButtons = ({ links }: AppDetailsButtonsProps) => (
{i18n.t("support_donate")}
diff --git a/src/shared/components/contact.tsx b/src/shared/components/contact.tsx
index c31b78e..91af0fa 100644
--- a/src/shared/components/contact.tsx
+++ b/src/shared/components/contact.tsx
@@ -29,7 +29,10 @@ const ContactBlock = () => (
);
const ContactBtn = ({ title, url }) => (
-
+
{title}
- {i18n.t("lemmy_servers")} -
+{i18n.t("instance_totals", { instances: numToSI(instance_stats.stats.crawled_instances), @@ -89,8 +90,6 @@ const InstanceCard = ({ instance }: InstanceCardProps) => { const modalId = `modal_${domain}`; - // TODO do users / month, posts / month, comments / month instead of totals - return (
{description}
Lemmy
{i18n.t("lemmy_desc")}
- {i18n.t("follow_communities")} -
+{i18n.t("lemmy_long_desc")}
@@ -51,10 +95,10 @@ const FollowCommunitiesBlock = () => (