diff --git a/MANIFEST.in b/MANIFEST.in index 851e0b6..9bf65b8 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -10,6 +10,8 @@ include toxygen/smileys/animated/config.json include toxygen/smileys/starwars/*.gif include toxygen/smileys/starwars/*.png include toxygen/smileys/starwars/config.json +include toxygen/smileys/ksk/*.png +include toxygen/smileys/ksk/config.json include toxygen/styles/style.qss include toxygen/translations/*.qm include toxygen/libs/libtox.dll diff --git a/toxygen/mainscreen_widgets.py b/toxygen/mainscreen_widgets.py index fb21b3e..041658b 100644 --- a/toxygen/mainscreen_widgets.py +++ b/toxygen/mainscreen_widgets.py @@ -330,7 +330,7 @@ class WelcomeScreen(CenteredWidget): self.setWindowTitle(QtGui.QApplication.translate('WelcomeScreen', 'Tip of the day', None, QtGui.QApplication.UnicodeUTF8)) import random - num = random.randint(0, 8) + num = random.randint(0, 10) if num == 0: text = QtGui.QApplication.translate('WelcomeScreen', 'Press Esc if you want hide app to tray.', None, QtGui.QApplication.UnicodeUTF8) @@ -362,6 +362,14 @@ class WelcomeScreen(CenteredWidget): text = QtGui.QApplication.translate('WelcomeScreen', 'Toxygen supports faux offline messages and file transfers. Send message or file to offline friend and he will get it later.', None, QtGui.QApplication.UnicodeUTF8) + elif num == 8: + text = QtGui.QApplication.translate('WelcomeScreen', + 'Delete single message in chat: make right click on spinner or message time and choose "Delete" in menu', + None, QtGui.QApplication.UnicodeUTF8) + elif num == 9: + text = QtGui.QApplication.translate('WelcomeScreen', + 'Use right click on inline image to save it', + None, QtGui.QApplication.UnicodeUTF8) else: text = QtGui.QApplication.translate('WelcomeScreen', 'Set new NoSpam to avoid spam friend requests: Profile -> Settings -> Set new NoSpam.', diff --git a/toxygen/translations/en_GB.ts b/toxygen/translations/en_GB.ts index ca4dc6e..a50fd4c 100644 --- a/toxygen/translations/en_GB.ts +++ b/toxygen/translations/en_GB.ts @@ -94,7 +94,7 @@ can produce IP leak - + About @@ -129,48 +129,48 @@ can produce IP leak - + User {} wants to add you to contact list. Message: {} - + Friend request - + Choose file Choose file - + Disallow auto accept - + Allow auto accept - + Set alias - + Clear history - + Remove friend - + 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,24 +185,24 @@ can produce IP leak Find contact - + Friend added Friend added - + Toxygen is Tox client written on Python. Version: Toxygen is Tox client written on Python. Version: - + Friend added without sending friend request Friend added without sending friend request - + Choose folder Choose folder @@ -227,7 +227,7 @@ Version: Start audio call with friend - + Plugins @@ -252,12 +252,12 @@ Version: - + Notes - + Notes about user @@ -307,7 +307,7 @@ Version: - + User {} is now known as {} @@ -322,27 +322,27 @@ Version: - + Cannot lock app - + Error. Profile password is not set. - + Name - + Status message - + Public key @@ -357,12 +357,12 @@ Version: - + Choose folder with sticker pack - + Choose folder with smiley pack @@ -372,17 +372,17 @@ Version: - + Choose folder with plugin - + Restart Toxygen - + Plugin will be loaded after restart @@ -464,42 +464,42 @@ Version: PluginsForm - + Plugins - + Open selected plugin - + No GUI found for this plugin - + No description available - + Disable plugin - + Enable plugin - + No plugins found - + Error @@ -675,7 +675,7 @@ Version: - + Set new NoSpam to avoid spam friend requests: Profile -> Settings -> Set new NoSpam. @@ -684,21 +684,31 @@ Version: New in Toxygen v0.2.3:<br>TCS compliance<br>Plugins, smileys and stickers import<br>Bug fixes + + + Delete single message in chat: make right click on spinner or message time and choose "Delete" in menu + + + + + Use right click on inline image to save it + + audioSettingsForm - + Audio settings Audio settings - + Input device: Input device: - + Output device: Output device: @@ -706,32 +716,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 @@ -739,70 +749,75 @@ 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 + + login diff --git a/toxygen/translations/fr_FR.ts b/toxygen/translations/fr_FR.ts index 78c76cb..a547576 100644 --- a/toxygen/translations/fr_FR.ts +++ b/toxygen/translations/fr_FR.ts @@ -94,7 +94,7 @@ can produce IP leak Paramêtres - + About À Propos @@ -129,13 +129,13 @@ can produce IP leak À propos du programme - + User {} wants to add you to contact list. Message: {} L'Utilisateur {} veut vout rajouter à sa liste de contacts. Message : {} - + Friend request Demande d'amis @@ -145,27 +145,27 @@ can produce IP leak Toxygen est un client Tox écris en Python 2.7. Version : - + Choose file Choisir un fichier - + Disallow auto accept Désactiver l'auto-réception - + Allow auto accept Activer l'auto-réception - + Set alias Définir un alias - + Clear history Vider l'historique @@ -175,12 +175,12 @@ can produce IP leak Copier la clé publique - + Remove friend Retirer un ami - + Enter new alias for friend {} or leave empty to use friend's name: Entrez un nouvel alias pour l'ami {} ou laissez vide pour garder son nom de base : @@ -195,24 +195,24 @@ can produce IP leak Trouver le contact - + Friend added Ami rajouté - + Toxygen is Tox client written on Python. Version: Toxygen est un client Tox écrit en Python. Version : - + Friend added without sending friend request Ami rajouté sans avoir envoyé de demande - + Choose folder Choisir le dossier @@ -237,7 +237,7 @@ Version : Lancer un appel audio avec un ami - + Plugins @@ -262,12 +262,12 @@ Version : - + Notes - + Notes about user @@ -317,7 +317,7 @@ Version : - + User {} is now known as {} @@ -332,27 +332,27 @@ Version : - + Cannot lock app - + Error. Profile password is not set. - + Name - + Status message - + Public key @@ -367,12 +367,12 @@ Version : - + Choose folder with sticker pack - + Choose folder with smiley pack @@ -382,17 +382,17 @@ Version : - + Choose folder with plugin - + Restart Toxygen - + Plugin will be loaded after restart @@ -474,42 +474,42 @@ Version : PluginsForm - + Plugins - + Open selected plugin - + No GUI found for this plugin - + No description available - + Disable plugin - + Enable plugin - + No plugins found - + Error @@ -685,7 +685,7 @@ Version : - + Set new NoSpam to avoid spam friend requests: Profile -> Settings -> Set new NoSpam. @@ -694,21 +694,31 @@ Version : New in Toxygen v0.2.3:<br>TCS compliance<br>Plugins, smileys and stickers import<br>Bug fixes + + + Delete single message in chat: make right click on spinner or message time and choose "Delete" in menu + + + + + Use right click on inline image to save it + + audioSettingsForm - + Audio settings Paramètres audio - + Input device: Péripherique d'entrée : - + Output device: Péripherique de sortie : @@ -716,32 +726,32 @@ Version : incoming_call - + Incoming video call Appel vidéo entrant - + Incoming audio call Appel audio entrant - + Outgoing video call - + Outgoing audio call - + Call declined - + Call finished @@ -749,70 +759,75 @@ Version : interfaceForm - + Interface settings Paramêtres de l'interface - + Theme: Thème : - + Language: Langue : - + 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 + + login diff --git a/toxygen/translations/ru_RU.qm b/toxygen/translations/ru_RU.qm index 9e6d1cc..f8a1019 100644 Binary files a/toxygen/translations/ru_RU.qm and b/toxygen/translations/ru_RU.qm differ diff --git a/toxygen/translations/ru_RU.ts b/toxygen/translations/ru_RU.ts index 155848e..5664f77 100644 --- a/toxygen/translations/ru_RU.ts +++ b/toxygen/translations/ru_RU.ts @@ -1,6 +1,5 @@ - - + AddContact @@ -97,7 +96,7 @@ can produce IP leak Настройки - + About О программе @@ -132,39 +131,39 @@ can produce IP leak О программе - + User {} wants to add you to contact list. Message: {} Пользователь {} хочет добавить Вас в список контактов. Сообщение: {} - + Friend request Запрос на добавление в друзья - + Choose file Выберите файл - + Disallow auto accept Запретить автоматическое получение файлов - + Allow auto accept Разрешить автоматическое получение файлов - + Set alias Изменить псевдоним - + Clear history Очистить историю @@ -174,12 +173,12 @@ can produce IP leak Копировать публичный ключ - + Remove friend Удалить друга - + Enter new alias for friend {} or leave empty to use friend's name: Введите новый псевдоним для друга {} или оставьте пустым для использования его имени: @@ -194,23 +193,23 @@ can produce IP leak Найти контакт - + Friend added Друг добавлен - + Toxygen is Tox client written on Python. Version: Toxygen - клиент для мессенджера Tox, написанный на Python. Версия: - + Friend added without sending friend request Друг добавлен без отправки запроса на добавление в друзья - + Choose folder Выбрать папку @@ -235,7 +234,7 @@ Version: Начать аудиозвонок с другом - + Plugins Плагины @@ -260,12 +259,12 @@ Version: Онлайн - + Notes Заметки - + Notes about user Заметки о пользователе @@ -315,7 +314,7 @@ Version: Сохранить - + User {} is now known as {} Пользователь {} сейчас известен как {} @@ -330,27 +329,27 @@ Version: Заблокировать - + Cannot lock app Невозможно заблокировать приложение - + Error. Profile password is not set. Ошибка. Пароль профиля не установлен. - + Name Имя - + Status message Статус - + Public key Публичный ключ @@ -365,12 +364,12 @@ Version: Профиль с данным именем уже существует - + Choose folder with sticker pack Выберите папку в паком стикеров - + Choose folder with smiley pack Выберите папку с паком смайлов @@ -380,17 +379,17 @@ Version: Импортировать плагин - + Choose folder with plugin Выберите папку с плагином - + Restart Toxygen Перезапустите Toxygen - + Plugin will be loaded after restart Плагин будет загружен после перезапуска @@ -472,42 +471,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 Ошибка @@ -713,7 +712,7 @@ Version: Toxygen поддерживает псевдооффлайн сообщения и файл трансферы. - + Set new NoSpam to avoid spam friend requests: Profile -> Settings -> Set new NoSpam. Установите новый NoSpam, чтобы избежать спам запросов в друзья: Профиль->Настройки->Новый NoSpam. @@ -722,21 +721,31 @@ Version: New in Toxygen v0.2.3:<br>TCS compliance<br>Plugins, smileys and stickers import<br>Bug fixes Новое в Toxygen 0.2.3:<br>Соответствие TCS<br>Импорт плагинов, смайлов и стикеров<br>Исправления ошибок + + + Delete single message in chat: make right click on spinner or message time and choose "Delete" in menu + Чтобы удалить отдельное сообщение в чате сделайте правый клик на спиннер или время сообщения и выберите "Удалить" в меню + + + + Use right click on inline image to save it + Правый клик на инлайн изображении позволит сохранить его + audioSettingsForm - + Audio settings Настройки аудио - + Input device: Устройство ввода: - + Output device: Устройство вывода: @@ -744,32 +753,32 @@ Version: incoming_call - + Incoming video call Входящий видеозвонок - + Incoming audio call Входящий аудиозвонок - + Outgoing video call Исходящий видеозвонок - + Outgoing audio call Исходящий аудиозвонок - + Call declined Звонок отменен - + Call finished Звонок завершен @@ -777,70 +786,75 @@ 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 + Показывать аватары в чате + login diff --git a/toxygen/util.py b/toxygen/util.py index 471e850..5b078fb 100644 --- a/toxygen/util.py +++ b/toxygen/util.py @@ -2,7 +2,7 @@ import os import time import shutil -program_version = '0.2.2' +program_version = '0.2.3' def log(data):