Phase 7: languages
- Complete Spanish (neutral Latin American, Paraguay friendly, no inverted marks) and Dutch catalogs, including the Mini App and owner texts - Command menus per language in three scopes (private, group members, group admins); per-chat menus follow a user's /language and a group's /grouplang, from chat and from the Mini App - Bot name, description and short description per language, sent only when the catalog text changes (TELEGRAM_SET_PROFILE) - Dates from the catalog, numbers, sizes and durations per locale - Pseudo-locale en-XA generated from English (I18N_PSEUDO), owners only - Catalog checks: completeness, placeholders, tags, commands, plurals, Telegram length limits, untranslated text, unused and missing IDs - CI workflow; make i18n-check; docs/TRANSLATING.md - Test fix: the queued-download helper could match another chat's status Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
4f11f939a0
commit
f1f9c6156c
@@ -735,7 +735,11 @@ func (h *moneyHarness) queued() fakeserver.Call {
|
||||
h.waitJobs(db.JobRunning, 1)
|
||||
second := h.card(bob, bob, "https://example.com/waiting")
|
||||
seq := h.press(bob, bob, second, "dl:")
|
||||
return h.wait(seq, edits, textHas("In the queue"))
|
||||
// Only bob's status: a late status edit of alice's job, from before it
|
||||
// started, can also read "In the queue".
|
||||
return h.wait(seq, edits, func(c fakeserver.Call) bool {
|
||||
return c.ChatID() == bob && strings.Contains(c.Text(), "In the queue")
|
||||
})
|
||||
}
|
||||
|
||||
func TestSkipTheQueueWithCredits(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user