Phase 1: quick flow fixes
- One message per job: the status message is deleted once the file is
sent, or shortened to "Sent." when Telegram keeps it.
- No reply quotes in private chats; groups keep them.
- Queue status only mentions the position when the wait is above
QUEUE_NOTICE_THRESHOLD_SECONDS or somebody is ahead. Status edits are
throttled to one per 2.5 s per message; a state that arrives too soon
is shown later instead of dropped. The wait estimate is 0 with a free
slot.
- Caption with title (uploader and date when generic), uploader,
duration, a short source link without tracking parameters and an
optional "via @bot" line (CAPTION_ATTRIBUTION). Uploaded videos get a
320 px JPEG thumbnail; merged MP4s are written with faststart.
- Buttons under the result: Audio (MP3), Other quality, Thumbnail,
Delete. Requester only in groups.
- Language resolved once per update and passed in the context. A
fallback to English is logged as a bug; a test walks every screen in
Spanish and Dutch. Language picker on the first /start.
- Sizes without a zero decimal ("50 MB").
- First link of a new user shows the card once and sets the default to
"best that fits my limit".
- Errors offer the next step (Try again, Smaller quality, Upgrade, Open
app); passing lookup failures are retried once.
- Up to MULTI_LINK_MAX links per message; a link sent a moment ago gets
"already sent" with a Send again button.
- Mini App menu button, labelled per private chat in the user's
language.
- Personal /settings in private chats with an "Add me to a group"
button.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
3c153af97f
commit
6843053582
@@ -58,6 +58,7 @@ Tot {{.MaxSize}} en {{.MaxDuration}} per download."""
|
||||
unknown = "Dat commando ken ik niet. Probeer /help."
|
||||
|
||||
[menu]
|
||||
settings_private = "Je instellingen"
|
||||
dl = "Een video downloaden via een link"
|
||||
audio = "De audio als MP3 downloaden"
|
||||
thumb = "De miniatuur ophalen"
|
||||
@@ -126,11 +127,23 @@ one = "{{.Count}} download geannuleerd."
|
||||
other = "{{.Count}} downloads geannuleerd."
|
||||
|
||||
[card]
|
||||
first_run = "<i>Volgende keer begin ik meteen met de beste kwaliteit die binnen je limiet past. Met /quality verander je dat.</i>"
|
||||
looking = "Link opzoeken…"
|
||||
pick = "Kies een formaat:"
|
||||
cancelled = "Geannuleerd."
|
||||
|
||||
[btn]
|
||||
checked = "✓ {{.Label}}"
|
||||
back = "Terug"
|
||||
add_to_group = "Voeg me toe aan een groep"
|
||||
referral = "Vrienden uitnodigen"
|
||||
send_again = "Opnieuw sturen"
|
||||
upgrade = "Upgraden"
|
||||
smaller_quality = "Lagere kwaliteit"
|
||||
try_again = "Opnieuw proberen"
|
||||
result_audio = "Audio (MP3)"
|
||||
other_quality = "Andere kwaliteit"
|
||||
delete = "Verwijderen"
|
||||
full_settings = "Alle instellingen openen"
|
||||
add_group_credits = "Groepstegoed toevoegen"
|
||||
buy_group_pass = "Groepspas kopen"
|
||||
@@ -153,6 +166,7 @@ subs_auto = "{{.Lang}} (automatisch)"
|
||||
resend = "{{.N}}. {{.Title}}"
|
||||
|
||||
[status]
|
||||
sent = "Verstuurd."
|
||||
queued = "In de wachtrij. Plek {{.Position}}, ongeveer {{.Wait}}."
|
||||
downloading = "Downloaden…"
|
||||
downloading_bytes = "Downloaden… {{.Done}}"
|
||||
@@ -166,6 +180,7 @@ failed = "Dat lukte niet. {{.Reason}}"
|
||||
refunded = "{{.Amount}} is teruggezet op je saldo."
|
||||
|
||||
[notice]
|
||||
cannot_delete = "Telegram laat me alleen berichten van de afgelopen 48 uur verwijderen."
|
||||
group_only = "Dit commando werkt in groepen."
|
||||
admins_only = "Alleen beheerders van deze groep kunnen dat."
|
||||
saved = "Opgeslagen."
|
||||
@@ -523,6 +538,18 @@ off = "uit"
|
||||
none = "geen"
|
||||
|
||||
[settings]
|
||||
language = "Taal"
|
||||
ask = "Elke keer vragen"
|
||||
audio_only = "Alleen audio"
|
||||
lang_follow = "{{.Lang}} (van Telegram)"
|
||||
personal = """
|
||||
<b>Je instellingen</b>
|
||||
Standaardformaat: {{.Quality}}
|
||||
Taal: {{.Lang}}
|
||||
Pas tot: {{.Pass}} · Saldo: {{.Balance}}
|
||||
Uitgenodigde vrienden: {{.Invited}}
|
||||
|
||||
Tik op een knop om iets te wijzigen."""
|
||||
text = """
|
||||
<b>Groepsinstellingen</b>
|
||||
Saldo: {{.Balance}} · Pas tot: {{.Pass}}
|
||||
@@ -558,6 +585,8 @@ Stuur deze in de groep, als beheerder:
|
||||
/spending regel - wie groepstegoed mag uitgeven"""
|
||||
|
||||
[quality]
|
||||
audio_only = "Alleen audio (MP3)"
|
||||
fit = "Beste die binnen mijn limiet past"
|
||||
ask = "Elke keer vragen"
|
||||
pick = "Kies je standaardformaat. Dan begin ik meteen in plaats van te vragen."
|
||||
set = "Standaardformaat: {{.Quality}}"
|
||||
@@ -808,3 +837,9 @@ De dienst wordt geleverd zoals hij is, zonder garantie dat een bepaalde site wer
|
||||
|
||||
Vragen: {{.Contact}}"""
|
||||
support = "Hulp nodig? Schrijf naar {{.Contact}}.\n\n/help laat zien wat ik kan."
|
||||
|
||||
[caption]
|
||||
via = "via @{{.Bot}}"
|
||||
|
||||
[dup]
|
||||
already_sent = "Dit heb ik je net gestuurd, het staat hierboven. Tik hieronder om het opnieuw te krijgen."
|
||||
|
||||
Reference in New Issue
Block a user