Remove active in the last (#419)

* Updating translations.

* Removing active_in_the_last for i18n.

- Fixes https://github.com/LemmyNet/lemmy-translations/issues/17
This commit is contained in:
Dessalines 2021-09-18 13:06:12 -04:00 committed by GitHub
parent a2aac813cf
commit 33bb8250cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 24 deletions

@ -1 +1 @@
Subproject commit 183033e0f796b450911e4e8f708ddd5969b12b77
Subproject commit a700edf2dc9c290050b036b6d33e0ea351c92274

View file

@ -156,10 +156,10 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
</li>
<li
className="list-inline-item badge badge-secondary pointer"
data-tippy-content={`${i18n.t("number_of_users", {
data-tippy-content={i18n.t("active_users_in_the_last_day", {
count: counts.users_active_day,
formattedCount: counts.users_active_day,
})} ${i18n.t("active_in_the_last")} ${i18n.t("day")}`}
})}
>
{i18n.t("number_of_users", {
count: counts.users_active_day,
@ -169,10 +169,10 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
</li>
<li
className="list-inline-item badge badge-secondary pointer"
data-tippy-content={`${i18n.t("number_of_users", {
data-tippy-content={i18n.t("active_users_in_the_last_week", {
count: counts.users_active_week,
formattedCount: counts.users_active_week,
})} ${i18n.t("active_in_the_last")} ${i18n.t("week")}`}
})}
>
{i18n.t("number_of_users", {
count: counts.users_active_week,
@ -182,10 +182,10 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
</li>
<li
className="list-inline-item badge badge-secondary pointer"
data-tippy-content={`${i18n.t("number_of_users", {
data-tippy-content={i18n.t("active_users_in_the_last_month", {
count: counts.users_active_month,
formattedCount: counts.users_active_month,
})} ${i18n.t("active_in_the_last")} ${i18n.t("month")}`}
})}
>
{i18n.t("number_of_users", {
count: counts.users_active_month,
@ -195,13 +195,10 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
</li>
<li
className="list-inline-item badge badge-secondary pointer"
data-tippy-content={`${i18n.t("number_of_users", {
data-tippy-content={i18n.t("active_users_in_the_last_six_months", {
count: counts.users_active_half_year,
formattedCount: counts.users_active_half_year,
})} ${i18n.t("active_in_the_last")} ${i18n.t("number_of_months", {
count: 6,
formattedCount: 6,
})}`}
})}
>
{i18n.t("number_of_users", {
count: counts.users_active_half_year,

View file

@ -511,10 +511,10 @@ export class Home extends Component<any, HomeState> {
</li>
<li
className="list-inline-item badge badge-secondary pointer"
data-tippy-content={`${i18n.t("number_of_users", {
data-tippy-content={i18n.t("active_users_in_the_last_day", {
count: counts.users_active_day,
formattedCount: counts.users_active_day,
})} ${i18n.t("active_in_the_last")} ${i18n.t("day")}`}
formattedCount: numToSI(counts.users_active_day),
})}
>
{i18n.t("number_of_users", {
count: counts.users_active_day,
@ -524,10 +524,10 @@ export class Home extends Component<any, HomeState> {
</li>
<li
className="list-inline-item badge badge-secondary pointer"
data-tippy-content={`${i18n.t("number_of_users", {
data-tippy-content={i18n.t("active_users_in_the_last_week", {
count: counts.users_active_week,
formattedCount: counts.users_active_week,
})} ${i18n.t("active_in_the_last")} ${i18n.t("week")}`}
})}
>
{i18n.t("number_of_users", {
count: counts.users_active_week,
@ -537,10 +537,10 @@ export class Home extends Component<any, HomeState> {
</li>
<li
className="list-inline-item badge badge-secondary pointer"
data-tippy-content={`${i18n.t("number_of_users", {
data-tippy-content={i18n.t("active_users_in_the_last_month", {
count: counts.users_active_month,
formattedCount: counts.users_active_month,
})} ${i18n.t("active_in_the_last")} ${i18n.t("month")}`}
})}
>
{i18n.t("number_of_users", {
count: counts.users_active_month,
@ -550,13 +550,10 @@ export class Home extends Component<any, HomeState> {
</li>
<li
className="list-inline-item badge badge-secondary pointer"
data-tippy-content={`${i18n.t("number_of_users", {
data-tippy-content={i18n.t("active_users_in_the_last_six_months", {
count: counts.users_active_half_year,
formattedCount: counts.users_active_half_year,
})} ${i18n.t("active_in_the_last")} ${i18n.t("number_of_months", {
count: 6,
formattedCount: 6,
})}`}
})}
>
{i18n.t("number_of_users", {
count: counts.users_active_half_year,