mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-01 16:51:13 +00:00
Removing active_in_the_last for i18n.
- Fixes https://github.com/LemmyNet/lemmy-translations/issues/17
This commit is contained in:
parent
4049520613
commit
184ad23321
2 changed files with 17 additions and 23 deletions
|
@ -156,10 +156,10 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
|
||||||
</li>
|
</li>
|
||||||
<li
|
<li
|
||||||
className="list-inline-item badge badge-secondary pointer"
|
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,
|
count: counts.users_active_day,
|
||||||
formattedCount: counts.users_active_day,
|
formattedCount: counts.users_active_day,
|
||||||
})} ${i18n.t("active_in_the_last")} ${i18n.t("day")}`}
|
})}
|
||||||
>
|
>
|
||||||
{i18n.t("number_of_users", {
|
{i18n.t("number_of_users", {
|
||||||
count: counts.users_active_day,
|
count: counts.users_active_day,
|
||||||
|
@ -169,10 +169,10 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
|
||||||
</li>
|
</li>
|
||||||
<li
|
<li
|
||||||
className="list-inline-item badge badge-secondary pointer"
|
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,
|
count: counts.users_active_week,
|
||||||
formattedCount: counts.users_active_week,
|
formattedCount: counts.users_active_week,
|
||||||
})} ${i18n.t("active_in_the_last")} ${i18n.t("week")}`}
|
})}
|
||||||
>
|
>
|
||||||
{i18n.t("number_of_users", {
|
{i18n.t("number_of_users", {
|
||||||
count: counts.users_active_week,
|
count: counts.users_active_week,
|
||||||
|
@ -182,10 +182,10 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
|
||||||
</li>
|
</li>
|
||||||
<li
|
<li
|
||||||
className="list-inline-item badge badge-secondary pointer"
|
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,
|
count: counts.users_active_month,
|
||||||
formattedCount: counts.users_active_month,
|
formattedCount: counts.users_active_month,
|
||||||
})} ${i18n.t("active_in_the_last")} ${i18n.t("month")}`}
|
})}
|
||||||
>
|
>
|
||||||
{i18n.t("number_of_users", {
|
{i18n.t("number_of_users", {
|
||||||
count: counts.users_active_month,
|
count: counts.users_active_month,
|
||||||
|
@ -195,13 +195,10 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
|
||||||
</li>
|
</li>
|
||||||
<li
|
<li
|
||||||
className="list-inline-item badge badge-secondary pointer"
|
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,
|
count: counts.users_active_half_year,
|
||||||
formattedCount: 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", {
|
{i18n.t("number_of_users", {
|
||||||
count: counts.users_active_half_year,
|
count: counts.users_active_half_year,
|
||||||
|
|
|
@ -511,10 +511,10 @@ export class Home extends Component<any, HomeState> {
|
||||||
</li>
|
</li>
|
||||||
<li
|
<li
|
||||||
className="list-inline-item badge badge-secondary pointer"
|
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,
|
count: counts.users_active_day,
|
||||||
formattedCount: counts.users_active_day,
|
formattedCount: numToSI(counts.users_active_day),
|
||||||
})} ${i18n.t("active_in_the_last")} ${i18n.t("day")}`}
|
})}
|
||||||
>
|
>
|
||||||
{i18n.t("number_of_users", {
|
{i18n.t("number_of_users", {
|
||||||
count: counts.users_active_day,
|
count: counts.users_active_day,
|
||||||
|
@ -524,10 +524,10 @@ export class Home extends Component<any, HomeState> {
|
||||||
</li>
|
</li>
|
||||||
<li
|
<li
|
||||||
className="list-inline-item badge badge-secondary pointer"
|
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,
|
count: counts.users_active_week,
|
||||||
formattedCount: counts.users_active_week,
|
formattedCount: counts.users_active_week,
|
||||||
})} ${i18n.t("active_in_the_last")} ${i18n.t("week")}`}
|
})}
|
||||||
>
|
>
|
||||||
{i18n.t("number_of_users", {
|
{i18n.t("number_of_users", {
|
||||||
count: counts.users_active_week,
|
count: counts.users_active_week,
|
||||||
|
@ -537,10 +537,10 @@ export class Home extends Component<any, HomeState> {
|
||||||
</li>
|
</li>
|
||||||
<li
|
<li
|
||||||
className="list-inline-item badge badge-secondary pointer"
|
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,
|
count: counts.users_active_month,
|
||||||
formattedCount: counts.users_active_month,
|
formattedCount: counts.users_active_month,
|
||||||
})} ${i18n.t("active_in_the_last")} ${i18n.t("month")}`}
|
})}
|
||||||
>
|
>
|
||||||
{i18n.t("number_of_users", {
|
{i18n.t("number_of_users", {
|
||||||
count: counts.users_active_month,
|
count: counts.users_active_month,
|
||||||
|
@ -550,13 +550,10 @@ export class Home extends Component<any, HomeState> {
|
||||||
</li>
|
</li>
|
||||||
<li
|
<li
|
||||||
className="list-inline-item badge badge-secondary pointer"
|
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,
|
count: counts.users_active_half_year,
|
||||||
formattedCount: 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", {
|
{i18n.t("number_of_users", {
|
||||||
count: counts.users_active_half_year,
|
count: counts.users_active_half_year,
|
||||||
|
|
Loading…
Reference in a new issue