diff --git a/src/mainscreen.py b/src/mainscreen.py
index 36da54a..e992d75 100644
--- a/src/mainscreen.py
+++ b/src/mainscreen.py
@@ -19,10 +19,10 @@ class MessageArea(QtGui.QPlainTextEdit):
if modifiers & QtCore.Qt.ControlModifier or modifiers & QtCore.Qt.ShiftModifier:
self.appendPlainText('')
else:
- self.parent.send_message()
if self.timer.isActive():
self.timer.stop()
self.parent.profile.send_typing(False)
+ self.parent.send_message()
elif event.key() == QtCore.Qt.Key_Up and not self.toPlainText():
self.appendPlainText(Profile.get_instance().get_last_message())
else:
@@ -357,7 +357,8 @@ class MainWindow(QtGui.QMainWindow):
def send_file(self):
if self.profile.is_active_online(): # active friend exists and online
- choose = QtGui.QApplication.translate("MainWindow", "Choose file", None, QtGui.QApplication.UnicodeUTF8)
+ choose_file = QtGui.QApplication.translate("MainWindow", 'Choose file', None, QtGui.QApplication.UnicodeUTF8)
+ choose = QtGui.QApplication.translate("MainWindow", choose_file, None, QtGui.QApplication.UnicodeUTF8)
name = QtGui.QFileDialog.getOpenFileName(self, choose)
if name[0]:
self.profile.send_file(name[0])
@@ -433,8 +434,7 @@ class MainWindow(QtGui.QMainWindow):
if value:
settings['auto_accept_from_friends'].append(tox_id)
else:
- index = settings['auto_accept_from_friends'].index(tox_id)
- del settings['auto_accept_from_friends'][index]
+ settings['auto_accept_from_friends'].remove(tox_id)
settings.save()
# -----------------------------------------------------------------------------------------------------------------
diff --git a/src/translations/en_GB.qm b/src/translations/en_GB.qm
index a1c614f..66a5e10 100644
Binary files a/src/translations/en_GB.qm and b/src/translations/en_GB.qm differ
diff --git a/src/translations/en_GB.ts b/src/translations/en_GB.ts
index ee1a663..ff56d4b 100644
--- a/src/translations/en_GB.ts
+++ b/src/translations/en_GB.ts
@@ -27,154 +27,164 @@
Send request
-
+
IPv6
IPv6
-
+
UDP
UDP
-
+
Proxy
Proxy
-
+
IP:
IP:
-
+
Port:
Port:
-
+
Online contacts
Online contacts
+
+
+ HTTP
+ HTTP
+
MainWindow
-
+
Profile
-
+
Settings
-
+
About
-
+
Add contact
-
+
Privacy
-
+
Interface
-
+
Notifications
-
+
Network
-
+
About program
-
+
User {} wants to add you to contact list. Message:
{}
-
+
Friend request
-
+
Toxygen is Tox client written on Python 2.7. Version:
-
+
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
+
+
+ Find contact
+ Find contact
+
NetworkSettings
-
+
Network settings
Network settings
-
+
Restart TOX core
Restart Tox core
@@ -225,17 +235,17 @@
audioSettingsForm
-
+
Audio settings
Audio settings
-
+
Input device:
Input device:
-
+
Output device:
Output device:
@@ -243,12 +253,12 @@
incoming_call
-
+
Incoming video call
Incoming video call
-
+
Incoming audio call
Incoming audio call
@@ -256,17 +266,17 @@
interfaceForm
-
+
Interface settings
-
+
Theme:
-
+
Language:
@@ -274,42 +284,42 @@
login
-
+
Log in
-
+
Create
-
+
Profile name:
-
+
Load profile
-
+
Use as default
-
+
Load existing profile
-
+
Create new profile
-
+
toxygen
@@ -322,22 +332,22 @@
notificationsForm
-
+
Notification settings
-
+
Enable notifications
-
+
Enable call's sound
-
+
Enable sound notifications
@@ -345,77 +355,77 @@
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?
-
+
Block by TOX ID:
Block by TOX ID:
diff --git a/src/translations/fr_FR.ts b/src/translations/fr_FR.ts
index 5e5ef6d..ead4d23 100644
--- a/src/translations/fr_FR.ts
+++ b/src/translations/fr_FR.ts
@@ -26,154 +26,164 @@
Envoyer une demande
-
+
IPv6
IPv6
-
+
UDP
UDP
-
+
Proxy
Proxy
-
+
IP:
IP :
-
+
Port:
Port :
-
+
Online contacts
Contacts connectés
+
+
+ HTTP
+
+
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
-
+
Toxygen is Tox client written on Python 2.7. Version:
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:
-
+
Audio
+
+
+ Find contact
+
+
NetworkSettings
-
+
Network settings
Paramêtres réseaux
-
+
Restart TOX core
@@ -224,17 +234,17 @@
audioSettingsForm
-
+
Audio settings
-
+
Input device:
-
+
Output device:
@@ -242,12 +252,12 @@
incoming_call
-
+
Incoming video call
-
+
Incoming audio call
@@ -255,17 +265,17 @@
interfaceForm
-
+
Interface settings
Paramêtres de l'interface
-
+
Theme:
Thème :
-
+
Language:
Langue :
@@ -273,42 +283,42 @@
login
-
+
Log in
Se connecter
-
+
Create
Créer
-
+
Profile name:
Nom du profil :
-
+
Load profile
Charger le profil
-
+
Use as default
Utiliser par défaut
-
+
Load existing profile
Charger un profil existant
-
+
Create new profile
Créer un nouveau profil
-
+
toxygen
toxygen
@@ -321,22 +331,22 @@
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
@@ -344,77 +354,77 @@
privacySettings
-
+
Privacy settings
Paramêtres de confidentialité
-
+
Save chat history
Sauvegarder l'historique du 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
-
+
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?
-
+
Block by TOX ID:
diff --git a/src/translations/ru_RU.qm b/src/translations/ru_RU.qm
index fbdc886..1328cce 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 8b5844f..9a6be14 100644
--- a/src/translations/ru_RU.ts
+++ b/src/translations/ru_RU.ts
@@ -27,155 +27,165 @@
Отправить запрос
-
+
IPv6
IPv6
-
+
UDP
UDP
-
+
Proxy
Прокси
-
+
IP:
IP:
-
+
Port:
Порт:
-
+
Online contacts
Контакты в сети
+
+
+ HTTP
+ HTTP
+
MainWindow
-
+
Profile
Профиль
-
+
Settings
Настройки
-
+
About
О программе
-
+
Add contact
Добавить контакт
-
+
Privacy
Приватность
-
+
Interface
Интерфейс
-
+
Notifications
Уведомления
-
+
Network
Сеть
-
+
About program
О программе
-
+
User {} wants to add you to contact list. Message:
{}
Пользователь {} хочет добавить Вас в список контактов. Сообщение:
{}
-
+
Friend request
Запрос на добавление в друзья
-
+
Toxygen is Tox client written on Python 2.7. Version:
Toxygen - клиент для мессенджера Tox, написанный на Python 2.7. Версия:
-
+
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
Аудио
+
+
+ Find contact
+ Найти контакт
+
NetworkSettings
-
+
Network settings
Настройки сети
-
+
Restart TOX core
Перезапустить ядро TOX
@@ -231,17 +241,17 @@
audioSettingsForm
-
+
Audio settings
Настройки аудио
-
+
Input device:
Устройство ввода:
-
+
Output device:
Устройство вывода:
@@ -249,12 +259,12 @@
incoming_call
-
+
Incoming video call
Входящий видеозвонок
-
+
Incoming audio call
Входящий аудиозвонок
@@ -262,17 +272,17 @@
interfaceForm
-
+
Interface settings
Настройки интерфейса
-
+
Theme:
Тема:
-
+
Language:
Язык:
@@ -280,42 +290,42 @@
login
-
+
Log in
Вход
-
+
Create
Создать
-
+
Profile name:
Имя профиля:
-
+
Load profile
Загрузить профиль
-
+
Use as default
По умолчанию
-
+
Load existing profile
Загрузить профиль
-
+
Create new profile
Создать новый профиль
-
+
toxygen
toxygen
@@ -328,22 +338,22 @@
notificationsForm
-
+
Notification settings
Настройки уведомлений
-
+
Enable notifications
Включить уведомления
-
+
Enable call's sound
Включить звук звонка
-
+
Enable sound notifications
Включить звуковые уведомления
@@ -352,77 +362,77 @@
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?
Добавить этого пользователя в список друзей?
-
+
Block by TOX ID:
Блокировать по TOX ID: