Compare commits

...

6 commits

Author SHA1 Message Date
okruhliak
df6322c712 Update harbour-fernschreiber-sk.ts 2023-02-27 21:27:26 +01:00
free software
5de2e94f32 Update harbour-fernschreiber-es.ts 2023-02-27 11:57:52 +01:00
Rustem Abzalov
85732c6fbc Update harbour-fernschreiber-ru.ts 2023-02-27 11:56:18 +01:00
Sebastian Wolf
a7ab0ed33a
Prepare support for contact sync with SFOS 4.5 2023-02-05 20:17:06 +01:00
Slava Monich
f152bbeb5b
Always show user or group id on the info page (#511)
And copy it to the clipboard on tap.
2023-02-05 15:52:06 +01:00
Peter G
b469135877
improve message when search yields no results (#507)
Co-authored-by: nephros <nemo@pgxperiiia10>
2023-02-05 15:41:04 +01:00
25 changed files with 471 additions and 116 deletions

View file

@ -6,6 +6,6 @@ Exec=harbour-fernschreiber
Name=Fernschreiber
[X-Sailjail]
Permissions=Audio;Documents;Downloads;Internet;Location;MediaIndexing;Microphone;Music;Pictures;PublicDir;RemovableMedia;UserDirs;Videos
Permissions=Audio;Contacts;Documents;Downloads;Internet;Location;MediaIndexing;Microphone;Music;Pictures;PublicDir;RemovableMedia;UserDirs;Videos
OrganizationName=de.ygriega
ApplicationName=fernschreiber

View file

@ -46,6 +46,7 @@ DISTFILES += qml/harbour-fernschreiber.qml \
qml/components/AudioPreview.qml \
qml/components/BackgroundImage.qml \
qml/components/ChatListViewItem.qml \
qml/components/ContactSync.qml \
qml/components/DocumentPreview.qml \
qml/components/GamePreview.qml \
qml/components/ImagePreview.qml \

View file

@ -0,0 +1,44 @@
/*
Copyright (C) 2021 Sebastian J. Wolf and other contributors
This file is part of Fernschreiber.
Fernschreiber is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Fernschreiber is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Fernschreiber. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import org.nemomobile.contacts 1.0
Item {
signal syncError();
function synchronize() {
if (peopleModel.count === 0) {
appNotification.show(qsTr("Could not synchronize your contacts with Telegram."));
syncError();
} else {
contactsModel.startImportingContacts();
for (var i = 0; i < peopleModel.count; i++ ) {
contactsModel.importContact(peopleModel.get(i));
}
contactsModel.stopImportingContacts();
}
}
PeopleModel {
id: peopleModel
requiredProperty: PeopleModel.PhoneNumberRequired
}
}

View file

@ -300,7 +300,8 @@ SilicaFlickable {
}
leftMargin: imageContainer.getEased((imageContainer.minDimension + Theme.paddingMedium), 0, imageContainer.tweenFactor) + Theme.horizontalPageMargin
title: chatInformationPage.chatInformation.title !== "" ? Emoji.emojify(chatInformationPage.chatInformation.title, Theme.fontSizeLarge) : qsTr("Unknown")
description: (chatInformationPage.isPrivateChat || chatInformationPage.isSecretChat) ? ("@"+(chatInformationPage.privateChatUserInformation.username || chatInformationPage.chatPartnerGroupId)) : ""
description: ((chatInformationPage.isPrivateChat || chatInformationPage.isSecretChat) && chatInformationPage.privateChatUserInformation.username)
? ("@"+chatInformationPage.privateChatUserInformation.username) : ""
}
SilicaFlickable {
@ -363,6 +364,27 @@ SilicaFlickable {
height: imageContainer.hasImage ? imageContainer.maxDimension : 0
}
Label {
id: copyIdText
x: Math.max(headerItem.x + imageContainer.x - groupInfoItem.x + (imageContainer.width - width)/2, 0)
text: chatInformationPage.chatPartnerGroupId
font.pixelSize: Theme.fontSizeSmall
color: copyIdMouseArea.pressed ? Theme.secondaryHighlightColor : Theme.highlightColor
visible: text !== ""
MouseArea {
id: copyIdMouseArea
anchors {
fill: parent
margins: -Theme.paddingLarge
}
onClicked: {
Clipboard.text = copyIdText.text
appNotification.show(qsTr("ID has been copied to the clipboard."));
}
}
}
InformationEditArea {
visible: canEdit
canEdit: !(chatInformationPage.isPrivateChat || chatInformationPage.isSecretChat) && chatInformationPage.groupInformation.status && (chatInformationPage.groupInformation.status.can_change_info || chatInformationPage.groupInformation.status["@type"] === "chatMemberStatusCreator")

View file

@ -35,6 +35,7 @@ AccordionItem {
readonly property var userInformation: tdLibWrapper.getUserInformation()
property bool uploadInProgress: false
property bool contactSyncEnabled: false
Component.onCompleted: {
tdLibWrapper.getUserProfilePhotos(userInformation.id, 100, 0);
@ -151,6 +152,49 @@ AccordionItem {
}
}
Column {
id: contactSyncItem
width: parent.width
height: syncInProgress ? ( syncContactsBusyIndicator.height + Theme.paddingMedium ) : ( syncContactsButton.height + Theme.paddingMedium )
visible: accordionContent.contactSyncEnabled
property bool syncInProgress: false
Connections {
target: contactSyncLoader.item
onSyncError: {
contactSyncItem.syncInProgress = false;
}
}
Connections {
target: tdLibWrapper
onContactsImported: {
appNotification.show(qsTr("Contacts successfully synchronized with Telegram."));
}
}
Button {
id: syncContactsButton
text: qsTr("Synchronize Contacts with Telegram")
visible: !contactSyncItem.syncInProgress
anchors {
horizontalCenter: parent.horizontalCenter
}
onClicked: {
contactSyncLoader.item.synchronize();
}
}
BusyIndicator {
id: syncContactsBusyIndicator
anchors.horizontalCenter: parent.horizontalCenter
running: contactSyncItem.syncInProgress
size: BusyIndicatorSize.Small
visible: running
}
}
}
SectionHeader {
@ -247,6 +291,15 @@ AccordionItem {
}
Loader {
id: contactSyncLoader
source: "../ContactSync.qml"
active: true
onLoaded: {
accordionContent.contactSyncEnabled = true;
}
}
Component {
id: imagePickerPage
ImagePickerPage {

View file

@ -57,7 +57,7 @@ Page {
}
Label {
text: "Fernschreiber 0.16"
text: "Fernschreiber 0.17"
horizontalAlignment: Text.AlignHCenter
font.pixelSize: Theme.fontSizeExtraLarge
anchors {

View file

@ -55,16 +55,19 @@ Page {
}
}
Component.onCompleted: {
// With Sailfish OS 4 we can't get up-to-date contacts andmore. We might need to enter Sailjail eventually...
// Details see https://forum.sailfishos.org/t/4-0-1-45-non-jailed-contacts-sqlite-database-no-longer-updated/4724
var sailfishOSVersion = fernschreiberUtils.getSailfishOSVersion().split(".");
if (parseInt(sailfishOSVersion[0]) < 4) {
Debug.log("Sailfish OS version 3.x - contact sync should still be possible...")
Connections {
target: contactSyncLoader.item
onSyncError: {
newChatPage.isLoading = false;
}
}
Loader {
id: contactSyncLoader
source: "../components/ContactSync.qml"
active: true
onLoaded: {
newChatPage.syncSupported = true;
} else {
Debug.log("Sailfish OS version 4.x - contact sync no longer supported...")
newChatPage.syncSupported = false;
}
}
@ -74,14 +77,11 @@ Page {
anchors.fill: parent
PullDownMenu {
visible: contactsModel.canSynchronizeContacts() && newChatPage.syncSupported
visible: newChatPage.syncSupported
MenuItem {
onClicked: {
newChatPage.isLoading = true;
if (!contactsModel.synchronizeContacts()) {
reloadContacts();
appNotification.show(qsTr("Could not synchronize your contacts with Telegram."));
}
contactSyncLoader.item.synchronize();
// Success message is not fired before TDLib returned "Contacts imported" (see above)
}
text: qsTr("Synchronize Contacts with Telegram")
@ -139,7 +139,9 @@ Page {
ViewPlaceholder {
y: Theme.paddingLarge
enabled: contactsListView.count === 0
text: qsTr("You don't have any contacts.")
text: (contactsSearchField.text.length > 0)
? qsTr("No contacts found.")
: qsTr("You don't have any contacts.")
}
delegate: Item {

View file

@ -11,14 +11,15 @@ Name: harbour-fernschreiber
# << macros
Summary: Fernschreiber is a Telegram client for Sailfish OS
Version: 0.16
Release: 4
Version: 0.17
Release: 1
Group: Qt/Qt
License: LICENSE
URL: http://werkwolf.eu/
Source0: %{name}-%{version}.tar.bz2
Source100: harbour-fernschreiber.yaml
Requires: sailfishsilica-qt5 >= 0.10.9
Requires: nemo-qml-plugin-contacts-qt5
BuildRequires: pkgconfig(sailfishapp) >= 1.0.2
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Qml)

View file

@ -1,7 +1,7 @@
Name: harbour-fernschreiber
Summary: Fernschreiber is a Telegram client for Sailfish OS
Version: 0.16
Release: 4
Version: 0.17
Release: 1
# The contents of the Group field should be one of the groups listed here:
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
Group: Qt/Qt
@ -37,6 +37,7 @@ PkgBR:
# Runtime dependencies which are not automatically detected
Requires:
- sailfishsilica-qt5 >= 0.10.9
- nemo-qml-plugin-contacts-qt5
# All installed files
Files:

View file

@ -39,16 +39,6 @@ ContactsModel::ContactsModel(TDLibWrapper *tdLibWrapper, QObject *parent)
{
this->tdLibWrapper = tdLibWrapper;
connect(this->tdLibWrapper, SIGNAL(usersReceived(QString, QVariantList, int)), this, SLOT(handleUsersReceived(QString, QVariantList, int)));
this->deviceContactsDatabase = QSqlDatabase::addDatabase("QSQLITE", "contacts");
this->deviceContactsDatabase.setDatabaseName(QStandardPaths::writableLocation(QStandardPaths::HomeLocation) + "/.local/share/system/Contacts/qtcontacts-sqlite/contacts.db");
if (this->deviceContactsDatabase.open()) {
LOG("Device's contacts database successfully opened :)");
this->canUseDeviceContacts = true;
} else {
LOG("Error opening device's contacts database :(");
this->canUseDeviceContacts = false;
}
}
QHash<int, QByteArray> ContactsModel::roleNames() const
@ -150,35 +140,31 @@ void ContactsModel::hydrateContacts()
std::sort(this->contacts.begin(), this->contacts.end(), compareUsers);
}
bool ContactsModel::synchronizeContacts()
void ContactsModel::startImportingContacts()
{
LOG("Synchronizing device contacts");
QVariantList deviceContacts;
QSqlQuery databaseQuery(this->deviceContactsDatabase);
databaseQuery.prepare("select distinct c.contactId, c.firstName, c.lastName, n.phoneNumber from Contacts as c inner join PhoneNumbers as n on c.contactId = n.contactId where n.phoneNumber is not null and ( c.firstName is not null or c.lastName is not null );");
if (databaseQuery.exec()) {
LOG("Device contacts successfully selected from database!");
while (databaseQuery.next()) {
this->deviceContacts.clear();
}
void ContactsModel::stopImportingContacts()
{
if (!deviceContacts.isEmpty()) {
LOG("Importing found contacts" << deviceContacts.size());
this->tdLibWrapper->importContacts(deviceContacts);
}
}
void ContactsModel::importContact(const QVariantMap &singlePerson)
{
QString firstName = singlePerson.value("firstName").toString();
QVariantList phoneNumbers = singlePerson.value("phoneNumbers").toList();
if (!firstName.isEmpty() && !phoneNumbers.isEmpty()) {
for (QVariant phoneNumber : phoneNumbers) {
QVariantMap singleContact;
singleContact.insert("first_name", databaseQuery.value(1).toString());
singleContact.insert("last_name", databaseQuery.value(2).toString());
singleContact.insert("phone_number", databaseQuery.value(3).toString());
singleContact.insert("first_name", firstName);
singleContact.insert("last_name", singlePerson.value("lastName").toString());
singleContact.insert("phone_number", phoneNumber.toString());
deviceContacts.append(singleContact);
LOG("Found contact" << singleContact.value("first_name").toString() << singleContact.value("last_name").toString() << singleContact.value("phone_number").toString());
}
if (!deviceContacts.isEmpty()) {
LOG("Importing found contacts" << deviceContacts.size());
this->tdLibWrapper->importContacts(deviceContacts);
}
return true;
} else {
LOG("Error selecting contacts from database!");
return false;
}
}
bool ContactsModel::canSynchronizeContacts()
{
return this->canUseDeviceContacts;
}

View file

@ -22,8 +22,6 @@
#include <QAbstractListModel>
#include <QVariantList>
#include <QSqlDatabase>
#include <QSqlQuery>
#include "tdlibwrapper.h"
@ -50,8 +48,9 @@ public:
virtual QVariant data(const QModelIndex &index, int role) const override;
Q_INVOKABLE void hydrateContacts();
Q_INVOKABLE bool synchronizeContacts();
Q_INVOKABLE bool canSynchronizeContacts();
Q_INVOKABLE void startImportingContacts();
Q_INVOKABLE void stopImportingContacts();
Q_INVOKABLE void importContact(const QVariantMap &singlePerson);
public slots:
void handleUsersReceived(const QString &extra, const QVariantList &userIds, int totalUsers);
@ -61,8 +60,7 @@ private:
QVariantList contacts;
QList<QString> contactIds;
QString filter;
QSqlDatabase deviceContactsDatabase;
bool canUseDeviceContacts;
QVariantList deviceContacts;
};
#endif // CONTACTSMODEL_H

View file

@ -2095,7 +2095,7 @@ void TDLibWrapper::setInitialParameters()
QSettings hardwareSettings("/etc/hw-release", QSettings::NativeFormat);
initialParameters.insert("device_model", hardwareSettings.value("NAME", "Unknown Mobile Device").toString());
initialParameters.insert("system_version", QSysInfo::prettyProductName());
initialParameters.insert("application_version", "0.16");
initialParameters.insert("application_version", "0.17");
initialParameters.insert("enable_storage_optimizer", appSettings->storageOptimizer());
// initialParameters.insert("use_test_dc", true);
requestObject.insert("parameters", initialParameters);

View file

@ -183,6 +183,10 @@
<source>Mute Chat</source>
<translation>Chat stummschalten</translation>
</message>
<message>
<source>ID has been copied to the clipboard.</source>
<translation>ID wurde in die Zwischenablage kopiert</translation>
</message>
</context>
<context>
<name>ChatInformationTabItemMembersGroups</name>
@ -491,6 +495,13 @@
<translation>Sie haben noch keine Chats.</translation>
</message>
</context>
<context>
<name>ContactSync</name>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation>Konnte Ihre Kontakte nicht mit Telegram synchronisieren.</translation>
</message>
</context>
<context>
<name>CoverPage</name>
<message>
@ -1149,14 +1160,14 @@
<source>Synchronize Contacts with Telegram</source>
<translation>Kontakte mit Telegram synchronisieren</translation>
</message>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation>Konnte Ihre Kontakte nicht mit Telegram synchronisieren.</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation>Die Kontakte wurden erfolgreich mit Telegram synchronisiert.</translation>
</message>
<message>
<source>No contacts found.</source>
<translation>Keine Kontakte gefunden</translation>
</message>
</context>
<context>
<name>NotificationManager</name>
@ -1765,6 +1776,14 @@
<source>Phone number: +%1</source>
<translation>Telefonnummer: +%1</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation>Die Kontakte wurden erfolgreich mit Telegram synchronisiert.</translation>
</message>
<message>
<source>Synchronize Contacts with Telegram</source>
<translation>Kontakte mit Telegram synchronisieren</translation>
</message>
</context>
<context>
<name>SponsoredMessage</name>

View file

@ -183,6 +183,10 @@
<source>Mute Chat</source>
<translation>Mute Chat</translation>
</message>
<message>
<source>ID has been copied to the clipboard.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatInformationTabItemMembersGroups</name>
@ -491,6 +495,13 @@
<translation>You don&apos;t have any chats yet.</translation>
</message>
</context>
<context>
<name>ContactSync</name>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation type="unfinished">Could not synchronize your contacts with Telegram.</translation>
</message>
</context>
<context>
<name>CoverPage</name>
<message>
@ -1151,14 +1162,14 @@ messages</numerusform>
<source>Synchronize Contacts with Telegram</source>
<translation>Synchronize Contacts with Telegram</translation>
</message>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation>Could not synchronize your contacts with Telegram.</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation>Contacts successfully synchronized with Telegram.</translation>
</message>
<message>
<source>No contacts found.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>NotificationManager</name>
@ -1767,6 +1778,14 @@ messages</numerusform>
<source>Phone number: +%1</source>
<translation>Phone number: +%1</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation type="unfinished">Contacts successfully synchronized with Telegram.</translation>
</message>
<message>
<source>Synchronize Contacts with Telegram</source>
<translation type="unfinished">Synchronize Contacts with Telegram</translation>
</message>
</context>
<context>
<name>SponsoredMessage</name>

View file

@ -37,7 +37,7 @@
</message>
<message>
<source>This project uses the Telegram Database Library (TDLib). Thanks for making it available under the conditions of the Boost Software License 1.0!</source>
<translation>Este proyecto usa la librería TDLib de Telegram. ¡Gracias por estar disponible bajo las condiciones de la licencia software-boost 1.0!</translation>
<translation>Este proyecto usa la librería TDLib de Telegrama. ¡Gracias por estar disponible bajo las condiciones de la licencia software-boost 1.0!</translation>
</message>
<message>
<source>Open Telegram Database Library on GitHub</source>
@ -49,7 +49,7 @@
</message>
<message>
<source>This product uses the Telegram API but is not endorsed or certified by Telegram.</source>
<translation>Este programa usa la API de Telegram, pero no está respaldado ni certificado por Telegram.</translation>
<translation>Este programa usa la API de Telegrama, pero no está respaldado ni certificado por Telegrama.</translation>
</message>
<message>
<source>TDLib version %1</source>
@ -81,7 +81,7 @@
</message>
<message>
<source>Open OSM Nominatim Wiki</source>
<translation>Librería OSM Nominatim</translation>
<translation>Librería Nominatim</translation>
</message>
</context>
<context>
@ -183,6 +183,10 @@
<source>Mute Chat</source>
<translation>No notificar</translation>
</message>
<message>
<source>ID has been copied to the clipboard.</source>
<translation>ID copiado a portapapeles.</translation>
</message>
</context>
<context>
<name>ChatInformationTabItemMembersGroups</name>
@ -491,6 +495,13 @@
<translation>No hay todavía conversaciones.</translation>
</message>
</context>
<context>
<name>ContactSync</name>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation>No se puede sincronizar los contactos con Telegrama.</translation>
</message>
</context>
<context>
<name>CoverPage</name>
<message>
@ -1149,14 +1160,14 @@
<source>Synchronize Contacts with Telegram</source>
<translation>Sincronizar con Telegram</translation>
</message>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation>No se pudieron sincronizar los contactos con Telegram.</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation>Contactos sincronizados con éxito con Telegram.</translation>
</message>
<message>
<source>No contacts found.</source>
<translation>No contactos encontrados.</translation>
</message>
</context>
<context>
<name>NotificationManager</name>
@ -1647,7 +1658,7 @@
</message>
<message>
<source>Allow sending Location to inline bots</source>
<translation>Enviar ubicación a Robot(Bot) en línea</translation>
<translation>Enviar ubicación de Robot enlínea</translation>
</message>
<message>
<source>Some inline bots request location data when using them</source>
@ -1765,6 +1776,14 @@
<source>Phone number: +%1</source>
<translation></translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation>Contactos sincronizados con éxito con Telegram.</translation>
</message>
<message>
<source>Synchronize Contacts with Telegram</source>
<translation>Sincronizar con Telegram</translation>
</message>
</context>
<context>
<name>SponsoredMessage</name>

View file

@ -183,6 +183,10 @@
<source>Mute Chat</source>
<translation>Vaimenna keskustelu</translation>
</message>
<message>
<source>ID has been copied to the clipboard.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatInformationTabItemMembersGroups</name>
@ -491,6 +495,13 @@
<translation>Sinulla ei ole vielä keskusteluja.</translation>
</message>
</context>
<context>
<name>ContactSync</name>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation type="unfinished">Yhteystietojasi ei voitu synkronoida Telegramin kanssa.</translation>
</message>
</context>
<context>
<name>CoverPage</name>
<message>
@ -1150,14 +1161,14 @@
<source>Synchronize Contacts with Telegram</source>
<translation>Synkronoi yhteystiedot Telegramin kanssa</translation>
</message>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation>Yhteystietojasi ei voitu synkronoida Telegramin kanssa.</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation>Yhteystietojen synkronointi Telegramin kanssa onnistui.</translation>
</message>
<message>
<source>No contacts found.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>NotificationManager</name>
@ -1766,6 +1777,14 @@
<source>Phone number: +%1</source>
<translation>Puhelinnumero: +%1</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation>Yhteystietojen synkronointi Telegramin kanssa onnistui.</translation>
</message>
<message>
<source>Synchronize Contacts with Telegram</source>
<translation>Synkronoi yhteystiedot Telegramin kanssa</translation>
</message>
</context>
<context>
<name>SponsoredMessage</name>

View file

@ -183,6 +183,10 @@
<source>Mute Chat</source>
<translation>Mettre la conversation en sourdine</translation>
</message>
<message>
<source>ID has been copied to the clipboard.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatInformationTabItemMembersGroups</name>
@ -491,6 +495,13 @@
<translation>Vous n&apos;avez aucune conversation.</translation>
</message>
</context>
<context>
<name>ContactSync</name>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation>Impossible de synchroniser vos contacts avec Telegram.</translation>
</message>
</context>
<context>
<name>CoverPage</name>
<message>
@ -1149,14 +1160,14 @@
<source>Synchronize Contacts with Telegram</source>
<translation>Synchroniser les contacts avec Telegram</translation>
</message>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation>Impossible de synchroniser vos contacts avec Telegram.</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation>Contacts synchronisés avec Telegram avec succès.</translation>
</message>
<message>
<source>No contacts found.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>NotificationManager</name>
@ -1765,6 +1776,14 @@
<source>Phone number: +%1</source>
<translation>Numéro de téléphone : +%1</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation>Contacts synchronisés avec Telegram avec succès.</translation>
</message>
<message>
<source>Synchronize Contacts with Telegram</source>
<translation>Synchroniser les contacts avec Telegram</translation>
</message>
</context>
<context>
<name>SponsoredMessage</name>

View file

@ -180,6 +180,10 @@
<source>Mute Chat</source>
<translation>Csevegés némítása</translation>
</message>
<message>
<source>ID has been copied to the clipboard.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatInformationTabItemMembersGroups</name>
@ -481,6 +485,13 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ContactSync</name>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CoverPage</name>
<message>
@ -1132,11 +1143,11 @@
<translation type="unfinished"></translation>
</message>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<source>Contacts successfully synchronized with Telegram.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<source>No contacts found.</source>
<translation type="unfinished"></translation>
</message>
</context>
@ -1738,6 +1749,14 @@
<source>Phone number: +%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Synchronize Contacts with Telegram</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SponsoredMessage</name>

View file

@ -183,6 +183,10 @@
<source>Mute Chat</source>
<translation>Silenzia chat</translation>
</message>
<message>
<source>ID has been copied to the clipboard.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatInformationTabItemMembersGroups</name>
@ -491,6 +495,13 @@
<translation>Nessuna chat presente</translation>
</message>
</context>
<context>
<name>ContactSync</name>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation type="unfinished">Sincronizzazione contatti con Telegram non riuscita</translation>
</message>
</context>
<context>
<name>CoverPage</name>
<message>
@ -1149,14 +1160,14 @@
<source>Synchronize Contacts with Telegram</source>
<translation>Sincronizza contatti con Telegram</translation>
</message>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation>Sincronizzazione contatti con Telegram non riuscita</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation>Sincronizzazione contatti con Telegram completata</translation>
</message>
<message>
<source>No contacts found.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>NotificationManager</name>
@ -1765,6 +1776,14 @@
<source>Phone number: +%1</source>
<translation>Telefono: +%1</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation type="unfinished">Sincronizzazione contatti con Telegram completata</translation>
</message>
<message>
<source>Synchronize Contacts with Telegram</source>
<translation type="unfinished">Sincronizza contatti con Telegram</translation>
</message>
</context>
<context>
<name>SponsoredMessage</name>

View file

@ -186,6 +186,10 @@
<source>Mute Chat</source>
<translation>Wycisz czat</translation>
</message>
<message>
<source>ID has been copied to the clipboard.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatInformationTabItemMembersGroups</name>
@ -501,6 +505,13 @@
<translation>Nie masz jeszcze żadnych czatów.</translation>
</message>
</context>
<context>
<name>ContactSync</name>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation>Nie można zsynchonizaować kontaktów z Telegramem.</translation>
</message>
</context>
<context>
<name>CoverPage</name>
<message>
@ -1167,14 +1178,14 @@
<source>Synchronize Contacts with Telegram</source>
<translation>Synchronizuj kontakty z Telegramem</translation>
</message>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation>Nie można zsynchonizaować kontaktów z Telegramem.</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation>Synchronizacja kontaktów z Telegramem zakończona sukcesem.</translation>
</message>
<message>
<source>No contacts found.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>NotificationManager</name>
@ -1792,6 +1803,14 @@
<source>Phone number: +%1</source>
<translation>Numer telefonu: +%1</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation>Synchronizacja kontaktów z Telegramem zakończona sukcesem.</translation>
</message>
<message>
<source>Synchronize Contacts with Telegram</source>
<translation>Synchronizuj kontakty z Telegramem</translation>
</message>
</context>
<context>
<name>SponsoredMessage</name>

View file

@ -186,6 +186,10 @@
<source>Mute Chat</source>
<translation>Выключить уведомления</translation>
</message>
<message>
<source>ID has been copied to the clipboard.</source>
<translation>ID скопирован в буфер обмена.</translation>
</message>
</context>
<context>
<name>ChatInformationTabItemMembersGroups</name>
@ -501,6 +505,13 @@
<translation>Тут пока ничего нет</translation>
</message>
</context>
<context>
<name>ContactSync</name>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation>Невозможно синхронизировать ваши контакты с Телеграм.</translation>
</message>
</context>
<context>
<name>CoverPage</name>
<message>
@ -1170,14 +1181,14 @@
<source>Synchronize Contacts with Telegram</source>
<translation>Синхронизировать с Телеграм</translation>
</message>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation>Невозможно синхронизировать ваши контакты с Телеграм.</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation>Контакты успешно синхронизированы с Телеграм.</translation>
</message>
<message>
<source>No contacts found.</source>
<translation>Контакты не найдены.</translation>
</message>
</context>
<context>
<name>NotificationManager</name>
@ -1795,6 +1806,14 @@
<source>Phone number: +%1</source>
<translation>Ваш телефон: +%1</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation>Контакты успешно синхронизированы с Телеграм.</translation>
</message>
<message>
<source>Synchronize Contacts with Telegram</source>
<translation>Синхронизировать с Телеграм</translation>
</message>
</context>
<context>
<name>SponsoredMessage</name>

View file

@ -186,6 +186,10 @@
<source>Mute Chat</source>
<translation>Umlčať čet</translation>
</message>
<message>
<source>ID has been copied to the clipboard.</source>
<translation>ID bol skopírovaný do schránky.</translation>
</message>
</context>
<context>
<name>ChatInformationTabItemMembersGroups</name>
@ -501,6 +505,13 @@
<translation>Nemáte žiadne čety.</translation>
</message>
</context>
<context>
<name>ContactSync</name>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation>Nemožno synchonizovať kontakty s Telegramom.</translation>
</message>
</context>
<context>
<name>CoverPage</name>
<message>
@ -1167,14 +1178,14 @@
<source>Synchronize Contacts with Telegram</source>
<translation>Synchronizovať kontakty s Telegramom</translation>
</message>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation>Nemožno synchonizovať kontakty s Telegramom.</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation>Kontakty boli úspešne synchronizované s Telegramom.</translation>
</message>
<message>
<source>No contacts found.</source>
<translation>Žiadne kontakty neboli nájdené.</translation>
</message>
</context>
<context>
<name>NotificationManager</name>
@ -1792,6 +1803,14 @@
<source>Phone number: +%1</source>
<translation>Telefónne číslo: +%1</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation>Kontakty boli úspešne synchronizované s Telegramom.</translation>
</message>
<message>
<source>Synchronize Contacts with Telegram</source>
<translation>Synchronizovať kontakty s Telegramom</translation>
</message>
</context>
<context>
<name>SponsoredMessage</name>

View file

@ -183,6 +183,10 @@
<source>Mute Chat</source>
<translation>Stäng av chatten</translation>
</message>
<message>
<source>ID has been copied to the clipboard.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatInformationTabItemMembersGroups</name>
@ -491,6 +495,13 @@
<translation>Du har inga chattar än.</translation>
</message>
</context>
<context>
<name>ContactSync</name>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation>Kunde inte synkronisera dina kontakter med Telegram.</translation>
</message>
</context>
<context>
<name>CoverPage</name>
<message>
@ -1149,14 +1160,14 @@
<source>Synchronize Contacts with Telegram</source>
<translation>Synkronisera kontakter med Telegram</translation>
</message>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation>Kunde inte synkronisera dina kontakter med Telegram.</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation>Kontakter synkroniserade med Telegram.</translation>
</message>
<message>
<source>No contacts found.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>NotificationManager</name>
@ -1765,6 +1776,14 @@
<source>Phone number: +%1</source>
<translation>Telefonnummer: +%1</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation>Kontakter synkroniserade med Telegram.</translation>
</message>
<message>
<source>Synchronize Contacts with Telegram</source>
<translation>Synkronisera kontakter med Telegram</translation>
</message>
</context>
<context>
<name>SponsoredMessage</name>

View file

@ -180,6 +180,10 @@
<source>Mute Chat</source>
<translation></translation>
</message>
<message>
<source>ID has been copied to the clipboard.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatInformationTabItemMembersGroups</name>
@ -481,6 +485,13 @@
<translation></translation>
</message>
</context>
<context>
<name>ContactSync</name>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation type="unfinished"> Telegram </translation>
</message>
</context>
<context>
<name>CoverPage</name>
<message>
@ -1132,14 +1143,14 @@
<source>Synchronize Contacts with Telegram</source>
<translation> Telegram </translation>
</message>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation> Telegram </translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation> Telegram </translation>
</message>
<message>
<source>No contacts found.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>NotificationManager</name>
@ -1739,6 +1750,14 @@
<source>Phone number: +%1</source>
<translation>: +%1</translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation> Telegram </translation>
</message>
<message>
<source>Synchronize Contacts with Telegram</source>
<translation> Telegram </translation>
</message>
</context>
<context>
<name>SponsoredMessage</name>

View file

@ -183,6 +183,10 @@
<source>Mute Chat</source>
<translation type="unfinished">Mute Chat</translation>
</message>
<message>
<source>ID has been copied to the clipboard.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatInformationTabItemMembersGroups</name>
@ -491,6 +495,13 @@
<translation>You don&apos;t have any chats yet.</translation>
</message>
</context>
<context>
<name>ContactSync</name>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CoverPage</name>
<message>
@ -1150,11 +1161,11 @@
<translation type="unfinished"></translation>
</message>
<message>
<source>Could not synchronize your contacts with Telegram.</source>
<source>Contacts successfully synchronized with Telegram.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<source>No contacts found.</source>
<translation type="unfinished"></translation>
</message>
</context>
@ -1765,6 +1776,14 @@
<source>Phone number: +%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Contacts successfully synchronized with Telegram.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Synchronize Contacts with Telegram</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SponsoredMessage</name>