diff --git a/src/main.py b/src/main.py
index d4936b7..59fd38d 100644
--- a/src/main.py
+++ b/src/main.py
@@ -101,6 +101,9 @@ class Toxygen:
ProfileHelper(Settings.get_default_path(), name).save_profile(self.tox.get_savedata())
path = Settings.get_default_path()
settings = Settings(name)
+ if curr_lang in langs:
+ settings['language'] = curr_lang
+ settings.save()
else: # load existing profile
path, name = _login.get_data()
if _login.default:
@@ -121,7 +124,7 @@ class Toxygen:
if Settings.is_active_profile(path, name): # profile is in use
reply = QtGui.QMessageBox.question(None,
'Profile {}'.format(name),
- QtGui.QApplication.translate("login", 'Looks like other instance of Toxygen uses this profile! Continue?', None, QtGui.QApplication.UnicodeUTF8),
+ QtGui.QApplication.translate("login", 'Other instance of Toxygen uses this profile or profile was not properly closed. Continue?', None, QtGui.QApplication.UnicodeUTF8),
QtGui.QMessageBox.Yes,
QtGui.QMessageBox.No)
if reply != QtGui.QMessageBox.Yes:
diff --git a/src/translations/en_GB.ts b/src/translations/en_GB.ts
index e6df02a..ece01c4 100644
--- a/src/translations/en_GB.ts
+++ b/src/translations/en_GB.ts
@@ -39,27 +39,27 @@
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,103 +84,103 @@ 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
-
+
Copy public key
-
+
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
@@ -190,24 +190,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
@@ -222,47 +222,47 @@ 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
@@ -312,7 +312,7 @@ Version:
-
+
User {} is now known as {}
@@ -321,6 +321,21 @@ Version:
Delete message
+
+
+ Lock
+
+
+
+
+ Cannot lock app
+
+
+
+
+ Error. Profile password is not set.
+
+
MenuWindow
@@ -373,12 +388,12 @@ Version:
NetworkSettings
-
+
Network settings
Network settings
-
+
Restart TOX core
Restart Tox core
@@ -399,42 +414,42 @@ Version:
PluginsForm
-
+
Plugins
-
+
Open selected plugin
-
+
No GUI found for this plugin
-
+
No description available
-
+
Disable plugin
-
+
Enable plugin
-
+
No plugins found
-
+
Error
@@ -560,17 +575,17 @@ Version:
audioSettingsForm
-
+
Audio settings
Audio settings
-
+
Input device:
Input device:
-
+
Output device:
Output device:
@@ -578,32 +593,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
@@ -611,55 +626,60 @@ 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
+
+
login
@@ -703,36 +723,36 @@ Version:
toxygen
-
-
- Looks like other instance of Toxygen uses this profile! Continue?
-
-
Profile name
+
+
+ Other instance of Toxygen uses this profile or profile was not properly closed. Continue?
+
+
notificationsForm
-
+
Notification settings
-
+
Enable notifications
-
+
Enable call's sound
-
+
Enable sound notifications
@@ -740,72 +760,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?
@@ -815,12 +835,12 @@ Version:
Block by TOX ID:
-
+
Block by public key:
-
+
Save unsent messages only
@@ -828,32 +848,32 @@ Version:
tray
-
+
Open Toxygen
-
+
Exit
-
+
Set status
-
+
Online
-
+
Away
-
+
Busy
diff --git a/src/translations/fr_FR.ts b/src/translations/fr_FR.ts
index 544d34b..48998fa 100644
--- a/src/translations/fr_FR.ts
+++ b/src/translations/fr_FR.ts
@@ -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
@@ -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,47 +145,47 @@ 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
-
+
Copy public key
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,47 +227,47 @@ 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
@@ -317,7 +317,7 @@ Version :
-
+
User {} is now known as {}
@@ -326,6 +326,21 @@ Version :
Delete message
+
+
+ Lock
+
+
+
+
+ Cannot lock app
+
+
+
+
+ Error. Profile password is not set.
+
+
MenuWindow
@@ -378,12 +393,12 @@ Version :
NetworkSettings
-
+
Network settings
Paramètres réseaux
-
+
Restart TOX core
Relancer le noyau TOX
@@ -404,42 +419,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,17 +580,17 @@ Version :
audioSettingsForm
-
+
Audio settings
Paramètres audio
-
+
Input device:
Péripherique d'entrée :
-
+
Output device:
Péripherique de sortie :
@@ -583,32 +598,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
@@ -616,55 +631,60 @@ 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
+
+
login
@@ -711,33 +731,38 @@ Version :
Looks like other instance of Toxygen uses this profile! Continue?
- Il semble qu'une autre instance de Toxygen utilise ce profil ! Continuer ?
+ Il semble qu'une autre instance de Toxygen utilise ce profil ! Continuer ?
Profile name
+
+
+ Other instance of Toxygen uses this profile or profile was not properly closed. Continue?
+
+
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
@@ -745,72 +770,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 ?
@@ -820,12 +845,12 @@ Version :
Bloquer l'ID TOX :
-
+
Block by public key:
-
+
Save unsent messages only
@@ -833,32 +858,32 @@ Version :
tray
-
+
Open Toxygen
Ouvrir Toxygen
-
+
Exit
Quitter
-
+
Set status
-
+
Online
-
+
Away
-
+
Busy
diff --git a/src/translations/ru_RU.qm b/src/translations/ru_RU.qm
index 64b1d3e..1208cf7 100644
Binary files a/src/translations/ru_RU.qm and b/src/translations/ru_RU.qm differ
diff --git a/src/translations/ru_RU.ts b/src/translations/ru_RU.ts
index d6e64a4..2da3894 100644
--- a/src/translations/ru_RU.ts
+++ b/src/translations/ru_RU.ts
@@ -40,27 +40,27 @@
Отправить запрос
-
+
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,104 +87,104 @@ 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
Очистить историю
-
+
Copy public key
Копировать публичный ключ
-
+
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,47 +225,47 @@ Version:
Отправить файл
-
+
Send message
Отправить сообщение
-
+
Start audio call with friend
Начать аудиозвонок с другом
-
+
Plugins
Плагины
-
+
List of plugins
Список плагинов
-
+
Search
Поиск
-
+
All
Все
-
+
Online
Онлайн
-
+
Notes
Заметки
-
+
Notes about user
Заметки о пользователе
@@ -315,7 +315,7 @@ Version:
Сохранить
-
+
User {} is now known as {}
Пользователь {} сейчас известен как {}
@@ -324,6 +324,21 @@ Version:
Delete message
Удалить сообщение
+
+
+ Lock
+ Заблокировать
+
+
+
+ Cannot lock app
+ Невозможно заблокировать приложение
+
+
+
+ Error. Profile password is not set.
+ Ошибка. Пароль профиля не установлен.
+
MenuWindow
@@ -376,12 +391,12 @@ Version:
NetworkSettings
-
+
Network settings
Настройки сети
-
+
Restart TOX core
Перезапустить ядро TOX
@@ -402,42 +417,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
Ошибка
@@ -568,17 +583,17 @@ Version:
audioSettingsForm
-
+
Audio settings
Настройки аудио
-
+
Input device:
Устройство ввода:
-
+
Output device:
Устройство вывода:
@@ -586,32 +601,32 @@ Version:
incoming_call
-
+
Incoming video call
Входящий видеозвонок
-
+
Incoming audio call
Входящий аудиозвонок
-
+
Outgoing video call
Исходящий видеозвонок
-
+
Outgoing audio call
Исходящий аудиозвонок
-
+
Call declined
Звонок отменен
-
+
Call finished
Звонок завершен
@@ -619,55 +634,60 @@ 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
+ Компактный список контактов
+
login
@@ -714,33 +734,38 @@ Version:
Looks like other instance of Toxygen uses this profile! Continue?
- Похоже, что этот профиль используется другим экземпляром Toxygen! Продолжить?
+ Похоже, что этот профиль используется другим экземпляром Toxygen! Продолжить?
Profile name
Имя профиля
+
+
+ Other instance of Toxygen uses this profile or profile was not properly closed. Continue?
+ Этот профиль используется другим экземпляром Toxygen или не был правильно закрыт. Продолжить?
+
notificationsForm
-
+
Notification settings
Настройки уведомлений
-
+
Enable notifications
Включить уведомления
-
+
Enable call's sound
Включить звук звонка
-
+
Enable sound notifications
Включить звуковые уведомления
@@ -749,72 +774,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?
Добавить этого пользователя в список друзей?
@@ -824,12 +849,12 @@ Version:
Блокировать по TOX ID:
-
+
Block by public key:
Блокировать по публичному ключу
-
+
Save unsent messages only
Сохранять только неотправленные сообщения
@@ -837,32 +862,32 @@ Version:
tray
-
+
Open Toxygen
Открыть Toxygen
-
+
Exit
Выход
-
+
Set status
Изменить статус
-
+
Online
Онлайн
-
+
Away
Нет на месте
-
+
Busy
Занят