summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2025-05-12 13:47:55 -0400
committerHazelnoot <acomputerdog@gmail.com>2025-05-23 10:22:17 -0400
commitee4dc27800d73ab7db0db5d59c4c951df0f1206e (patch)
treefdb12e93009a109a4a5a47e383358d6b559cfb21
parentcatch polls that are expiring exactly in the current instant (diff)
downloadsharkey-ee4dc27800d73ab7db0db5d59c4c951df0f1206e.tar.gz
sharkey-ee4dc27800d73ab7db0db5d59c4c951df0f1206e.tar.bz2
sharkey-ee4dc27800d73ab7db0db5d59c4c951df0f1206e.zip
rename pollsOnLocal.host to pollsOnLocal.name
-rw-r--r--locales/index.d.ts4
-rw-r--r--packages/frontend/src/pages/explore.featured.vue2
-rw-r--r--sharkey-locales/en-US.yml2
3 files changed, 4 insertions, 4 deletions
diff --git a/locales/index.d.ts b/locales/index.d.ts
index 8a3799ce58..bd0d718c13 100644
--- a/locales/index.d.ts
+++ b/locales/index.d.ts
@@ -13070,9 +13070,9 @@ export interface Locale extends ILocale {
*/
"popularUsersLocal": ParameterizedString<"name">;
/**
- * Polls trending on {host}
+ * Polls trending on {name}
*/
- "pollsOnLocal": ParameterizedString<"host">;
+ "pollsOnLocal": ParameterizedString<"name">;
/**
* Polls trending on the global network
*/
diff --git a/packages/frontend/src/pages/explore.featured.vue b/packages/frontend/src/pages/explore.featured.vue
index 32ee8e2a40..2c54d0d49c 100644
--- a/packages/frontend/src/pages/explore.featured.vue
+++ b/packages/frontend/src/pages/explore.featured.vue
@@ -12,7 +12,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkNotes v-if="tab === 'notes'" :pagination="paginationForNotes"/>
<div v-else-if="tab === 'polls'">
<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"/>
</MkFoldableSection>
diff --git a/sharkey-locales/en-US.yml b/sharkey-locales/en-US.yml
index f3be1ea7cd..ca7c4ea717 100644
--- a/sharkey-locales/en-US.yml
+++ b/sharkey-locales/en-US.yml
@@ -572,7 +572,7 @@ bubbleTimelineMustBeEnabled: "Note: the bubble timeline is hidden by default, an
popularUsersGlobal: "Users popular on the global network"
popularUsersLocal: "Users popular on {name}"
-pollsOnLocal: "Polls trending on {host}"
+pollsOnLocal: "Polls trending on {name}"
pollsOnRemote: "Polls trending on the global network"
pollsExpired: "Polls that have ended recently"