translations

This commit is contained in:
ingvar1995 2016-05-11 19:51:35 +03:00
parent e6a0988c6d
commit 2ed4e00d3e
6 changed files with 124 additions and 50 deletions

View File

@ -386,8 +386,7 @@ class MainWindow(QtGui.QMainWindow):
def send_file(self): def send_file(self):
if self.profile.is_active_online(): # active friend exists and online if self.profile.is_active_online(): # active friend exists and online
text = QtGui.QApplication.translate("MainWindow", 'Choose file', None, QtGui.QApplication.UnicodeUTF8) choose_file = QtGui.QApplication.translate("MainWindow", 'Choose file', None, QtGui.QApplication.UnicodeUTF8)
choose_file = QtGui.QApplication.translate("MainWindow", text, None, QtGui.QApplication.UnicodeUTF8)
choose = 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) name = QtGui.QFileDialog.getOpenFileName(self, choose)
if name[0]: if name[0]:

Binary file not shown.

View File

@ -75,7 +75,7 @@
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="342"/> <location filename="mainscreen.py" line="346"/>
<source>About</source> <source>About</source>
<translation></translation> <translation></translation>
</message> </message>
@ -110,53 +110,53 @@
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="profile.py" line="837"/> <location filename="profile.py" line="840"/>
<source>User {} wants to add you to contact list. Message: <source>User {} wants to add you to contact list. Message:
{}</source> {}</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="profile.py" line="839"/> <location filename="profile.py" line="842"/>
<source>Friend request</source> <source>Friend request</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="386"/> <location filename="mainscreen.py" line="390"/>
<source>Choose file</source> <source>Choose file</source>
<translation>Choose file</translation> <translation>Choose file</translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="427"/> <location filename="mainscreen.py" line="431"/>
<source>Disallow auto accept</source> <source>Disallow auto accept</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="428"/> <location filename="mainscreen.py" line="432"/>
<source>Allow auto accept</source> <source>Allow auto accept</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="430"/> <location filename="mainscreen.py" line="434"/>
<source>Set alias</source> <source>Set alias</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="431"/> <location filename="mainscreen.py" line="435"/>
<source>Clear history</source> <source>Clear history</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="432"/> <location filename="mainscreen.py" line="436"/>
<source>Copy public key</source> <source>Copy public key</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="434"/> <location filename="mainscreen.py" line="438"/>
<source>Remove friend</source> <source>Remove friend</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="profile.py" line="683"/> <location filename="profile.py" line="686"/>
<source>Enter new alias for friend {} or leave empty to use friend&apos;s name:</source> <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> <translation>Enter new alias for friend {} or leave empty to use friend&apos;s name:</translation>
</message> </message>
@ -171,22 +171,47 @@
<translation>Find contact</translation> <translation>Find contact</translation>
</message> </message>
<message> <message>
<location filename="profile.py" line="809"/> <location filename="profile.py" line="812"/>
<source>Friend added</source> <source>Friend added</source>
<translation>Friend added</translation> <translation>Friend added</translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="343"/> <location filename="mainscreen.py" line="347"/>
<source>Toxygen is Tox client written on Python. <source>Toxygen is Tox client written on Python.
Version: </source> Version: </source>
<translation>Toxygen is Tox client written on Python. <translation>Toxygen is Tox client written on Python.
Version:</translation> Version:</translation>
</message> </message>
<message> <message>
<location filename="profile.py" line="810"/> <location filename="profile.py" line="813"/>
<source>Friend added without sending friend request</source> <source>Friend added without sending friend request</source>
<translation>Friend added without sending friend request</translation> <translation>Friend added without sending friend request</translation>
</message> </message>
<message>
<location filename="list_items.py" line="231"/>
<source>Choose folder</source>
<translation>Choose folder</translation>
</message>
<message>
<location filename="mainscreen.py" line="113"/>
<source>Send screenshot</source>
<translation>Send screenshot</translation>
</message>
<message>
<location filename="mainscreen.py" line="114"/>
<source>Send file</source>
<translation>Send file</translation>
</message>
<message>
<location filename="mainscreen.py" line="115"/>
<source>Send message</source>
<translation>Send message</translation>
</message>
<message>
<location filename="mainscreen.py" line="116"/>
<source>Start audio call with friend</source>
<translation>Start audio call with friend</translation>
</message>
</context> </context>
<context> <context>
<name>NetworkSettings</name> <name>NetworkSettings</name>
@ -270,12 +295,12 @@ Version:</translation>
<context> <context>
<name>incoming_call</name> <name>incoming_call</name>
<message> <message>
<location filename="profile.py" line="1140"/> <location filename="profile.py" line="1151"/>
<source>Incoming video call</source> <source>Incoming video call</source>
<translation>Incoming video call</translation> <translation>Incoming video call</translation>
</message> </message>
<message> <message>
<location filename="profile.py" line="1142"/> <location filename="profile.py" line="1153"/>
<source>Incoming audio call</source> <source>Incoming audio call</source>
<translation>Incoming audio call</translation> <translation>Incoming audio call</translation>
</message> </message>

View File

@ -74,7 +74,7 @@
<translation>Paramêtres</translation> <translation>Paramêtres</translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="342"/> <location filename="mainscreen.py" line="346"/>
<source>About</source> <source>About</source>
<translation>À Propos</translation> <translation>À Propos</translation>
</message> </message>
@ -109,13 +109,13 @@
<translation>À propos du programme</translation> <translation>À propos du programme</translation>
</message> </message>
<message> <message>
<location filename="profile.py" line="837"/> <location filename="profile.py" line="840"/>
<source>User {} wants to add you to contact list. Message: <source>User {} wants to add you to contact list. Message:
{}</source> {}</source>
<translation>L&apos;Utilisateur {} veut vout rajouter à sa liste de contacts. Message : {}</translation> <translation>L&apos;Utilisateur {} veut vout rajouter à sa liste de contacts. Message : {}</translation>
</message> </message>
<message> <message>
<location filename="profile.py" line="839"/> <location filename="profile.py" line="842"/>
<source>Friend request</source> <source>Friend request</source>
<translation>Demande d&apos;amis</translation> <translation>Demande d&apos;amis</translation>
</message> </message>
@ -125,42 +125,42 @@
<translation type="obsolete">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>
<message> <message>
<location filename="mainscreen.py" line="386"/> <location filename="mainscreen.py" line="390"/>
<source>Choose file</source> <source>Choose file</source>
<translation>Choisir un fichier</translation> <translation>Choisir un fichier</translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="427"/> <location filename="mainscreen.py" line="431"/>
<source>Disallow auto accept</source> <source>Disallow auto accept</source>
<translation>Désactiver l&apos;auto-réception</translation> <translation>Désactiver l&apos;auto-réception</translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="428"/> <location filename="mainscreen.py" line="432"/>
<source>Allow auto accept</source> <source>Allow auto accept</source>
<translation>Activer l&apos;auto-réception</translation> <translation>Activer l&apos;auto-réception</translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="430"/> <location filename="mainscreen.py" line="434"/>
<source>Set alias</source> <source>Set alias</source>
<translation>Définir un alias</translation> <translation>Définir un alias</translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="431"/> <location filename="mainscreen.py" line="435"/>
<source>Clear history</source> <source>Clear history</source>
<translation>Vider l&apos;historique</translation> <translation>Vider l&apos;historique</translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="432"/> <location filename="mainscreen.py" line="436"/>
<source>Copy public key</source> <source>Copy public key</source>
<translation>Copier la clé publique</translation> <translation>Copier la clé publique</translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="434"/> <location filename="mainscreen.py" line="438"/>
<source>Remove friend</source> <source>Remove friend</source>
<translation>Retirer un ami</translation> <translation>Retirer un ami</translation>
</message> </message>
<message> <message>
<location filename="profile.py" line="683"/> <location filename="profile.py" line="686"/>
<source>Enter new alias for friend {} or leave empty to use friend&apos;s name:</source> <source>Enter new alias for friend {} or leave empty to use friend&apos;s name:</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -175,21 +175,46 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="profile.py" line="809"/> <location filename="profile.py" line="812"/>
<source>Friend added</source> <source>Friend added</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="343"/> <location filename="mainscreen.py" line="347"/>
<source>Toxygen is Tox client written on Python. <source>Toxygen is Tox client written on Python.
Version: </source> Version: </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="profile.py" line="810"/> <location filename="profile.py" line="813"/>
<source>Friend added without sending friend request</source> <source>Friend added without sending friend request</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="list_items.py" line="231"/>
<source>Choose folder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainscreen.py" line="113"/>
<source>Send screenshot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainscreen.py" line="114"/>
<source>Send file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainscreen.py" line="115"/>
<source>Send message</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainscreen.py" line="116"/>
<source>Start audio call with friend</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>NetworkSettings</name> <name>NetworkSettings</name>
@ -273,12 +298,12 @@ Version: </source>
<context> <context>
<name>incoming_call</name> <name>incoming_call</name>
<message> <message>
<location filename="profile.py" line="1140"/> <location filename="profile.py" line="1151"/>
<source>Incoming video call</source> <source>Incoming video call</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="profile.py" line="1142"/> <location filename="profile.py" line="1153"/>
<source>Incoming audio call</source> <source>Incoming audio call</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

Binary file not shown.

View File

@ -75,7 +75,7 @@
<translation>Настройки</translation> <translation>Настройки</translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="342"/> <location filename="mainscreen.py" line="346"/>
<source>About</source> <source>About</source>
<translation>О программе</translation> <translation>О программе</translation>
</message> </message>
@ -110,54 +110,54 @@
<translation>О программе</translation> <translation>О программе</translation>
</message> </message>
<message> <message>
<location filename="profile.py" line="837"/> <location filename="profile.py" line="840"/>
<source>User {} wants to add you to contact list. Message: <source>User {} wants to add you to contact list. Message:
{}</source> {}</source>
<translation>Пользователь {} хочет добавить Вас в список контактов. Сообщение: <translation>Пользователь {} хочет добавить Вас в список контактов. Сообщение:
{}</translation> {}</translation>
</message> </message>
<message> <message>
<location filename="profile.py" line="839"/> <location filename="profile.py" line="842"/>
<source>Friend request</source> <source>Friend request</source>
<translation>Запрос на добавление в друзья</translation> <translation>Запрос на добавление в друзья</translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="386"/> <location filename="mainscreen.py" line="390"/>
<source>Choose file</source> <source>Choose file</source>
<translation>Выберите файл</translation> <translation>Выберите файл</translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="427"/> <location filename="mainscreen.py" line="431"/>
<source>Disallow auto accept</source> <source>Disallow auto accept</source>
<translation>Запретить автоматическое получение файлов</translation> <translation>Запретить автоматическое получение файлов</translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="428"/> <location filename="mainscreen.py" line="432"/>
<source>Allow auto accept</source> <source>Allow auto accept</source>
<translation>Разрешить автоматическое получение файлов</translation> <translation>Разрешить автоматическое получение файлов</translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="430"/> <location filename="mainscreen.py" line="434"/>
<source>Set alias</source> <source>Set alias</source>
<translation>Изменить псевдоним</translation> <translation>Изменить псевдоним</translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="431"/> <location filename="mainscreen.py" line="435"/>
<source>Clear history</source> <source>Clear history</source>
<translation>Очистить историю</translation> <translation>Очистить историю</translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="432"/> <location filename="mainscreen.py" line="436"/>
<source>Copy public key</source> <source>Copy public key</source>
<translation>Копировать публичный ключ</translation> <translation>Копировать публичный ключ</translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="434"/> <location filename="mainscreen.py" line="438"/>
<source>Remove friend</source> <source>Remove friend</source>
<translation>Удалить друга</translation> <translation>Удалить друга</translation>
</message> </message>
<message> <message>
<location filename="profile.py" line="683"/> <location filename="profile.py" line="686"/>
<source>Enter new alias for friend {} or leave empty to use friend&apos;s name:</source> <source>Enter new alias for friend {} or leave empty to use friend&apos;s name:</source>
<translation>Введите новый псевдоним для друга {} или оставьте пустым для использования его имени:</translation> <translation>Введите новый псевдоним для друга {} или оставьте пустым для использования его имени:</translation>
</message> </message>
@ -172,21 +172,46 @@
<translation>Найти контакт</translation> <translation>Найти контакт</translation>
</message> </message>
<message> <message>
<location filename="profile.py" line="809"/> <location filename="profile.py" line="812"/>
<source>Friend added</source> <source>Friend added</source>
<translation>Друг добавлен</translation> <translation>Друг добавлен</translation>
</message> </message>
<message> <message>
<location filename="mainscreen.py" line="343"/> <location filename="mainscreen.py" line="347"/>
<source>Toxygen is Tox client written on Python. <source>Toxygen is Tox client written on Python.
Version: </source> Version: </source>
<translation>Toxygen - клиент для мессенджера Tox, написанный на Python. Версия: </translation> <translation>Toxygen - клиент для мессенджера Tox, написанный на Python. Версия: </translation>
</message> </message>
<message> <message>
<location filename="profile.py" line="810"/> <location filename="profile.py" line="813"/>
<source>Friend added without sending friend request</source> <source>Friend added without sending friend request</source>
<translation>Друг добавлен без отправки запроса на добавление в друзья</translation> <translation>Друг добавлен без отправки запроса на добавление в друзья</translation>
</message> </message>
<message>
<location filename="list_items.py" line="231"/>
<source>Choose folder</source>
<translation>Выбрать папку</translation>
</message>
<message>
<location filename="mainscreen.py" line="113"/>
<source>Send screenshot</source>
<translation>Отправить снимок экрана</translation>
</message>
<message>
<location filename="mainscreen.py" line="114"/>
<source>Send file</source>
<translation>Отправить файл</translation>
</message>
<message>
<location filename="mainscreen.py" line="115"/>
<source>Send message</source>
<translation>Отправить сообщение</translation>
</message>
<message>
<location filename="mainscreen.py" line="116"/>
<source>Start audio call with friend</source>
<translation>Начать аудиозвонок с другом</translation>
</message>
</context> </context>
<context> <context>
<name>NetworkSettings</name> <name>NetworkSettings</name>
@ -275,12 +300,12 @@ Version: </source>
<context> <context>
<name>incoming_call</name> <name>incoming_call</name>
<message> <message>
<location filename="profile.py" line="1140"/> <location filename="profile.py" line="1151"/>
<source>Incoming video call</source> <source>Incoming video call</source>
<translation>Входящий видеозвонок</translation> <translation>Входящий видеозвонок</translation>
</message> </message>
<message> <message>
<location filename="profile.py" line="1142"/> <location filename="profile.py" line="1153"/>
<source>Incoming audio call</source> <source>Incoming audio call</source>
<translation>Входящий аудиозвонок</translation> <translation>Входящий аудиозвонок</translation>
</message> </message>