diff --git a/src/menu.py b/src/menu.py
index bfcbccd..8db9505 100644
--- a/src/menu.py
+++ b/src/menu.py
@@ -360,16 +360,16 @@ class PrivacySettings(CenteredWidget):
def initUI(self):
self.setObjectName("privacySettings")
- self.resize(350, 600)
- self.setMinimumSize(QtCore.QSize(350, 600))
- self.setMaximumSize(QtCore.QSize(350, 600))
+ self.resize(370, 600)
+ self.setMinimumSize(QtCore.QSize(370, 600))
+ self.setMaximumSize(QtCore.QSize(370, 600))
self.saveHistory = QtGui.QCheckBox(self)
- self.saveHistory.setGeometry(QtCore.QRect(10, 20, 291, 22))
+ self.saveHistory.setGeometry(QtCore.QRect(10, 20, 350, 22))
self.saveUnsentOnly = QtGui.QCheckBox(self)
- self.saveUnsentOnly.setGeometry(QtCore.QRect(10, 60, 291, 22))
+ self.saveUnsentOnly.setGeometry(QtCore.QRect(10, 60, 350, 22))
self.fileautoaccept = QtGui.QCheckBox(self)
- self.fileautoaccept.setGeometry(QtCore.QRect(10, 100, 271, 22))
+ self.fileautoaccept.setGeometry(QtCore.QRect(10, 100, 350, 22))
self.typingNotifications = QtGui.QCheckBox(self)
self.typingNotifications.setGeometry(QtCore.QRect(10, 140, 350, 30))
@@ -380,7 +380,7 @@ class PrivacySettings(CenteredWidget):
self.path = QtGui.QPlainTextEdit(self)
self.path.setGeometry(QtCore.QRect(10, 265, 330, 45))
self.change_path = QtGui.QPushButton(self)
- self.change_path.setGeometry(QtCore.QRect(10, 320, 330, 30))
+ self.change_path.setGeometry(QtCore.QRect(10, 320, 350, 30))
settings = Settings.get_instance()
self.typingNotifications.setChecked(settings['typing_notifications'])
self.fileautoaccept.setChecked(settings['allow_auto_accept'])
@@ -392,19 +392,19 @@ class PrivacySettings(CenteredWidget):
self.path.setPlainText(settings['auto_accept_path'] or curr_directory())
self.change_path.clicked.connect(self.new_path)
self.block_user_label = QtGui.QLabel(self)
- self.block_user_label.setGeometry(QtCore.QRect(10, 360, 330, 30))
+ self.block_user_label.setGeometry(QtCore.QRect(10, 360, 350, 30))
self.block_id = QtGui.QPlainTextEdit(self)
- self.block_id.setGeometry(QtCore.QRect(10, 390, 330, 30))
+ self.block_id.setGeometry(QtCore.QRect(10, 390, 350, 30))
self.block = QtGui.QPushButton(self)
- self.block.setGeometry(QtCore.QRect(10, 430, 330, 30))
+ self.block.setGeometry(QtCore.QRect(10, 430, 350, 30))
self.block.clicked.connect(lambda: Profile.get_instance().block_user(self.block_id.toPlainText()) or self.close())
self.blocked_users_label = QtGui.QLabel(self)
- self.blocked_users_label.setGeometry(QtCore.QRect(10, 470, 330, 30))
+ self.blocked_users_label.setGeometry(QtCore.QRect(10, 470, 350, 30))
self.comboBox = QtGui.QComboBox(self)
- self.comboBox.setGeometry(QtCore.QRect(10, 500, 330, 30))
+ self.comboBox.setGeometry(QtCore.QRect(10, 500, 350, 30))
self.comboBox.addItems(settings['blocked'])
self.unblock = QtGui.QPushButton(self)
- self.unblock.setGeometry(QtCore.QRect(10, 540, 330, 30))
+ self.unblock.setGeometry(QtCore.QRect(10, 540, 350, 30))
self.unblock.clicked.connect(lambda: self.unblock_user())
self.retranslateUi()
QtCore.QMetaObject.connectSlotsByName(self)
diff --git a/src/profile.py b/src/profile.py
index 0e5a0f9..b078d14 100644
--- a/src/profile.py
+++ b/src/profile.py
@@ -47,8 +47,6 @@ class Profile(contact.Contact, Singleton):
self._friends, self._active_friend = [], -1
for i in data: # creates list of friends
tox_id = tox.friend_get_public_key(i)
- if not self._history.friend_exists_in_db(tox_id):
- self._history.add_friend_to_db(tox_id)
try:
alias = list(filter(lambda x: x[0] == tox_id, aliases))[0][1]
except:
diff --git a/src/translations/en_GB.ts b/src/translations/en_GB.ts
index a63c4b6..e6df02a 100644
--- a/src/translations/en_GB.ts
+++ b/src/translations/en_GB.ts
@@ -26,7 +26,7 @@
Callback
-
+
@@ -129,13 +129,13 @@ can produce IP leak
-
+
-
+
@@ -175,7 +175,7 @@ can produce IP leak
-
+
Enter new alias for friend {} or leave empty to use friend's name:
@@ -190,7 +190,7 @@ can produce IP leak
Find contact
-
+
Friend added
@@ -202,12 +202,12 @@ Version:
Version:
-
+
Friend added without sending friend request
-
+
Choose folder
@@ -267,55 +267,60 @@ Version:
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
+
+
+
+
+
MenuWindow
@@ -335,32 +340,32 @@ Version:
-
+
Send screenshot
-
+
Send file
-
+
-
+
-
+
-
+
@@ -381,12 +386,12 @@ Version:
PluginWindow
-
+
-
+
@@ -394,42 +399,42 @@ Version:
PluginsForm
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -555,17 +560,17 @@ Version:
audioSettingsForm
-
+
Audio settings
-
+
Input device:
-
+
Output device:
@@ -573,32 +578,32 @@ Version:
incoming_call
-
+
Incoming video call
-
+
Incoming audio call
-
+
-
+
-
+
-
+
@@ -606,50 +611,55 @@ Version:
interfaceForm
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
+
+
+
+
+
login
@@ -694,7 +704,7 @@ Version:
-
+
@@ -707,22 +717,22 @@ Version:
notificationsForm
-
+
-
+
-
+
-
+
@@ -730,72 +740,72 @@ Version:
privacySettings
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
Blocked users:
-
+
Unblock
-
+
Block user
-
+
Add to friend list
-
+
Do you want to add this user to friend list?
@@ -805,40 +815,45 @@ Version:
Block by TOX ID:
-
+
+
+
+
+
+
tray
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/src/translations/fr_FR.ts b/src/translations/fr_FR.ts
index da66684..544d34b 100644
--- a/src/translations/fr_FR.ts
+++ b/src/translations/fr_FR.ts
@@ -26,7 +26,7 @@
Callback
-
+
@@ -129,13 +129,13 @@ can produce IP leak
À propos du programme
-
+
L'Utilisateur {} veut vout rajouter à sa liste de contacts. Message : {}
-
+
Demande d'amis
@@ -180,7 +180,7 @@ can produce IP leak
Retirer un ami
-
+
Entrez un nouvel alias pour l'ami {} ou laissez vide pour garder son nom de base :
@@ -195,7 +195,7 @@ can produce IP leak
Trouver le contact
-
+
Ami rajouté
@@ -207,12 +207,12 @@ Version:
Version :
-
+
Ami rajouté sans avoir envoyé de demande
-
+
Choisir le dossier
@@ -272,55 +272,60 @@ Version :
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
+
+
+
+
+
MenuWindow
@@ -340,32 +345,32 @@ Version :
-
+
Envoyer une capture d'écran
-
+
Envoyer le fichier
-
+
-
+
-
+
-
+
@@ -386,12 +391,12 @@ Version :
PluginWindow
-
+
-
+
@@ -399,42 +404,42 @@ Version :
PluginsForm
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -560,17 +565,17 @@ Version :
audioSettingsForm
-
+
Paramètres audio
-
+
Péripherique d'entrée :
-
+
Péripherique de sortie :
@@ -578,32 +583,32 @@ Version :
incoming_call
-
+
Appel vidéo entrant
-
+
Appel audio entrant
-
+
-
+
-
+
-
+
@@ -611,50 +616,55 @@ Version :
interfaceForm
-
+
Paramêtres de l'interface
-
+
Thème :
-
+
Langue :
-
+
-
+
-
+
-
+
-
+
-
+
+
+
+
+
+
login
@@ -699,7 +709,7 @@ Version :
toxygen
-
+
Il semble qu'une autre instance de Toxygen utilise ce profil ! Continuer ?
@@ -712,22 +722,22 @@ Version :
notificationsForm
-
+
Paramêtres de notification
-
+
Activer les notifications
-
+
Activer les sons d'appel
-
+
Activer les sons de notifications
@@ -735,72 +745,72 @@ Version :
privacySettings
-
+
Paramêtres de confidentialité
-
+
Sauvegarder l'historique de chat
-
+
Autoriser les fichier automatiquement
-
+
Notifier la frappe
-
+
Chemin d'accès des fichiers acceptés automatiquement :
-
+
Modifier
-
+
Activer l'auto-réception
-
+
Historique de chat
-
+
L'Historique va être nettoyé ! Confirmer ?
-
+
Utilisateurs bloqués :
-
+
Débloquer
-
+
Bloquer l'utilisateur
-
+
Ajouter à la liste des amis
-
+
Voulez vous rajouter cet utilisateur à votre liste d'amis ?
@@ -810,40 +820,45 @@ Version :
Bloquer l'ID TOX :
-
+
+
+
+
+
+
tray
-
+
Ouvrir Toxygen
-
+
Quitter
-
+
-
+
-
+
-
+
diff --git a/src/translations/ru_RU.qm b/src/translations/ru_RU.qm
index 5325e1e..64b1d3e 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 ffa517a..d6e64a4 100644
--- a/src/translations/ru_RU.ts
+++ b/src/translations/ru_RU.ts
@@ -27,7 +27,7 @@
Callback
-
+
Файл от
@@ -132,14 +132,14 @@ can produce IP leak
О программе
-
+
Пользователь {} хочет добавить Вас в список контактов. Сообщение:
{}
-
+
Запрос на добавление в друзья
@@ -179,7 +179,7 @@ can produce IP leak
Удалить друга
-
+
Введите новый псевдоним для друга {} или оставьте пустым для использования его имени:
@@ -194,7 +194,7 @@ can produce IP leak
Найти контакт
-
+
Друг добавлен
@@ -205,12 +205,12 @@ Version:
Toxygen - клиент для мессенджера Tox, написанный на Python. Версия:
-
+
Друг добавлен без отправки запроса на добавление в друзья
-
+
Выбрать папку
@@ -270,55 +270,60 @@ Version:
Заметки о пользователе
-
+
Копировать адрес ссылки
-
+
Копировать
-
+
Выделить всё
-
+
Удалить
-
+
Вставить
-
+
Вырезать
-
+
Отменить
-
+
Повторить
-
+
Сохранить
-
+
Пользователь {} сейчас известен как {}
+
+
+
+ Удалить сообщение
+
MenuWindow
@@ -338,32 +343,32 @@ Version:
Остановить запись
-
+
Отправить снимок экрана
-
+
Отправить файл
-
+
Отправить аудиосообщение
-
+
Отправить видеосообщение
-
+
Добавить смайлик
-
+
Отправить стикер
@@ -384,12 +389,12 @@ Version:
PluginWindow
-
+
Список команд для плагина {}
-
+
Команды не найдены
@@ -397,42 +402,42 @@ Version:
PluginsForm
-
+
Плагины
-
+
Открыть выбранный плагин
-
+
GUI для данного плагина не найден
-
+
Описание недоступно
-
+
Отключить плагин
-
+
Включить плагин
-
+
Плагины не найдены
-
+
Ошибка
@@ -563,17 +568,17 @@ Version:
audioSettingsForm
-
+
Настройки аудио
-
+
Устройство ввода:
-
+
Устройство вывода:
@@ -581,32 +586,32 @@ Version:
incoming_call
-
+
Входящий видеозвонок
-
+
Входящий аудиозвонок
-
+
Исходящий видеозвонок
-
+
Исходящий аудиозвонок
-
+
Звонок отменен
-
+
Звонок завершен
@@ -614,50 +619,55 @@ Version:
interfaceForm
-
+
Настройки интерфейса
-
+
Тема:
-
+
Язык:
-
+
Смайлики
-
+
Набор смайликов
-
+
Зеркальный режим
-
+
Размер шрифта сообщений:
-
+
Для применения настроек необходимо перезапустить приложение
-
+
Требуется перезапуск
+
+
+
+ Цвет уведомления о сообщении
+
login
@@ -702,7 +712,7 @@ Version:
toxygen
-
+
Похоже, что этот профиль используется другим экземпляром Toxygen! Продолжить?
@@ -715,22 +725,22 @@ Version:
notificationsForm
-
+
Настройки уведомлений
-
+
Включить уведомления
-
+
Включить звук звонка
-
+
Включить звуковые уведомления
@@ -739,72 +749,72 @@ Version:
privacySettings
-
+
Настройки приватности
-
+
Сохранять историю переписки
-
+
Разрешить автополучение файлов
-
+
Посылать уведомления о наборе текста
-
+
Путь автоприема файлов:
-
+
Изменить
-
+
Разрешать инлайны
-
+
История чата
-
+
История переписки будет очищена! Продолжить?
-
+
Заблокированные пользователи:
-
+
Разблокировать
-
+
Заблокировать пользователя
-
+
Добавить в список друзей
-
+
Добавить этого пользователя в список друзей?
@@ -814,40 +824,45 @@ Version:
Блокировать по TOX ID:
-
+
Блокировать по публичному ключу
+
+
+
+ Сохранять только неотправленные сообщения
+
tray
-
+
Открыть Toxygen
-
+
Выход
-
+
Изменить статус
-
+
Онлайн
-
+
Нет на месте
-
+
Занят