rename popularUsersLocal.host to popularUsersLocal.name

This commit is contained in:
Hazelnoot 2025-05-12 13:29:55 -04:00
parent dee2e19b63
commit bb8609d0f0
3 changed files with 12 additions and 12 deletions

4
locales/index.d.ts vendored
View file

@ -13054,9 +13054,9 @@ export interface Locale extends ILocale {
*/
"popularUsersGlobal": string;
/**
* Users popular on {host}
* Users popular on {name}
*/
"popularUsersLocal": ParameterizedString<"host">;
"popularUsersLocal": ParameterizedString<"name">;
/**
* Translation timeout
*/

View file

@ -46,7 +46,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template v-if="tag == null">
<MkFoldableSection class="_margin">
<template #header><i class="ti ti-chart-line ti-fw" style="margin-right: 0.5em;"></i>{{ i18n.tsx.popularUsersLocal({ host: instance.name ?? host }) }}</template>
<template #header><i class="ti ti-chart-line ti-fw" style="margin-right: 0.5em;"></i>{{ i18n.tsx.popularUsersLocal({ name: instance.name ?? host }) }}</template>
<MkUserList :pagination="popularUsersLocalF"/>
</MkFoldableSection>
<MkFoldableSection class="_margin">

View file

@ -567,7 +567,7 @@ bubbleTimelineDescription: "Choose which instances should be displayed in the bu
bubbleTimelineMustBeEnabled: "Note: the bubble timeline is hidden by default, and must be enabled via roles."
popularUsersGlobal: "Users popular on the global network"
popularUsersLocal: "Users popular on {host}"
popularUsersLocal: "Users popular on {name}"
translationTimeoutLabel: "Translation timeout"
translationTimeoutCaption: "Timeout in milliseconds for translation API requests."