- Referral links carry a random 8 character base32 code (rf_<code>) built from the bot username from getMe. Old ref_<id> links still work but are never shown. - The reward (REFERRAL_REWARD_SATS, old name REFERRAL_REWARD still read) is paid through the ledger once the invited user's first purchase settles, once per invited user, never for self-referrals. - REFERRAL_DAILY_CAP limits what an inviter earns per UTC day; rewards above it wait as pending and are paid on a later day by the billing loop. - /referral shows invited, converted, earned and pending, with Share, Copy link and QR code buttons. The Mini App Me page mirrors it. - Migration 00008: users.ref_code (unique) and referral_rewards, backfilled from earlier referral credits in the ledger. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
920 lines
33 KiB
TOML
920 lines
33 KiB
TOML
# English catalog. This is the source language: every other catalog must
|
||
# have exactly these keys.
|
||
#
|
||
# Rules for translators:
|
||
# - Text in {{.Braces}} is a placeholder. Keep it as is.
|
||
# - Keep the HTML tags (<b>, <i>, <code>) and the line breaks.
|
||
# - Never use these words as a key name, go-i18n reserves them:
|
||
# id, description, hash, leftdelim, rightdelim, zero, one, two, few, many, other
|
||
# (they are only valid as plural forms inside a message).
|
||
|
||
[start]
|
||
private = """
|
||
<b>Hi {{.Name}}, welcome to The Noderunners Download Bot.</b>
|
||
|
||
Send me a link to a video or a song and I will fetch it for you.
|
||
|
||
/help shows what I can do."""
|
||
group = """
|
||
<b>The Noderunners Download Bot is here.</b>
|
||
|
||
Use /dl with a link, or reply /dl to a message that has a link."""
|
||
|
||
[help]
|
||
groups_group = """
|
||
<b>This group</b>
|
||
/groupwallet - the group's balance and top up
|
||
/grouppass - buy a pass for the whole group
|
||
/settings - group settings, for admins
|
||
/grouplang - the bot's language here, for admins
|
||
/autodetect - fetch pasted links without a command, for admins"""
|
||
groups_private = """
|
||
<b>Groups</b>
|
||
Add me to a group and everyone there can download with /dl. A group can have its own wallet and pass, and its admins get settings of their own. Those commands show up in the group."""
|
||
account = """
|
||
<b>Account</b>
|
||
/account - your pass, balance and usage
|
||
/limits - the limits that apply to you
|
||
/buy - get a pass or credits
|
||
/credits - your balance and top up
|
||
/redeem code - use a gift code
|
||
/referral - invite friends and earn sats
|
||
/donate - send a tip
|
||
/settings - your settings in one place"""
|
||
commands_group = """
|
||
<b>Commands in this group</b>
|
||
/dl link - download, or reply /dl to a message with a link
|
||
/audio link - the audio as MP3
|
||
/thumb link - the thumbnail
|
||
/info link - formats and sizes
|
||
/queue - your running downloads
|
||
/cancel - cancel them"""
|
||
commands = """
|
||
<b>Commands</b>
|
||
/dl link - download, in your default format
|
||
/audio link - the audio as MP3
|
||
/thumb link - the thumbnail
|
||
/subs link - the subtitles
|
||
/info link - formats and sizes, without downloading
|
||
/fresh link - download again instead of using a saved copy
|
||
/queue - your running downloads
|
||
/cancel - cancel them
|
||
/history - past downloads, one tap to get them again
|
||
/quality - your default format
|
||
/language - my language"""
|
||
limits = "Your limits: {{.MaxSize}} and {{.MaxDuration}} per download, {{.Daily}} downloads a day."
|
||
format_group = "Format in this group: <b>{{.Quality}}</b>. Admins change it in /settings."
|
||
format = "Your default format: <b>{{.Quality}}</b>. With a default I start right away. To pick a format for every link, choose <i>Ask every time</i> in /quality."
|
||
intro = """
|
||
<b>How to use me</b>
|
||
Send me a link to a video or a song and I send the file back. In a group, use /dl with a link, or reply /dl to a message that has one."""
|
||
|
||
[cmd]
|
||
unknown = "I do not know that command. Try /help."
|
||
|
||
# Descriptions in Telegram's command menu. Keep them short.
|
||
[menu]
|
||
settings_private = "Your settings"
|
||
dl = "Download a video from a link"
|
||
audio = "Download the audio as MP3"
|
||
thumb = "Get the thumbnail"
|
||
info = "Show formats and sizes"
|
||
queue = "Your downloads in progress"
|
||
cancel = "Cancel your downloads"
|
||
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."
|
||
|
||
[dl]
|
||
usage = "Add a link after the command, or reply to a message that has a link.\nExample: <code>/dl https://example.com/video</code>"
|
||
|
||
[info]
|
||
usage = "Add a link after the command.\nExample: <code>/info https://example.com/video</code>"
|
||
line = "{{.Label}}: {{.Size}}"
|
||
size_unknown = "size unknown"
|
||
|
||
[queue]
|
||
empty = "You have no downloads in progress."
|
||
|
||
[queue.header]
|
||
one = "<b>You have {{.Count}} download in progress</b>"
|
||
other = "<b>You have {{.Count}} downloads in progress</b>"
|
||
|
||
[cancel]
|
||
nothing = "There is nothing to cancel."
|
||
|
||
[cancel.done]
|
||
one = "Cancelled {{.Count}} download."
|
||
other = "Cancelled {{.Count}} downloads."
|
||
|
||
[card]
|
||
first_run = "<i>Next time I start right away with the best quality that fits your limit. /quality changes that.</i>"
|
||
looking = "Looking up the link…"
|
||
pick = "Pick a format:"
|
||
cancelled = "Cancelled."
|
||
|
||
[btn]
|
||
qr = "QR code"
|
||
copy_link = "Copy link"
|
||
share = "Share"
|
||
maybe_over = "{{.Label}} ⚠"
|
||
remove_from_history = "Remove from history"
|
||
clear_yes = "Yes, clear it"
|
||
clear_history = "Clear history"
|
||
older = "Older ›"
|
||
newer = "‹ Newer"
|
||
help_groups = "Groups"
|
||
help_account = "Account"
|
||
help_commands = "Commands"
|
||
checked = "✓ {{.Label}}"
|
||
back = "Back"
|
||
add_to_group = "Add me to a group"
|
||
referral = "Invite friends"
|
||
send_again = "Send again"
|
||
upgrade = "Upgrade"
|
||
smaller_quality = "Smaller quality"
|
||
try_again = "Try again"
|
||
result_audio = "Audio (MP3)"
|
||
other_quality = "Other quality"
|
||
delete = "Delete"
|
||
full_settings = "Open full settings"
|
||
add_group_credits = "Add group credits"
|
||
buy_group_pass = "Buy a group pass"
|
||
open_app = "Open app"
|
||
best = "Best"
|
||
res = "{{.Height}}p"
|
||
mp3 = "MP3"
|
||
m4a = "M4A"
|
||
thumb = "Thumbnail"
|
||
subs = "Subtitles ({{.Lang}})"
|
||
with_size = "{{.Label}} · {{.Size}}"
|
||
cancel = "Cancel"
|
||
skip_queue = "Skip the queue"
|
||
open_private = "Open a private chat"
|
||
open_wallet = "Open in wallet"
|
||
check_payment = "Check payment"
|
||
this_file = "This file only"
|
||
buy_for_me = "Buy for me"
|
||
subs_auto = "{{.Lang}} (auto)"
|
||
|
||
[status]
|
||
sent = "Sent."
|
||
queued = "In the queue. Position {{.Position}}, about {{.Wait}}."
|
||
downloading = "Downloading…"
|
||
downloading_bytes = "Downloading… {{.Done}}"
|
||
downloading_progress = "Downloading…\n{{.Bar}} {{.Percent}}\n{{.Done}} of {{.Total}}"
|
||
processing = "Processing the file…"
|
||
uploading = "Sending it to Telegram…"
|
||
preparing = "Getting it ready…"
|
||
done = "Done. Enjoy."
|
||
cancelled = "Cancelled."
|
||
failed = "That did not work. {{.Reason}}"
|
||
refunded = "{{.Amount}} went back to your balance."
|
||
|
||
[notice]
|
||
removed = "Removed."
|
||
cannot_delete = "Telegram only lets me delete messages from the last 48 hours."
|
||
group_only = "This command works in groups."
|
||
admins_only = "Only admins of this group can do that."
|
||
saved = "Saved."
|
||
cancelled = "Cancelled."
|
||
not_yours = "These buttons belong to the person who asked."
|
||
too_late = "Too late to cancel that."
|
||
expired = "This card has expired. Send the link again."
|
||
already_chosen = "A download from this card is already running."
|
||
private_only = "This works in a private chat with me."
|
||
rate_limited = "That is a lot of links. Please wait a minute and try again."
|
||
paid = "Payment received."
|
||
not_paid_yet = "Not paid yet. It can take a few seconds after you pay."
|
||
invoice_closed = "This invoice is closed."
|
||
skipped = "Done. Your download moved to the front."
|
||
skip_too_late = "This download is not waiting in the queue anymore."
|
||
skip_private = "Open a private chat with me to pay for this."
|
||
|
||
[limit]
|
||
group_disabled = "The bot is switched off in this group."
|
||
group_admins_only = "In this group only admins can use the bot."
|
||
group_pass_only = "In this group you need a pass to use the bot. /buy in a private chat with me."
|
||
group_site = "The admins of this group do not allow downloads from that site."
|
||
maintenance = "I am down for maintenance. Please try again in a little while."
|
||
too_large = "This file is larger than your limit of {{.MaxSize}}. Try a lower quality."
|
||
too_long = "This is longer than your limit of {{.MaxDuration}}."
|
||
live = "Live streams cannot be downloaded."
|
||
queue_full = "The queue is full right now. Please try again in a few minutes."
|
||
blocked = "This content is not available through this bot."
|
||
daily_volume = "You reached your daily volume of {{.MaxVolume}}. It resets at midnight UTC."
|
||
|
||
[limit.daily_downloads]
|
||
one = "You used your {{.Count}} download for today. It resets at midnight UTC."
|
||
other = "You used your {{.Count}} downloads for today. It resets at midnight UTC."
|
||
|
||
[limit.active_jobs]
|
||
one = "You already have {{.Count}} download running. Wait for it to finish or use /cancel."
|
||
other = "You already have {{.Count}} downloads running. Wait for one to finish or use /cancel."
|
||
|
||
[unit.sats]
|
||
one = "{{.N}} sat"
|
||
other = "{{.N}} sats"
|
||
|
||
[unit.seconds]
|
||
one = "{{.Count}} second"
|
||
other = "{{.Count}} seconds"
|
||
|
||
[unit.minutes]
|
||
one = "{{.Count}} minute"
|
||
other = "{{.Count}} minutes"
|
||
|
||
[unit.hours]
|
||
one = "{{.Count}} hour"
|
||
other = "{{.Count}} hours"
|
||
|
||
# One message per failure class. The raw tool output goes to the owner logs
|
||
# only, never to the user.
|
||
[error]
|
||
unsupported_url = "I cannot download from that link."
|
||
not_found = "Nothing was found at that link. It may have been removed."
|
||
private = "This content is private or for members only."
|
||
login_required = "This content needs a login on the site, so I cannot fetch it."
|
||
geo_blocked = "This content is not available in the region I download from."
|
||
site_blocked = "The site refused the download right now. Please try again later."
|
||
rate_limited = "The site is limiting requests right now. Please try again in a few minutes."
|
||
live_stream = "Live streams cannot be downloaded."
|
||
drm = "This content is copy protected and cannot be downloaded."
|
||
too_large = "The file is larger than your limit. Try a lower quality."
|
||
too_long = "This is longer than your limit."
|
||
no_media = "No video or audio was found in the format you picked."
|
||
no_subtitles = "No subtitles were found in that language."
|
||
network = "A network problem interrupted the download. Please try again."
|
||
timeout = "The download took too long and was stopped."
|
||
processing_failed = "The file was downloaded but could not be processed."
|
||
cancelled = "The download was cancelled."
|
||
worker_lost = "The download was interrupted. Please try again."
|
||
internal = "Something went wrong on my side. Please try again."
|
||
unknown = "The download failed. Please try again later."
|
||
playlist = "That link is a playlist. Send it to me as a normal message to pick a format for the whole list."
|
||
playlist_nested = "This item is a list itself, so I skipped it."
|
||
send_failed = "I could not send the file to Telegram. Please try again."
|
||
|
||
# --- Money -------------------------------------------------------------------
|
||
|
||
[product]
|
||
pass_day = "Day pass"
|
||
pass_week = "Week pass"
|
||
pass_month = "Month pass"
|
||
credits = "Credits"
|
||
one_off = "Single download"
|
||
skip_queue = "Skip the queue"
|
||
donation = "Donation"
|
||
|
||
# What pays for a download.
|
||
[source]
|
||
one_off = "Single download"
|
||
own_pass = "Your pass"
|
||
group_pass = "Group pass"
|
||
group_credits = "Group credits"
|
||
own_credits = "Your credits"
|
||
free = "Free"
|
||
|
||
[buy]
|
||
intro = """
|
||
<b>Passes and credits</b>
|
||
|
||
A <b>pass</b> lifts your limits to {{.MaxSize}} and {{.MaxDuration}} per download and puts you in the priority queue for as long as it runs.
|
||
|
||
<b>Credits</b> pay per download, {{.PerDownload}} each, with the same limits and priority. They never expire.
|
||
|
||
You pay in sats over Lightning."""
|
||
unavailable = "Payments are not set up on this bot yet."
|
||
backend_down = "I cannot reach the payment service right now. Please try again in a moment."
|
||
backend_down_short = "The payment service is not reachable right now. Please try again in a moment."
|
||
bad_amount = "That amount is not possible."
|
||
|
||
[credits]
|
||
text = """
|
||
<b>Your balance: {{.Balance}}</b>
|
||
|
||
One download costs {{.PerDownload}}. Top up:"""
|
||
|
||
[donate]
|
||
intro = "Thank you for supporting the bot. Pick an amount:"
|
||
|
||
[account]
|
||
title = "<b>Your account</b>"
|
||
pass_active = "Pass: active until {{.Until}}"
|
||
pass_none = "Pass: none"
|
||
balance = "Balance: {{.Balance}}"
|
||
today = "<b>Today</b>"
|
||
usage_downloads = "Downloads: {{.Used}} of {{.Max}}"
|
||
usage_volume = "Volume: {{.Used}} of {{.Max}}"
|
||
unlimited = "unlimited"
|
||
|
||
[limits]
|
||
text = """
|
||
<b>Your limits</b> ({{.Tier}})
|
||
|
||
Size per download: {{.MaxSize}}
|
||
Length per download: {{.MaxDuration}}
|
||
Downloads at the same time: {{.ActiveJobs}}
|
||
Downloads per day: {{.DailyDownloads}}
|
||
Volume per day: {{.DailyVolume}}"""
|
||
|
||
[redeem]
|
||
usage = "Send the code after the command.\nExample: <code>/redeem NR-ABCD-EFGH-JKMN</code>"
|
||
invalid = "That code is not valid."
|
||
used = "That code was already used or has expired."
|
||
credits = "Done. {{.Amount}} were added to your balance."
|
||
pass = "Done. Your pass is active until {{.Until}}."
|
||
cashu_off = "Cashu tokens are not accepted on this bot."
|
||
cashu_mint = "I do not accept tokens from that mint."
|
||
|
||
[invoice]
|
||
for_group = "For the group <b>{{.Group}}</b>"
|
||
group_balance = "The group balance is now {{.Balance}}."
|
||
group_pass_until = "The group pass is active until {{.Until}}."
|
||
memo = "The Noderunners Download Bot: {{.Title}}"
|
||
caption = """
|
||
<b>{{.Title}}</b> · {{.Amount}}
|
||
|
||
<code>{{.Invoice}}</code>
|
||
|
||
Scan the code or tap the invoice to copy it. Valid for {{.Valid}}."""
|
||
paid = "<b>Paid.</b> {{.Title}} · {{.Amount}}"
|
||
balance = "Your balance is now {{.Balance}}."
|
||
pass_until = "Your pass is active until {{.Until}}."
|
||
thanks = "Thank you for the support."
|
||
expired = "This invoice for {{.Title}} has expired. Nothing was charged."
|
||
cancelled = "Invoice cancelled."
|
||
|
||
[pay]
|
||
title = "Pay with Lightning"
|
||
hint = "Your Lightning wallet should open now."
|
||
open = "Open in wallet"
|
||
gone = "This invoice is no longer open."
|
||
too_late_skip = "Your payment arrived, but the download had already left the queue. {{.Amount}} were added to your balance instead."
|
||
too_late_file = "Your payment arrived, but the download could not be started. {{.Amount}} were added to your balance instead."
|
||
not_started = "The download could not be started. {{.Reason}}"
|
||
skip_not_needed = "That download is not waiting in the queue anymore, so there is nothing to pay."
|
||
|
||
[over]
|
||
options = "You can lift the limit:"
|
||
started = "Your limits allow it now. The download has started."
|
||
|
||
# --- Playlists, subtitles, history ------------------------------------------
|
||
|
||
[playlist]
|
||
empty = "I could not find any items in that playlist."
|
||
item_failed = "<b>{{.Title}}</b>\nSkipped. {{.Reason}}"
|
||
|
||
[playlist.card]
|
||
one = """
|
||
<b>{{.Title}}</b>
|
||
Playlist with {{.Count}} item. I will fetch {{.Take}} of them, one after another.
|
||
|
||
Pick a format for all of them:"""
|
||
other = """
|
||
<b>{{.Title}}</b>
|
||
Playlist with {{.Count}} items. I will fetch {{.Take}} of them, one after another.
|
||
|
||
Pick a format for all of them:"""
|
||
|
||
[playlist.queued]
|
||
one = "<b>{{.Title}}</b>\n{{.Count}} item is lined up. It starts as soon as you have a free slot. /cancel stops it."
|
||
other = "<b>{{.Title}}</b>\n{{.Count}} items are lined up. They start one after another as you have free slots. /cancel stops them."
|
||
|
||
[subs]
|
||
pick = "Pick a subtitle language:"
|
||
none = "This video has no subtitles."
|
||
|
||
[history]
|
||
cleared = "Your history is empty now."
|
||
yesterday = "yesterday"
|
||
today = "today"
|
||
item = "{{.Site}} · {{.Title}} · {{.Format}} · {{.When}}"
|
||
empty = "You have no past downloads yet."
|
||
header = """
|
||
<b>Your past downloads</b> · {{.Count}}
|
||
Page {{.Page}} of {{.Pages}}. Tap one to see it and get it again."""
|
||
|
||
# --- Owner commands ---------------------------------------------------------
|
||
|
||
[owner]
|
||
books_ok = "ledger and balances agree"
|
||
ln_ok = "reachable"
|
||
ln_down = "NOT reachable"
|
||
queue_empty = "No jobs are queued or running."
|
||
queue_line = "<code>{{.ID}}</code> {{.Status}} · {{.Lane}} · {{.Profile}} · worker {{.Worker}} · tags {{.Tags}}\n{{.Title}}"
|
||
user_usage = "Example: <code>/user 123456789</code>"
|
||
group_usage = "Example: <code>/group -1001234567890</code>"
|
||
not_found = "Not found."
|
||
user = """
|
||
<b>User {{.ID}}</b>
|
||
Name: {{.Name}} (@{{.Username}})
|
||
Language: {{.Lang}}
|
||
Banned: {{.Banned}}
|
||
Pass until: {{.Pass}}
|
||
Balance: {{.Balance}}
|
||
Today: {{.Downloads}} downloads, {{.Volume}}
|
||
Referrals: {{.Referrals}}
|
||
First seen: {{.Since}}"""
|
||
group = """
|
||
<b>Group {{.ID}}</b>
|
||
Title: {{.Title}}
|
||
Bot status: {{.Status}}
|
||
Bot enabled: {{.Enabled}}
|
||
Who can use it: {{.Who}}
|
||
Credit spending: {{.Spend}}
|
||
Pass until: {{.Pass}}
|
||
Balance: {{.Balance}}"""
|
||
ban_usage = "Example: <code>/ban 123456789</code> and <code>/unban 123456789</code>"
|
||
ban_owner = "An owner cannot be banned."
|
||
banned = "User {{.ID}} is banned."
|
||
unbanned = "User {{.ID}} is no longer banned."
|
||
grant_usage = """
|
||
Give a pass to a user or a group (groups have negative IDs):
|
||
<code>/grant 123456789 week</code>
|
||
Create a gift code:
|
||
<code>/grant code credits 1000 5</code>
|
||
<code>/grant code month</code>"""
|
||
gift_code = "Gift code: <code>{{.Code}}</code>\nUses: {{.Uses}}"
|
||
granted = "Done. The pass of {{.ID}} runs until {{.Until}}."
|
||
credit_usage = "Example: <code>/credit 123456789 500</code>"
|
||
refund_usage = "Examples:\n<code>/refund 123456789 500</code>\n<code>/refund 123456789 pass 24h</code>"
|
||
no_pass = "That wallet has no active pass to extend."
|
||
credited = "Done. {{.Amount}} added to {{.ID}}. Balance: {{.Balance}}."
|
||
blocklist_empty = "The blocklist is empty."
|
||
blocklist_header = "<b>Blocklist</b>"
|
||
blocklist_line = "{{.Kind}}: <code>{{.Value}}</code> {{.Reason}}"
|
||
blocklist_usage = """
|
||
<code>/blocklist</code>
|
||
<code>/blocklist add site example.com spam</code>
|
||
<code>/blocklist add key youtube:VIDEOID</code>
|
||
<code>/blocklist remove site example.com</code>"""
|
||
blocked = "Blocked: <code>{{.Value}}</code>"
|
||
unblocked = "Unblocked: <code>{{.Value}}</code>"
|
||
maint_usage = "Use <code>/maint on</code> or <code>/maint off</code>."
|
||
maint_on = "Maintenance mode is on. New downloads are refused for everyone but owners."
|
||
maint_off = "Maintenance mode is off."
|
||
reload_usage = "Use <code>/reload i18n</code>."
|
||
reload_builtin = "The translations are built into the binary. Set LOCALES_DIR to load them from a directory."
|
||
reload_failed = "Reloading failed, the old translations stay in use.\n<code>{{.Error}}</code>"
|
||
reloaded = "Translations reloaded: {{.Langs}}"
|
||
broadcast_usage = "Example: <code>/broadcast The bot will be down tonight from 22:00 UTC.</code>"
|
||
broadcast_preview = "<b>Preview</b>\n\n{{.Text}}"
|
||
broadcast_done = "Broadcast finished. Sent: {{.Sent}}. Failed: {{.Failed}}."
|
||
stats = """
|
||
<b>Stats</b>
|
||
Users: {{.Users}}
|
||
Last 24 hours: {{.Done}} done, {{.Failed}} failed
|
||
Queue: {{.Paid}} paid, {{.Free}} free, oldest waiting {{.Oldest}}
|
||
Workers: {{.Running}} of {{.Slots}} slots busy
|
||
Cache hit rate: {{.Rate}}, saved {{.Saved}}
|
||
Received: {{.Sats}}
|
||
Invoices since start: {{.Created}} created, {{.Settled}} settled
|
||
Lightning: {{.Lightning}}
|
||
Books: {{.Books}}
|
||
Maintenance: {{.Maint}}"""
|
||
never = "never"
|
||
state_active = "active"
|
||
state_offline = "offline"
|
||
state_draining = "draining"
|
||
state_revoked = "revoked"
|
||
worker_embedded = "<b>embedded</b> · {{.Running}} of {{.Capacity}} slots busy"
|
||
worker_line = "<b>{{.Name}}</b> · {{.State}} · {{.Running}} of {{.Capacity}} slots busy · seen {{.Seen}} ago\ntags: {{.Tags}} · yt-dlp {{.Version}}"
|
||
worker_unknown = "There is no worker named <code>{{.Name}}</code>."
|
||
drain_usage = "Name the worker.\nExample: <code>/drain eu-1</code>, and <code>/drain eu-1 off</code> to bring it back."
|
||
drain_on = "Worker <code>{{.Name}}</code> is draining. It finishes its jobs and gets no new ones."
|
||
drain_off = "Worker <code>{{.Name}}</code> takes jobs again."
|
||
ytdlp_usage = "Use <code>/ytdlp update</code> to update yt-dlp on every worker."
|
||
purge_usage = "Send a link, or a key as <code>extractor:video_id</code>.\nExample: <code>/purge https://example.com/video copyright notice</code>"
|
||
cache = """
|
||
<b>Cache</b>
|
||
Entries: {{.Entries}} ({{.Stored}} with a stored copy)
|
||
Stored: {{.Size}} of {{.Budget}}
|
||
Hits, all time: {{.Hits}}
|
||
Taken down: {{.Blocked}}
|
||
|
||
<b>Since the last start</b>
|
||
Hit rate: {{.Rate}} of {{.Since}} requests
|
||
Download volume saved: {{.Saved}}"""
|
||
|
||
[owner.workers_header]
|
||
one = "<b>Workers</b>\n{{.Slots}} download slots online, {{.Count}} remote worker registered."
|
||
other = "<b>Workers</b>\n{{.Slots}} download slots online, {{.Count}} remote workers registered."
|
||
|
||
[owner.ytdlp_update]
|
||
one = "Asked {{.Count}} worker to update yt-dlp. It does so when it next checks for work."
|
||
other = "Asked {{.Count}} workers to update yt-dlp. They do so when they next check for work."
|
||
|
||
[owner.purged]
|
||
one = "Taken down: <code>{{.Key}}</code>\n{{.Count}} cached file was removed. The key is blocked."
|
||
other = "Taken down: <code>{{.Key}}</code>\n{{.Count}} cached files were removed. The key is blocked."
|
||
|
||
[owner.books_bad]
|
||
one = "{{.Count}} wallet DISAGREES with its ledger"
|
||
other = "{{.Count}} wallets DISAGREE with their ledgers"
|
||
|
||
[owner.queue_header]
|
||
one = "<b>{{.Count}} active job</b>"
|
||
other = "<b>{{.Count}} active jobs</b>"
|
||
|
||
[owner.broadcast_send]
|
||
one = "Send to {{.Count}} user"
|
||
other = "Send to {{.Count}} users"
|
||
|
||
# --- Groups ------------------------------------------------------------------
|
||
|
||
[word]
|
||
on = "on"
|
||
off = "off"
|
||
none = "none"
|
||
|
||
[settings]
|
||
format = "Default format"
|
||
language = "Language"
|
||
ask = "Ask every time"
|
||
audio_only = "Audio only"
|
||
lang_follow = "{{.Lang}} (from Telegram)"
|
||
personal = """
|
||
<b>Your settings</b>
|
||
Default format: {{.Quality}}
|
||
Language: {{.Lang}}
|
||
Pass until: {{.Pass}} · Balance: {{.Balance}}
|
||
Friends invited: {{.Invited}}
|
||
|
||
Tap a button to change it."""
|
||
text = """
|
||
<b>Group settings</b>
|
||
Balance: {{.Balance}} · Pass until: {{.Pass}}
|
||
Language: {{.Lang}}
|
||
Allowed sites: {{.Allowed}}
|
||
Blocked sites: {{.Blocked}}
|
||
Per person per day: {{.SpendCap}} · Group per day: {{.DailyCap}}
|
||
|
||
Tap to change. More with /grouplang, /allow, /block and /spending."""
|
||
button = "{{.Label}}: {{.Value}}"
|
||
enabled = "Bot"
|
||
auto_detect = "Detect pasted links"
|
||
delete_commands = "Delete command messages"
|
||
who = "Who can use it"
|
||
who_everyone = "everyone"
|
||
who_pass_holders = "pass holders"
|
||
who_admins = "admins"
|
||
spend = "Group credits"
|
||
spend_anyone = "anyone"
|
||
spend_admins = "admins only"
|
||
spend_capped = "anyone, capped"
|
||
quality = "Default quality"
|
||
lang_auto = "each member's own"
|
||
commands = """
|
||
<b>Settings of {{.Group}}</b>
|
||
|
||
Send these in the group, as an admin:
|
||
/settings - quick switches
|
||
/grouplang code - language of the bot in the group
|
||
/autodetect on - fetch links without a command
|
||
/allow site - only allow some sites
|
||
/block site - block a site
|
||
/spending rule - who may spend group credits"""
|
||
|
||
[quality]
|
||
over_note = "⚠ Can be over your limit of {{.MaxSize}} for longer videos. I then offer a smaller quality or an upgrade."
|
||
audio_only = "Audio only (MP3)"
|
||
fit = "Best that fits my limit"
|
||
ask = "Ask every time"
|
||
pick = """
|
||
<b>Your default format</b>
|
||
<i>Ask every time</i>: I show the formats for each link.
|
||
<i>Best that fits my limit</i>: I start at once with the best quality within your size limit.
|
||
A quality or MP3: I start at once in that format."""
|
||
set = "Default format: {{.Quality}}"
|
||
|
||
[language]
|
||
name = "English"
|
||
auto = "Follow my Telegram language"
|
||
pick = "Pick a language:"
|
||
set = "Language: {{.Lang}}"
|
||
|
||
[grouplang]
|
||
usage = "Add a language code, or <code>auto</code> to follow each member.\nAvailable: {{.Langs}}"
|
||
auto = "The bot now answers each member in their own language."
|
||
set = "The bot now speaks {{.Lang}} in this group."
|
||
|
||
[autodetect]
|
||
usage = "Use <code>/autodetect on</code> or <code>/autodetect off</code>."
|
||
on = "I will now fetch links pasted in this group without a command. For that I need to see messages: make me an admin, or turn off group privacy for me in @BotFather."
|
||
off = "I will only act on commands in this group."
|
||
|
||
[allow]
|
||
list = "Allowed sites: {{.Sites}}\nAdd with <code>/allow example.com</code>, remove with <code>/allow remove example.com</code>, reset with <code>/allow clear</code>. With an empty list every site is allowed."
|
||
|
||
[block]
|
||
list = "Blocked sites: {{.Sites}}\nAdd with <code>/block example.com</code>, remove with <code>/block remove example.com</code>, reset with <code>/block clear</code>."
|
||
|
||
[sites]
|
||
bad_host = "That does not look like a site. Example: <code>example.com</code>"
|
||
|
||
[spending]
|
||
usage = """
|
||
Who may spend group credits:
|
||
<code>/spending admins</code>
|
||
<code>/spending anyone</code>
|
||
<code>/spending capped 200</code> (sats per person per day)
|
||
<code>/spending daily 5000</code> (sats per day for the whole group, 0 for no cap)"""
|
||
set = "Group credits: {{.Rule}}.\nPer person per day: {{.SpendCap}}. Group per day: {{.DailyCap}}."
|
||
|
||
[groupwallet]
|
||
text = "<b>Group wallet</b>\nBalance: {{.Balance}}\n{{.Pass}}\nWho can spend credits: {{.Rule}}"
|
||
pass_none = "Pass: none"
|
||
pass_until = "Pass: active until {{.Until}}"
|
||
|
||
[grouppass]
|
||
text = "<b>Group pass</b>\n{{.Pass}}\nWith a group pass everyone here downloads with the higher limits and in the priority queue."
|
||
|
||
[groupstats]
|
||
empty = "Nobody used the bot here in the last 7 days."
|
||
header = "<b>Last 7 days</b>"
|
||
|
||
[groupstats.line]
|
||
one = "{{.Name}}: {{.Count}} download, {{.Size}}, {{.Sats}}"
|
||
other = "{{.Name}}: {{.Count}} downloads, {{.Size}}, {{.Sats}}"
|
||
|
||
[groupbuy]
|
||
unknown = "I do not know that group, or I am no longer in it."
|
||
intro = "<b>{{.Group}}</b>\nGroup balance: {{.Balance}}\n\nWhat you buy here belongs to the group: a pass covers every member, credits are spent by the group's rules."
|
||
|
||
# --- Mini App ----------------------------------------------------------------
|
||
# Everything under [app] is shown inside the Mini App, as plain text (no
|
||
# HTML). The app also reads the product, unit, btn, settings, quality and
|
||
# language tables, so names shared with the chat are written once.
|
||
|
||
[app]
|
||
unavailable = "The app is not set up on this bot."
|
||
open = "Open the app to manage downloads, passes and groups."
|
||
title = "Downloads"
|
||
retry = "Try again"
|
||
save = "Save"
|
||
saved = "Saved."
|
||
add = "Add"
|
||
close = "Close"
|
||
done = "Done"
|
||
copied = "Copied."
|
||
on = "On"
|
||
off = "Off"
|
||
untitled = "Untitled"
|
||
see_plans = "See passes and credits"
|
||
sent_to_chat = "Started. The file arrives in our chat."
|
||
pass_until = "Pass until {{.Until}}"
|
||
balance_is = "Balance: {{.Balance}}"
|
||
|
||
[app.error]
|
||
unauthorized = "Open this page from Telegram, with the Open app button of the bot."
|
||
banned = "This account cannot use the bot."
|
||
bad_link = "That does not look like a link I can use."
|
||
bad_settings = "Some of these settings are not valid."
|
||
network = "No connection. Check your network and try again."
|
||
generic = "Something went wrong. Try again."
|
||
not_found = "That is not there anymore."
|
||
|
||
[app.tab]
|
||
home = "Home"
|
||
queue = "Queue"
|
||
buy = "Buy"
|
||
groups = "Groups"
|
||
me = "Me"
|
||
|
||
[app.home]
|
||
hello = "Hi {{.Name}}"
|
||
pass_active = "Pass active"
|
||
plan_free = "Free plan"
|
||
plan_free_hint = "A pass lifts the limits and skips the line."
|
||
balance = "Balance"
|
||
today = "Today"
|
||
downloads = "Downloads"
|
||
volume = "Volume"
|
||
used_of = "{{.Used}} of {{.Max}}"
|
||
used_unlimited = "{{.Used}}, no limit"
|
||
paste_title = "New download"
|
||
paste_placeholder = "Paste a link"
|
||
look_up = "Look up"
|
||
recent = "Recent downloads"
|
||
all_history = "All"
|
||
|
||
[app.queue]
|
||
title = "Your downloads"
|
||
note = "Files arrive in your chat with the bot."
|
||
empty = "Nothing in the queue."
|
||
waiting = "Position {{.Position}}, about {{.Wait}}"
|
||
downloading = "Downloading"
|
||
downloading_pct = "Downloading, {{.Percent}}"
|
||
processing = "Processing"
|
||
sending = "Sending to Telegram"
|
||
prioritize = "Prioritize · {{.Price}}"
|
||
prioritized = "Moved to the front."
|
||
cancel_confirm = "Cancel \"{{.Title}}\"?"
|
||
cancelled = "Cancelled."
|
||
|
||
[app.buy]
|
||
unavailable = "Payments are not set up on this bot."
|
||
step = "Step {{.Step}} of {{.Total}}"
|
||
target_title = "Who is it for?"
|
||
target_note = "A group pass and group credits work for the members of that group."
|
||
for_me = "Me"
|
||
for_group = "Group"
|
||
pass_title = "Pass for {{.Target}}"
|
||
pass_note = "A pass gives the higher limits and the priority lane until it ends. Buying again adds time."
|
||
credits_title = "Credits"
|
||
credits_note = "Without a pass, a download beyond the free limits costs {{.Price}}."
|
||
paid_title = "With a pass or credits"
|
||
|
||
[app.buy.credits_downloads]
|
||
one = "about {{.Count}} download"
|
||
other = "about {{.Count}} downloads"
|
||
|
||
[app.limit]
|
||
size = "Size per download"
|
||
duration = "Length per download"
|
||
per_day = "Downloads per day"
|
||
at_once = "At the same time"
|
||
none = "No limit"
|
||
|
||
[app.invoice]
|
||
qr_alt = "Lightning invoice as a QR code"
|
||
copy = "Copy invoice"
|
||
waiting = "Waiting for payment · {{.Time}}"
|
||
checking = "Checking for the payment…"
|
||
cancel = "Cancel this invoice"
|
||
paid = "Paid"
|
||
paid_text = "{{.Product}} for {{.Amount}}. Thank you."
|
||
expired = "Invoice expired"
|
||
cancelled = "Invoice cancelled"
|
||
closed_text = "Nothing was charged. A payment that still arrives is added to the balance."
|
||
|
||
[app.history]
|
||
title = "History"
|
||
note = "Sending again counts as a new download. It is usually instant."
|
||
empty = "No downloads yet."
|
||
resend = "Send again"
|
||
|
||
[app.groups]
|
||
title = "Your groups"
|
||
note = "Groups where you are an admin and the bot is a member."
|
||
empty = "No groups yet. Add the bot to a group where you are an admin and send a command there once."
|
||
no_pass = "No pass"
|
||
|
||
[app.group]
|
||
balance = "Group balance"
|
||
pass = "Group pass"
|
||
pass_on = "Active"
|
||
pass_off = "None"
|
||
language = "Language"
|
||
auto_detect_hint = "Fetch links that members paste, without a command."
|
||
caps_title = "Caps for this group"
|
||
caps_note = "Leave empty for the normal limit ({{.Size}} per file). A cap can only lower it."
|
||
max_size = "Largest file, in MB"
|
||
max_minutes = "Longest video, in minutes"
|
||
allowed_title = "Allowed sites"
|
||
allowed_note = "When this list has entries, only these sites work in the group."
|
||
blocked_title = "Blocked sites"
|
||
blocked_note = "Links to these sites are refused in the group."
|
||
site_placeholder = "example.com"
|
||
remove_site = "Remove {{.Site}}"
|
||
top_up = "Top up or buy a pass"
|
||
rules_title = "Spending rules"
|
||
rules_note = "Group credits pay for members who are over their own limits. An empty cap means no cap."
|
||
spend_cap = "Sats per person per day"
|
||
daily_cap = "Sats per day for the whole group"
|
||
usage_empty = "No downloads in this period."
|
||
col_member = "Member"
|
||
col_downloads = "Downloads"
|
||
col_volume = "Volume"
|
||
col_spent = "Spent"
|
||
|
||
[app.group.tab]
|
||
overview = "Overview"
|
||
settings = "Settings"
|
||
wallet = "Wallet"
|
||
usage = "Usage"
|
||
|
||
[app.group.usage_title]
|
||
one = "Usage, last day"
|
||
other = "Usage, last {{.Count}} days"
|
||
|
||
[app.me]
|
||
qr = "QR code"
|
||
pending = "Waiting for the daily cap"
|
||
earned = "Earned"
|
||
converted = "Bought something"
|
||
downloads_title = "Downloads"
|
||
quality_note = "With a default set, a link starts right away instead of asking for a format."
|
||
audio_only = "Audio only"
|
||
audio_only_hint = "Always fetch the sound as MP3."
|
||
language_title = "Language"
|
||
language = "Language"
|
||
referral_title = "Invite friends"
|
||
referral_note = "When somebody you invited pays for a first purchase in sats (Lightning), you get {{.Reward}} in credits."
|
||
copy_link = "Copy link"
|
||
share = "Share"
|
||
invited = "Invited so far"
|
||
support = "Support"
|
||
|
||
[app.me.invited_count]
|
||
one = "{{.Count}} person"
|
||
other = "{{.Count}} people"
|
||
|
||
# --- Static pages ------------------------------------------------------------
|
||
|
||
[static]
|
||
privacy = """
|
||
<b>Privacy</b>
|
||
|
||
I store what I need to work: your Telegram ID and name, your language, the links you send me and the files made from them, your balance and purchases, and counts of your usage.
|
||
|
||
Downloaded files are kept for a limited time so repeats are fast, then deleted. Files from links that need a login are never kept or shared.
|
||
|
||
I do not sell data and I do not ask who you are. Payments are in sats over Lightning.
|
||
|
||
To have your data removed, contact {{.Contact}}."""
|
||
terms = """
|
||
<b>Terms</b>
|
||
|
||
Use the bot only for content you have the right to download. You are responsible for what you fetch and share.
|
||
|
||
Passes and credits are not refundable once used. A download that fails is refunded automatically.
|
||
|
||
The service comes as it is, without a guarantee that a given site works. Abuse leads to a ban.
|
||
|
||
Questions: {{.Contact}}"""
|
||
support = "Need help? Write to {{.Contact}}.\n\n/help lists what I can do."
|
||
|
||
[caption]
|
||
via = "via @{{.Bot}}"
|
||
|
||
[dup]
|
||
already_sent = "I sent you this a moment ago, it is just above. Tap below to get it again."
|
||
|
||
[history.days_ago]
|
||
one = "{{.Count}} day ago"
|
||
other = "{{.Count}} days ago"
|
||
|
||
[history.clear_confirm]
|
||
one = "Remove {{.Count}} download from your history? Files already in this chat stay where they are."
|
||
other = "Remove all {{.Count}} downloads from your history? Files already in this chat stay where they are."
|
||
|
||
[referral]
|
||
qr_caption = """
|
||
Your invite link as a QR code:
|
||
{{.Link}}"""
|
||
share_text = "Download videos and music from a link, right in Telegram."
|
||
cap = "You earn at most {{.Cap}} a day. Rewards above that wait for the next day."
|
||
text = """
|
||
<b>Invite friends</b>
|
||
|
||
Share your link. When somebody you invited pays for a first purchase in sats (Lightning), you get {{.Reward}} in credits.
|
||
|
||
{{.Link}}
|
||
|
||
Invited: {{.Invited}} · Bought something: {{.Converted}}
|
||
Earned: {{.Earned}} · Waiting: {{.Pending}}"""
|