mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-28 08:49:30 -05:00
splits translations into multiple files (#146)
This commit is contained in:
parent
b40add5d2c
commit
a9c68104ce
@ -8,3 +8,4 @@ include onionshare/strings.json
|
||||
include setup/onionshare.desktop
|
||||
include setup/onionshare80.xpm
|
||||
include images/*.png
|
||||
include locale/*.json
|
||||
|
42
locale/de.json
Normal file
42
locale/de.json
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
"connecting_ctrlport": "Verbinde zum Tor-Kontrollport um den versteckten Dienst auf Port {0} laufen zu lassen.",
|
||||
"cant_connect_ctrlport": "Konnte keine Verbindung zum Tor-Kontrollport auf Port {0} aufbauen. Läuft Tor?",
|
||||
"cant_connect_socksport": "Konnte keine Verbindung zum Tor SOCKS5 Server auf Port {0} herstellen. OnionShare setzt voraus dass Tor Browser im Hintergrund läuft. Wenn du noch ihn noch noch nicht hast kannst du ihn unter https://www.torproject.org/ herunterladen.",
|
||||
"preparing_files": "Dateien werden vorbereitet.",
|
||||
"wait_for_hs": "Warte auf HS:",
|
||||
"wait_for_hs_trying": "Verbindungsversuch...",
|
||||
"wait_for_hs_nope": "Noch nicht bereit.",
|
||||
"wait_for_hs_yup": "Bereit!",
|
||||
"give_this_url": "Geben Sie diese URL der Person, der Sie die Datei zusenden möchten:",
|
||||
"ctrlc_to_stop": "Drücken Sie Strg+C um den Server anzuhalten",
|
||||
"not_a_file": "{0} ist keine Datei.",
|
||||
"download_size": "Dateigrösse",
|
||||
"filename": "Dateiname",
|
||||
"size": "Dateigröße",
|
||||
"download_page_loaded": "Seite geladen",
|
||||
"other_page_loaded": "URL geladen",
|
||||
"close_on_finish": "Den Server automatisch anhalten",
|
||||
"choose_file": "Wählen Sie eine Datei",
|
||||
"closing_automatically": "Halte automatisch an, da der Download beendet wurde",
|
||||
"large_filesize": "Warnung: Das Senden von großen Dateien kann Stunden dauern",
|
||||
"error_tails_invalid_port": "Ungültiger Wert, Port muss eine ganze Zahl sein",
|
||||
"error_tails_unknown_root": "Unbekannter Fehler mit Tails root Prozess",
|
||||
"help_tails_port": "Nur für Tails: Port um den Firewall zu öffnen, starte Hidden Service",
|
||||
"help_local_only": "Nicht mit Tor benutzen, nur für Entwicklung",
|
||||
"help_stay_open": "Den Hidden Service nicht anhalten nachdem ein Download beendet wurde",
|
||||
"help_debug": "Fehler auf Festplatte schreiben",
|
||||
"help_filename": "Liste der zu teilenden Dateien oder Verzeichnisse",
|
||||
"gui_drag_and_drop": "Drag & drop\nDateien hier",
|
||||
"gui_add_files": "Dateien hinzufügen",
|
||||
"gui_add_folder": "Verzeichnis hinzufügen",
|
||||
"gui_delete": "Löschen",
|
||||
"gui_choose_files": "Dateien auswählen",
|
||||
"gui_choose_folder": "Verzeichnis auswählen",
|
||||
"gui_start_server": "Server starten",
|
||||
"gui_stop_server": "Server anhalten",
|
||||
"gui_copy_url": "URL kopieren",
|
||||
"gui_downloads": "Downloads:",
|
||||
"gui_copied_url": "URL wurde in die Zwischenablage kopiert",
|
||||
"gui_starting_server": "Bitte warten, der Server startet...",
|
||||
"gui_please_wait": "Bitte warten..."
|
||||
}
|
42
locale/en.json
Normal file
42
locale/en.json
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
"connecting_ctrlport": "Connecting to Tor control port to set up hidden service on port {0}.",
|
||||
"cant_connect_ctrlport": "Can't connect to Tor control port on port {0}. OnionShare requires Tor Browser to be running in the background to work. If you don't have it you can get it from https://www.torproject.org/.",
|
||||
"cant_connect_socksport": "Can't connect to Tor SOCKS5 server on port {0}. OnionShare requires Tor Browser to be running in the background to work. If you don't have it you can get it from https://www.torproject.org/.",
|
||||
"preparing_files": "Preparing files to share.",
|
||||
"wait_for_hs": "Waiting for HS to be ready:",
|
||||
"wait_for_hs_trying": "Trying...",
|
||||
"wait_for_hs_nope": "Not ready yet.",
|
||||
"wait_for_hs_yup": "Ready!",
|
||||
"give_this_url": "Give this URL to the person you're sending the file to:",
|
||||
"ctrlc_to_stop": "Press Ctrl-C to stop server",
|
||||
"not_a_file": "{0} is not a file.",
|
||||
"download_size": "Download size",
|
||||
"filename": "Filename",
|
||||
"size": "Size",
|
||||
"download_page_loaded": "Download page loaded",
|
||||
"other_page_loaded": "URL loaded",
|
||||
"close_on_finish": "Stop server automatically",
|
||||
"choose_file": "Choose a file to share",
|
||||
"closing_automatically": "Closing automatically because download finished",
|
||||
"large_filesize": "Warning: Sending large files could take hours",
|
||||
"error_tails_invalid_port": "Invalid value, port must be an integer",
|
||||
"error_tails_unknown_root": "Unknown error with Tails root process",
|
||||
"help_tails_port": "Tails only: port for opening firewall, starting hidden service",
|
||||
"help_local_only": "Do not attempt to use tor: for development only",
|
||||
"help_stay_open": "Keep hidden service running after download has finished",
|
||||
"help_debug": "Log errors to disk",
|
||||
"help_filename": "List of files or folders to share",
|
||||
"gui_drag_and_drop": "Drag and drop\nfiles here",
|
||||
"gui_add_files": "Add Files",
|
||||
"gui_add_folder": "Add Folder",
|
||||
"gui_delete": "Delete",
|
||||
"gui_choose_files": "Choose files",
|
||||
"gui_choose_folder": "Choose folder",
|
||||
"gui_start_server": "Start Server",
|
||||
"gui_stop_server": "Stop Server",
|
||||
"gui_copy_url": "Copy URL",
|
||||
"gui_downloads": "Downloads:",
|
||||
"gui_copied_url": "Copied URL to clipboard",
|
||||
"gui_starting_server": "Please wait, starting server...",
|
||||
"gui_please_wait": "Please wait..."
|
||||
}
|
40
locale/es.json
Normal file
40
locale/es.json
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
"connecting_ctrlport": "Conectando a puerto control de Tor para configurar servicio oculto en puerto {0}.",
|
||||
"cant_connect_ctrlport": "No se pudo conectar a puerto control de Tor en puertos {0}. ¿Está funcionando Tor?",
|
||||
"cant_connect_socksport": "No se pudo conectar al servidor SOCKS5 de Tor en el puerto {0}. ¿Está funcionando Tor?",
|
||||
"preparing_files": "Preparando los archivos para compartir.",
|
||||
"wait_for_hs": "Esperando a que HS esté listo:",
|
||||
"wait_for_hs_trying": "Probando...",
|
||||
"wait_for_hs_nope": "No está listo todavía.",
|
||||
"wait_for_hs_yup": "Listo!",
|
||||
"give_this_url": "Entregue esta URL a la persona a la que está enviando el archivo:",
|
||||
"ctrlc_to_stop": "Pulse Ctrl-C para detener el servidor",
|
||||
"not_a_file": "{0} no es un archivo.",
|
||||
"download_size": "Tamaño de la descarga",
|
||||
"filename": "Archivo",
|
||||
"size": "Tamaño",
|
||||
"download_page_loaded": "La página de descarga está lista.",
|
||||
"other_page_loaded": "La URL está lista.",
|
||||
"close_on_finish": "Apagar el servidor automáticamente.",
|
||||
"choose_file": "Elija un archivo para compartir",
|
||||
"closing_automatically": "Apagando automáticamente porque la descarga finalizó",
|
||||
"error_tails_invalid_port": "Valor inválido, el puerto debe ser un entero",
|
||||
"error_tails_unknown_root": "Error desconocido en el proceso de Tails corriendo como root",
|
||||
"help_tails_port": "Sólo Tails: puerto para abrir en el firewall, al levantar el servicio oculto",
|
||||
"help_local_only": "No intentar usar tor: para desarrollo solamente",
|
||||
"help_stay_open": "Mantener el servicio oculto corriendo después de que la descarga haya finalizado",
|
||||
"help_debug": "Guardar registro de errores en el disco",
|
||||
"help_filename": "Lista de archivos o carpetas para compartir",
|
||||
"gui_drag_and_drop": "Arrastre\narchivos aquí",
|
||||
"gui_add_files": "Añadir Archivos",
|
||||
"gui_add_folder": "Añadir Carpeta",
|
||||
"gui_delete": "Eliminar",
|
||||
"gui_choose_files": "Elegir archivos",
|
||||
"gui_choose_folder": "Elegir carpeta",
|
||||
"gui_start_server": "Encender el Servidor",
|
||||
"gui_stop_server": "Detener el Servidor",
|
||||
"gui_copy_url": "Copiar URL",
|
||||
"gui_downloads": "Descargas:",
|
||||
"gui_copied_url": "Se copió la URL en el portapapeles",
|
||||
"gui_starting_server": "Por favor espere, levantando el servidor..."
|
||||
}
|
39
locale/fr.json
Normal file
39
locale/fr.json
Normal file
@ -0,0 +1,39 @@
|
||||
{
|
||||
"connecting_ctrlport": "Connexion au réseau Tor pour mettre en place un Hidden Service sur le port {0}.",
|
||||
"cant_connect_ctrlport": "Impossible de se connecter au port de contrôle Tor sur le port {0}. Est-ce que Tor tourne ?",
|
||||
"preparing_files": "Préparation des fichiers à partager.",
|
||||
"wait_for_hs": "En attente du HS:",
|
||||
"wait_for_hs_trying": "Tentative...",
|
||||
"wait_for_hs_nope": "Pas encore prêt.",
|
||||
"wait_for_hs_yup": "Prêt !",
|
||||
"give_this_url": "Donnez cette URL à la personne qui doit recevoir le fichier :",
|
||||
"ctrlc_to_stop": "Ctrl-C arrête le serveur",
|
||||
"not_a_file": "{0} n'est pas un fichier.",
|
||||
"download_size": "Taille de téléchargement",
|
||||
"filename": "Nom du fichier",
|
||||
"size": "Taille",
|
||||
"download_page_loaded": "Page de téléchargement chargée",
|
||||
"other_page_loaded": "URL chargée",
|
||||
"close_on_finish": "Arrêter le serveur automatiquement",
|
||||
"choose_file": "Sélectionnez un fichier à partager",
|
||||
"closing_automatically": "Fermeture automatique car le téléchargement est fini",
|
||||
"error_tails_invalid_port": "Valeur invalide, le port doit être un nombre entier",
|
||||
"error_tails_unknown_root": "Erreur inconnue avec un processus root sur Tails",
|
||||
"help_tails_port": "Seulement sur Tails: port pour ouvrir le firewall, démarrage du Hidden Service",
|
||||
"help_local_only": "Ne tentez pas d'utiliser Tor, uniquement pour développement",
|
||||
"help_stay_open": "Laisser tourner le Hidden Service après que le téléchargment soit fini",
|
||||
"help_debug": "Enregistrer les erreurs sur le disque",
|
||||
"help_filename": "Liste des fichiers ou dossiers à partager",
|
||||
"gui_drag_and_drop": "Glissez déposez\nles fichiers ici",
|
||||
"gui_add_files": "Ajouter des fichiers",
|
||||
"gui_add_folder": "Ajouter un dossier",
|
||||
"gui_delete": "Supprimer",
|
||||
"gui_choose_files": "Sélectionnez des fichiers",
|
||||
"gui_choose_folder": "Sélectionnez un dossier",
|
||||
"gui_start_server": "Démarrer le serveur",
|
||||
"gui_stop_server": "Arrêter le serveur",
|
||||
"gui_copy_url": "Copier URL",
|
||||
"gui_downloads": "Téléchargements :",
|
||||
"gui_copied_url": "URL copié dans le presse-papier",
|
||||
"gui_starting_server": "Veuillez patienter, le serveur démarre..."
|
||||
}
|
12
locale/it.json
Normal file
12
locale/it.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"connecting_ctrlport": "Connessione alla porta di controllo di Tor per inizializzare il servizio nascosto sulla porta {0}.",
|
||||
"cant_connect_ctrlport": "Impossibile connettere alla porta di controllo di Tor tramite le porte {0}. Tor è stato avviato?",
|
||||
"give_this_url": "Comunica questo URL alla persona a cui vuoi inviare il file:",
|
||||
"ctrlc_to_stop": "Premi Ctrl-C per fermare il server",
|
||||
"not_a_file": "{0} non è un file.",
|
||||
"gui_copied_url": "URL copiato negli appunti",
|
||||
"download_page_loaded": "Pagina di download caricata",
|
||||
"other_page_loaded": "Un altra pagina é stata caricata",
|
||||
"close_on_finish": "Chiudi automaticamente",
|
||||
"choose_file": "Scegli un file da condividere"
|
||||
}
|
39
locale/nl.json
Normal file
39
locale/nl.json
Normal file
@ -0,0 +1,39 @@
|
||||
{
|
||||
"connecting_ctrlport": "Verbinden met de Tor controle port om een verborgen service op te zetten op poort {0}.",
|
||||
"cant_connect_ctrlport": "Kan niet verbinden met de Tor controle poort op poorten {0}. Draait Tor?",
|
||||
"preparing_files": "Bestanden om te delen aan het voorbereiden.",
|
||||
"wait_for_hs": "Wachten op gereed zijn van HS:",
|
||||
"wait_for_hs_trying": "Proberen...",
|
||||
"wait_for_hs_nope": "Nog niet gereed.",
|
||||
"wait_for_hs_yup": "Gereed!",
|
||||
"give_this_url": "Geef deze URL aan de persoon aan wie je dit bestand verzend:",
|
||||
"ctrlc_to_stop": "Druk Ctrl-C om de server te stoppen",
|
||||
"not_a_file": "{0} is geen bestand.",
|
||||
"download_size": "Downloadgrootte",
|
||||
"filename": "Bestandsnaam",
|
||||
"size": "Grootte",
|
||||
"download_page_loaded": "Downloadpagina geladen",
|
||||
"other_page_loaded": "URL geladen",
|
||||
"close_on_finish": "Stop server automatisch",
|
||||
"choose_file": "Kies een bestand om te delen",
|
||||
"closing_automatically": "Sluit nu automatisch omdat download gereed is",
|
||||
"error_tails_invalid_port": "Ongeldige waarde, poort moet een integer zijn",
|
||||
"error_tails_unknown_root": "Onbekende fout met het Tails root proces",
|
||||
"help_tails_port": "Alleen Tails: poort voor het openen van firewall, starten verborgen service",
|
||||
"help_local_only": "Maak geen gebruik van Tor, alleen voor ontwikkeling",
|
||||
"help_stay_open": "Laat verborgen service draaien nadat download gereed is",
|
||||
"help_debug": "Log fouten naar harde schrijf",
|
||||
"help_filename": "Lijst van bestanden of mappen om te delen",
|
||||
"gui_drag_and_drop": "Sleep en zet\nbestanden hier neer",
|
||||
"gui_add_files": "Bestanden toevoegen",
|
||||
"gui_add_folder": "Map toevoegen",
|
||||
"gui_delete": "Verwijder",
|
||||
"gui_choose_files": "Kies bestanden",
|
||||
"gui_choose_folder": "Kies map",
|
||||
"gui_start_server": "Start server",
|
||||
"gui_stop_server": "Stop server",
|
||||
"gui_copy_url": "Kopier URL",
|
||||
"gui_downloads": "Downloads:",
|
||||
"gui_copied_url": "URL gekopieerd naar klembord",
|
||||
"gui_starting_server": "Moment geduld, server wordt gestart..."
|
||||
}
|
12
locale/no.json
Normal file
12
locale/no.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"connecting_ctrlport": "Kobler til Tors kontroll-port for å sette opp en gjemt tjeneste på port {0}.",
|
||||
"cant_connect_ctrlport": "Klarte ikke å koble til Tors kontroll-porter {0}. Sjekk at Tor kjører.",
|
||||
"give_this_url": "Gi personen du vil sende filen til denne URL-en:",
|
||||
"ctrlc_to_stop": "Trykk Ctrl+C for å stoppe serveren.",
|
||||
"not_a_file": "{0} er ikke en fil.",
|
||||
"gui_copied_url": "Kopierte URL-en til utklippstavlen",
|
||||
"download_page_loaded": "Nedlastingsside lastet",
|
||||
"other_page_loaded": "En annen side har blitt lastet",
|
||||
"close_on_finish": "Lukk automatisk",
|
||||
"choose_file": "Velg en fil å dele"
|
||||
}
|
12
locale/pt.json
Normal file
12
locale/pt.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"connecting_ctrlport": "Conectando-se à porta de controle Tor para configurar serviço escondido na porta {0}.",
|
||||
"cant_connect_ctrlport": "Não pode conectar à porta de controle Tor na porta {0}. O Tor está rodando?",
|
||||
"give_this_url": "Passe este URL para a pessoa que deve receber o arquivo:",
|
||||
"ctrlc_to_stop": "Pressione Ctrl-C para parar o servidor",
|
||||
"not_a_file": "{0} não é um arquivo.",
|
||||
"gui_copied_url": "URL foi copiado para área de transferência",
|
||||
"download_page_loaded": "Página de download carregada",
|
||||
"other_page_loaded": "Outra página tem sido carregada",
|
||||
"close_on_finish": "Fechar automaticamente",
|
||||
"choose_file": "Escolhe um arquivo para compartilhar"
|
||||
}
|
13
locale/ru.json
Normal file
13
locale/ru.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"connecting_ctrlport": "Соединяемся с контрольным портом Tor для создания скрытого сервиса на порту {0}.",
|
||||
"cant_connect_ctrlport": "Невозможно соединиться с контрольным портом Tor на порту {0}. Tor запущен?",
|
||||
"give_this_url": "Отправьте эту ссылку тому человеку, которому вы хотите передать файл:",
|
||||
"ctrlc_to_stop": "Нажмите Ctrl-C чтобы остановить сервер",
|
||||
"not_a_file": "{0} не является файлом.",
|
||||
"gui_copied_url": "Ссылка скопирована в буфер обмена",
|
||||
"download_page_loaded": "Страница закачки загружена",
|
||||
"other_page_loaded": "Другая страница была загружена",
|
||||
"close_on_finish": "Закрыть автоматически",
|
||||
"choose_file": "Выберите файл",
|
||||
"gui_copy_url": "Скопировать ссылку"
|
||||
}
|
13
locale/tr.json
Normal file
13
locale/tr.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"connecting_ctrlport": "{0} portundaki gizli servis kurulumu için Tor kontrol portuna bağlanıyor.",
|
||||
"cant_connect_ctrlport": "Tor kontrol {0} portuna bağlanamıyor. Tor çalışıyor mu?",
|
||||
"give_this_url": "Dosyayı gönderdiğin kişiye bu URL'i verin:",
|
||||
"ctrlc_to_stop": "Sunucuyu durdurmak için, Ctrl-C basın",
|
||||
"not_a_file": "{0} dosya değil.",
|
||||
"gui_copied_url": "Panoya kopyalanan URL",
|
||||
"download_page_loaded": "İndirme sayfası yüklendi",
|
||||
"other_page_loaded": "Diğer sayfa yüklendi",
|
||||
"close_on_finish": "Kendiliğinden kapan",
|
||||
"choose_file": "Paylaşım için bir dosya seç",
|
||||
"gui_copy_url": "URL Kopyala"
|
||||
}
|
@ -1,255 +0,0 @@
|
||||
{ "en": {
|
||||
"connecting_ctrlport": "Connecting to Tor control port to set up hidden service on port {0}.",
|
||||
"cant_connect_ctrlport": "Can't connect to Tor control port on port {0}. OnionShare requires Tor Browser to be running in the background to work. If you don't have it you can get it from https://www.torproject.org/.",
|
||||
"cant_connect_socksport": "Can't connect to Tor SOCKS5 server on port {0}. OnionShare requires Tor Browser to be running in the background to work. If you don't have it you can get it from https://www.torproject.org/.",
|
||||
"preparing_files": "Preparing files to share.",
|
||||
"wait_for_hs": "Waiting for HS to be ready:",
|
||||
"wait_for_hs_trying": "Trying...",
|
||||
"wait_for_hs_nope": "Not ready yet.",
|
||||
"wait_for_hs_yup": "Ready!",
|
||||
"give_this_url": "Give this URL to the person you're sending the file to:",
|
||||
"ctrlc_to_stop": "Press Ctrl-C to stop server",
|
||||
"not_a_file": "{0} is not a file.",
|
||||
"download_size": "Download size",
|
||||
"filename": "Filename",
|
||||
"size": "Size",
|
||||
"download_page_loaded": "Download page loaded",
|
||||
"other_page_loaded": "URL loaded",
|
||||
"close_on_finish": "Stop server automatically",
|
||||
"choose_file": "Choose a file to share",
|
||||
"closing_automatically": "Closing automatically because download finished",
|
||||
"large_filesize": "Warning: Sending large files could take hours",
|
||||
"error_tails_invalid_port": "Invalid value, port must be an integer",
|
||||
"error_tails_unknown_root": "Unknown error with Tails root process",
|
||||
"help_tails_port": "Tails only: port for opening firewall, starting hidden service",
|
||||
"help_local_only": "Do not attempt to use tor: for development only",
|
||||
"help_stay_open": "Keep hidden service running after download has finished",
|
||||
"help_debug": "Log errors to disk",
|
||||
"help_filename": "List of files or folders to share",
|
||||
"gui_drag_and_drop": "Drag and drop\nfiles here",
|
||||
"gui_add_files": "Add Files",
|
||||
"gui_add_folder": "Add Folder",
|
||||
"gui_delete": "Delete",
|
||||
"gui_choose_files": "Choose files",
|
||||
"gui_choose_folder": "Choose folder",
|
||||
"gui_start_server": "Start Server",
|
||||
"gui_stop_server": "Stop Server",
|
||||
"gui_copy_url": "Copy URL",
|
||||
"gui_downloads": "Downloads:",
|
||||
"gui_copied_url": "Copied URL to clipboard",
|
||||
"gui_starting_server": "Please wait, starting server...",
|
||||
"gui_please_wait": "Please wait..."
|
||||
}, "no": {
|
||||
"connecting_ctrlport": "Kobler til Tors kontroll-port for å sette opp en gjemt tjeneste på port {0}.",
|
||||
"cant_connect_ctrlport": "Klarte ikke å koble til Tors kontroll-porter {0}. Sjekk at Tor kjører.",
|
||||
"give_this_url": "Gi personen du vil sende filen til denne URL-en:",
|
||||
"ctrlc_to_stop": "Trykk Ctrl+C for å stoppe serveren.",
|
||||
"not_a_file": "{0} er ikke en fil.",
|
||||
"gui_copied_url": "Kopierte URL-en til utklippstavlen",
|
||||
"download_page_loaded": "Nedlastingsside lastet",
|
||||
"other_page_loaded": "En annen side har blitt lastet",
|
||||
"close_on_finish": "Lukk automatisk",
|
||||
"choose_file": "Velg en fil å dele"
|
||||
}, "es": {
|
||||
"connecting_ctrlport": "Conectando a puerto control de Tor para configurar servicio oculto en puerto {0}.",
|
||||
"cant_connect_ctrlport": "No se pudo conectar a puerto control de Tor en puertos {0}. ¿Está funcionando Tor?",
|
||||
"cant_connect_socksport": "No se pudo conectar al servidor SOCKS5 de Tor en el puerto {0}. ¿Está funcionando Tor?",
|
||||
"preparing_files": "Preparando los archivos para compartir.",
|
||||
"wait_for_hs": "Esperando a que HS esté listo:",
|
||||
"wait_for_hs_trying": "Probando...",
|
||||
"wait_for_hs_nope": "No está listo todavía.",
|
||||
"wait_for_hs_yup": "Listo!",
|
||||
"give_this_url": "Entregue esta URL a la persona a la que está enviando el archivo:",
|
||||
"ctrlc_to_stop": "Pulse Ctrl-C para detener el servidor",
|
||||
"not_a_file": "{0} no es un archivo.",
|
||||
"download_size": "Tamaño de la descarga",
|
||||
"filename": "Archivo",
|
||||
"size": "Tamaño",
|
||||
"download_page_loaded": "La página de descarga está lista.",
|
||||
"other_page_loaded": "La URL está lista.",
|
||||
"close_on_finish": "Apagar el servidor automáticamente.",
|
||||
"choose_file": "Elija un archivo para compartir",
|
||||
"closing_automatically": "Apagando automáticamente porque la descarga finalizó",
|
||||
"error_tails_invalid_port": "Valor inválido, el puerto debe ser un entero",
|
||||
"error_tails_unknown_root": "Error desconocido en el proceso de Tails corriendo como root",
|
||||
"help_tails_port": "Sólo Tails: puerto para abrir en el firewall, al levantar el servicio oculto",
|
||||
"help_local_only": "No intentar usar tor: para desarrollo solamente",
|
||||
"help_stay_open": "Mantener el servicio oculto corriendo después de que la descarga haya finalizado",
|
||||
"help_debug": "Guardar registro de errores en el disco",
|
||||
"help_filename": "Lista de archivos o carpetas para compartir",
|
||||
"gui_drag_and_drop": "Arrastre\narchivos aquí",
|
||||
"gui_add_files": "Añadir Archivos",
|
||||
"gui_add_folder": "Añadir Carpeta",
|
||||
"gui_delete": "Eliminar",
|
||||
"gui_choose_files": "Elegir archivos",
|
||||
"gui_choose_folder": "Elegir carpeta",
|
||||
"gui_start_server": "Encender el Servidor",
|
||||
"gui_stop_server": "Detener el Servidor",
|
||||
"gui_copy_url": "Copiar URL",
|
||||
"gui_downloads": "Descargas:",
|
||||
"gui_copied_url": "Se copió la URL en el portapapeles",
|
||||
"gui_starting_server": "Por favor espere, levantando el servidor..."
|
||||
}, "fr": {
|
||||
"connecting_ctrlport": "Connexion au réseau Tor pour mettre en place un Hidden Service sur le port {0}.",
|
||||
"cant_connect_ctrlport": "Impossible de se connecter au port de contrôle Tor sur le port {0}. Est-ce que Tor tourne ?",
|
||||
"preparing_files": "Préparation des fichiers à partager.",
|
||||
"wait_for_hs": "En attente du HS:",
|
||||
"wait_for_hs_trying": "Tentative...",
|
||||
"wait_for_hs_nope": "Pas encore prêt.",
|
||||
"wait_for_hs_yup": "Prêt !",
|
||||
"give_this_url": "Donnez cette URL à la personne qui doit recevoir le fichier :",
|
||||
"ctrlc_to_stop": "Ctrl-C arrête le serveur",
|
||||
"not_a_file": "{0} n'est pas un fichier.",
|
||||
"download_size": "Taille de téléchargement",
|
||||
"filename": "Nom du fichier",
|
||||
"size": "Taille",
|
||||
"download_page_loaded": "Page de téléchargement chargée",
|
||||
"other_page_loaded": "URL chargée",
|
||||
"close_on_finish": "Arrêter le serveur automatiquement",
|
||||
"choose_file": "Sélectionnez un fichier à partager",
|
||||
"closing_automatically": "Fermeture automatique car le téléchargement est fini",
|
||||
"error_tails_invalid_port": "Valeur invalide, le port doit être un nombre entier",
|
||||
"error_tails_unknown_root": "Erreur inconnue avec un processus root sur Tails",
|
||||
"help_tails_port": "Seulement sur Tails: port pour ouvrir le firewall, démarrage du Hidden Service",
|
||||
"help_local_only": "Ne tentez pas d'utiliser Tor, uniquement pour développement",
|
||||
"help_stay_open": "Laisser tourner le Hidden Service après que le téléchargment soit fini",
|
||||
"help_debug": "Enregistrer les erreurs sur le disque",
|
||||
"help_filename": "Liste des fichiers ou dossiers à partager",
|
||||
"gui_drag_and_drop": "Glissez déposez\nles fichiers ici",
|
||||
"gui_add_files": "Ajouter des fichiers",
|
||||
"gui_add_folder": "Ajouter un dossier",
|
||||
"gui_delete": "Supprimer",
|
||||
"gui_choose_files": "Sélectionnez des fichiers",
|
||||
"gui_choose_folder": "Sélectionnez un dossier",
|
||||
"gui_start_server": "Démarrer le serveur",
|
||||
"gui_stop_server": "Arrêter le serveur",
|
||||
"gui_copy_url": "Copier URL",
|
||||
"gui_downloads": "Téléchargements :",
|
||||
"gui_copied_url": "URL copié dans le presse-papier",
|
||||
"gui_starting_server": "Veuillez patienter, le serveur démarre..."
|
||||
}, "it": {
|
||||
"connecting_ctrlport": "Connessione alla porta di controllo di Tor per inizializzare il servizio nascosto sulla porta {0}.",
|
||||
"cant_connect_ctrlport": "Impossibile connettere alla porta di controllo di Tor tramite le porte {0}. Tor è stato avviato?",
|
||||
"give_this_url": "Comunica questo URL alla persona a cui vuoi inviare il file:",
|
||||
"ctrlc_to_stop": "Premi Ctrl-C per fermare il server",
|
||||
"not_a_file": "{0} non è un file.",
|
||||
"gui_copied_url": "URL copiato negli appunti",
|
||||
"download_page_loaded": "Pagina di download caricata",
|
||||
"other_page_loaded": "Un altra pagina é stata caricata",
|
||||
"close_on_finish": "Chiudi automaticamente",
|
||||
"choose_file": "Scegli un file da condividere"
|
||||
}, "nl": {
|
||||
"connecting_ctrlport": "Verbinden met de Tor controle port om een verborgen service op te zetten op poort {0}.",
|
||||
"cant_connect_ctrlport": "Kan niet verbinden met de Tor controle poort op poorten {0}. Draait Tor?",
|
||||
"preparing_files": "Bestanden om te delen aan het voorbereiden.",
|
||||
"wait_for_hs": "Wachten op gereed zijn van HS:",
|
||||
"wait_for_hs_trying": "Proberen...",
|
||||
"wait_for_hs_nope": "Nog niet gereed.",
|
||||
"wait_for_hs_yup": "Gereed!",
|
||||
"give_this_url": "Geef deze URL aan de persoon aan wie je dit bestand verzend:",
|
||||
"ctrlc_to_stop": "Druk Ctrl-C om de server te stoppen",
|
||||
"not_a_file": "{0} is geen bestand.",
|
||||
"download_size": "Downloadgrootte",
|
||||
"filename": "Bestandsnaam",
|
||||
"size": "Grootte",
|
||||
"download_page_loaded": "Downloadpagina geladen",
|
||||
"other_page_loaded": "URL geladen",
|
||||
"close_on_finish": "Stop server automatisch",
|
||||
"choose_file": "Kies een bestand om te delen",
|
||||
"closing_automatically": "Sluit nu automatisch omdat download gereed is",
|
||||
"error_tails_invalid_port": "Ongeldige waarde, poort moet een integer zijn",
|
||||
"error_tails_unknown_root": "Onbekende fout met het Tails root proces",
|
||||
"help_tails_port": "Alleen Tails: poort voor het openen van firewall, starten verborgen service",
|
||||
"help_local_only": "Maak geen gebruik van Tor, alleen voor ontwikkeling",
|
||||
"help_stay_open": "Laat verborgen service draaien nadat download gereed is",
|
||||
"help_debug": "Log fouten naar harde schrijf",
|
||||
"help_filename": "Lijst van bestanden of mappen om te delen",
|
||||
"gui_drag_and_drop": "Sleep en zet\nbestanden hier neer",
|
||||
"gui_add_files": "Bestanden toevoegen",
|
||||
"gui_add_folder": "Map toevoegen",
|
||||
"gui_delete": "Verwijder",
|
||||
"gui_choose_files": "Kies bestanden",
|
||||
"gui_choose_folder": "Kies map",
|
||||
"gui_start_server": "Start server",
|
||||
"gui_stop_server": "Stop server",
|
||||
"gui_copy_url": "Kopier URL",
|
||||
"gui_downloads": "Downloads:",
|
||||
"gui_copied_url": "URL gekopieerd naar klembord",
|
||||
"gui_starting_server": "Moment geduld, server wordt gestart..."
|
||||
}, "pt": {
|
||||
"connecting_ctrlport": "Conectando-se à porta de controle Tor para configurar serviço escondido na porta {0}.",
|
||||
"cant_connect_ctrlport": "Não pode conectar à porta de controle Tor na porta {0}. O Tor está rodando?",
|
||||
"give_this_url": "Passe este URL para a pessoa que deve receber o arquivo:",
|
||||
"ctrlc_to_stop": "Pressione Ctrl-C para parar o servidor",
|
||||
"not_a_file": "{0} não é um arquivo.",
|
||||
"gui_copied_url": "URL foi copiado para área de transferência",
|
||||
"download_page_loaded": "Página de download carregada",
|
||||
"other_page_loaded": "Outra página tem sido carregada",
|
||||
"close_on_finish": "Fechar automaticamente",
|
||||
"choose_file": "Escolhe um arquivo para compartilhar"
|
||||
}, "ru": {
|
||||
"connecting_ctrlport": "Соединяемся с контрольным портом Tor для создания скрытого сервиса на порту {0}.",
|
||||
"cant_connect_ctrlport": "Невозможно соединиться с контрольным портом Tor на порту {0}. Tor запущен?",
|
||||
"give_this_url": "Отправьте эту ссылку тому человеку, которому вы хотите передать файл:",
|
||||
"ctrlc_to_stop": "Нажмите Ctrl-C чтобы остановить сервер",
|
||||
"not_a_file": "{0} не является файлом.",
|
||||
"gui_copied_url": "Ссылка скопирована в буфер обмена",
|
||||
"download_page_loaded": "Страница закачки загружена",
|
||||
"other_page_loaded": "Другая страница была загружена",
|
||||
"close_on_finish": "Закрыть автоматически",
|
||||
"choose_file": "Выберите файл",
|
||||
"gui_copy_url": "Скопировать ссылку"
|
||||
}, "de": {
|
||||
"connecting_ctrlport": "Verbinde zum Tor-Kontrollport um den versteckten Dienst auf Port {0} laufen zu lassen.",
|
||||
"cant_connect_ctrlport": "Konnte keine Verbindung zum Tor-Kontrollport auf Port {0} aufbauen. Läuft Tor?",
|
||||
"cant_connect_socksport": "Konnte keine Verbindung zum Tor SOCKS5 Server auf Port {0} herstellen. OnionShare setzt voraus dass Tor Browser im Hintergrund läuft. Wenn du noch ihn noch noch nicht hast kannst du ihn unter https://www.torproject.org/ herunterladen.",
|
||||
"preparing_files": "Dateien werden vorbereitet.",
|
||||
"wait_for_hs": "Warte auf HS:",
|
||||
"wait_for_hs_trying": "Verbindungsversuch...",
|
||||
"wait_for_hs_nope": "Noch nicht bereit.",
|
||||
"wait_for_hs_yup": "Bereit!",
|
||||
"give_this_url": "Geben Sie diese URL der Person, der Sie die Datei zusenden möchten:",
|
||||
"ctrlc_to_stop": "Drücken Sie Strg+C um den Server anzuhalten",
|
||||
"not_a_file": "{0} ist keine Datei.",
|
||||
"download_size": "Dateigrösse",
|
||||
"filename": "Dateiname",
|
||||
"size": "Dateigröße",
|
||||
"download_page_loaded": "Seite geladen",
|
||||
"other_page_loaded": "URL geladen",
|
||||
"close_on_finish": "Den Server automatisch anhalten",
|
||||
"choose_file": "Wählen Sie eine Datei",
|
||||
"closing_automatically": "Halte automatisch an, da der Download beendet wurde",
|
||||
"large_filesize": "Warnung: Das Senden von großen Dateien kann Stunden dauern",
|
||||
"error_tails_invalid_port": "Ungültiger Wert, Port muss eine ganze Zahl sein",
|
||||
"error_tails_unknown_root": "Unbekannter Fehler mit Tails root Prozess",
|
||||
"help_tails_port": "Nur für Tails: Port um den Firewall zu öffnen, starte Hidden Service",
|
||||
"help_local_only": "Nicht mit Tor benutzen, nur für Entwicklung",
|
||||
"help_stay_open": "Den Hidden Service nicht anhalten nachdem ein Download beendet wurde",
|
||||
"help_debug": "Fehler auf Festplatte schreiben",
|
||||
"help_filename": "Liste der zu teilenden Dateien oder Verzeichnisse",
|
||||
"gui_drag_and_drop": "Drag & drop\nDateien hier",
|
||||
"gui_add_files": "Dateien hinzufügen",
|
||||
"gui_add_folder": "Verzeichnis hinzufügen",
|
||||
"gui_delete": "Löschen",
|
||||
"gui_choose_files": "Dateien auswählen",
|
||||
"gui_choose_folder": "Verzeichnis auswählen",
|
||||
"gui_start_server": "Server starten",
|
||||
"gui_stop_server": "Server anhalten",
|
||||
"gui_copy_url": "URL kopieren",
|
||||
"gui_downloads": "Downloads:",
|
||||
"gui_copied_url": "URL wurde in die Zwischenablage kopiert",
|
||||
"gui_starting_server": "Bitte warten, der Server startet...",
|
||||
"gui_please_wait": "Bitte warten..."
|
||||
},"tr": {
|
||||
"connecting_ctrlport": "{0} portundaki gizli servis kurulumu için Tor kontrol portuna bağlanıyor.",
|
||||
"cant_connect_ctrlport": "Tor kontrol {0} portuna bağlanamıyor. Tor çalışıyor mu?",
|
||||
"give_this_url": "Dosyayı gönderdiğin kişiye bu URL'i verin:",
|
||||
"ctrlc_to_stop": "Sunucuyu durdurmak için, Ctrl-C basın",
|
||||
"not_a_file": "{0} dosya değil.",
|
||||
"gui_copied_url": "Panoya kopyalanan URL",
|
||||
"download_page_loaded": "İndirme sayfası yüklendi",
|
||||
"other_page_loaded": "Diğer sayfa yüklendi",
|
||||
"close_on_finish": "Kendiliğinden kapan",
|
||||
"choose_file": "Paylaşım için bir dosya seç",
|
||||
"gui_copy_url": "URL Kopyala"
|
||||
}}
|
@ -17,14 +17,28 @@ GNU General Public License for more details.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
import json, locale
|
||||
import json, locale, sys, platform, os
|
||||
import helpers
|
||||
|
||||
strings = {}
|
||||
|
||||
def load_strings(default="en"):
|
||||
global strings
|
||||
translated = json.loads(open('{0}/strings.json'.format(helpers.get_onionshare_dir())).read())
|
||||
|
||||
# find locale dir
|
||||
if platform.system() == 'Linux':
|
||||
locale_dir = os.path.join(sys.prefix, 'share/onionshare/locale')
|
||||
else:
|
||||
locale_dir = os.path.join(os.path.dirname(helpers.get_onionshare_dir()), 'locale')
|
||||
|
||||
# load all translations
|
||||
translated = {}
|
||||
for filename in os.listdir(locale_dir):
|
||||
abs_filename = os.path.join(locale_dir, filename)
|
||||
lang, ext = os.path.splitext(filename)
|
||||
if abs_filename.endswith('.json'):
|
||||
translated[lang] = json.loads(open(abs_filename).read())
|
||||
|
||||
strings = translated[default]
|
||||
lc, enc = locale.getdefaultlocale()
|
||||
if lc:
|
||||
|
12
setup.py
12
setup.py
@ -59,6 +59,18 @@ setup(
|
||||
'images/server_stopped.png',
|
||||
'images/server_started.png',
|
||||
'images/server_working.png'
|
||||
]),
|
||||
(os.path.join(sys.prefix, 'share/onionshare/locale'), [
|
||||
'locale/de.json',
|
||||
'locale/en.json',
|
||||
'locale/es.json',
|
||||
'locale/fr.json',
|
||||
'locale/it.json',
|
||||
'locale/nl.json',
|
||||
'locale/no.json',
|
||||
'locale/pt.json',
|
||||
'locale/ru.json',
|
||||
'locale/tr.json'
|
||||
])
|
||||
]
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user