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):
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", text, 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]:

Binary file not shown.

View File

@ -75,7 +75,7 @@
<translation></translation>
</message>
<message>
<location filename="mainscreen.py" line="342"/>
<location filename="mainscreen.py" line="346"/>
<source>About</source>
<translation></translation>
</message>
@ -110,53 +110,53 @@
<translation></translation>
</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>
<translation></translation>
</message>
<message>
<location filename="profile.py" line="839"/>
<location filename="profile.py" line="842"/>
<source>Friend request</source>
<translation></translation>
</message>
<message>
<location filename="mainscreen.py" line="386"/>
<location filename="mainscreen.py" line="390"/>
<source>Choose file</source>
<translation>Choose file</translation>
</message>
<message>
<location filename="mainscreen.py" line="427"/>
<location filename="mainscreen.py" line="431"/>
<source>Disallow auto accept</source>
<translation></translation>
</message>
<message>
<location filename="mainscreen.py" line="428"/>
<location filename="mainscreen.py" line="432"/>
<source>Allow auto accept</source>
<translation></translation>
</message>
<message>
<location filename="mainscreen.py" line="430"/>
<location filename="mainscreen.py" line="434"/>
<source>Set alias</source>
<translation></translation>
</message>
<message>
<location filename="mainscreen.py" line="431"/>
<location filename="mainscreen.py" line="435"/>
<source>Clear history</source>
<translation></translation>
</message>
<message>
<location filename="mainscreen.py" line="432"/>
<location filename="mainscreen.py" line="436"/>
<source>Copy public key</source>
<translation></translation>
</message>
<message>
<location filename="mainscreen.py" line="434"/>
<location filename="mainscreen.py" line="438"/>
<source>Remove friend</source>
<translation></translation>
</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>
<translation>Enter new alias for friend {} or leave empty to use friend&apos;s name:</translation>
</message>
@ -171,22 +171,47 @@
<translation>Find contact</translation>
</message>
<message>
<location filename="profile.py" line="809"/>
<location filename="profile.py" line="812"/>
<source>Friend added</source>
<translation>Friend added</translation>
</message>
<message>
<location filename="mainscreen.py" line="343"/>
<location filename="mainscreen.py" line="347"/>
<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"/>
<location filename="profile.py" line="813"/>
<source>Friend added without sending friend request</source>
<translation>Friend added without sending friend request</translation>
</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>
<name>NetworkSettings</name>
@ -270,12 +295,12 @@ Version:</translation>
<context>
<name>incoming_call</name>
<message>
<location filename="profile.py" line="1140"/>
<location filename="profile.py" line="1151"/>
<source>Incoming video call</source>
<translation>Incoming video call</translation>
</message>
<message>
<location filename="profile.py" line="1142"/>
<location filename="profile.py" line="1153"/>
<source>Incoming audio call</source>
<translation>Incoming audio call</translation>
</message>

View File

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

Binary file not shown.

View File

@ -75,7 +75,7 @@
<translation>Настройки</translation>
</message>
<message>
<location filename="mainscreen.py" line="342"/>
<location filename="mainscreen.py" line="346"/>
<source>About</source>
<translation>О программе</translation>
</message>
@ -110,54 +110,54 @@
<translation>О программе</translation>
</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>
<translation>Пользователь {} хочет добавить Вас в список контактов. Сообщение:
{}</translation>
</message>
<message>
<location filename="profile.py" line="839"/>
<location filename="profile.py" line="842"/>
<source>Friend request</source>
<translation>Запрос на добавление в друзья</translation>
</message>
<message>
<location filename="mainscreen.py" line="386"/>
<location filename="mainscreen.py" line="390"/>
<source>Choose file</source>
<translation>Выберите файл</translation>
</message>
<message>
<location filename="mainscreen.py" line="427"/>
<location filename="mainscreen.py" line="431"/>
<source>Disallow auto accept</source>
<translation>Запретить автоматическое получение файлов</translation>
</message>
<message>
<location filename="mainscreen.py" line="428"/>
<location filename="mainscreen.py" line="432"/>
<source>Allow auto accept</source>
<translation>Разрешить автоматическое получение файлов</translation>
</message>
<message>
<location filename="mainscreen.py" line="430"/>
<location filename="mainscreen.py" line="434"/>
<source>Set alias</source>
<translation>Изменить псевдоним</translation>
</message>
<message>
<location filename="mainscreen.py" line="431"/>
<location filename="mainscreen.py" line="435"/>
<source>Clear history</source>
<translation>Очистить историю</translation>
</message>
<message>
<location filename="mainscreen.py" line="432"/>
<location filename="mainscreen.py" line="436"/>
<source>Copy public key</source>
<translation>Копировать публичный ключ</translation>
</message>
<message>
<location filename="mainscreen.py" line="434"/>
<location filename="mainscreen.py" line="438"/>
<source>Remove friend</source>
<translation>Удалить друга</translation>
</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>
<translation>Введите новый псевдоним для друга {} или оставьте пустым для использования его имени:</translation>
</message>
@ -172,21 +172,46 @@
<translation>Найти контакт</translation>
</message>
<message>
<location filename="profile.py" line="809"/>
<location filename="profile.py" line="812"/>
<source>Friend added</source>
<translation>Друг добавлен</translation>
</message>
<message>
<location filename="mainscreen.py" line="343"/>
<location filename="mainscreen.py" line="347"/>
<source>Toxygen is Tox client written on Python.
Version: </source>
<translation>Toxygen - клиент для мессенджера Tox, написанный на Python. Версия: </translation>
</message>
<message>
<location filename="profile.py" line="810"/>
<location filename="profile.py" line="813"/>
<source>Friend added without sending friend request</source>
<translation>Друг добавлен без отправки запроса на добавление в друзья</translation>
</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>
<name>NetworkSettings</name>
@ -275,12 +300,12 @@ Version: </source>
<context>
<name>incoming_call</name>
<message>
<location filename="profile.py" line="1140"/>
<location filename="profile.py" line="1151"/>
<source>Incoming video call</source>
<translation>Входящий видеозвонок</translation>
</message>
<message>
<location filename="profile.py" line="1142"/>
<location filename="profile.py" line="1153"/>
<source>Incoming audio call</source>
<translation>Входящий аудиозвонок</translation>
</message>