docs(tally): add tally to /help + website docs; translate to all locales (#1342)

- Add a 'Voice channel tally' group to /help with the three commands.
- Add a Voice Channel Tally section to the website docs (docs.ejs).
- Translate the commands.tally bot strings + help_group_tally into all 10
  other bot locales, and the new docs.* web strings into all 10 web locales.
- Fix stale need_one_input string (ign/squadron_short -> username/squadron).

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
NotSoToothless
2026-06-19 01:56:32 -07:00
committed by GitHub
parent 3590b1f42f
commit 25990c361f
23 changed files with 317 additions and 23 deletions
+38
View File
@@ -560,6 +560,44 @@
</div>
</div>
<!-- Voice Channel Tally -->
<div class="mb-12">
<h3 class="text-2xl font-semibold text-accent mb-6"><%= t('docs.voiceChannelTally') %></h3>
<p class="text-muted leading-relaxed mb-6"><%= t('docs.tallyIntro') %></p>
<div class="space-y-4">
<div class="bg-[rgba(44,44,44,0.3)] border border-[rgba(144,238,144,0.1)] rounded-xl p-6">
<div class="bg-[rgba(0,0,0,0.4)] border border-[rgba(144,238,144,0.15)] rounded-lg p-4 font-mono text-sm text-accent mb-4">
/tally-claim [username] [squadron]
</div>
<p class="text-muted leading-relaxed mb-3"><%= t('docs.tallyClaimDesc') %></p>
<div class="text-sm space-y-1">
<div>
<span class="text-accent font-semibold"><%= t('docs.example') %>:</span>
<code class="ml-2 px-2 py-1 bg-[rgba(0,0,0,0.4)] rounded text-accent">/tally-claim username:PlayerName</code>
</div>
<div>
<span class="text-accent font-semibold"><%= t('docs.example') %>:</span>
<code class="ml-2 px-2 py-1 bg-[rgba(0,0,0,0.4)] rounded text-accent">/tally-claim squadron:DSPL</code>
</div>
</div>
</div>
<div class="bg-[rgba(44,44,44,0.3)] border border-[rgba(144,238,144,0.1)] rounded-xl p-6">
<div class="bg-[rgba(0,0,0,0.4)] border border-[rgba(144,238,144,0.15)] rounded-lg p-4 font-mono text-sm text-accent mb-4">
/tally-transfer [username]
</div>
<p class="text-muted leading-relaxed"><%= t('docs.tallyTransferDesc') %></p>
</div>
<div class="bg-[rgba(44,44,44,0.3)] border border-[rgba(144,238,144,0.1)] rounded-xl p-6">
<div class="bg-[rgba(0,0,0,0.4)] border border-[rgba(144,238,144,0.15)] rounded-lg p-4 font-mono text-sm text-accent mb-4">
/tally-clear
</div>
<p class="text-muted leading-relaxed"><%= t('docs.tallyClearDesc') %></p>
</div>
</div>
</div>
<!-- Stack Manager -->
<div class="mb-12" id="stack-manager">
<h3 class="text-2xl font-semibold text-accent mb-6"><%= t('docs.stackManager') %></h3>