diff --git a/toxygen/translations/en_GB.ts b/toxygen/translations/en_GB.ts index cac12fc..1d39618 100644 --- a/toxygen/translations/en_GB.ts +++ b/toxygen/translations/en_GB.ts @@ -3,22 +3,22 @@ AddContact - + Add contact Add contact - + TOX ID: TOX ID: - + Message: Message: - + TOX ID or public key of contact @@ -34,32 +34,32 @@ Form - + Send request Send request - + IPv6 IPv6 - + UDP UDP - + Proxy Proxy - + IP: IP: - + Port: Port: @@ -69,12 +69,12 @@ Online contacts - + HTTP HTTP - + WARNING: using proxy with enabled UDP can produce IP leak @@ -84,98 +84,98 @@ can produce IP leak MainWindow - + Profile - + Settings - + About - + Add contact - + Privacy - + Interface - + Notifications - + Network - + About program - + 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: - + Audio Audio @@ -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 @@ -217,195 +217,215 @@ Version: Send file - + Send message Send message - + Start audio call with friend Start audio call with friend - + Plugins - + List of plugins - + Search - + All - + Online - + Notes - + Notes about user - + Copy link location - + Copy - + Select all - + Delete - + Paste - + Cut - + Undo - + Redo - + Save - + User {} is now known as {} - + Delete message - + Lock - + Cannot lock app - + Error. Profile password is not set. - + Name - + Status message - + Public key - + Error - + Profile with this name already exists - + Choose folder with sticker pack - + Choose folder with smiley pack - + Import plugin - + Choose folder with plugin - + Restart Toxygen - + Plugin will be loaded after restart - + Quote selected text - + Chat history - + Export as text - + Export as HTML + + + Updates + + + + + Online first + + + + + Online and by name + + + + + Online first and by name + + MenuWindow @@ -458,12 +478,12 @@ Version: NetworkSettings - + Network settings Network settings - + Restart TOX core Restart Tox core @@ -522,42 +542,42 @@ Version: PluginsForm - + Plugins - + Open selected plugin - + No GUI found for this plugin - + No description available - + Disable plugin - + Enable plugin - + No plugins found - + Error @@ -565,132 +585,132 @@ Version: ProfileSettingsForm - + Export profile - + Profile settings - + Name: - + Status: - + TOX ID: - + Copy TOX ID - + New avatar - + Reset avatar - + New NoSpam New NoSpam - + Profile password - + Password (at least 8 symbols) - + Confirm password - + Set password - + Passwords do not match - + Leaving blank will reset current password - + There is no way to recover lost passwords - + Password must be at least 8 symbols - + Choose avatar - + Online - + Away - + Busy - + Mark as not default profile - + Mark as default profile - + Copy public key - + Use new path - + Do you want to move your profile to this location? @@ -759,24 +779,24 @@ Version: - New in Toxygen v0.2.4:<br>File transfers update<br>Autoreconnection<br>Improvements<br>Bug fixes + New in Toxygen v0.2.6:<br>Updater<br>Better contact sorting<br>Plugins improvements audioSettingsForm - + Audio settings Audio settings - + Input device: Input device: - + Output device: Output device: @@ -784,32 +804,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 @@ -817,82 +837,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 @@ -945,40 +965,50 @@ Version: - + Other instance of Toxygen uses this profile or profile was not properly closed. Continue? - + Do you want to set profile password? - + Do you want to save profile in default folder? If no, profile will be saved in program folder + + + Profile saving error! Does Toxygen have permission to write to this directory? + + + + + Update for Toxygen was found. Download and install it? + + notificationsForm - + Notification settings - + Enable notifications - + Enable call's sound - + Enable sound notifications @@ -1004,72 +1034,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? @@ -1079,12 +1109,12 @@ Version: Block by TOX ID: - + Block by public key: - + Save unsent messages only @@ -1092,34 +1122,92 @@ Version: tray - + Open Toxygen - + Exit - + Set status - + Online - + Away - + Busy + + 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 + + + diff --git a/toxygen/translations/fr_FR.ts b/toxygen/translations/fr_FR.ts index 1a212b0..5037b92 100644 --- a/toxygen/translations/fr_FR.ts +++ b/toxygen/translations/fr_FR.ts @@ -3,22 +3,22 @@ AddContact - + Add contact Rajouter un contact - + TOX ID: ID TOX : - + Message: Message : - + TOX ID or public key of contact @@ -34,32 +34,32 @@ Form - + Send request 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 @@ -84,58 +84,58 @@ can produce IP leak MainWindow - + Profile Profile - + Settings Paramêtres - + About À Propos - + Add contact Rajouter un contact - + Privacy Confidentialité - + Interface Interface - + Notifications Notifications - + Network Réseau - + About program À 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,17 +175,17 @@ 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 : - + Audio Audio @@ -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 @@ -227,195 +227,215 @@ Version : Envoyer le fichier - + Send message Envoyer le message - + Start audio call with friend Lancer un appel audio avec un ami - + Plugins - + List of plugins - + Search - + All - + Online - + Notes - + Notes about user - + Copy link location - + Copy - + Select all - + Delete - + Paste - + Cut - + Undo - + Redo - + Save - + User {} is now known as {} - + Delete message - + Lock - + Cannot lock app - + Error. Profile password is not set. - + Name - + Status message - + Public key - + Error - + Profile with this name already exists - + Choose folder with sticker pack - + Choose folder with smiley pack - + Import plugin - + Choose folder with plugin - + Restart Toxygen - + Plugin will be loaded after restart - + Quote selected text - + Chat history Historique de chat - + Export as text - + Export as HTML + + + Updates + + + + + Online first + + + + + Online and by name + + + + + Online first and by name + + MenuWindow @@ -468,12 +488,12 @@ Version : NetworkSettings - + Network settings Paramètres réseaux - + Restart TOX core Relancer le noyau TOX @@ -532,42 +552,42 @@ Version : PluginsForm - + Plugins - + Open selected plugin - + No GUI found for this plugin - + No description available - + Disable plugin - + Enable plugin - + No plugins found - + Error @@ -575,132 +595,132 @@ Version : ProfileSettingsForm - + Export profile Exporter le profile - + Profile settings Paramêtres du profil - + Name: Nom : - + Status: Status : - + TOX ID: ID TOX : - + Copy TOX ID Copier l'ID TOX - + New avatar Nouvel avatar - + Reset avatar Réinitialiser l'avatar - + New NoSpam Nouveau NoSpam - + Profile password - + Password (at least 8 symbols) - + Confirm password - + Set password - + Passwords do not match - + Leaving blank will reset current password - + There is no way to recover lost passwords - + Password must be at least 8 symbols - + Choose avatar - + Online - + Away - + Busy - + Mark as not default profile - + Mark as default profile - + Copy public key Copier la clé publique - + Use new path - + Do you want to move your profile to this location? @@ -769,24 +789,24 @@ Version : - New in Toxygen v0.2.4:<br>File transfers update<br>Autoreconnection<br>Improvements<br>Bug fixes + New in Toxygen v0.2.6:<br>Updater<br>Better contact sorting<br>Plugins improvements audioSettingsForm - + Audio settings Paramètres audio - + Input device: Péripherique d'entrée : - + Output device: Péripherique de sortie : @@ -794,32 +814,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 @@ -827,82 +847,82 @@ 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 - + Close to tray - + Select font @@ -960,40 +980,50 @@ Version : - + Other instance of Toxygen uses this profile or profile was not properly closed. Continue? - + Do you want to set profile password? - + Do you want to save profile in default folder? If no, profile will be saved in program folder + + + Profile saving error! Does Toxygen have permission to write to this directory? + + + + + Update for Toxygen was found. Download and install it? + + 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 @@ -1019,72 +1049,72 @@ Version : privacySettings - + Privacy settings Paramêtres de confidentialité - + Save chat history Sauvegarder l'historique de chat - + Allow file auto accept Autoriser les fichier automatiquement - + Send typing notifications Notifier la frappe - + Auto accept default path: Chemin d'accès des fichiers acceptés automatiquement : - + Change Modifier - + Allow inlines Activer l'auto-réception - + Chat history Historique de chat - + History will be cleaned! Continue? L'Historique va être nettoyé ! Confirmer ? - + Blocked users: Utilisateurs bloqués : - + Unblock Débloquer - + Block user Bloquer l'utilisateur - + Add to friend list Ajouter à la liste des amis - + Do you want to add this user to friend list? Voulez vous rajouter cet utilisateur à votre liste d'amis ? @@ -1094,12 +1124,12 @@ Version : Bloquer l'ID TOX : - + Block by public key: - + Save unsent messages only @@ -1107,34 +1137,92 @@ Version : tray - + Open Toxygen Ouvrir Toxygen - + Exit Quitter - + Set status - + Online - + Away - + Busy + + 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 + + + diff --git a/toxygen/translations/ru_RU.qm b/toxygen/translations/ru_RU.qm index 6019373..55cbd4d 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 ded4ecd..2c2f895 100644 --- a/toxygen/translations/ru_RU.ts +++ b/toxygen/translations/ru_RU.ts @@ -4,22 +4,22 @@ AddContact - + Add contact Добавить контакт - + TOX ID: TOX ID: - + Message: Сообщение: - + TOX ID or public key of contact TOX ID или публичный ключ контакта @@ -35,32 +35,32 @@ Form - + Send request Отправить запрос - + IPv6 IPv6 - + UDP UDP - + Proxy Прокси - + IP: IP: - + Port: Порт: @@ -70,12 +70,12 @@ Контакты в сети - + HTTP HTTP - + WARNING: using proxy with enabled UDP can produce IP leak @@ -87,84 +87,84 @@ can produce IP leak MainWindow - + Profile Профиль - + Settings Настройки - + About О программе - + Add contact Добавить контакт - + Privacy Приватность - + Interface Интерфейс - + Notifications Уведомления - + Network Сеть - + About program О программе - + User {} wants to add you to contact list. Message: {} Пользователь {} хочет добавить Вас в список контактов. Сообщение: {} - + Friend request Запрос на добавление в друзья - + Choose file Выберите файл - + Disallow auto accept Запретить автоматическое получение файлов - + Allow auto accept Разрешить автоматическое получение файлов - + Set alias Изменить псевдоним - + Clear history Очистить историю @@ -174,17 +174,17 @@ can produce IP leak Копировать публичный ключ - + Remove friend Удалить друга - + Enter new alias for friend {} or leave empty to use friend's name: Введите новый псевдоним для друга {} или оставьте пустым для использования его имени: - + Audio Аудио @@ -194,23 +194,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 Выбрать папку @@ -225,195 +225,215 @@ Version: Отправить файл - + Send message Отправить сообщение - + Start audio call with friend Начать аудиозвонок с другом - + Plugins Плагины - + List of plugins Список плагинов - + Search Поиск - + All Все - + Online Онлайн - + Notes Заметки - + Notes about user Заметки о пользователе - + Copy link location Копировать адрес ссылки - + Copy Копировать - + Select all Выделить всё - + Delete Удалить - + Paste Вставить - + Cut Вырезать - + Undo Отменить - + Redo Повторить - + Save Сохранить - + User {} is now known as {} Пользователь {} сейчас известен как {} - + Delete message Удалить сообщение - + Lock Заблокировать - + Cannot lock app Невозможно заблокировать приложение - + Error. Profile password is not set. Ошибка. Пароль профиля не установлен. - + Name Имя - + Status message Статус - + Public key Публичный ключ - + Error Ошибка - + Profile with this name already exists Профиль с данным именем уже существует - + Choose folder with sticker pack Выберите папку в паком стикеров - + Choose folder with smiley pack Выберите папку с паком смайлов - + Import plugin Импортировать плагин - + Choose folder with plugin Выберите папку с плагином - + Restart Toxygen Перезапустите Toxygen - + Plugin will be loaded after restart Плагин будет загружен после перезапуска - + Quote selected text Цитировать выбранный текст - + Chat history История чата - + Export as text Экспортировать как текст - + Export as HTML Экспортировать как HTML + + + Updates + Обновления + + + + Online first + Сначала онлайн + + + + Online and by name + Онлайн и по имени + + + + Online first and by name + Сначала онлайн и по имени + MenuWindow @@ -466,12 +486,12 @@ Version: NetworkSettings - + Network settings Настройки сети - + Restart TOX core Перезапустить ядро TOX @@ -530,42 +550,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 Ошибка @@ -573,32 +593,32 @@ Version: ProfileSettingsForm - + Export profile Экспорт профиля - + Profile settings Настройки профиля - + Name: Имя: - + Status: Статус: - + TOX ID: TOX ID: - + Copy TOX ID Копировать TOX ID @@ -608,102 +628,102 @@ Version: Язык: - + New avatar Новый аватар - + Reset avatar Сбросить аватар - + New NoSpam Новый NoSpam - + Profile password Пароль профиля - + Password (at least 8 symbols) Пароль (минимум 8 символов) - + Confirm password Подтверждение пароля - + Set password Изменить пароль - + Passwords do not match Пароли не совпадают - + Leaving blank will reset current password Пустое поле сбросит текущий пароль - + There is no way to recover lost passwords Восстановление забытых паролей не поддерживается - + Password must be at least 8 symbols Пароль должен быть длиной не менее 8 символов - + Choose avatar Выбрать аватар - + Online Онлайн - + Away Нет на месте - + Busy Занят - + Mark as not default profile Отключить автозагрузку профиля - + Mark as default profile Сделать профилем по умолчанию - + Copy public key Копировать публичный ключ - + Use new path Использовать новый путь - + Do you want to move your profile to this location? Вы хотите переместить ваш профиль в эту папку? @@ -803,23 +823,28 @@ Version: New in Toxygen v0.2.4:<br>File transfers update<br>Autoreconnection<br>Improvements<br>Bug fixes - Новое в Toxygen v0.2.4:<br>Передача файлов обновлена<br>Автопереподключение<br>Улучшения<br>Исправления ошибок + Новое в Toxygen v0.2.4:<br>Передача файлов обновлена<br>Автопереподключение<br>Улучшения<br>Исправления ошибок + + + + New in Toxygen v0.2.6:<br>Updater<br>Better contact sorting<br>Plugins improvements + Новое в Toxygen v0.2.6:<br>Поддержка обновлений<br>Улучшенная сортировка контактов<br>Улучшения в работе плагинов audioSettingsForm - + Audio settings Настройки аудио - + Input device: Устройство ввода: - + Output device: Устройство вывода: @@ -827,32 +852,32 @@ Version: incoming_call - + Incoming video call Входящий видеозвонок - + Incoming audio call Входящий аудиозвонок - + Outgoing video call Исходящий видеозвонок - + Outgoing audio call Исходящий аудиозвонок - + Call declined Звонок отменен - + Call finished Звонок завершен @@ -860,82 +885,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 Выбрать шрифт @@ -993,40 +1018,50 @@ Version: Имя профиля - + Other instance of Toxygen uses this profile or profile was not properly closed. Continue? Этот профиль используется другим экземпляром Toxygen или не был правильно закрыт. Продолжить? - + Do you want to set profile password? Хотите ли вы установить пароль профиля? - + Do you want to save profile in default folder? If no, profile will be saved in program folder Вы хотите сохранить профиль в папку по умолчанию? Если нет, профиль будет сохранен в папке с программой + + + Profile saving error! Does Toxygen have permission to write to this directory? + Ошибка сохранения профиля! Toxygen имеет разрешение на запись в данную папку? + + + + Update for Toxygen was found. Download and install it? + Обновление для Toxygen было найдено. Загрузить и установить его? + notificationsForm - + Notification settings Настройки уведомлений - + Enable notifications Включить уведомления - + Enable call's sound Включить звук звонка - + Enable sound notifications Включить звуковые уведомления @@ -1053,72 +1088,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? Добавить этого пользователя в список друзей? @@ -1128,12 +1163,12 @@ Version: Блокировать по TOX ID: - + Block by public key: Блокировать по публичному ключу: - + Save unsent messages only Сохранять только неотправленные сообщения @@ -1141,34 +1176,92 @@ Version: tray - + Open Toxygen Открыть Toxygen - + Exit Выход - + Set status Изменить статус - + Online Онлайн - + Away Нет на месте - + Busy Занят + + 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 уже обновлен + + diff --git a/toxygen/updater.py b/toxygen/updater.py index 5684359..e7cd1c2 100644 --- a/toxygen/updater.py +++ b/toxygen/updater.py @@ -49,7 +49,12 @@ def get_url(version): if is_from_sources(): return 'https://github.com/toxygen-project/toxygen/archive/v' + version + '.zip' else: - name = 'toxygen_windows.zip' if platform.system() == 'Windows' else 'toxygen_linux.tar.gz' + if platform.system() == 'Windows': + name = 'toxygen_windows.zip' + elif util.is_64_bit(): + name = 'toxygen_linux_64.tar.gz' + else: + name = 'toxygen_linux.tar.gz' return 'https://github.com/toxygen-project/toxygen/releases/download/v{}/{}'.format(version, name) @@ -67,6 +72,7 @@ def download(version): url = get_url(version) params = get_params(url, version) print('Updating Toxygen') + util.log('Updating Toxygen') try: subprocess.Popen(params) except Exception as ex: