rename pollsOnLocal.host to pollsOnLocal.name

This commit is contained in:
Hazelnoot 2025-05-12 13:47:55 -04:00
parent 63950fea31
commit ee4dc27800
3 changed files with 4 additions and 4 deletions

4
locales/index.d.ts vendored
View file

@ -13070,9 +13070,9 @@ export interface Locale extends ILocale {
*/ */
"popularUsersLocal": ParameterizedString<"name">; "popularUsersLocal": ParameterizedString<"name">;
/** /**
* Polls trending on {host} * Polls trending on {name}
*/ */
"pollsOnLocal": ParameterizedString<"host">; "pollsOnLocal": ParameterizedString<"name">;
/** /**
* Polls trending on the global network * Polls trending on the global network
*/ */

View file

@ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkNotes v-if="tab === 'notes'" :pagination="paginationForNotes"/> <MkNotes v-if="tab === 'notes'" :pagination="paginationForNotes"/>
<div v-else-if="tab === 'polls'"> <div v-else-if="tab === 'polls'">
<MkFoldableSection class="_margin"> <MkFoldableSection class="_margin">
<template #header><i class="ph-house ph-bold ph-lg" style="margin-right: 0.5em;"></i>{{ i18n.tsx.pollsOnLocal({ host: instance.name ?? host }) }}</template> <template #header><i class="ph-house ph-bold ph-lg" style="margin-right: 0.5em;"></i>{{ i18n.tsx.pollsOnLocal({ name: instance.name ?? host }) }}</template>
<MkNotes :pagination="paginationForPollsLocal" :disableAutoLoad="true"/> <MkNotes :pagination="paginationForPollsLocal" :disableAutoLoad="true"/>
</MkFoldableSection> </MkFoldableSection>

View file

@ -572,7 +572,7 @@ bubbleTimelineMustBeEnabled: "Note: the bubble timeline is hidden by default, an
popularUsersGlobal: "Users popular on the global network" popularUsersGlobal: "Users popular on the global network"
popularUsersLocal: "Users popular on {name}" popularUsersLocal: "Users popular on {name}"
pollsOnLocal: "Polls trending on {host}" pollsOnLocal: "Polls trending on {name}"
pollsOnRemote: "Polls trending on the global network" pollsOnRemote: "Polls trending on the global network"
pollsExpired: "Polls that have ended recently" pollsExpired: "Polls that have ended recently"