616c6b1c62
Release Docker multi arch / docker (push) Has been cancelled
Test Install Script / Test Script Syntax (push) Has been cancelled
Test Install Script / Test on almalinux-10 (default) (push) Has been cancelled
Test Install Script / Test on almalinux-10 (root) (push) Has been cancelled
Test Install Script / Test on almalinux-8 (default) (push) Has been cancelled
Test Install Script / Test on almalinux-8 (root) (push) Has been cancelled
Test Install Script / Test on almalinux-9 (default) (push) Has been cancelled
Test Install Script / Test on almalinux-9 (root) (push) Has been cancelled
Test Install Script / Test on amazonlinux-2 (default) (push) Has been cancelled
Test Install Script / Test on amazonlinux-2 (root) (push) Has been cancelled
Test Install Script / Test on debian-11 (default) (push) Has been cancelled
Test Install Script / Test on debian-11 (root) (push) Has been cancelled
Test Install Script / Test on debian-12 (default) (push) Has been cancelled
Test Install Script / Test on debian-12 (root) (push) Has been cancelled
Test Install Script / Test on debian-13 (default) (push) Has been cancelled
Test Install Script / Test on debian-13 (root) (push) Has been cancelled
Test Install Script / Test on fedora-latest (default) (push) Has been cancelled
Test Install Script / Test on fedora-latest (root) (push) Has been cancelled
Test Install Script / Test on rocky-10 (default) (push) Has been cancelled
Test Install Script / Test on rocky-10 (root) (push) Has been cancelled
Test Install Script / Test on rocky-8 (default) (push) Has been cancelled
Test Install Script / Test on rocky-8 (root) (push) Has been cancelled
Test Install Script / Test on rocky-9 (default) (push) Has been cancelled
Test Install Script / Test on rocky-9 (root) (push) Has been cancelled
Test Install Script / Test on ubuntu-22.04 (default) (push) Has been cancelled
Test Install Script / Test on ubuntu-22.04 (root) (push) Has been cancelled
Test Install Script / Test on ubuntu-24.04 (default) (push) Has been cancelled
Test Install Script / Test on ubuntu-24.04 (root) (push) Has been cancelled
277 lines
16 KiB
Go
277 lines
16 KiB
Go
package tgbot
|
||
|
||
var msgEN = map[string]string{
|
||
"help": "TorrServer management bot",
|
||
"help_main": "Main",
|
||
"help_manage": "Management",
|
||
"help_status": "Status & links",
|
||
"help_search": "Search",
|
||
"help_other": "Other",
|
||
"help_server": "Server",
|
||
"help_use_index": "Use number from /list: /remove 1, /status 2",
|
||
"help_reply": "Or reply to torrent message with command",
|
||
"help_id": "Your id",
|
||
"no_torrents": "📭 No torrents",
|
||
"torrent_not_found": "❌ Torrent not found",
|
||
"invalid_hash": "❌ Invalid hash. Use 40 chars (a-f, 0-9)",
|
||
"invalid_index": "❌ Invalid index. Use number from /list",
|
||
"connecting": "⏳ Connecting to torrent...",
|
||
"add_magnet": "ℹ️ Paste magnet/hash/torrs:// to add torrent",
|
||
"range_error": "❌ Error, use numbers, e.g. 2-12",
|
||
"lang_set": "🌐 Language set: Russian",
|
||
"lang_set_en": "🌐 Language set: English",
|
||
"lang_current_ru": "🌐 Current language: Russian",
|
||
"lang_current_en": "🌐 Current language: English",
|
||
"lang_switch_ru": "switch to Russian",
|
||
"lang_switch_en": "switch to English",
|
||
"lang_usage": "ℹ️ Usage: /lang RU | /lang EN",
|
||
"admin_only": "🔒 Admin only",
|
||
"server_stopped": "🛑 Server stopped",
|
||
"searching": "🔍 Searching...",
|
||
"search_not_found": "🔍 Nothing found for «%s» (%s)",
|
||
"search_disabled_rutor": "ℹ️ RuTor search disabled in settings",
|
||
"search_disabled_torznab": "ℹ️ Torznab search disabled in settings",
|
||
"search_usage": "ℹ️ Usage: /search <query>",
|
||
"rutor_usage": "ℹ️ Usage: /rutor <query>",
|
||
"torznab_usage": "ℹ️ Usage: /torznab <query> [index]",
|
||
"clear_confirm": "🗑 Delete all %d torrents?",
|
||
"clear_done": "🗑 Deleted torrents: %d",
|
||
"shutdown_confirm": "⚠️ Shut down server?",
|
||
"canceled": "👌 Canceled",
|
||
"deleted": "✅ Deleted",
|
||
"callback_unknown": "❌ Error: unknown button",
|
||
"stats_title": "Summary statistics",
|
||
"page": "📄 Page",
|
||
"btn_add": "➕ Add",
|
||
"btn_files": "Files",
|
||
"btn_delete": "Delete",
|
||
"btn_status": "Status",
|
||
"btn_m3u": "M3U",
|
||
"btn_link": "Link",
|
||
"btn_drop": "Drop",
|
||
"btn_yes": "Yes",
|
||
"btn_no": "No",
|
||
"help_help": "This help",
|
||
"help_list": "/list [compact] - List (compact — fewer buttons)",
|
||
"help_clear": "/clear - Delete all torrents",
|
||
"help_add": "/add <link> - Add torrent",
|
||
"help_hash": "/hash [N] - Show torrent hashes",
|
||
"help_manage_desc": "(hash or number from /list)",
|
||
"help_remove": "/remove, /drop, /set, /status, /cache, /queue",
|
||
"help_links": "/link, /play, /m3u, /m3uall",
|
||
"help_server_cmd": "/server - Server info",
|
||
"help_echo": "/echo - Version",
|
||
"help_db": "/db - Torrents in DB",
|
||
"help_search_desc": "(with Add button)",
|
||
"help_search_cmd": "/search, /rutor, /torznab",
|
||
"help_other_cmd": "/viewed, /ffp, /speedtest, /preload, /snake",
|
||
"help_lang": "/lang RU|EN - Language",
|
||
"help_admin": "/shutdown, /settings, /preset - Admin",
|
||
"help_stats": "/stats - Summary statistics",
|
||
"help_stat": "/stat - Detailed status",
|
||
"help_export": "/export - Export magnet links",
|
||
"help_import": "/import <text> - Import from list",
|
||
"help_categories": "/categories - Torrent categories",
|
||
"help_rutor": "/rutor - Search RuTor",
|
||
"help_m3uall": "/m3uall - M3U of all torrents",
|
||
"help_play": "/play - Alias for /link",
|
||
"help_export_import": "Export / Import",
|
||
"help_categories_section": "Categories",
|
||
"settings_title": "Server settings",
|
||
"settings_error": "❌ Error: %s",
|
||
"settings_not_loaded": "❌ Settings not loaded",
|
||
"settings_export": "Export",
|
||
"settings_nav_cache": "Cache",
|
||
"settings_nav_paths": "Paths",
|
||
"settings_nav_storage": "Storage",
|
||
"settings_export_caption": "TorrServer settings",
|
||
"settings_exported": "✅ Settings exported",
|
||
"settings_saved": "✅ Saved",
|
||
"settings_readonly": "⚠️ Read-only mode",
|
||
"settings_more": "More",
|
||
"settings_back": "Back",
|
||
"settings_to_page2": "Cache",
|
||
"settings_page2": "Cache & limits",
|
||
"settings_page3": "Text parameters",
|
||
"settings_section_search": "Search",
|
||
"settings_section_network": "Network",
|
||
"settings_section_other": "Other",
|
||
"settings_section_limits": "Limits",
|
||
"settings_limits_cache": "Cache",
|
||
"settings_limits_connections": "Connections",
|
||
"settings_limits_speed": "Speed",
|
||
"settings_section_paths": "Paths & keys",
|
||
"settings_input_reply": "Reply to this message with new value",
|
||
"settings_input_done": "✅ %s: %s",
|
||
"settings_input_error": "❌ Error: %s",
|
||
"settings_input_torznab_usage": "Format: URL or URL|Key or URL|Key|Name",
|
||
"settings_input_torznab_added": "✅ Torznab added: %s",
|
||
"settings_set_friendlyname": "FriendlyName (DLNA)",
|
||
"settings_set_path": "TorrentsSavePath",
|
||
"settings_set_sslcert": "SslCert",
|
||
"settings_set_sslkey": "SslKey",
|
||
"settings_set_tmdbkey": "TMDB API Key",
|
||
"settings_add_torznab": "Add Torznab",
|
||
"settings_clear_torznab": "Clear Torznab",
|
||
"settings_set_proxyhosts": "ProxyHosts",
|
||
"settings_hint_friendlyname": "DLNA server name. clear — to clear",
|
||
"settings_hint_path": "Path to cache folder on server. clear — disable UseDisk",
|
||
"settings_hint_sslcert": "Path to SSL certificate. clear — to clear",
|
||
"settings_hint_sslkey": "Path to SSL key. clear — to clear",
|
||
"settings_hint_tmdbkey": "TMDB API Key. clear — to clear",
|
||
"settings_hint_proxyhosts": "Hosts comma-separated: host1, host2. clear — reset",
|
||
"settings_hint_torznab": "URL or URL|Key or URL|Key|Name",
|
||
"settings_page4": "Storage & TMDB",
|
||
"settings_section_storage": "Storage",
|
||
"settings_section_tmdb": "TMDB (read-only)",
|
||
"settings_storage_settings": "Settings",
|
||
"settings_storage_viewed": "Viewed",
|
||
"settings_torznab_test": "Test Torznab",
|
||
"settings_hint_torznab_test": "URL|Key — test indexer before adding",
|
||
"settings_torznab_test_ok": "✅ Torznab: connection successful",
|
||
"settings_torznab_test_fail": "❌ Torznab: %s",
|
||
"settings_reset": "Reset to defaults",
|
||
"settings_reset_confirm": "Reset to factory defaults?",
|
||
"settings_reset_done": "✅ Settings reset",
|
||
"preset_usage": "⚙️ /preset <name> or /preset <key> <value> ...\n\nNamed: performance, storage, streaming, low, default\n\nExamples:\n/preset performance\n/preset cache 256 preload 50\n/preset cache 512 conn 100 down 0",
|
||
"preset_confirm": "⚠️ Applying preset will reload TorrServer (torrents will be disconnected). Continue?",
|
||
"preset_applied": "✅ Preset applied: ",
|
||
"add_error": "❌ Connection error: %s",
|
||
"add_not_created": "❌ Error: torrent not created",
|
||
"add_timeout": "❌ Error adding torrent: timeout connection get torrent info",
|
||
"add_getting_meta": "⏳ Getting metadata...",
|
||
"add_success": "✅ Torrent added:\n<code>%s</code>",
|
||
"stats_torrents": "Torrents",
|
||
"stats_total_size": "Total size",
|
||
"stats_loaded": "Loaded",
|
||
"stats_peers": "Peers",
|
||
"stats_active": "active",
|
||
"stats_seeds": "seeders",
|
||
"stats_streams": "Streams",
|
||
"error": "❌ Error",
|
||
"search_expired": "ℹ️ Result expired, search again",
|
||
"search_more": "More",
|
||
"search_more_hint": "ℹ️ Showing %d of %d. Click for more results",
|
||
"search_no_link": "ℹ️ No link",
|
||
"search_adding": "⏳ Adding...",
|
||
"add_usage": "ℹ️ Usage: /add <magnet|hash|torrs://|url>\nPaste torrent link",
|
||
"add_no_link": "ℹ️ Specify torrent link",
|
||
"remove_usage": "ℹ️ Usage: /remove <hash|number>\nOr reply to torrent message",
|
||
"remove_done": "✅ Torrent removed:\n<code>%s</code>",
|
||
"status_waiting": "⏳ Waiting for torrent info...",
|
||
"status_stopped": "🛑 Auto-refresh stopped",
|
||
"status_stop_btn": "🛑 Stop",
|
||
"status_refresh_btn": "🔄 Refresh",
|
||
"status_auto_ended": "Auto-refresh ended",
|
||
"status_torrent_gone": "Torrent removed or disconnected",
|
||
"status_no_active": "📭 No active torrents",
|
||
"status_label": "Status",
|
||
"status_size": "Size",
|
||
"status_cache": "Cache",
|
||
"status_streams": "streams",
|
||
"status_download": "Download",
|
||
"status_upload": "Upload",
|
||
"status_peers": "Peers",
|
||
"speed_bps": "bps",
|
||
"speed_kbps": "kbps",
|
||
"speed_Mbps": "Mbps",
|
||
"speed_Gbps": "Gbps",
|
||
"speed_Tbps": "Tbps",
|
||
"link_usage": "ℹ️ Usage: /link <hash|number> [index]\nOr reply to torrent message",
|
||
"link_play": "🔗 Playback link:\n<code>%s</code>",
|
||
"server_title": "TorrServer",
|
||
"server_url": "URL",
|
||
"server_port": "Port",
|
||
"server_streams": "Active streams",
|
||
"m3u_usage": "ℹ️ Usage: /m3u <hash|number> [fromlast]\nOr reply to torrent message",
|
||
"m3u_playlist": "🎵 M3U playlist:\n<code>%s</code>",
|
||
"m3u_all": "🎵 All torrents M3U:\n<code>%s</code>",
|
||
"drop_done": "✅ Torrent disconnected",
|
||
"drop_done_hash": "✅ Torrent disconnected:\n<code>%s</code>",
|
||
"preload_usage": "ℹ️ Usage: /preload <hash|number> <index>\nOr reply to torrent message",
|
||
"preload_invalid": "❌ Specify valid file number (integer >= 1)",
|
||
"preload_started": "⏳ Preload started for file #%s",
|
||
"preload_btn": "Preload #%s",
|
||
"hash_title": "Torrent hashes",
|
||
"files_link": "Link",
|
||
"files_download_all": "Download all files",
|
||
"files_range_hint": "To download multiple files, reply with range, e.g. 2-12\n\nDownload all files? Total: %d",
|
||
"upload_queue_full": "⚠️ Queue full, try later\n\nItems in queue: %d",
|
||
"upload_connecting": "⏳ <b>Connecting to torrent</b>\n<code>%s</code>",
|
||
"upload_cancel": "Cancel",
|
||
"upload_queue_pos": "📋 Queue position %d",
|
||
"upload_error": "❌ Telegram upload error: %v",
|
||
"parse_range_err": "❌ Invalid format",
|
||
"cache_usage": "ℹ️ Usage: /cache <hash|number>\nOr reply to torrent message",
|
||
"cache_capacity": "Capacity",
|
||
"cache_filled": "Filled",
|
||
"cache_pieces": "Pieces",
|
||
"cache_readers": "Readers",
|
||
"cache_unavailable": "⚠️ Cache unavailable for torrent:\n<code>%s</code>",
|
||
"snake_usage": "ℹ️ Usage: /snake <hash|number> [cols] [rows]\n\nCache visualization. Position moves along snake.\nDefault: 20×3 (up to 50×15)",
|
||
"snake_cache": "Preload / Cache",
|
||
"snake_cached": "cached",
|
||
"snake_range": "buffer",
|
||
"snake_empty": "empty",
|
||
"snake_reader": "reader",
|
||
"snake_legend": "🟩cache 🟦buff 🔵pos ⬜empt",
|
||
"snake_pieces": "pieces",
|
||
"snake_no_data": "No cache data",
|
||
"set_done": "✅ Title updated:\n<code>%s</code>",
|
||
"set_usage": "ℹ️ Usage: /set <hash|index> <title>\nOr reply to torrent message",
|
||
"set_title_required": "❌ Specify new title",
|
||
"viewed_marked": "✅ Marked: <code>%s</code> file #%d",
|
||
"viewed_unmarked": "✅ Unmarked: <code>%s</code> file #%d",
|
||
"viewed_cleared": "✅ All marks cleared: <code>%s</code>",
|
||
"viewed_list": "📺 Viewed files",
|
||
"viewed_usage": "ℹ️ Usage:\n/viewed <hash|index> — list\n/viewed set <hash|index> <file> — mark\n/viewed rem <hash|index> [file] — unmark",
|
||
"viewed_usage_action": "ℹ️ Usage: /viewed %s <hash|index> [file]",
|
||
"viewed_usage_set": "ℹ️ Usage: /viewed set <hash|index> <file>",
|
||
"viewed_file_index": "❌ Specify file number (integer >= 1)",
|
||
"viewed_empty": "📭 No viewed files for this torrent",
|
||
"speedtest_msg": "⚡ Download test %d MB:\n<code>%s</code>\n\nDownload the file and measure speed",
|
||
"ffp_usage": "ℹ️ Usage: /ffp <hash|number> <id> [json]\nid — file number. json — raw output",
|
||
"ffp_file_index": "❌ Specify valid file number",
|
||
"ffp_error": "❌ FFprobe error: %s",
|
||
"ffp_format": "Format",
|
||
"ffp_container": "Container",
|
||
"ffp_duration": "Duration",
|
||
"ffp_size": "Size",
|
||
"ffp_bitrate": "Bitrate",
|
||
"ffp_streams": "Streams",
|
||
"ffp_video": "Video",
|
||
"ffp_audio": "Audio",
|
||
"ffp_subtitle": "Subtitle",
|
||
"ffp_codec": "Codec",
|
||
"ffp_resolution": "Resolution",
|
||
"ffp_pixel": "Pixel format",
|
||
"ffp_fps": "FPS",
|
||
"ffp_color": "Color",
|
||
"ffp_samplerate": "Sample rate",
|
||
"ffp_channels": "Channels",
|
||
"ffp_title": "Title",
|
||
"db_empty": "📭 Torrent database is empty",
|
||
"db_title": "Torrents in DB",
|
||
"export_title": "Export torrents",
|
||
"export_file_caption": "Magnet links in file",
|
||
"import_usage": "ℹ️ Usage: /import <text with magnet/hash/torrs>\nPaste multiple links separated by space or newline",
|
||
"import_no_links": "ℹ️ No links found. Paste magnet, hash or torrs://",
|
||
"import_done": "✅ Added: %d of %d",
|
||
"categories_title": "Categories",
|
||
"categories_uncategorized": "(uncategorized)",
|
||
"queue_empty": "📭 Queue empty",
|
||
"upload_working": "📥 Downloading",
|
||
"upload_in_queue": "📋 In queue",
|
||
"upload_stopping": "⏹ Stopping...",
|
||
"upload_title": "Downloading torrent",
|
||
"upload_hash": "Hash",
|
||
"upload_speed": "Speed",
|
||
"upload_remaining": "Remaining",
|
||
"upload_peers": "Peers",
|
||
"upload_progress": "Progress",
|
||
"upload_files": "Files",
|
||
"upload_finishing": "Finishing download, this may take a while",
|
||
"upload_file_too_large_2gb": "❌ File size must not exceed 2GB",
|
||
"upload_file_too_large_50mb": "❌ File size must not exceed 50MB. To upload files up to 2GB, specify host in tg.cfg to <a href='https://github.com/tdlib/telegram-bot-api'>telegram bot-api</a>",
|
||
}
|