From b00574bcc46538c4b405b5edb3b43bf5404ff511 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= <sebastien.blin@savoirfairelinux.com> Date: Sat, 29 Oct 2022 17:20:34 -0400 Subject: [PATCH] misc: DRing->libjami Change-Id: Icf9ffdfa68616ff9f99ad2bc5626f3f73fa7e717 --- developer/account-management.md | 4 ++-- developer/message-displayed-status.md | 2 +- locales/fa/LC_MESSAGES/developer.po | 8 ++++---- locales/fr/LC_MESSAGES/developer.po | 8 ++++---- user/bug-report-guide-fr.md | 10 +++++----- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/developer/account-management.md b/developer/account-management.md index c5f00c93..f7f1c281 100644 --- a/developer/account-management.md +++ b/developer/account-management.md @@ -1,7 +1,7 @@ Account management ================== -In this part, we will learn how to manage a Ring account. This means, how to create a Ring account, modify the basic settings and delete the account. This part will *NOT* explain what all the settings mean or how we can use the account to do any action like adding a contact. +In this part, we will learn how to manage a Ring account. This means, how to create a Ring account, modify the basic settings and delete the account. This part will *NOT* explain what all the settings mean or how we can use the account to do any action like adding a contact. ## Create a new account @@ -56,7 +56,7 @@ NewAccountModel::createNewAccount(profile::Type type, MapStringString details = type == profile::Type::SIP? ConfigurationManager::instance().getAccountTemplate("SIP") : ConfigurationManager::instance().getAccountTemplate("RING"); - using namespace DRing::Account; + using namespace libjami::Account; details[ConfProperties::TYPE] = type == profile::Type::SIP? "SIP" : "RING"; details[ConfProperties::DISPLAYNAME] = displayName.c_str(); details[ConfProperties::ALIAS] = displayName.c_str(); diff --git a/developer/message-displayed-status.md b/developer/message-displayed-status.md index 21647ba7..fe654bd9 100644 --- a/developer/message-displayed-status.md +++ b/developer/message-displayed-status.md @@ -63,7 +63,7 @@ getDisplayed(const std::string& conversationId, const std::string& messageId) } ``` -Then the peer will know this via `onMessageDisplayed` and emit a signal to the client (`DRing::ConfigurationSignal::AccountMessageStatusChanged` with status 3 (`DRing::Account::MessageStates::DISPLAYED`)) +Then the peer will know this via `onMessageDisplayed` and emit a signal to the client (`libjami::ConfigurationSignal::AccountMessageStatusChanged` with status 3 (`libjami::Account::MessageStates::DISPLAYED`)) ## Get unread messages diff --git a/locales/fa/LC_MESSAGES/developer.po b/locales/fa/LC_MESSAGES/developer.po index 4f380079..6eb244e9 100644 --- a/locales/fa/LC_MESSAGES/developer.po +++ b/locales/fa/LC_MESSAGES/developer.po @@ -2,12 +2,12 @@ # Copyright (C) 2018-2022 Savoir-faire Linux Inc. and contributors # This file is distributed under the same license as the Jami package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# +# # Translators: # Mohammad Amin Sameti <mamins1376@gmail.com>, 2022 # Hamid reza Zaefarani, 2022 # Amin Mahmudian, 2022 -# +# #, fuzzy msgid "" msgstr "" @@ -4888,8 +4888,8 @@ msgstr "" #: ../../../developer/message-displayed-status.md:66 msgid "" "Then the peer will know this via `onMessageDisplayed` and emit a signal to " -"the client (`DRing::ConfigurationSignal::AccountMessageStatusChanged` with " -"status 3 (`DRing::Account::MessageStates::DISPLAYED`))" +"the client (`libjami::ConfigurationSignal::AccountMessageStatusChanged` with " +"status 3 (`libjami::Account::MessageStates::DISPLAYED`))" msgstr "" #: ../../../developer/message-displayed-status.md:68 diff --git a/locales/fr/LC_MESSAGES/developer.po b/locales/fr/LC_MESSAGES/developer.po index 6cce3c81..6309cbba 100644 --- a/locales/fr/LC_MESSAGES/developer.po +++ b/locales/fr/LC_MESSAGES/developer.po @@ -2,12 +2,12 @@ # Copyright (C) 2018-2022 Savoir-faire Linux Inc. and contributors # This file is distributed under the same license as the Jami documentation. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. -# +# # Translators: # Alexandre Lision, 2022 # Antoine Gorenflot, 2022 # Cyrille Béraud <cyrille.beraud@savoirfairelinux.com>, 2022 -# +# #, fuzzy msgid "" msgstr "" @@ -4894,8 +4894,8 @@ msgstr "" #: ../../../developer/message-displayed-status.md:66 msgid "" "Then the peer will know this via `onMessageDisplayed` and emit a signal to " -"the client (`DRing::ConfigurationSignal::AccountMessageStatusChanged` with " -"status 3 (`DRing::Account::MessageStates::DISPLAYED`))" +"the client (`libjami::ConfigurationSignal::AccountMessageStatusChanged` with " +"status 3 (`libjami::Account::MessageStates::DISPLAYED`))" msgstr "" #: ../../../developer/message-displayed-status.md:68 diff --git a/user/bug-report-guide-fr.md b/user/bug-report-guide-fr.md index 2ebe7fa5..d52e1c6f 100644 --- a/user/bug-report-guide-fr.md +++ b/user/bug-report-guide-fr.md @@ -55,7 +55,7 @@ appareils) - la version du système d'exploitation - modèle précis de l'appareil (important pour les appareils mobiles) - si vous utilisez une version bêta -- quelle version vous utilisez (de ring.cx, F-droid, Play Store, App store, votre propre version...). Si vous avez construit votre propre version de Jami, veuillez spécifier la version exacte de dring (LibRing ou LibJami ou Daemon) et la version du client (Vous pouvez l'obtenir avec `dring -v` et `jami-gnome -v`. Mais notez que nos paquets sont mis à jour assez souvent) et le commit Git. +- quelle version vous utilisez (de ring.cx, F-droid, Play Store, App store, votre propre version...). Si vous avez construit votre propre version de Jami, veuillez spécifier la version exacte de jamid (LibRing ou LibJami ou Daemon) et la version du client (Vous pouvez l'obtenir avec `jamid -v` et `jami-gnome -v`. Mais notez que nos paquets sont mis à jour assez souvent) et le commit Git. - les conditions du réseau : Les deux appareils sont-ils sur le même réseau local ? Des réseaux différents ? Est-ce qu'un ou les deux sont derrière NAT ? Utilisez-vous LTE ? Wifi ? - D'autres éléments si nécessaire : Fournisseur SIP, matériel... @@ -144,7 +144,7 @@ Allez dans les paramètres généraux. Dans la section "Dépannage"(Déverminage Journaux classiques (par défaut, seuls les journaux >= warning sont journalisés) : ``` -journalctl --since "24h ago" | grep dring +journalctl --since "24h ago" | grep jamid ``` Journal complet : @@ -153,13 +153,13 @@ Puisque l'interface graphique et le démon Jami sont des processus séparés, la 1. Assurez-vous qu'aucune instance du client ou du daemon Jami ne fonctionne avec `ps aux | grep ring``. + Jami peut être en cours d'exécution même si aucune fenêtre n'est ouverte, selon vos préférences. + Si un client ou un daemon est en cours d'exécution, tuez-les avec `kill PID`. -2. Sur un terminal, démarrez le démon avec `dring -d -c`. - + Cet exécutable n'est normalement pas dans le PATH, et sur les paquets Ubuntu, il est situé dans `/usr/lib/x86_64-linux-gnu/dring -d -c` ou `/usr/lib/ring/dring -d -c`. +2. Sur un terminal, démarrez le démon avec `jamid -d -c`. + + Cet exécutable n'est normalement pas dans le PATH, et sur les paquets Ubuntu, il est situé dans `/usr/lib/x86_64-linux-gnu/jamid -d -c` ou `/usr/libexec/jamid -d -c`. 3. Dans un autre terminal, démarrez le client avec (voici un exemple pour Gnome) `jami-gnome -d`. Pour obtenir un backtrace, vous pouvez exécuter le programme dans gdb : -̀ gdb -ex run jami-gnome` ou `gdb -ex run --args /usr/lib/ring/dring -cd`. +̀ gdb -ex run jami-gnome` ou `gdb -ex run --args /usr/lib/ring/jamid -cd`. Lorsqu'il se plante, vous pouvez taper `bt` puis appuyer sur **Enter**. Et copiez le backtrace sur le problème. (ou `thread apply all bt`, c'est encore mieux) -- GitLab