From 4fbf57ccfe3d1ec3b0e368e7725d2c34579efeba Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 3 Aug 2022 20:34:56 +0200 Subject: [PATCH] Use single string to translate active users per month (fixes #112) --- joinlemmy-translations | 2 +- lemmy-docs | 2 +- lemmy-js-client | 2 +- lemmy-translations | 2 +- src/shared/components/instances.tsx | 5 +++-- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/joinlemmy-translations b/joinlemmy-translations index 6f8e82e..dbdbaa9 160000 --- a/joinlemmy-translations +++ b/joinlemmy-translations @@ -1 +1 @@ -Subproject commit 6f8e82eac5449e1e2c61b1e248faeb7e9cf46752 +Subproject commit dbdbaa9e6176aca1f7772ced2c61ed5209af86a6 diff --git a/lemmy-docs b/lemmy-docs index 76b397a..70e433a 160000 --- a/lemmy-docs +++ b/lemmy-docs @@ -1 +1 @@ -Subproject commit 76b397aac77c038e4f53ecb629c4d08acebdbb7c +Subproject commit 70e433a9f98bfb55c04d8b1c2d86f35ae79368af diff --git a/lemmy-js-client b/lemmy-js-client index e7f5a5d..54a6124 160000 --- a/lemmy-js-client +++ b/lemmy-js-client @@ -1 +1 @@ -Subproject commit e7f5a5d05f1ce085e7b451ee2bfa41bb35f5f2dd +Subproject commit 54a61241cee2a8e16c8ff8fbaed9ac2b1024a51b diff --git a/lemmy-translations b/lemmy-translations index 7c39457..29c689a 160000 --- a/lemmy-translations +++ b/lemmy-translations @@ -1 +1 @@ -Subproject commit 7c3945745dcd07774b19453803f7f14ab80ab3d3 +Subproject commit 29c689af8d16417c1b84d9491f6bcea888720a87 diff --git a/src/shared/components/instances.tsx b/src/shared/components/instances.tsx index fd42ed5..b8e80f8 100644 --- a/src/shared/components/instances.tsx +++ b/src/shared/components/instances.tsx @@ -79,8 +79,9 @@ export class Instances extends Component {

{domain}

- {numToSI(users_active_month)} {i18n.t("users")} /{" "} - {i18n.t("month")} + {i18n.t("users_active_per_month", { + count: users_active_month, + })}