Add max_pages and select_domain keys to all 20 languages
This commit is contained in:
parent
2ee3172a3d
commit
c5f90f026c
1 changed files with 21 additions and 21 deletions
42
serp.py
42
serp.py
|
|
@ -65,7 +65,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "Hydrate media from the web", "live_subtitle": "Watch images appear as they're crawled",
|
||||
"total_images": "Total Images", "new_session": "New This Session", "per_minute": "Per Minute",
|
||||
"all_domains": "All domains", "download_phantom": "Download Phantom Site",
|
||||
"phantom_subtitle": "Export archived pages as a static site with local media", "sources": "sources",
|
||||
"phantom_subtitle": "Export archived pages as a static site with local media", "sources": "sources", "max_pages": "Max Pages", "select_domain": "Select Domain",
|
||||
},
|
||||
"zh": {
|
||||
"search": "搜索", "crawl": "爬取", "live": "实时动态", "about": "关于",
|
||||
|
|
@ -90,7 +90,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "从网络获取媒体", "live_subtitle": "观看正在爬取的图片",
|
||||
"total_images": "总图片数", "new_session": "本次新增", "per_minute": "每分钟",
|
||||
"all_domains": "所有域名", "download_phantom": "下载幻影站点",
|
||||
"phantom_subtitle": "将存档页面导出为带本地媒体的静态站点", "sources": "fuentes",
|
||||
"phantom_subtitle": "将存档页面导出为带本地媒体的静态站点", "max_pages": "最大页数", "select_domain": "选择域名", "sources": "fuentes",
|
||||
},
|
||||
"es": {
|
||||
"search": "Buscar", "crawl": "Rastrear", "live": "En Vivo", "about": "Acerca de",
|
||||
|
|
@ -115,7 +115,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "Obtener medios de la web", "live_subtitle": "Ver imágenes mientras se rastrean",
|
||||
"total_images": "Total de imágenes", "new_session": "Nuevas en esta sesión", "per_minute": "Por minuto",
|
||||
"all_domains": "Todos los dominios", "download_phantom": "Descargar sitio fantasma",
|
||||
"phantom_subtitle": "Exportar páginas archivadas como sitio estático con medios locales", "sources": "स्रोत",
|
||||
"phantom_subtitle": "Exportar páginas archivadas como sitio estático con medios locales", "max_pages": "Máx. páginas", "select_domain": "Seleccionar dominio", "sources": "स्रोत",
|
||||
},
|
||||
"hi": {
|
||||
"search": "खोजें", "crawl": "क्रॉल", "live": "लाइव फ़ीड", "about": "के बारे में",
|
||||
|
|
@ -140,7 +140,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "वेब से मीडिया प्राप्त करें", "live_subtitle": "क्रॉल होते हुए छवियां देखें",
|
||||
"total_images": "कुल छवियां", "new_session": "इस सत्र में नई", "per_minute": "प्रति मिनट",
|
||||
"all_domains": "सभी डोमेन", "download_phantom": "प्रेत साइट डाउनलोड करें",
|
||||
"phantom_subtitle": "संग्रहित पृष्ठों को स्थानीय मीडिया के साथ स्थैतिक साइट के रूप में निर्यात करें", "sources": "مصادر",
|
||||
"phantom_subtitle": "संग्रहित पृष्ठों को स्थानीय मीडिया के साथ स्थैतिक साइट के रूप में निर्यात करें", "max_pages": "अधिकतम पेज", "select_domain": "डोमेन चुनें", "sources": "مصادر",
|
||||
},
|
||||
"ar": {
|
||||
"search": "بحث", "crawl": "زحف", "live": "مباشر", "about": "حول",
|
||||
|
|
@ -165,7 +165,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "جلب الوسائط من الويب", "live_subtitle": "مشاهدة الصور أثناء الزحف",
|
||||
"total_images": "إجمالي الصور", "new_session": "جديدة في هذه الجلسة", "per_minute": "في الدقيقة",
|
||||
"all_domains": "جميع النطاقات", "download_phantom": "تحميل موقع الشبح",
|
||||
"phantom_subtitle": "تصدير الصفحات المؤرشفة كموقع ثابت مع وسائط محلية", "sources": "fontes",
|
||||
"phantom_subtitle": "تصدير الصفحات المؤرشفة كموقع ثابت مع وسائط محلية", "max_pages": "أقصى عدد صفحات", "select_domain": "اختر النطاق", "sources": "fontes",
|
||||
},
|
||||
"pt": {
|
||||
"search": "Pesquisar", "crawl": "Rastrear", "live": "Ao Vivo", "about": "Sobre",
|
||||
|
|
@ -190,7 +190,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "Obter mídia da web", "live_subtitle": "Veja imagens aparecerem durante o rastreio",
|
||||
"total_images": "Total de imagens", "new_session": "Novas nesta sessão", "per_minute": "Por minuto",
|
||||
"all_domains": "Todos os domínios", "download_phantom": "Baixar site fantasma",
|
||||
"phantom_subtitle": "Exportar páginas arquivadas como site estático com mídia local", "sources": "источников",
|
||||
"phantom_subtitle": "Exportar páginas arquivadas como site estático com mídia local", "max_pages": "Máx. páginas", "select_domain": "Selecionar domínio", "sources": "источников",
|
||||
},
|
||||
"ru": {
|
||||
"search": "Поиск", "crawl": "Сканировать", "live": "Прямой эфир", "about": "О нас",
|
||||
|
|
@ -215,7 +215,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "Получить медиа из интернета", "live_subtitle": "Смотрите появление изображений",
|
||||
"total_images": "Всего изображений", "new_session": "Новые в сессии", "per_minute": "В минуту",
|
||||
"all_domains": "Все домены", "download_phantom": "Скачать призрачный сайт",
|
||||
"phantom_subtitle": "Экспорт архивных страниц как статический сайт с локальными медиа", "sources": "ソース",
|
||||
"phantom_subtitle": "Экспорт архивных страниц как статический сайт с локальными медиа", "max_pages": "Макс. страниц", "select_domain": "Выбрать домен", "sources": "ソース",
|
||||
},
|
||||
"ja": {
|
||||
"search": "検索", "crawl": "クロール", "live": "ライブ", "about": "について",
|
||||
|
|
@ -240,7 +240,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "ウェブからメディアを取得", "live_subtitle": "クロール中の画像を表示",
|
||||
"total_images": "合計画像数", "new_session": "今回のセッション", "per_minute": "毎分",
|
||||
"all_domains": "すべてのドメイン", "download_phantom": "ファントムサイトをダウンロード",
|
||||
"phantom_subtitle": "アーカイブページをローカルメディア付きの静的サイトとしてエクスポート", "sources": "sources",
|
||||
"phantom_subtitle": "アーカイブページをローカルメディア付きの静的サイトとしてエクスポート", "max_pages": "最大ページ数", "select_domain": "ドメインを選択", "sources": "sources", "max_pages": "Max Pages", "select_domain": "Select Domain",
|
||||
},
|
||||
"fr": {
|
||||
"search": "Rechercher", "crawl": "Explorer", "live": "En Direct", "about": "À propos",
|
||||
|
|
@ -265,7 +265,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "Récupérer les médias du web", "live_subtitle": "Voir les images apparaître pendant l'exploration",
|
||||
"total_images": "Total d'images", "new_session": "Nouvelles cette session", "per_minute": "Par minute",
|
||||
"all_domains": "Tous les domaines", "download_phantom": "Télécharger le site fantôme",
|
||||
"phantom_subtitle": "Exporter les pages archivées en site statique avec médias locaux", "sources": "Quellen",
|
||||
"phantom_subtitle": "Exporter les pages archivées en site statique avec médias locaux", "max_pages": "Pages max", "select_domain": "Sélectionner le domaine", "sources": "Quellen",
|
||||
},
|
||||
"de": {
|
||||
"search": "Suchen", "crawl": "Crawlen", "live": "Live-Feed", "about": "Über",
|
||||
|
|
@ -290,7 +290,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "Medien aus dem Web abrufen", "live_subtitle": "Bilder beim Crawlen beobachten",
|
||||
"total_images": "Bilder gesamt", "new_session": "Neu in dieser Sitzung", "per_minute": "Pro Minute",
|
||||
"all_domains": "Alle Domains", "download_phantom": "Phantom-Seite herunterladen",
|
||||
"phantom_subtitle": "Archivierte Seiten als statische Seite mit lokalen Medien exportieren", "sources": "소스",
|
||||
"phantom_subtitle": "Archivierte Seiten als statische Seite mit lokalen Medien exportieren", "max_pages": "Max. Seiten", "select_domain": "Domain auswählen", "sources": "소스",
|
||||
},
|
||||
"ko": {
|
||||
"search": "검색", "crawl": "크롤", "live": "라이브", "about": "정보",
|
||||
|
|
@ -315,7 +315,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "웹에서 미디어 가져오기", "live_subtitle": "크롤링되는 이미지 보기",
|
||||
"total_images": "전체 이미지", "new_session": "이번 세션 신규", "per_minute": "분당",
|
||||
"all_domains": "모든 도메인", "download_phantom": "팬텀 사이트 다운로드",
|
||||
"phantom_subtitle": "보관된 페이지를 로컬 미디어가 포함된 정적 사이트로 내보내기", "sources": "fonti",
|
||||
"phantom_subtitle": "보관된 페이지를 로컬 미디어가 포함된 정적 사이트로 내보내기", "max_pages": "최대 페이지", "select_domain": "도메인 선택", "sources": "fonti",
|
||||
},
|
||||
"it": {
|
||||
"search": "Cerca", "crawl": "Scansiona", "live": "In Diretta", "about": "Info",
|
||||
|
|
@ -340,7 +340,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "Ottieni media dal web", "live_subtitle": "Guarda le immagini mentre vengono scansionate",
|
||||
"total_images": "Immagini totali", "new_session": "Nuove in questa sessione", "per_minute": "Al minuto",
|
||||
"all_domains": "Tutti i domini", "download_phantom": "Scarica sito fantasma",
|
||||
"phantom_subtitle": "Esporta pagine archiviate come sito statico con media locali", "sources": "bronnen",
|
||||
"phantom_subtitle": "Esporta pagine archiviate come sito statico con media locali", "max_pages": "Max pagine", "select_domain": "Seleziona dominio", "sources": "bronnen",
|
||||
},
|
||||
"nl": {
|
||||
"search": "Zoeken", "crawl": "Crawlen", "live": "Live", "about": "Over",
|
||||
|
|
@ -365,7 +365,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "Media van het web ophalen", "live_subtitle": "Bekijk afbeeldingen terwijl ze worden gecrawld",
|
||||
"total_images": "Totaal afbeeldingen", "new_session": "Nieuw deze sessie", "per_minute": "Per minuut",
|
||||
"all_domains": "Alle domeinen", "download_phantom": "Fantoomsite downloaden",
|
||||
"phantom_subtitle": "Gearchiveerde pagina's exporteren als statische site met lokale media", "sources": "źródeł",
|
||||
"phantom_subtitle": "Gearchiveerde pagina's exporteren als statische site met lokale media", "max_pages": "Max. pagina's", "select_domain": "Selecteer domein", "sources": "źródeł",
|
||||
},
|
||||
"pl": {
|
||||
"search": "Szukaj", "crawl": "Indeksuj", "live": "Na żywo", "about": "O nas",
|
||||
|
|
@ -390,7 +390,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "Pobierz media z sieci", "live_subtitle": "Oglądaj obrazy podczas indeksowania",
|
||||
"total_images": "Łącznie obrazów", "new_session": "Nowe w tej sesji", "per_minute": "Na minutę",
|
||||
"all_domains": "Wszystkie domeny", "download_phantom": "Pobierz stronę fantomową",
|
||||
"phantom_subtitle": "Eksportuj zarchiwizowane strony jako statyczną witrynę z lokalnymi mediami", "sources": "kaynaklar",
|
||||
"phantom_subtitle": "Eksportuj zarchiwizowane strony jako statyczną witrynę z lokalnymi mediami", "max_pages": "Maks. stron", "select_domain": "Wybierz domenę", "sources": "kaynaklar",
|
||||
},
|
||||
"tr": {
|
||||
"search": "Ara", "crawl": "Tara", "live": "Canlı", "about": "Hakkında",
|
||||
|
|
@ -415,7 +415,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "Web'den medya al", "live_subtitle": "Taranan resimleri izle",
|
||||
"total_images": "Toplam resim", "new_session": "Bu oturumda yeni", "per_minute": "Dakikada",
|
||||
"all_domains": "Tüm alanlar", "download_phantom": "Hayalet siteyi indir",
|
||||
"phantom_subtitle": "Arşivlenmiş sayfaları yerel medya ile statik site olarak dışa aktar", "sources": "nguồn",
|
||||
"phantom_subtitle": "Arşivlenmiş sayfaları yerel medya ile statik site olarak dışa aktar", "max_pages": "Maks. sayfa", "select_domain": "Alan adı seç", "sources": "nguồn",
|
||||
},
|
||||
"vi": {
|
||||
"search": "Tìm kiếm", "crawl": "Thu thập", "live": "Trực tiếp", "about": "Giới thiệu",
|
||||
|
|
@ -440,7 +440,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "Lấy media từ web", "live_subtitle": "Xem hình ảnh khi đang thu thập",
|
||||
"total_images": "Tổng hình ảnh", "new_session": "Mới trong phiên này", "per_minute": "Mỗi phút",
|
||||
"all_domains": "Tất cả tên miền", "download_phantom": "Tải trang bóng ma",
|
||||
"phantom_subtitle": "Xuất trang lưu trữ dưới dạng trang tĩnh với media cục bộ", "sources": "แหล่งที่มา",
|
||||
"phantom_subtitle": "Xuất trang lưu trữ dưới dạng trang tĩnh với media cục bộ", "max_pages": "Tối đa trang", "select_domain": "Chọn tên miền", "sources": "แหล่งที่มา",
|
||||
},
|
||||
"th": {
|
||||
"search": "ค้นหา", "crawl": "รวบรวม", "live": "สด", "about": "เกี่ยวกับ",
|
||||
|
|
@ -465,7 +465,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "ดึงสื่อจากเว็บ", "live_subtitle": "ดูรูปภาพขณะรวบรวม",
|
||||
"total_images": "รูปภาพทั้งหมด", "new_session": "ใหม่ในเซสชันนี้", "per_minute": "ต่อนาที",
|
||||
"all_domains": "โดเมนทั้งหมด", "download_phantom": "ดาวน์โหลดเว็บแฟนทอม",
|
||||
"phantom_subtitle": "ส่งออกหน้าที่เก็บถาวรเป็นเว็บไซต์แบบคงที่พร้อมสื่อในเครื่อง", "sources": "sumber",
|
||||
"phantom_subtitle": "ส่งออกหน้าที่เก็บถาวรเป็นเว็บไซต์แบบคงที่พร้อมสื่อในเครื่อง", "max_pages": "หน้าสูงสุด", "select_domain": "เลือกโดเมน", "sources": "sumber",
|
||||
},
|
||||
"id": {
|
||||
"search": "Cari", "crawl": "Jelajahi", "live": "Langsung", "about": "Tentang",
|
||||
|
|
@ -490,7 +490,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "Ambil media dari web", "live_subtitle": "Lihat gambar saat dijelajahi",
|
||||
"total_images": "Total gambar", "new_session": "Baru sesi ini", "per_minute": "Per menit",
|
||||
"all_domains": "Semua domain", "download_phantom": "Unduh situs hantu",
|
||||
"phantom_subtitle": "Ekspor halaman arsip sebagai situs statis dengan media lokal", "sources": "джерел",
|
||||
"phantom_subtitle": "Ekspor halaman arsip sebagai situs statis dengan media lokal", "max_pages": "Maks. halaman", "select_domain": "Pilih domain", "sources": "джерел",
|
||||
},
|
||||
"uk": {
|
||||
"search": "Пошук", "crawl": "Сканувати", "live": "Наживо", "about": "Про нас",
|
||||
|
|
@ -540,7 +540,7 @@ TRANSLATIONS = {
|
|||
"hydrate_subtitle": "Hämta media från webben", "live_subtitle": "Se bilder medan de genomsöks",
|
||||
"total_images": "Totalt bilder", "new_session": "Nya denna session", "per_minute": "Per minut",
|
||||
"all_domains": "Alla domäner", "download_phantom": "Ladda ner fantomwebbplats",
|
||||
"phantom_subtitle": "Exportera arkiverade sidor som statisk webbplats med lokal media", "sources": "källor",
|
||||
"phantom_subtitle": "Exportera arkiverade sidor som statisk webbplats med lokal media", "max_pages": "Max sidor", "select_domain": "Välj domän", "sources": "källor",
|
||||
},
|
||||
}
|
||||
|
||||
|
|
@ -1589,7 +1589,7 @@ CRAWL_HTML = """
|
|||
<input type="number" id="depth" value="9" min="1" max="15">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Max {{pages}}</label>
|
||||
<label>{{max_pages}}</label>
|
||||
<input type="number" id="max_pages" value="-1" min="-1">
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -2742,7 +2742,7 @@ async def phantom_page(lang: str = Cookie(None), accept_language: str = Header(N
|
|||
|
||||
<form action="/phantom/export" method="get">
|
||||
<div class="form-group">
|
||||
<label>Select Domain</label>
|
||||
<label>{{select_domain}}</label>
|
||||
<select name="domain">
|
||||
<option value="">{{all_domains}}</option>
|
||||
{domain_options}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue