summaryrefslogtreecommitdiff
path: root/locales
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2025-05-11 03:34:47 -0400
committerHazelnoot <acomputerdog@gmail.com>2025-05-23 10:22:13 -0400
commit3c949f0b8113e88f474b7e27b1c0abcfe0664081 (patch)
tree486792c6825d79b137671bc4353b92427186bc9f /locales
parentmerge: Cleanup admin user UI (!1012) (diff)
downloadsharkey-3c949f0b8113e88f474b7e27b1c0abcfe0664081.tar.gz
sharkey-3c949f0b8113e88f474b7e27b1c0abcfe0664081.tar.bz2
sharkey-3c949f0b8113e88f474b7e27b1c0abcfe0664081.zip
overhaul trending polls
* Split into local, global, and completed sections * Don't require credential, but check for local/global timeline perms * Fix rate limit * Return polls where the current user has already voted * Return non-public polls if the user has permission to view them * Apply user/instance blocks * Fetch polls + notes + users in a single step to speed up pack
Diffstat (limited to 'locales')
-rw-r--r--locales/index.d.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/locales/index.d.ts b/locales/index.d.ts
index 69c63cc714..8a3799ce58 100644
--- a/locales/index.d.ts
+++ b/locales/index.d.ts
@@ -13070,6 +13070,18 @@ export interface Locale extends ILocale {
*/
"popularUsersLocal": ParameterizedString<"name">;
/**
+ * Polls trending on {host}
+ */
+ "pollsOnLocal": ParameterizedString<"host">;
+ /**
+ * Polls trending on the global network
+ */
+ "pollsOnRemote": string;
+ /**
+ * Polls that have ended recently
+ */
+ "pollsExpired": string;
+ /**
* Silenced
*/
"silenced": string;