diff --git a/README.md b/README.md index 6ded3c9..914fdfe 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ Toxygen is powerful cross-platform [Tox](https://tox.chat/) client written in pu - File transfers - Audio calls - Video calls +- Group chats - Plugins support - Desktop sharing - Chat history diff --git a/toxygen/callbacks.py b/toxygen/callbacks.py index fd25d97..b59d17c 100644 --- a/toxygen/callbacks.py +++ b/toxygen/callbacks.py @@ -33,6 +33,7 @@ class Invoker(QtCore.QObject): event.fn(*event.args, **event.kwargs) return True + _invoker = Invoker() @@ -66,6 +67,7 @@ class FileTransfersThread(threading.Thread): except Exception as ex: util.log('Exception in _thread: ' + str(ex)) + _thread = FileTransfersThread() diff --git a/toxygen/mainscreen_widgets.py b/toxygen/mainscreen_widgets.py index 700f16b..9955771 100644 --- a/toxygen/mainscreen_widgets.py +++ b/toxygen/mainscreen_widgets.py @@ -318,7 +318,7 @@ class WelcomeScreen(CenteredWidget): 'Toxygen supports faux offline messages and file transfers. Send message or file to offline friend and he will get it later.') elif num == 7: text = QtWidgets.QApplication.translate('WelcomeScreen', - 'New in Toxygen 0.3.0:
Video calls
Python3.6 support
Migration to PyQt5') + 'New in Toxygen 0.4.1:
Downloading nodes from tox.chat
Bug fixes') elif num == 8: text = QtWidgets.QApplication.translate('WelcomeScreen', 'Delete single message in chat: make right click on spinner or message time and choose "Delete" in menu') diff --git a/toxygen/translations/en_GB.ts b/toxygen/translations/en_GB.ts index fa975db..7186005 100644 --- a/toxygen/translations/en_GB.ts +++ b/toxygen/translations/en_GB.ts @@ -26,7 +26,7 @@ Callback - + File from @@ -39,27 +39,27 @@ Send request - + IPv6 IPv6 - + UDP UDP - + Proxy Proxy - + IP: IP: - + Port: Port: @@ -69,17 +69,22 @@ Online contacts - + HTTP HTTP - + WARNING: using proxy with enabled UDP can produce IP leak + + + Download nodes list from tox.chat + + MainWindow @@ -129,13 +134,13 @@ can produce IP leak - + User {} wants to add you to contact list. Message: {} - + Friend request @@ -170,7 +175,7 @@ can produce IP leak - + Enter new alias for friend {} or leave empty to use friend's name: Enter new alias for friend {} or leave empty to use friend's name: @@ -185,7 +190,7 @@ can produce IP leak Find contact - + Friend added Friend added @@ -197,7 +202,7 @@ Version: Version: - + Friend added without sending friend request Friend added without sending friend request @@ -307,7 +312,7 @@ Version: - + User {} is now known as {} @@ -357,12 +362,12 @@ Version: - + Choose folder with sticker pack - + Choose folder with smiley pack @@ -452,22 +457,22 @@ Version: - + User {} invites you to group chat. Accept? - + Group chat invite - + {} users in chat - + Enter new title for group {}: @@ -518,12 +523,12 @@ Version: NetworkSettings - + Network settings Network settings - + Restart TOX core Restart Tox core @@ -582,42 +587,42 @@ Version: PluginsForm - + Plugins - + Open selected plugin - + No GUI found for this plugin - + No description available - + Disable plugin - + Enable plugin - + No plugins found - + Error @@ -819,24 +824,24 @@ Version: - New in Toxygen 0.3.0:<br>Video calls<br>Python3.6 support<br>Migration to PyQt5 + New in Toxygen 0.4.1:<br>Downloading nodes from tox.chat<br>Bug fixes audioSettingsForm - + Audio settings Audio settings - + Input device: Input device: - + Output device: Output device: @@ -844,32 +849,32 @@ Version: incoming_call - + Incoming video call Incoming video call - + Incoming audio call Incoming audio call - + Outgoing video call - + Outgoing audio call - + Call declined - + Call finished @@ -877,82 +882,82 @@ Version: interfaceForm - + Interface settings - + Theme: - + Language: - + Smileys - + Smiley pack: - + Mirror mode - + Messages font size: - + Restart app to apply settings - + Restart required - + Select unread messages notification color - + Compact contact list - + Import smiley pack - + Import sticker pack - + Show avatars in chat - + Close to tray - + Select font @@ -1033,27 +1038,27 @@ Version: notificationsForm - + Notification settings - + Enable notifications - + Enable call's sound - + Enable sound notifications - + Notify about all messages in groups @@ -1079,72 +1084,72 @@ Version: privacySettings - + Privacy settings - + Save chat history - + Allow file auto accept - + Send typing notifications - + Auto accept default path: - + Change - + Allow inlines - + Chat history - + History will be cleaned! Continue? - + Blocked users: Blocked users: - + Unblock Unblock - + Block user Block user - + Add to friend list Add to friend list - + Do you want to add this user to friend list? Do you want to add this user to friend list? @@ -1154,12 +1159,12 @@ Version: Block by TOX ID: - + Block by public key: - + Save unsent messages only @@ -1200,57 +1205,57 @@ Version: updateSettingsForm - + Update settings - + Select update mode: - + Update Toxygen - + Disabled - + Manual - + Auto - + Error - + Problems with internet connection - + Updater not found - + No updates found - + Toxygen is up to date @@ -1258,22 +1263,22 @@ Version: videoSettingsForm - + Video settings - + Device: - + Desktop - + Select region diff --git a/toxygen/translations/fr_FR.ts b/toxygen/translations/fr_FR.ts index 2beba5b..1931a26 100644 --- a/toxygen/translations/fr_FR.ts +++ b/toxygen/translations/fr_FR.ts @@ -26,7 +26,7 @@ Callback - + File from Fichier de @@ -39,27 +39,27 @@ Envoyer une demande - + IPv6 IPv6 - + UDP UDP - + Proxy Proxy - + IP: IP : - + Port: Port : @@ -69,12 +69,12 @@ Contacts connectés - + HTTP HTTP - + WARNING: using proxy with enabled UDP can produce IP leak @@ -82,6 +82,11 @@ can produce IP leak Utiliser un proxy avec UDP peut entrainer une fuite d'IP + + + Download nodes list from tox.chat + + MainWindow @@ -131,13 +136,13 @@ peut entrainer une fuite d'IP À propos de toxygen - + User {} wants to add you to contact list. Message: {} L'Utilisateur {} veut vous ajouter à sa liste de contacts. Message : {} - + Friend request Demande de contact @@ -182,7 +187,7 @@ peut entrainer une fuite d'IP Retirer ce contact - + Enter new alias for friend {} or leave empty to use friend's name: Entrez un nouvel alias pour le contact {} ou laissez vide pour garder son nom de base : @@ -197,7 +202,7 @@ peut entrainer une fuite d'IP Trouver le contact - + Friend added Contact ajouté @@ -209,7 +214,7 @@ Version: Version : - + Friend added without sending friend request Contact ajouté sans envoi de demande @@ -319,7 +324,7 @@ Version : Sauvegarder - + User {} is now known as {} L'utilisateur {} s'appelle désormais {} @@ -369,12 +374,12 @@ Version : Un profil ayant ce nom existe déjà - + Choose folder with sticker pack Sélectionner le dossier contenant le pack de stickers - + Choose folder with smiley pack Sélectionner le dossier contenant le pack de smileys @@ -464,22 +469,22 @@ Version : Vidéo - + User {} invites you to group chat. Accept? - + Group chat invite - + {} users in chat - + Enter new title for group {}: @@ -530,12 +535,12 @@ Version : NetworkSettings - + Network settings Paramètres réseaux - + Restart TOX core Relancer le noyau Tox @@ -594,42 +599,42 @@ Version : PluginsForm - + Plugins Plugins - + Open selected plugin Ouvrir le plugin sélectionné - + No GUI found for this plugin Pas d'interface pour ce plugin - + No description available Pas de description - + Disable plugin Désactiver le plugin - + Enable plugin Activer le plugin - + No plugins found Pas de plugin trouvé - + Error Erreur @@ -832,23 +837,28 @@ Version : New in Toxygen 0.3.0:<br>Video calls<br>Python3.6 support<br>Migration to PyQt5 - Nouveau dans Toxygen 0.3.0 : <br>Appels vidéo<br>Support de Python3.6<br>Migration vers PyQt5 + Nouveau dans Toxygen 0.3.0 : <br>Appels vidéo<br>Support de Python3.6<br>Migration vers PyQt5 + + + + New in Toxygen 0.4.1:<br>Downloading nodes from tox.chat<br>Bug fixes + audioSettingsForm - + Audio settings Paramètres audio - + Input device: Péripherique d'entrée : - + Output device: Péripherique de sortie : @@ -856,32 +866,32 @@ Version : incoming_call - + Incoming video call Appel vidéo entrant - + Incoming audio call Appel audio entrant - + Outgoing video call Appel vidéo sortant - + Outgoing audio call Appel audio sortant - + Call declined Appel refusé - + Call finished Appel terminé @@ -889,82 +899,82 @@ Version : interfaceForm - + Interface settings Paramètres de l'interface - + Theme: Thème : - + Language: Langue : - + Smileys Smileys - + Smiley pack: Pack de smileys : - + Mirror mode Mode miroir - + Messages font size: Taille des messages : - + Restart app to apply settings Redémarrer toxygen pour appliquer les paramètres - + Restart required Redémarrage nécessaire - + Select unread messages notification color Sélectionner la couleur des messages non-lus - + Compact contact list Liste de contacts compacte - + Import smiley pack Importer un pack de smileys - + Import sticker pack Importer un pack de stickers - + Show avatars in chat Montrer les avatars dans la conversation - + Close to tray Réduire - + Select font Sélectionner la police @@ -1050,27 +1060,27 @@ Version : notificationsForm - + Notification settings Paramètres de notification - + Enable notifications Activer les notifications - + Enable call's sound Activer les sons d'appel - + Enable sound notifications Activer les sons de notifications - + Notify about all messages in groups @@ -1096,72 +1106,72 @@ Version : privacySettings - + Privacy settings Paramètres de confidentialité - + Save chat history Sauvegarder l'historique de conversation - + Allow file auto accept Autoriser les fichier automatiquement - + Send typing notifications Informer de la frappe - + Auto accept default path: Chemin par défaut des fichiers acceptés automatiquement : - + Change Modifier - + Allow inlines Activer l'affichage integré - + Chat history Historique de conversation - + History will be cleaned! Continue? L'Historique va être vidé ! Confirmer ? - + Blocked users: Utilisateurs bloqués : - + Unblock Débloquer - + Block user Bloquer l'utilisateur - + Add to friend list Ajouter à la liste de contacts - + Do you want to add this user to friend list? Voulez vous aajouter cet utilisateur à votre liste de contacts ? @@ -1171,12 +1181,12 @@ Version : Bloquer l'ID TOX : - + Block by public key: Bloquer par clé publique : - + Save unsent messages only Sauvegarder les messages non envoyés uniquement @@ -1217,57 +1227,57 @@ Version : updateSettingsForm - + Update settings Paramètres de mise à jour - + Select update mode: Sélectionner le mode de mise à jour : - + Update Toxygen Mettre à jour toxygen - + Disabled Désactivé - + Manual Manuel - + Auto Automatique - + Error Erreur - + Problems with internet connection Il y à des problèmes avec votre connexion internet - + Updater not found Updater non trouvé - + No updates found Pas de mises à jour trouvés - + Toxygen is up to date Toxygen est à jour @@ -1275,22 +1285,22 @@ Version : videoSettingsForm - + Video settings Paramètres vidéo - + Device: Périphérique : - + Desktop - + Select region diff --git a/toxygen/translations/ru_RU.ts b/toxygen/translations/ru_RU.ts index f8220fe..8d6c63c 100644 --- a/toxygen/translations/ru_RU.ts +++ b/toxygen/translations/ru_RU.ts @@ -1,6 +1,5 @@ - - + AddContact @@ -27,7 +26,7 @@ Callback - + File from Файл от @@ -40,27 +39,27 @@ Отправить запрос - + IPv6 IPv6 - + UDP UDP - + Proxy Прокси - + IP: IP: - + Port: Порт: @@ -70,12 +69,12 @@ Контакты в сети - + HTTP HTTP - + WARNING: using proxy with enabled UDP can produce IP leak @@ -83,6 +82,11 @@ can produce IP leak использование прокси с UDP может привести к утечке IP + + + Download nodes list from tox.chat + + MainWindow @@ -132,14 +136,14 @@ can produce IP leak О программе - + User {} wants to add you to contact list. Message: {} Пользователь {} хочет добавить Вас в список контактов. Сообщение: {} - + Friend request Запрос на добавление в друзья @@ -179,7 +183,7 @@ can produce IP leak Удалить друга - + Enter new alias for friend {} or leave empty to use friend's name: Введите новый псевдоним для друга {} или оставьте пустым для использования его имени: @@ -194,7 +198,7 @@ can produce IP leak Найти контакт - + Friend added Друг добавлен @@ -205,7 +209,7 @@ Version: Toxygen - клиент для мессенджера Tox, написанный на Python. Версия: - + Friend added without sending friend request Друг добавлен без отправки запроса на добавление в друзья @@ -315,7 +319,7 @@ Version: Сохранить - + User {} is now known as {} Пользователь {} сейчас известен как {} @@ -365,12 +369,12 @@ Version: Профиль с данным именем уже существует - + Choose folder with sticker pack Выберите папку в паком стикеров - + Choose folder with smiley pack Выберите папку с паком смайлов @@ -460,22 +464,22 @@ Version: Видео - + User {} invites you to group chat. Accept? Пользователь {} приглашает Вас в групповой чат. Принять приглашение? - + Group chat invite Приглашение в групповой чат - + {} users in chat {} пользователей в чате - + Enter new title for group {}: Введите название для группы {}: @@ -551,12 +555,12 @@ Version: NetworkSettings - + Network settings Настройки сети - + Restart TOX core Перезапустить ядро TOX @@ -615,42 +619,42 @@ Version: PluginsForm - + Plugins Плагины - + Open selected plugin Открыть выбранный плагин - + No GUI found for this plugin GUI для данного плагина не найден - + No description available Описание недоступно - + Disable plugin Отключить плагин - + Enable plugin Включить плагин - + No plugins found Плагины не найдены - + Error Ошибка @@ -903,23 +907,28 @@ Version: New in Toxygen 0.3.0:<br>Video calls<br>Python3.6 support<br>Migration to PyQt5 - Новое в Toxygen 0.3.0:<br>Видеозвонки<br>Поддержка Python3.6<br>Миграция на PyQt5 + Новое в Toxygen 0.3.0:<br>Видеозвонки<br>Поддержка Python3.6<br>Миграция на PyQt5 + + + + New in Toxygen 0.4.1:<br>Downloading nodes from tox.chat<br>Bug fixes + audioSettingsForm - + Audio settings Настройки аудио - + Input device: Устройство ввода: - + Output device: Устройство вывода: @@ -927,32 +936,32 @@ Version: incoming_call - + Incoming video call Входящий видеозвонок - + Incoming audio call Входящий аудиозвонок - + Outgoing video call Исходящий видеозвонок - + Outgoing audio call Исходящий аудиозвонок - + Call declined Звонок отменен - + Call finished Звонок завершен @@ -960,82 +969,82 @@ Version: interfaceForm - + Interface settings Настройки интерфейса - + Theme: Тема: - + Language: Язык: - + Smileys Смайлики - + Smiley pack: Набор смайликов: - + Mirror mode Зеркальный режим - + Messages font size: Размер шрифта сообщений: - + Restart app to apply settings Для применения настроек необходимо перезапустить приложение - + Restart required Требуется перезапуск - + Select unread messages notification color Цвет уведомления о сообщении - + Compact contact list Компактный список контактов - + Import smiley pack Импортировать смайлы - + Import sticker pack Импортировать стикеры - + Show avatars in chat Показывать аватары в чате - + Close to tray Сворачивать в трей - + Select font Выбрать шрифт @@ -1121,28 +1130,28 @@ Version: notificationsForm - + Notification settings Настройки уведомлений - + Enable notifications Включить уведомления - + Enable call's sound Включить звук звонка - + Enable sound notifications Включить звуковые уведомления - + Notify about all messages in groups Уведомлять обо всех сообщениях в группах @@ -1168,72 +1177,72 @@ Version: privacySettings - + Privacy settings Настройки приватности - + Save chat history Сохранять историю переписки - + Allow file auto accept Разрешить автополучение файлов - + Send typing notifications Посылать уведомления о наборе текста - + Auto accept default path: Путь автоприема файлов: - + Change Изменить - + Allow inlines Разрешать инлайны - + Chat history История чата - + History will be cleaned! Continue? История переписки будет очищена! Продолжить? - + Blocked users: Заблокированные пользователи: - + Unblock Разблокировать - + Block user Заблокировать пользователя - + Add to friend list Добавить в список друзей - + Do you want to add this user to friend list? Добавить этого пользователя в список друзей? @@ -1243,12 +1252,12 @@ Version: Блокировать по TOX ID: - + Block by public key: Блокировать по публичному ключу: - + Save unsent messages only Сохранять только неотправленные сообщения @@ -1289,57 +1298,57 @@ Version: updateSettingsForm - + Update settings Обновить настройки - + Select update mode: Выбрать режим обновлений: - + Update Toxygen Обновить Toxygen - + Disabled Отключены - + Manual Вручную - + Auto Автоматически - + Error Ошибка - + Problems with internet connection Проблемы с соединением - + Updater not found Апдейтер не был найден - + No updates found Обновления не найдены - + Toxygen is up to date Toxygen уже обновлен @@ -1347,22 +1356,22 @@ Version: videoSettingsForm - + Video settings Настройки видео - + Device: Устройство: - + Desktop Рабочий стол - + Select region Выберите область diff --git a/toxygen/translations/uk_UA.ts b/toxygen/translations/uk_UA.ts index fb21766..c36ecf0 100644 --- a/toxygen/translations/uk_UA.ts +++ b/toxygen/translations/uk_UA.ts @@ -26,7 +26,7 @@ Callback - + File from @@ -34,32 +34,32 @@ Form - + IP: IP: - + UDP UDP - + HTTP HTTP - + IPv6 IPv6 - + Port: Порт: - + Proxy Проксі @@ -74,12 +74,17 @@ Відправити запит - + WARNING: using proxy with enabled UDP can produce IP leak + + + Download nodes list from tox.chat + + MainWindow @@ -89,7 +94,7 @@ can produce IP leak Про проґраму - + Friend request Запит дружби @@ -104,7 +109,7 @@ can produce IP leak Звук - + Friend added Друга додано @@ -114,7 +119,7 @@ can produce IP leak Надіслати файл - + User {} wants to add you to contact list. Message: {} Користувач {} хоче додати вас до списку контактів. Повідомлення @@ -168,7 +173,7 @@ Version: Обрати файл - + Enter new alias for friend {} or leave empty to use friend's name: Введіть нове скорочення для друга {} або залишіть порожнім, щоб використовувати його псевдо: @@ -178,7 +183,7 @@ Version: Додати контакт - + Friend added without sending friend request Друга додано без надсилання запиту дружби @@ -243,17 +248,17 @@ Version: - + User {} is now known as {} - + Choose folder with sticker pack - + Choose folder with smiley pack @@ -458,22 +463,22 @@ Version: - + User {} invites you to group chat. Accept? - + Group chat invite - + {} users in chat - + Enter new title for group {}: @@ -524,12 +529,12 @@ Version: NetworkSettings - + Network settings Налаштування мережі - + Restart TOX core Перезапустити ядро Tox @@ -588,42 +593,42 @@ Version: PluginsForm - + Plugins - + Open selected plugin - + No GUI found for this plugin - + Error - + No description available - + Disable plugin - + Enable plugin - + No plugins found @@ -808,11 +813,6 @@ Version: Toxygen supports faux offline messages and file transfers. Send message or file to offline friend and he will get it later. - - - New in Toxygen 0.3.0:<br>Video calls<br>Python3.6 support<br>Migration to PyQt5 - - Delete single message in chat: make right click on spinner or message time and choose "Delete" in menu @@ -828,21 +828,26 @@ Version: Set new NoSpam to avoid spam friend requests: Profile -> Settings -> Set new NoSpam. + + + New in Toxygen 0.4.1:<br>Downloading nodes from tox.chat<br>Bug fixes + + audioSettingsForm - + Output device: Пристрій виводу: - + Audio settings Налаштування звуку - + Input device: Пристрій вводу: @@ -850,32 +855,32 @@ Version: incoming_call - + Incoming video call Вхідний відеодзвінок - + Incoming audio call Вхідний аудіодзвінок - + Outgoing video call - + Outgoing audio call - + Call declined - + Call finished @@ -883,82 +888,82 @@ Version: interfaceForm - + Language: Мова: - + Theme: Тема: - + Interface settings Налаштування зовнішнього вигляду - + Show avatars in chat - + Smileys - + Smiley pack: - + Mirror mode - + Messages font size: - + Select unread messages notification color - + Compact contact list - + Import smiley pack - + Import sticker pack - + Close to tray - + Select font - + Restart app to apply settings - + Restart required @@ -1044,27 +1049,27 @@ Version: notificationsForm - + Enable sound notifications Увімкнути звукові сповіщення - + Enable notifications Увімкнути сповіщення - + Notification settings Налаштування сповіщень - + Enable call's sound Увімкнути звук дзвінка - + Notify about all messages in groups @@ -1090,12 +1095,12 @@ Version: privacySettings - + Privacy settings Налаштування приватності - + Add to friend list Додати до списку друзів @@ -1105,72 +1110,72 @@ Version: Блокувати по TOX ID: - + Blocked users: Блоковані користувачі: - + Change Змінити - + Send typing notifications Надсилати сповіщення про те, що я друкую - + Allow file auto accept Дозволити автоприймання файлів - + Allow inlines Дозволити інлайни - + Save chat history Зберігати журнал бесіди - + Block user Блокувати користувача - + Chat history Журнал бесіди - + Unblock Розблокувати - + History will be cleaned! Continue? Журнал буде очищено! Продовжити? - + Auto accept default path: Шлях за замовчуванням для автоприймання: - + Do you want to add this user to friend list? Ви хочете додати цього користувача у список друзів? - + Block by public key: - + Save unsent messages only @@ -1211,57 +1216,57 @@ Version: updateSettingsForm - + Update settings - + Select update mode: - + Update Toxygen - + Disabled - + Manual - + Auto - + Error - + Problems with internet connection - + Updater not found - + No updates found - + Toxygen is up to date @@ -1269,22 +1274,22 @@ Version: videoSettingsForm - + Video settings - + Device: - + Desktop - + Select region