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

20
locales/index.d.ts vendored
View file

@ -13054,17 +13054,17 @@ export interface Locale extends ILocale {
*/ */
"popularUsersGlobal": string; "popularUsersGlobal": string;
/** /**
* Users popular on {host} * Users popular on {name}
*/ */
"popularUsersLocal": ParameterizedString<"host">; "popularUsersLocal": ParameterizedString<"name">;
/** /**
* Translation timeout * Translation timeout
*/ */
"translationTimeoutLabel": string; "translationTimeoutLabel": string;
/** /**
* Timeout in milliseconds for translation API requests. * Timeout in milliseconds for translation API requests.
*/ */
"translationTimeoutCaption": string; "translationTimeoutCaption": string;
} }
declare const locales: { declare const locales: {
[lang: string]: Locale; [lang: string]: Locale;

View file

@ -46,7 +46,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template v-if="tag == null"> <template v-if="tag == null">
<MkFoldableSection class="_margin"> <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"/> <MkUserList :pagination="popularUsersLocalF"/>
</MkFoldableSection> </MkFoldableSection>
<MkFoldableSection class="_margin"> <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." bubbleTimelineMustBeEnabled: "Note: the bubble timeline is hidden by default, and must be enabled via roles."
popularUsersGlobal: "Users popular on the global network" popularUsersGlobal: "Users popular on the global network"
popularUsersLocal: "Users popular on {host}" popularUsersLocal: "Users popular on {name}"
translationTimeoutLabel: "Translation timeout" translationTimeoutLabel: "Translation timeout"
translationTimeoutCaption: "Timeout in milliseconds for translation API requests." translationTimeoutCaption: "Timeout in milliseconds for translation API requests."