menu ui fixes and translations update

This commit is contained in:
ingvar1995 2016-05-09 23:09:07 +03:00
parent 2903ed1877
commit 8d3db9f897
8 changed files with 273 additions and 205 deletions

View file

@ -168,7 +168,7 @@ class MainWindow(QtGui.QMainWindow):
self.online_contacts.setObjectName("online_contacts")
self.online_contacts.clicked.connect(self.filtering)
self.contact_name = QtGui.QLineEdit(Form)
self.contact_name.setGeometry(QtCore.QRect(0, 24, 270, 25))
self.contact_name.setGeometry(QtCore.QRect(0, 23, 270, 26))
self.contact_name.setObjectName("contact_name")
self.contact_name.textChanged.connect(self.filtering)
QtCore.QMetaObject.connectSlotsByName(Form)
@ -340,7 +340,8 @@ class MainWindow(QtGui.QMainWindow):
import util
msgBox = QtGui.QMessageBox()
msgBox.setWindowTitle(QtGui.QApplication.translate("MainWindow", "About", None, QtGui.QApplication.UnicodeUTF8))
msgBox.setText(QtGui.QApplication.translate("MainWindow", 'Toxygen is Tox client written on Python 2.7. Version: ', None, QtGui.QApplication.UnicodeUTF8) + util.program_version)
text = (QtGui.QApplication.translate("MainWindow", 'Toxygen is Tox client written on Python.\nVersion: ', None, QtGui.QApplication.UnicodeUTF8))
msgBox.setText(text + util.program_version + '\nGitHub: github.com/xveduk/toxygen')
msgBox.exec_()
def network_settings(self):

View file

@ -38,12 +38,17 @@ class AddContact(CenteredWidget):
self.message_edit = QtGui.QTextEdit(self)
self.message_edit.setGeometry(QtCore.QRect(50, 110, 471, 151))
self.message_edit.setObjectName("textEdit")
self.label_2 = QtGui.QLabel(self)
self.label_2.setGeometry(QtCore.QRect(60, 70, 101, 31))
self.label_2.setFont(font)
self.label_2.setObjectName("label_2")
self.message = QtGui.QLabel(self)
self.message.setGeometry(QtCore.QRect(60, 70, 101, 31))
self.message.setFont(font)
self.message.setObjectName("label_2")
self.retranslateUi()
self.message_edit.setText('Hello! Add me to your contact list please')
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
self.label.setFont(font)
self.message.setFont(font)
QtCore.QMetaObject.connectSlotsByName(self)
def add_friend(self):
@ -59,7 +64,7 @@ class AddContact(CenteredWidget):
self.setWindowTitle(QtGui.QApplication.translate('AddContact', "Add contact", None, QtGui.QApplication.UnicodeUTF8))
self.sendRequestButton.setText(QtGui.QApplication.translate("Form", "Send request", None, QtGui.QApplication.UnicodeUTF8))
self.label.setText(QtGui.QApplication.translate('AddContact', "TOX ID:", None, QtGui.QApplication.UnicodeUTF8))
self.label_2.setText(QtGui.QApplication.translate('AddContact', "Message:", None, QtGui.QApplication.UnicodeUTF8))
self.message.setText(QtGui.QApplication.translate('AddContact', "Message:", None, QtGui.QApplication.UnicodeUTF8))
class ProfileSettings(CenteredWidget):
@ -82,7 +87,7 @@ class ProfileSettings(CenteredWidget):
self.status.setObjectName("status")
self.status.setText(profile.status_message)
self.label = QtGui.QLabel(self)
self.label.setGeometry(QtCore.QRect(40, 30, 91, 21))
self.label.setGeometry(QtCore.QRect(40, 30, 91, 25))
font = QtGui.QFont()
font.setPointSize(18)
font.setWeight(75)
@ -90,11 +95,11 @@ class ProfileSettings(CenteredWidget):
self.label.setFont(font)
self.label.setObjectName("label")
self.label_2 = QtGui.QLabel(self)
self.label_2.setGeometry(QtCore.QRect(40, 100, 100, 21))
self.label_2.setGeometry(QtCore.QRect(40, 100, 100, 25))
self.label_2.setFont(font)
self.label_2.setObjectName("label_2")
self.label_3 = QtGui.QLabel(self)
self.label_3.setGeometry(QtCore.QRect(40, 180, 100, 21))
self.label_3.setGeometry(QtCore.QRect(40, 180, 100, 25))
self.label_3.setFont(font)
self.label_3.setObjectName("label_3")
self.tox_id = QtGui.QLabel(self)
@ -139,6 +144,10 @@ class ProfileSettings(CenteredWidget):
clipboard = QtGui.QApplication.clipboard()
profile = Profile.get_instance()
clipboard.setText(profile.tox_id)
pixmap = QtGui.QPixmap(curr_directory() + '/images/accept.png')
icon = QtGui.QIcon(pixmap)
self.copyId.setIcon(icon)
self.copyId.setIconSize(QtCore.QSize(10, 10))
def new_no_spam(self):
self.tox_id.setText(Profile.get_instance().new_nospam())
@ -148,7 +157,6 @@ class ProfileSettings(CenteredWidget):
def set_avatar(self):
name = QtGui.QFileDialog.getOpenFileName(self, 'Open file', None, 'Image Files (*.png)')
print name
if name[0]:
with open(name[0], 'rb') as f:
data = f.read()

View file

@ -805,6 +805,11 @@ class Profile(Contact, Singleton):
raise Exception('TOX DNS lookup failed')
if len(tox_id) == TOX_PUBLIC_KEY_SIZE * 2: # public key
self.add_friend(tox_id)
msgBox = QtGui.QMessageBox()
msgBox.setWindowTitle(QtGui.QApplication.translate("MainWindow", "Friend added", None, QtGui.QApplication.UnicodeUTF8))
text = (QtGui.QApplication.translate("MainWindow", 'Friend added without sending friend request', None, QtGui.QApplication.UnicodeUTF8))
msgBox.setText(text)
msgBox.exec_()
else:
result = self._tox.friend_add(tox_id, message.encode('utf-8'))
tox_id = tox_id[:TOX_PUBLIC_KEY_SIZE * 2]

Binary file not shown.

View file

@ -4,17 +4,17 @@
<context>
<name>AddContact</name>
<message>
<location filename="menu.py" line="65"/>
<location filename="menu.py" line="64"/>
<source>Add contact</source>
<translation>Add contact</translation>
</message>
<message>
<location filename="menu.py" line="67"/>
<location filename="menu.py" line="66"/>
<source>TOX ID:</source>
<translation>TOX ID:</translation>
</message>
<message>
<location filename="menu.py" line="68"/>
<location filename="menu.py" line="67"/>
<source>Message:</source>
<translation>Message:</translation>
</message>
@ -22,32 +22,32 @@
<context>
<name>Form</name>
<message>
<location filename="menu.py" line="66"/>
<location filename="menu.py" line="65"/>
<source>Send request</source>
<translation>Send request</translation>
</message>
<message>
<location filename="menu.py" line="222"/>
<location filename="menu.py" line="231"/>
<source>IPv6</source>
<translation>IPv6</translation>
</message>
<message>
<location filename="menu.py" line="223"/>
<location filename="menu.py" line="232"/>
<source>UDP</source>
<translation>UDP</translation>
</message>
<message>
<location filename="menu.py" line="224"/>
<location filename="menu.py" line="233"/>
<source>Proxy</source>
<translation>Proxy</translation>
</message>
<message>
<location filename="menu.py" line="225"/>
<location filename="menu.py" line="234"/>
<source>IP:</source>
<translation>IP:</translation>
</message>
<message>
<location filename="menu.py" line="226"/>
<location filename="menu.py" line="235"/>
<source>Port:</source>
<translation>Port:</translation>
</message>
@ -57,7 +57,7 @@
<translation>Online contacts</translation>
</message>
<message>
<location filename="menu.py" line="228"/>
<location filename="menu.py" line="237"/>
<source>HTTP</source>
<translation>HTTP</translation>
</message>
@ -75,7 +75,7 @@
<translation></translation>
</message>
<message>
<location filename="mainscreen.py" line="318"/>
<location filename="mainscreen.py" line="342"/>
<source>About</source>
<translation></translation>
</message>
@ -110,58 +110,53 @@
<translation></translation>
</message>
<message>
<location filename="profile.py" line="797"/>
<location filename="profile.py" line="837"/>
<source>User {} wants to add you to contact list. Message:
{}</source>
<translation></translation>
</message>
<message>
<location filename="profile.py" line="799"/>
<location filename="profile.py" line="839"/>
<source>Friend request</source>
<translation></translation>
</message>
<message>
<location filename="mainscreen.py" line="319"/>
<source>Toxygen is Tox client written on Python 2.7. Version: </source>
<translation></translation>
</message>
<message>
<location filename="mainscreen.py" line="361"/>
<location filename="mainscreen.py" line="386"/>
<source>Choose file</source>
<translation>Choose file</translation>
</message>
<message>
<location filename="mainscreen.py" line="400"/>
<location filename="mainscreen.py" line="427"/>
<source>Disallow auto accept</source>
<translation></translation>
</message>
<message>
<location filename="mainscreen.py" line="401"/>
<location filename="mainscreen.py" line="428"/>
<source>Allow auto accept</source>
<translation></translation>
</message>
<message>
<location filename="mainscreen.py" line="403"/>
<location filename="mainscreen.py" line="430"/>
<source>Set alias</source>
<translation></translation>
</message>
<message>
<location filename="mainscreen.py" line="404"/>
<location filename="mainscreen.py" line="431"/>
<source>Clear history</source>
<translation></translation>
</message>
<message>
<location filename="mainscreen.py" line="405"/>
<location filename="mainscreen.py" line="432"/>
<source>Copy public key</source>
<translation></translation>
</message>
<message>
<location filename="mainscreen.py" line="407"/>
<location filename="mainscreen.py" line="434"/>
<source>Remove friend</source>
<translation></translation>
</message>
<message>
<location filename="profile.py" line="666"/>
<location filename="profile.py" line="683"/>
<source>Enter new alias for friend {} or leave empty to use friend&apos;s name:</source>
<translation>Enter new alias for friend {} or leave empty to use friend&apos;s name:</translation>
</message>
@ -175,16 +170,33 @@
<source>Find contact</source>
<translation>Find contact</translation>
</message>
<message>
<location filename="profile.py" line="809"/>
<source>Friend added</source>
<translation>Friend added</translation>
</message>
<message>
<location filename="mainscreen.py" line="343"/>
<source>Toxygen is Tox client written on Python.
Version: </source>
<translation>Toxygen is Tox client written on Python.
Version:</translation>
</message>
<message>
<location filename="profile.py" line="810"/>
<source>Friend added without sending friend request</source>
<translation>Friend added without sending friend request</translation>
</message>
</context>
<context>
<name>NetworkSettings</name>
<message>
<location filename="menu.py" line="221"/>
<location filename="menu.py" line="230"/>
<source>Network settings</source>
<translation>Network settings</translation>
</message>
<message>
<location filename="menu.py" line="227"/>
<location filename="menu.py" line="236"/>
<source>Restart TOX core</source>
<translation>Restart Tox core</translation>
</message>
@ -192,60 +204,65 @@
<context>
<name>ProfileSettingsForm</name>
<message>
<location filename="menu.py" line="131"/>
<location filename="menu.py" line="133"/>
<source>Export profile</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="132"/>
<location filename="menu.py" line="134"/>
<source>Profile settings</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="133"/>
<location filename="menu.py" line="135"/>
<source>Name:</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="134"/>
<location filename="menu.py" line="136"/>
<source>Status:</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="135"/>
<location filename="menu.py" line="137"/>
<source>TOX ID:</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="136"/>
<location filename="menu.py" line="138"/>
<source>Copy TOX ID</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="137"/>
<location filename="menu.py" line="139"/>
<source>New avatar</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="138"/>
<location filename="menu.py" line="140"/>
<source>Reset avatar</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="141"/>
<source>New NoSpam</source>
<translation>New NoSpam</translation>
</message>
</context>
<context>
<name>audioSettingsForm</name>
<message>
<location filename="menu.py" line="514"/>
<location filename="menu.py" line="522"/>
<source>Audio settings</source>
<translation>Audio settings</translation>
</message>
<message>
<location filename="menu.py" line="515"/>
<location filename="menu.py" line="523"/>
<source>Input device:</source>
<translation>Input device:</translation>
</message>
<message>
<location filename="menu.py" line="516"/>
<location filename="menu.py" line="524"/>
<source>Output device:</source>
<translation>Output device:</translation>
</message>
@ -253,12 +270,12 @@
<context>
<name>incoming_call</name>
<message>
<location filename="profile.py" line="1081"/>
<location filename="profile.py" line="1140"/>
<source>Incoming video call</source>
<translation>Incoming video call</translation>
</message>
<message>
<location filename="profile.py" line="1083"/>
<location filename="profile.py" line="1142"/>
<source>Incoming audio call</source>
<translation>Incoming audio call</translation>
</message>
@ -266,17 +283,17 @@
<context>
<name>interfaceForm</name>
<message>
<location filename="menu.py" line="452"/>
<location filename="menu.py" line="460"/>
<source>Interface settings</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="453"/>
<location filename="menu.py" line="461"/>
<source>Theme:</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="454"/>
<location filename="menu.py" line="462"/>
<source>Language:</source>
<translation></translation>
</message>
@ -324,7 +341,7 @@
<translation></translation>
</message>
<message>
<location filename="main.py" line="80"/>
<location filename="main.py" line="87"/>
<source>Looks like other instance of Toxygen uses this profile! Continue?</source>
<translation></translation>
</message>
@ -332,22 +349,22 @@
<context>
<name>notificationsForm</name>
<message>
<location filename="menu.py" line="393"/>
<location filename="menu.py" line="401"/>
<source>Notification settings</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="394"/>
<location filename="menu.py" line="402"/>
<source>Enable notifications</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="395"/>
<location filename="menu.py" line="403"/>
<source>Enable call&apos;s sound</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="396"/>
<location filename="menu.py" line="404"/>
<source>Enable sound notifications</source>
<translation></translation>
</message>
@ -355,77 +372,77 @@
<context>
<name>privacySettings</name>
<message>
<location filename="menu.py" line="317"/>
<location filename="menu.py" line="319"/>
<source>Privacy settings</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="318"/>
<location filename="menu.py" line="320"/>
<source>Save chat history</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="319"/>
<location filename="menu.py" line="321"/>
<source>Allow file auto accept</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="320"/>
<location filename="menu.py" line="322"/>
<source>Send typing notifications</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="321"/>
<location filename="menu.py" line="323"/>
<source>Auto accept default path:</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="322"/>
<location filename="menu.py" line="324"/>
<source>Change</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="323"/>
<location filename="menu.py" line="325"/>
<source>Allow inlines</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="346"/>
<location filename="menu.py" line="348"/>
<source>Chat history</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="349"/>
<location filename="menu.py" line="351"/>
<source>History will be cleaned! Continue?</source>
<translation></translation>
</message>
<message>
<location filename="menu.py" line="325"/>
<location filename="menu.py" line="327"/>
<source>Blocked users:</source>
<translation>Blocked users:</translation>
</message>
<message>
<location filename="menu.py" line="326"/>
<location filename="menu.py" line="328"/>
<source>Unblock</source>
<translation>Unblock</translation>
</message>
<message>
<location filename="menu.py" line="327"/>
<location filename="menu.py" line="329"/>
<source>Block user</source>
<translation>Block user</translation>
</message>
<message>
<location filename="menu.py" line="333"/>
<location filename="menu.py" line="335"/>
<source>Add to friend list</source>
<translation>Add to friend list</translation>
</message>
<message>
<location filename="menu.py" line="334"/>
<location filename="menu.py" line="336"/>
<source>Do you want to add this user to friend list?</source>
<translation>Do you want to add this user to friend list?</translation>
</message>
<message>
<location filename="menu.py" line="324"/>
<location filename="menu.py" line="326"/>
<source>Block by TOX ID:</source>
<translation>Block by TOX ID:</translation>
</message>
@ -433,12 +450,12 @@
<context>
<name>tray</name>
<message>
<location filename="main.py" line="106"/>
<location filename="main.py" line="113"/>
<source>Open Toxygen</source>
<translation></translation>
</message>
<message>
<location filename="main.py" line="107"/>
<location filename="main.py" line="114"/>
<source>Exit</source>
<translation></translation>
</message>

View file

@ -3,17 +3,17 @@
<context>
<name>AddContact</name>
<message>
<location filename="menu.py" line="65"/>
<location filename="menu.py" line="64"/>
<source>Add contact</source>
<translation>Rajouter un contact</translation>
</message>
<message>
<location filename="menu.py" line="67"/>
<location filename="menu.py" line="66"/>
<source>TOX ID:</source>
<translation>ID TOX :</translation>
</message>
<message>
<location filename="menu.py" line="68"/>
<location filename="menu.py" line="67"/>
<source>Message:</source>
<translation>Message :</translation>
</message>
@ -21,32 +21,32 @@
<context>
<name>Form</name>
<message>
<location filename="menu.py" line="66"/>
<location filename="menu.py" line="65"/>
<source>Send request</source>
<translation>Envoyer une demande</translation>
</message>
<message>
<location filename="menu.py" line="222"/>
<location filename="menu.py" line="231"/>
<source>IPv6</source>
<translation>IPv6</translation>
</message>
<message>
<location filename="menu.py" line="223"/>
<location filename="menu.py" line="232"/>
<source>UDP</source>
<translation>UDP</translation>
</message>
<message>
<location filename="menu.py" line="224"/>
<location filename="menu.py" line="233"/>
<source>Proxy</source>
<translation>Proxy</translation>
</message>
<message>
<location filename="menu.py" line="225"/>
<location filename="menu.py" line="234"/>
<source>IP:</source>
<translation>IP :</translation>
</message>
<message>
<location filename="menu.py" line="226"/>
<location filename="menu.py" line="235"/>
<source>Port:</source>
<translation>Port :</translation>
</message>
@ -56,7 +56,7 @@
<translation>Contacts connectés</translation>
</message>
<message>
<location filename="menu.py" line="228"/>
<location filename="menu.py" line="237"/>
<source>HTTP</source>
<translation type="unfinished"></translation>
</message>
@ -74,7 +74,7 @@
<translation>Paramêtres</translation>
</message>
<message>
<location filename="mainscreen.py" line="318"/>
<location filename="mainscreen.py" line="342"/>
<source>About</source>
<translation>À Propos</translation>
</message>
@ -109,58 +109,58 @@
<translation>À propos du programme</translation>
</message>
<message>
<location filename="profile.py" line="797"/>
<location filename="profile.py" line="837"/>
<source>User {} wants to add you to contact list. Message:
{}</source>
<translation>L&apos;Utilisateur {} veut vout rajouter à sa liste de contacts. Message : {}</translation>
</message>
<message>
<location filename="profile.py" line="799"/>
<location filename="profile.py" line="839"/>
<source>Friend request</source>
<translation>Demande d&apos;amis</translation>
</message>
<message>
<location filename="mainscreen.py" line="319"/>
<source>Toxygen is Tox client written on Python 2.7. Version: </source>
<translation>Toxygen est un client Tox écris en Python 2.7. Version : </translation>
<translation type="obsolete">Toxygen est un client Tox écris en Python 2.7. Version : </translation>
</message>
<message>
<location filename="mainscreen.py" line="361"/>
<location filename="mainscreen.py" line="386"/>
<source>Choose file</source>
<translation>Choisir un fichier</translation>
</message>
<message>
<location filename="mainscreen.py" line="400"/>
<location filename="mainscreen.py" line="427"/>
<source>Disallow auto accept</source>
<translation>Désactiver l&apos;auto-réception</translation>
</message>
<message>
<location filename="mainscreen.py" line="401"/>
<location filename="mainscreen.py" line="428"/>
<source>Allow auto accept</source>
<translation>Activer l&apos;auto-réception</translation>
</message>
<message>
<location filename="mainscreen.py" line="403"/>
<location filename="mainscreen.py" line="430"/>
<source>Set alias</source>
<translation>Définir un alias</translation>
</message>
<message>
<location filename="mainscreen.py" line="404"/>
<location filename="mainscreen.py" line="431"/>
<source>Clear history</source>
<translation>Vider l&apos;historique</translation>
</message>
<message>
<location filename="mainscreen.py" line="405"/>
<location filename="mainscreen.py" line="432"/>
<source>Copy public key</source>
<translation>Copier la clé publique</translation>
</message>
<message>
<location filename="mainscreen.py" line="407"/>
<location filename="mainscreen.py" line="434"/>
<source>Remove friend</source>
<translation>Retirer un ami</translation>
</message>
<message>
<location filename="profile.py" line="666"/>
<location filename="profile.py" line="683"/>
<source>Enter new alias for friend {} or leave empty to use friend&apos;s name:</source>
<translation type="unfinished"></translation>
</message>
@ -174,16 +174,32 @@
<source>Find contact</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="profile.py" line="809"/>
<source>Friend added</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainscreen.py" line="343"/>
<source>Toxygen is Tox client written on Python.
Version: </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="profile.py" line="810"/>
<source>Friend added without sending friend request</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>NetworkSettings</name>
<message>
<location filename="menu.py" line="221"/>
<location filename="menu.py" line="230"/>
<source>Network settings</source>
<translation>Paramêtres réseaux</translation>
</message>
<message>
<location filename="menu.py" line="227"/>
<location filename="menu.py" line="236"/>
<source>Restart TOX core</source>
<translation type="unfinished"></translation>
</message>
@ -191,60 +207,65 @@
<context>
<name>ProfileSettingsForm</name>
<message>
<location filename="menu.py" line="131"/>
<location filename="menu.py" line="133"/>
<source>Export profile</source>
<translation>Exporter le profile</translation>
</message>
<message>
<location filename="menu.py" line="132"/>
<location filename="menu.py" line="134"/>
<source>Profile settings</source>
<translation>Paramêtres du profil</translation>
</message>
<message>
<location filename="menu.py" line="133"/>
<location filename="menu.py" line="135"/>
<source>Name:</source>
<translation>Nom :</translation>
</message>
<message>
<location filename="menu.py" line="134"/>
<location filename="menu.py" line="136"/>
<source>Status:</source>
<translation>Status :</translation>
</message>
<message>
<location filename="menu.py" line="135"/>
<location filename="menu.py" line="137"/>
<source>TOX ID:</source>
<translation>ID TOX :</translation>
</message>
<message>
<location filename="menu.py" line="136"/>
<location filename="menu.py" line="138"/>
<source>Copy TOX ID</source>
<translation>Copier l&apos;ID TOX</translation>
</message>
<message>
<location filename="menu.py" line="137"/>
<location filename="menu.py" line="139"/>
<source>New avatar</source>
<translation>Nouvel avatar</translation>
</message>
<message>
<location filename="menu.py" line="138"/>
<location filename="menu.py" line="140"/>
<source>Reset avatar</source>
<translation>Réinitialiser l&apos;avatar</translation>
</message>
<message>
<location filename="menu.py" line="141"/>
<source>New NoSpam</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>audioSettingsForm</name>
<message>
<location filename="menu.py" line="514"/>
<location filename="menu.py" line="522"/>
<source>Audio settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="menu.py" line="515"/>
<location filename="menu.py" line="523"/>
<source>Input device:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="menu.py" line="516"/>
<location filename="menu.py" line="524"/>
<source>Output device:</source>
<translation type="unfinished"></translation>
</message>
@ -252,12 +273,12 @@
<context>
<name>incoming_call</name>
<message>
<location filename="profile.py" line="1081"/>
<location filename="profile.py" line="1140"/>
<source>Incoming video call</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="profile.py" line="1083"/>
<location filename="profile.py" line="1142"/>
<source>Incoming audio call</source>
<translation type="unfinished"></translation>
</message>
@ -265,17 +286,17 @@
<context>
<name>interfaceForm</name>
<message>
<location filename="menu.py" line="452"/>
<location filename="menu.py" line="460"/>
<source>Interface settings</source>
<translation>Paramêtres de l&apos;interface</translation>
</message>
<message>
<location filename="menu.py" line="453"/>
<location filename="menu.py" line="461"/>
<source>Theme:</source>
<translation>Thème :</translation>
</message>
<message>
<location filename="menu.py" line="454"/>
<location filename="menu.py" line="462"/>
<source>Language:</source>
<translation>Langue :</translation>
</message>
@ -323,7 +344,7 @@
<translation>toxygen</translation>
</message>
<message>
<location filename="main.py" line="80"/>
<location filename="main.py" line="87"/>
<source>Looks like other instance of Toxygen uses this profile! Continue?</source>
<translation>Il semble qu&apos;une autre instance de Toxygen utilise ce profil ! Continuer ?</translation>
</message>
@ -331,22 +352,22 @@
<context>
<name>notificationsForm</name>
<message>
<location filename="menu.py" line="393"/>
<location filename="menu.py" line="401"/>
<source>Notification settings</source>
<translation>Paramêtres de notification</translation>
</message>
<message>
<location filename="menu.py" line="394"/>
<location filename="menu.py" line="402"/>
<source>Enable notifications</source>
<translation>Activer les notifications</translation>
</message>
<message>
<location filename="menu.py" line="395"/>
<location filename="menu.py" line="403"/>
<source>Enable call&apos;s sound</source>
<translation>Activer les sons d&apos;appel</translation>
</message>
<message>
<location filename="menu.py" line="396"/>
<location filename="menu.py" line="404"/>
<source>Enable sound notifications</source>
<translation>Activer les sons de notifications</translation>
</message>
@ -354,77 +375,77 @@
<context>
<name>privacySettings</name>
<message>
<location filename="menu.py" line="317"/>
<location filename="menu.py" line="319"/>
<source>Privacy settings</source>
<translation>Paramêtres de confidentialité</translation>
</message>
<message>
<location filename="menu.py" line="318"/>
<location filename="menu.py" line="320"/>
<source>Save chat history</source>
<translation>Sauvegarder l&apos;historique du chat</translation>
</message>
<message>
<location filename="menu.py" line="319"/>
<location filename="menu.py" line="321"/>
<source>Allow file auto accept</source>
<translation>Autoriser les fichier automatiquement</translation>
</message>
<message>
<location filename="menu.py" line="320"/>
<location filename="menu.py" line="322"/>
<source>Send typing notifications</source>
<translation>Notifier la frappe</translation>
</message>
<message>
<location filename="menu.py" line="321"/>
<location filename="menu.py" line="323"/>
<source>Auto accept default path:</source>
<translation>Chemin d&apos;accès des fichiers acceptés automatiquement :</translation>
</message>
<message>
<location filename="menu.py" line="322"/>
<location filename="menu.py" line="324"/>
<source>Change</source>
<translation>Modifier</translation>
</message>
<message>
<location filename="menu.py" line="323"/>
<location filename="menu.py" line="325"/>
<source>Allow inlines</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="menu.py" line="346"/>
<location filename="menu.py" line="348"/>
<source>Chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="menu.py" line="349"/>
<location filename="menu.py" line="351"/>
<source>History will be cleaned! Continue?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="menu.py" line="325"/>
<location filename="menu.py" line="327"/>
<source>Blocked users:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="menu.py" line="326"/>
<location filename="menu.py" line="328"/>
<source>Unblock</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="menu.py" line="327"/>
<location filename="menu.py" line="329"/>
<source>Block user</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="menu.py" line="333"/>
<location filename="menu.py" line="335"/>
<source>Add to friend list</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="menu.py" line="334"/>
<location filename="menu.py" line="336"/>
<source>Do you want to add this user to friend list?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="menu.py" line="324"/>
<location filename="menu.py" line="326"/>
<source>Block by TOX ID:</source>
<translation type="unfinished"></translation>
</message>
@ -432,12 +453,12 @@
<context>
<name>tray</name>
<message>
<location filename="main.py" line="106"/>
<location filename="main.py" line="113"/>
<source>Open Toxygen</source>
<translation>Ouvrir Toxygen</translation>
</message>
<message>
<location filename="main.py" line="107"/>
<location filename="main.py" line="114"/>
<source>Exit</source>
<translation>Quitter</translation>
</message>

Binary file not shown.

View file

@ -4,17 +4,17 @@
<context>
<name>AddContact</name>
<message>
<location filename="menu.py" line="65"/>
<location filename="menu.py" line="64"/>
<source>Add contact</source>
<translation>Добавить контакт</translation>
</message>
<message>
<location filename="menu.py" line="67"/>
<location filename="menu.py" line="66"/>
<source>TOX ID:</source>
<translation>TOX ID:</translation>
</message>
<message>
<location filename="menu.py" line="68"/>
<location filename="menu.py" line="67"/>
<source>Message:</source>
<translation>Сообщение:</translation>
</message>
@ -22,32 +22,32 @@
<context>
<name>Form</name>
<message>
<location filename="menu.py" line="66"/>
<location filename="menu.py" line="65"/>
<source>Send request</source>
<translation>Отправить запрос</translation>
</message>
<message>
<location filename="menu.py" line="222"/>
<location filename="menu.py" line="231"/>
<source>IPv6</source>
<translation>IPv6</translation>
</message>
<message>
<location filename="menu.py" line="223"/>
<location filename="menu.py" line="232"/>
<source>UDP</source>
<translation>UDP</translation>
</message>
<message>
<location filename="menu.py" line="224"/>
<location filename="menu.py" line="233"/>
<source>Proxy</source>
<translation>Прокси</translation>
</message>
<message>
<location filename="menu.py" line="225"/>
<location filename="menu.py" line="234"/>
<source>IP:</source>
<translation>IP:</translation>
</message>
<message>
<location filename="menu.py" line="226"/>
<location filename="menu.py" line="235"/>
<source>Port:</source>
<translation>Порт:</translation>
</message>
@ -57,7 +57,7 @@
<translation>Контакты в сети</translation>
</message>
<message>
<location filename="menu.py" line="228"/>
<location filename="menu.py" line="237"/>
<source>HTTP</source>
<translation>HTTP</translation>
</message>
@ -75,7 +75,7 @@
<translation>Настройки</translation>
</message>
<message>
<location filename="mainscreen.py" line="318"/>
<location filename="mainscreen.py" line="342"/>
<source>About</source>
<translation>О программе</translation>
</message>
@ -110,59 +110,54 @@
<translation>О программе</translation>
</message>
<message>
<location filename="profile.py" line="797"/>
<location filename="profile.py" line="837"/>
<source>User {} wants to add you to contact list. Message:
{}</source>
<translation>Пользователь {} хочет добавить Вас в список контактов. Сообщение:
{}</translation>
</message>
<message>
<location filename="profile.py" line="799"/>
<location filename="profile.py" line="839"/>
<source>Friend request</source>
<translation>Запрос на добавление в друзья</translation>
</message>
<message>
<location filename="mainscreen.py" line="319"/>
<source>Toxygen is Tox client written on Python 2.7. Version: </source>
<translation>Toxygen - клиент для мессенджера Tox, написанный на Python 2.7. Версия: </translation>
</message>
<message>
<location filename="mainscreen.py" line="361"/>
<location filename="mainscreen.py" line="386"/>
<source>Choose file</source>
<translation>Выберите файл</translation>
</message>
<message>
<location filename="mainscreen.py" line="400"/>
<location filename="mainscreen.py" line="427"/>
<source>Disallow auto accept</source>
<translation>Запретить автоматическое получение файлов</translation>
</message>
<message>
<location filename="mainscreen.py" line="401"/>
<location filename="mainscreen.py" line="428"/>
<source>Allow auto accept</source>
<translation>Разрешить автоматическое получение файлов</translation>
</message>
<message>
<location filename="mainscreen.py" line="403"/>
<location filename="mainscreen.py" line="430"/>
<source>Set alias</source>
<translation>Изменить псевдоним</translation>
</message>
<message>
<location filename="mainscreen.py" line="404"/>
<location filename="mainscreen.py" line="431"/>
<source>Clear history</source>
<translation>Очистить историю</translation>
</message>
<message>
<location filename="mainscreen.py" line="405"/>
<location filename="mainscreen.py" line="432"/>
<source>Copy public key</source>
<translation>Копировать публичный ключ</translation>
</message>
<message>
<location filename="mainscreen.py" line="407"/>
<location filename="mainscreen.py" line="434"/>
<source>Remove friend</source>
<translation>Удалить друга</translation>
</message>
<message>
<location filename="profile.py" line="666"/>
<location filename="profile.py" line="683"/>
<source>Enter new alias for friend {} or leave empty to use friend&apos;s name:</source>
<translation>Введите новый псевдоним для друга {} или оставьте пустым для использования его имени:</translation>
</message>
@ -176,16 +171,32 @@
<source>Find contact</source>
<translation>Найти контакт</translation>
</message>
<message>
<location filename="profile.py" line="809"/>
<source>Friend added</source>
<translation>Друг добавлен</translation>
</message>
<message>
<location filename="mainscreen.py" line="343"/>
<source>Toxygen is Tox client written on Python.
Version: </source>
<translation>Toxygen - клиент для мессенджера Tox, написанный на Python. Версия: </translation>
</message>
<message>
<location filename="profile.py" line="810"/>
<source>Friend added without sending friend request</source>
<translation>Друг добавлен без отправки запроса на добавление в друзья</translation>
</message>
</context>
<context>
<name>NetworkSettings</name>
<message>
<location filename="menu.py" line="221"/>
<location filename="menu.py" line="230"/>
<source>Network settings</source>
<translation>Настройки сети</translation>
</message>
<message>
<location filename="menu.py" line="227"/>
<location filename="menu.py" line="236"/>
<source>Restart TOX core</source>
<translation>Перезапустить ядро TOX</translation>
</message>
@ -193,32 +204,32 @@
<context>
<name>ProfileSettingsForm</name>
<message>
<location filename="menu.py" line="131"/>
<location filename="menu.py" line="133"/>
<source>Export profile</source>
<translation>Экспорт профиля</translation>
</message>
<message>
<location filename="menu.py" line="132"/>
<location filename="menu.py" line="134"/>
<source>Profile settings</source>
<translation>Настройки профиля</translation>
</message>
<message>
<location filename="menu.py" line="133"/>
<location filename="menu.py" line="135"/>
<source>Name:</source>
<translation>Имя:</translation>
</message>
<message>
<location filename="menu.py" line="134"/>
<location filename="menu.py" line="136"/>
<source>Status:</source>
<translation>Статус:</translation>
</message>
<message>
<location filename="menu.py" line="135"/>
<location filename="menu.py" line="137"/>
<source>TOX ID:</source>
<translation>TOX ID:</translation>
</message>
<message>
<location filename="menu.py" line="136"/>
<location filename="menu.py" line="138"/>
<source>Copy TOX ID</source>
<translation>Копировать TOX ID</translation>
</message>
@ -228,30 +239,35 @@
<translation type="obsolete">Язык:</translation>
</message>
<message>
<location filename="menu.py" line="137"/>
<location filename="menu.py" line="139"/>
<source>New avatar</source>
<translation>Новый аватар</translation>
</message>
<message>
<location filename="menu.py" line="138"/>
<location filename="menu.py" line="140"/>
<source>Reset avatar</source>
<translation>Сбросить аватар</translation>
</message>
<message>
<location filename="menu.py" line="141"/>
<source>New NoSpam</source>
<translation>Новый NoSpam</translation>
</message>
</context>
<context>
<name>audioSettingsForm</name>
<message>
<location filename="menu.py" line="514"/>
<location filename="menu.py" line="522"/>
<source>Audio settings</source>
<translation>Настройки аудио</translation>
</message>
<message>
<location filename="menu.py" line="515"/>
<location filename="menu.py" line="523"/>
<source>Input device:</source>
<translation>Устройство ввода:</translation>
</message>
<message>
<location filename="menu.py" line="516"/>
<location filename="menu.py" line="524"/>
<source>Output device:</source>
<translation>Устройство вывода:</translation>
</message>
@ -259,12 +275,12 @@
<context>
<name>incoming_call</name>
<message>
<location filename="profile.py" line="1081"/>
<location filename="profile.py" line="1140"/>
<source>Incoming video call</source>
<translation>Входящий видеозвонок</translation>
</message>
<message>
<location filename="profile.py" line="1083"/>
<location filename="profile.py" line="1142"/>
<source>Incoming audio call</source>
<translation>Входящий аудиозвонок</translation>
</message>
@ -272,17 +288,17 @@
<context>
<name>interfaceForm</name>
<message>
<location filename="menu.py" line="452"/>
<location filename="menu.py" line="460"/>
<source>Interface settings</source>
<translation>Настройки интерфейса</translation>
</message>
<message>
<location filename="menu.py" line="453"/>
<location filename="menu.py" line="461"/>
<source>Theme:</source>
<translation>Тема:</translation>
</message>
<message>
<location filename="menu.py" line="454"/>
<location filename="menu.py" line="462"/>
<source>Language:</source>
<translation>Язык:</translation>
</message>
@ -330,7 +346,7 @@
<translation>toxygen</translation>
</message>
<message>
<location filename="main.py" line="80"/>
<location filename="main.py" line="87"/>
<source>Looks like other instance of Toxygen uses this profile! Continue?</source>
<translation>Похоже, что этот профиль используется другим экземпляром Toxygen! Продолжить?</translation>
</message>
@ -338,22 +354,22 @@
<context>
<name>notificationsForm</name>
<message>
<location filename="menu.py" line="393"/>
<location filename="menu.py" line="401"/>
<source>Notification settings</source>
<translation>Настройки уведомлений</translation>
</message>
<message>
<location filename="menu.py" line="394"/>
<location filename="menu.py" line="402"/>
<source>Enable notifications</source>
<translation>Включить уведомления</translation>
</message>
<message>
<location filename="menu.py" line="395"/>
<location filename="menu.py" line="403"/>
<source>Enable call&apos;s sound</source>
<translation>Включить звук звонка</translation>
</message>
<message>
<location filename="menu.py" line="396"/>
<location filename="menu.py" line="404"/>
<source>Enable sound notifications</source>
<translation>Включить звуковые уведомления
</translation>
@ -362,77 +378,77 @@
<context>
<name>privacySettings</name>
<message>
<location filename="menu.py" line="317"/>
<location filename="menu.py" line="319"/>
<source>Privacy settings</source>
<translation>Настройки приватности</translation>
</message>
<message>
<location filename="menu.py" line="318"/>
<location filename="menu.py" line="320"/>
<source>Save chat history</source>
<translation>Сохранять историю переписки</translation>
</message>
<message>
<location filename="menu.py" line="319"/>
<location filename="menu.py" line="321"/>
<source>Allow file auto accept</source>
<translation>Разрешить автополучение файлов</translation>
</message>
<message>
<location filename="menu.py" line="320"/>
<location filename="menu.py" line="322"/>
<source>Send typing notifications</source>
<translation>Посылать уведомления о наборе текста</translation>
</message>
<message>
<location filename="menu.py" line="321"/>
<location filename="menu.py" line="323"/>
<source>Auto accept default path:</source>
<translation>Путь автоприема файлов:</translation>
</message>
<message>
<location filename="menu.py" line="322"/>
<location filename="menu.py" line="324"/>
<source>Change</source>
<translation>Изменить</translation>
</message>
<message>
<location filename="menu.py" line="323"/>
<location filename="menu.py" line="325"/>
<source>Allow inlines</source>
<translation>Разрешать инлайны</translation>
</message>
<message>
<location filename="menu.py" line="346"/>
<location filename="menu.py" line="348"/>
<source>Chat history</source>
<translation>История чата</translation>
</message>
<message>
<location filename="menu.py" line="349"/>
<location filename="menu.py" line="351"/>
<source>History will be cleaned! Continue?</source>
<translation>История переписки будет очищена! Продолжить?</translation>
</message>
<message>
<location filename="menu.py" line="325"/>
<location filename="menu.py" line="327"/>
<source>Blocked users:</source>
<translation>Заблокированные пользователи:</translation>
</message>
<message>
<location filename="menu.py" line="326"/>
<location filename="menu.py" line="328"/>
<source>Unblock</source>
<translation>Разблокировать</translation>
</message>
<message>
<location filename="menu.py" line="327"/>
<location filename="menu.py" line="329"/>
<source>Block user</source>
<translation>Заблокировать пользователя</translation>
</message>
<message>
<location filename="menu.py" line="333"/>
<location filename="menu.py" line="335"/>
<source>Add to friend list</source>
<translation>Добавить в список друзей</translation>
</message>
<message>
<location filename="menu.py" line="334"/>
<location filename="menu.py" line="336"/>
<source>Do you want to add this user to friend list?</source>
<translation>Добавить этого пользователя в список друзей?</translation>
</message>
<message>
<location filename="menu.py" line="324"/>
<location filename="menu.py" line="326"/>
<source>Block by TOX ID:</source>
<translation>Блокировать по TOX ID:</translation>
</message>
@ -440,12 +456,12 @@
<context>
<name>tray</name>
<message>
<location filename="main.py" line="106"/>
<location filename="main.py" line="113"/>
<source>Open Toxygen</source>
<translation>Открыть Toxygen</translation>
</message>
<message>
<location filename="main.py" line="107"/>
<location filename="main.py" line="114"/>
<source>Exit</source>
<translation>Выход</translation>
</message>