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:
Michilis
2026-11-18 17:42:31 +00:00
co-authored by Claude Opus 5.5
parent 4f11f939a0
commit f1f9c6156c
27 changed files with 3217 additions and 71 deletions
+38
View File
@@ -71,6 +71,44 @@ history = "Your past downloads"
account = "Your pass, balance and usage"
buy = "Get a pass or credits"
help = "How to use the bot"
subs = "Get the subtitles of a video"
credits = "Buy credits"
limits = "Your limits"
redeem = "Redeem a gift code"
referral = "Invite friends and earn sats"
donate = "Tip the bot"
quality = "Set your default format"
language = "Change the language"
app = "Open the app"
support = "Get help"
privacy = "What is stored about you"
terms = "Terms of use"
settings = "Group settings"
grouplang = "Language of the bot in this group"
autodetect = "Fetch pasted links without a command"
allow = "Only allow some sites"
block = "Block a site"
spending = "Who may spend group credits"
groupwallet = "Group balance and top up"
grouppass = "Buy a pass for the group"
groupstats = "Downloads by member"
# The bot's name and the texts on its profile, set with setMyName,
# setMyDescription and setMyShortDescription. Plain text. Telegram allows
# 64 characters for the name, 512 for the description (shown in an empty
# chat, before the user presses Start) and 120 for the short one (shown on
# the profile and when the bot is shared).
[profile]
name = "Noderunners Download Bot"
about = "Send me a link to a video or a song and I send you the file.\n\nWorks with thousands of sites, in private chats and in groups. Free to try. Passes and credits are paid in sats over Lightning."
short = "Send a link, get the video or the audio. Free to try, more with sats over Lightning."
# How dates are written. "months" holds the twelve short month names in
# order, separated by commas. The time is always UTC, and says so.
[format]
months = "Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec"
date = "{{.Day}} {{.Month}} {{.Year}}"
datetime = "{{.Day}} {{.Month}} {{.Year}}, {{.Hour}}:{{.Minute}} UTC"
[hint]
send_link = "Send me a link to a video or a song and I will fetch it. /help has the details."